Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
istex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
crawlers
istex
Commits
1faa92c1
You need to sign in or sign up before continuing.
Verified
Commit
1faa92c1
authored
Mar 19, 2025
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flake] add flake to project
parent
521ca54f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
666 additions
and
121 deletions
+666
-121
cabal.ghc-9.4.7.project
cabal.ghc-9.4.7.project
+0
-4
cabal.project
cabal.project
+1
-1
crawlerISTEX.cabal
crawlerISTEX.cabal
+33
-51
flake.lock
flake.lock
+581
-0
flake.nix
flake.nix
+51
-0
stack.yaml
stack.yaml
+0
-65
No files found.
cabal.ghc-9.4.7.project
deleted
100644 → 0
View file @
521ca54f
with-compiler: ghc-9.4.7
packages: .
tests: True
cabal.project
View file @
1faa92c1
packages: .
with-compiler: ghc-9.
4.8
with-compiler: ghc-9.
6.6
crawlerISTEX.cabal
View file @
1faa92c1
cabal-version:
1.12
cabal-version:
3.4
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
...
...
@@ -14,7 +14,7 @@ bug-reports: https://github.com/Mudada/crawlerISTEX/issues
author: Mudada
maintainer: mael.nicolas77@gmail.com
copyright: Mudada
license: BSD
3
license: BSD
-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
...
...
@@ -25,84 +25,66 @@ source-repository head
type: git
location: https://github.com/Mudada/crawlerISTEX
library
exposed-modules:
ISTEX
ISTEX.Client
other-modules:
Paths_crawlerISTEX
hs-source-dirs:
src
common defaults
default-extensions:
DataKinds
DeriveGeneric
ImportQualifiedPost
NamedFieldPuns
OverloadedStrings
RecordWildCards
TypeOperators
build-depends:
aeson < 2.3
, base >=4.7 && <5
, ghc
, http-client
, http-client-tls
, lens
aeson
>= 2.1 &&
< 2.3
, base >=4.7 && <
5
-- , ghc >= 9.6.6 && < 9.7
, http-client
>= 0.7.14 && < 0.8
, http-client-tls
>= 0.3.6.2 && < 0.4
, lens
>= 5.2 && < 5.4
, servant >= 0.20 && < 0.21
, servant-client >= 0.20 && < 0.21
, text
, text >= 2.0.2 && < 2.2
library
import:
defaults
exposed-modules:
ISTEX
ISTEX.Client
other-modules:
Paths_crawlerISTEX
hs-source-dirs:
src
build-depends:
bytestring >= 0.11.5 && < 0.15
, crypton-connection >= 0.4.2 && < 0.5
, data-default-class >= 0.2 && < 0.3
, tls >= 2.1.7 && < 2.4
default-language: Haskell2010
executable crawlerISTEX-exe
import:
defaults
main-is: Main.hs
other-modules:
Paths_crawlerISTEX
hs-source-dirs:
app
default-extensions:
DataKinds
DeriveGeneric
NamedFieldPuns
OverloadedStrings
RecordWildCards
TypeOperators
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, base >=4.7 && <5
, crawlerISTEX
, ghc
, http-client
, http-client-tls
, lens
, servant
, servant-client
, text
crawlerISTEX
default-language: Haskell2010
test-suite crawlerISTEX-test
import:
defaults
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_crawlerISTEX
hs-source-dirs:
test
default-extensions:
DataKinds
DeriveGeneric
NamedFieldPuns
OverloadedStrings
RecordWildCards
TypeOperators
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson
, base >=4.7 && <5
, crawlerISTEX
, ghc
, http-client
, http-client-tls
, lens
, servant
, servant-client
, text
crawlerISTEX
default-language: Haskell2010
flake.lock
0 → 100644
View file @
1faa92c1
This diff is collapsed.
Click to expand it.
flake.nix
0 → 100644
View file @
1faa92c1
{
# This is a template created by `hix init`
inputs
.
haskellNix
.
url
=
"github:input-output-hk/haskell.nix"
;
inputs
.
nixpkgs
.
follows
=
"haskellNix/nixpkgs-unstable"
;
inputs
.
flake-utils
.
url
=
"github:numtide/flake-utils"
;
outputs
=
{
self
,
nixpkgs
,
flake-utils
,
haskellNix
}:
let
supportedSystems
=
[
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
in
flake-utils
.
lib
.
eachSystem
supportedSystems
(
system
:
let
overlays
=
[
haskellNix
.
overlay
(
final
:
prev
:
{
crawlerISTEX
=
final
.
haskell-nix
.
project
'
{
src
=
./.
;
compiler-nix-name
=
"ghc966"
;
# This is used by `nix develop .` to open a shell for use with
# `cabal`, `hlint` and `haskell-language-server`
shell
.
tools
=
{
cabal
=
{};
hlint
=
{};
haskell-language-server
=
{};
};
};
})
];
pkgs
=
import
nixpkgs
{
inherit
system
overlays
;
inherit
(
haskellNix
)
config
;
};
flake
=
pkgs
.
crawlerISTEX
.
flake
{};
in
flake
//
{
legacyPackages
=
pkgs
;
packages
=
flake
.
packages
//
{
default
=
flake
.
packages
.
"crawlerISTEX:exe:crawlerISTEX-exe"
;
};
});
# --- Flake Local Nix Configuration ----------------------------
nixConfig
=
{
# This sets the flake to use the IOG nix cache.
# Nix should ask for permission before using it,
# but remove it here if you do not want it to.
extra-substituters
=
[
"https://cache.iog.io"
];
extra-trusted-public-keys
=
[
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
allow-import-from-derivation
=
"true"
;
};
}
stack.yaml
deleted
100644 → 0
View file @
521ca54f
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
# resolver: nightly-2015-09-21
# resolver: ghc-7.10.2
#
# The location of a snapshot can be provided as a file or url. Stack assumes
# a snapshot provided as a file might change, whereas a url resource does not.
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver
:
lts-14.1
# User packages to be built.
# Various formats can be used as shown in the example below.
#
# packages:
# - some-directory
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
# - location:
# git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# subdirs:
# - auto-update
# - wai
packages
:
-
.
# Dependency packages to be pulled from upstream that are not in the resolver
# using the same syntax as the packages field.
# (e.g., acme-missiles-0.3)
# extra-deps: []
extra-deps
:
[]
# Override default flag values for local packages and extra-deps
# flags: {}
# Extra package databases containing global packages
# extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: ">=1.9"
#
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
#
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment