git.iko.soy/typeable/stackage2nix
on master help sign in
30 files changed+2704−2402
since splitsnapshots
unifiedsplit
.travis.yml+5−7 CHANGELOG.md+41−10 README.md+50−44 ci-stackage2nix+8−7 nix/README.md+2−18 nix/haskell-packages/configuration-packages.nix+7−11 nix/haskell-packages/default.nix+132−107 nix/haskell-packages/packages.nix+1674−1852 nix/lib.nix+1−1 nix/stackage/default.nix−24 src/AllCabalHashes.hs+27−21 src/Distribution/Nixpkgs/Haskell/FromStack.hs+3−2 src/Distribution/Nixpkgs/Haskell/FromStack/Package.hs−1 src/Distribution/Nixpkgs/Haskell/Packages/PrettyPrinting.hs+2 src/Distribution/Nixpkgs/Haskell/Stack.hs+15−33 src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+51−24 src/LtsHaskell.hs+11−15 src/Runner.hs+107−52 src/Runner/Cli.hs+80−39 src/Stack/Config.hs+118−49 src/Stack/Config/Yaml.hs+63−26 src/Stack/Types.hs+2−4 stack-ghc-7103.yaml−26 stack-ghc-802.yaml−7 stack-ghc-821.yaml−4 stack-ghc-822.yaml−1 stack.yaml+11−1 stackage2nix.cabal+6−3 test/Stack/Config/YamlSpec.hs+97−13 test/Stack/ConfigSpec.hs+191
.travis.yml+5−7
@@ -12,15 +12,10 @@ cache:
1212 - $HOME/.local/bin
1313 - $HOME/.stack
1414
15−env:
16− - STACK_YAML=stack-ghc-802.yaml
17− - STACK_YAML=stack-ghc-821.yaml
18− - STACK_YAML=stack-ghc-822.yaml
19−
2015jobs:
2116 include:
17+ - stage: build
2218 - stage: bootstrap
23− env: STACK_YAML=stack-ghc-802.yaml
2419 install:
2520 # Install Nix
2621 - mkdir -p ~/.nix
@@ -29,8 +24,11 @@ jobs:
2924 - sudo mount --bind ~/.nix /nix
3025 - curl https://nixos.org/nix/install | sh
3126 - source ~/.nix-profile/etc/profile.d/nix.sh
27+ # nixpkgs-unstable not supported
28+ - nix-channel --add https://nixos.org/channels/nixos-18.03 nixpkgs
29+ - nix-channel --update
3230 script:
33− - nix-env -i cabal-install
31+ - nix-env -i cabal-install nix-prefetch-scripts
3432 - cabal update
3533 - nix-build nix/stackage2nix --dry-run
3634 - ./ci-stackage2nix --dry-run
CHANGELOG.md+41−10
@@ -1,18 +1,49 @@
1−# 0.3.0
1+# 0.7.2
2+- Build with ghc-8.4
3+- Drop compatibility with Cabal<2.2
4+- Don't check extra-deps when generating derivation from stack.yaml
25
3−- Initial Hackage release
4−- Add CHANGELOG.md
6+# 0.7.1
7+- Generate stack packages `stack-yaml-packages.nix`
58
6−# 0.4.0
7−- Add `--resolver` option to generate full stackage packages set
8−- Add Nix wrapper, see `nix/README.md`
9−- Upd support cabal2nix >2.5
10−- Fix honor `--hackage-db` flag
9+# 0.7.0
10+- Add compatibility with nixos-18.03
11+- Drop compatibility with nixos-17-09
12+- Add partial support for new stack extra-deps syntax.
13+ https://docs.haskellstack.org/en/stable/yaml_configuration/#packages-and-extra-deps
14+ Supported same syntax for packages and extra-deps sections
15+
16+# 0.6.1
17+- Pass extra `buildHaskellPackages` argument to `makePackageSet` function
18+
19+# 0.6.0
20+- Replace call to `<nixpkgs/pkgs/development/haskell-modules>` in generated
21+ Haskell packages with `makePackageSet` library function
1122
1223# 0.5.0
1324- Add `--with-stackage` and `--with-stackage-closure` flag generates stackage
14−- Upd override of stackage packages generated by default
15−- Upd generated Stackage packages with `doCheck` and `runHaddock` enabled by default
25+- Add `--extra-deps-revision-latest` flag. Changes generation strategy for the
26+ direct dependencies of the stack.yaml extra-deps. Default strategy is to
27+ generate exact revision defined in the Stackage config. With this flag
28+ enabled, direct dependencies of the stack.yaml extra-deps will be generated
29+ with latest revision available on Hackage. This may help when Cabal fails to
30+ resolve dependencies of extra-deps, and dependences are fixed in the latest
31+ revision
32+- Upd by default stackage2nix generates override of pre-generated Stackage
33+ packages set.
34+- Upd generated Stackage packages with `doCheck` and `runHaddock` enabled by
35+ default
1636- Remove `--do-check-stackage` flag (enabled by default)
1737- Remove `--do-haddock-stackage` flag (enabled by default)
1838- Remove `--no-packages-closure` flag (use `--with-stackage-closure`)
39+- Remove `cabal2nix < 2.7.2` support #45
40+
41+# 0.4.0
42+- Add `--resolver` option to generate full stackage packages set
43+- Add Nix wrapper, see `nix/README.md`
44+- Upd support cabal2nix >2.5
45+- Fix honor `--hackage-db` flag
46+
47+# 0.3.0
48+- Initial Hackage release
49+- Add CHANGELOG.md
README.md+50−44
@@ -1,75 +1,81 @@
1−# stackage2nix
1+# stackage2nix (DEPRECATED)
22
33[![Build Status](https://travis-ci.org/typeable/stackage2nix.svg?branch=master)](https://travis-ci.org/typeable/stackage2nix)
44
55`stackage2nix` converts a Stack file into a Nix Haskell packages set.
6−It creates LTS Stackage packages set, and applies appropriate overrides on top of it.
76
8−## Install
7+# Create build derivation from stack.yaml
98
10−You can install `stackage2nix` from the Nix expression:
9+## Generate targets from stack.yaml only
1110
1211```
13−nix-env -i -f ./nix/stackage2nix
12+stack exec -- stackage2nix .
1413```
1514
16−It provides pre-configured wrapper around the raw executable with runtime
17−`PATH` and all auxiliary flags set up.
18−
19−## Build project
15+Command creates file `default.nix` which overrides `haskell.packages.stackage`
16+packages set. You should use
17+[typeable/nixpkgs-stackage](https://github.com/typeable/nixpkgs-stackage) overlay that
18+adds LTS Stackage packages to Nixpkgs.
2019
21−Generate derivations from `stack.yaml` config using Nix wrapper:
20+Build package with overlay installed:
2221
23−``` bash
24−stackage2nix ./stack.yaml
22+```
23+nix-build -A stackage2nix
2524```
2625
27−if you're using the raw executable, you should supply additional flags. See
28−section 'Flags' below for details.
26+## Generate Stackage packages for the build
2927
30−This command will result in a Haskell packages set, similar to
31−`pkgs.haskell.packages.<compiler>`, containing only packages that are required
32−to build targets listed in `stackage.yaml`. To build a package run:
28+If you don't want to use Stackage overlay, stackage2nix can generate required
29+packages with `--with-stackage-closure` flag.
3330
3431``` bash
35−nix-build -A my-package
32+stack exec -- stackage2nix \
33+ --all-cabal-hashes /path/to/commercialhaskell/all-cabal-hashes \
34+ --lts-haskell /path/to/fpco/lts-haskell \
35+ --with-stackage-closure \
36+ ./stack.yaml
3637```
3738
38−## Build stackage
39+To generate Stackage packages, supply the `--all-cabal-hashes` flag
40+with the path to a local clone of
41+[all-cabal-hashes](https://github.com/commercialhaskell/all-cabal-hashes)
42+checked out on the `hackage` branch and supply the `--lts-haskell` flag
43+with the path to a local clone of
44+[lts-haskell](https://github.com/commercialhaskell/lts-haskell).
3945
40−Generate complete Stackage packages set from resolver:
46+### stackage2nix wrapper
4147
42−``` bash
43−stackage2nix --resolver lts-9.0
48+You can use stackage2nix wrapper from `nix` directory that adds required flags:
49+
50+```
51+nix-env -i -f ./nix/stackage2nix
52+stackage2nix --with-stackage-closure ./stack.yaml
4453```
4554
46−## Flags
55+This command will produce `packages.nix` and `configuration-packages.nix`
56+Stackage packages and its override in `default.nix`
57+
58+## Generate full Stackage
59+
60+`--with-stackage` parameter generates full Stackage LTS in addition to the
61+targets from `stack.yaml`
4762
4863```
49−stackage2nix \
50− --lts-haskell "$LTS_HASKELL_REPO" \
51− --all-cabal-hashes "$ALL_CABAL_HASHES_REPO" \
52− .
64+nix-env -i -f ./nix/stackage2nix
65+stackage2nix --with-stackage ./stack.yaml
5366```
5467
55−`stackage2nix` has three required arguments:
56−- `--lts-haskell` - path to [fpco/lts-haskell](https://github.com/fpco/lts-haskell)
57−- `--all-cabal-hashes` - path to [commercialhaskell/all-cabal-hashes](https://github.com/commercialhaskell/all-cabal-hashes) checked out to `hackage` branch
58−- `.` - path to stack.yaml file or directory
59−
60−Produced Nix derivation split on following files:
61−- packages.nix - Base Stackage packages set
62−- configuration-packages.nix - Compiler configuration
63−- default.nix - Final Haskell packages set with all overrides applied
68+## Generate Stackage from LTS resolver
6469
65−A particular package from result Haskell packages set can be built with:
70+You can also generate only Stackage packages set from the resolver:
6671
6772```
68−nix-build -A <package-name>
73+nix-env -i -f ./nix/stackage2nix
74+stackage2nix --resolver lts-10.0
6975```
7076
71−See also the [blog post](https://blog.typeable.io/posts/2017-08-24-stackage2nix.html)
72−about history and motivation behind the project.
77+This command will produce Stackage packages `packages.nix`, packages config
78+`configuration-packages.nix` and a Haskell packages set `default.nix`.
7379
7480## Runtime dependencies
7581
@@ -85,9 +91,9 @@ Complex projects may require some extra customization.
8591Snippet `override.nix` below shows a minimal example of how to apply additional
8692overrides on top of Haskell packages set produced by `stackage2nix`.
8793
88−```
94+``` nix
8995with import <nixpkgs> {};
90−with pkgs.haskell.lib;
96+with haskell.lib;
9197let haskellPackages = import ./. {};
9298in haskellPackages.override {
9399 overrides = self: super: {
@@ -104,9 +110,9 @@ For more complex overrides and detailed information on how to work with Haskell
104110
105111## Tests
106112
107−Integration tests that build stackage2nix form different stack configs:
113+Integration tests that build stackage2nix form different yaml configs:
108114
109−```
115+``` bash
110116STACKAGE_REPO=<path/to/stackage/repo> \
111117ALL_CABAL_HASHES=<path/to/all-cabal-hashes/repo> \
112118STACK_FILE=stack-ghc-7103.yaml \
ci-stackage2nix+8−7
@@ -4,22 +4,23 @@ set -e
44
55STACKAGE2NIX_WORK_DIR=${STACKAGE2NIX_WORK_DIR:-$HOME}
66STACKAGE_REPO=${STACKAGE_REPO:-$STACKAGE2NIX_WORK_DIR/lts-haskell}
7−ALL_CABAL_HASHES_DIR=${ALL_CABAL_HASHES_DIR:-$STACKAGE2NIX_WORK_DIR/all-cabal-hashes}
8−STACK_FILE=${STACK_FILE:-.}
7+ALL_CABAL_HASHES_REPO=${ALL_CABAL_HASHES_REPO:-$STACKAGE2NIX_WORK_DIR/all-cabal-hashes}
8+STACK_FILE=${STACK_YAML:-stack.yaml}
99
1010if [ ! -d "$STACKAGE_REPO" ]; then
11− git clone --depth 1 https://github.com/fpco/lts-haskell.git "$STACKAGE_REPO"
11+ git clone --depth 1 https://github.com/commercialhaskell/lts-haskell.git "$STACKAGE_REPO"
1212fi
1313
14−if [ ! -d "$ALL_CABAL_HASHES_DIR" ]; then
15− git clone --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git "$ALL_CABAL_HASHES_DIR"
14+if [ ! -d "$ALL_CABAL_HASHES_REPO" ]; then
15+ git clone --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git "$ALL_CABAL_HASHES_REPO"
1616fi
1717
1818set -x
19−time stack exec -- stackage2nix \
19+time stackage2nix \
2020 --lts-haskell "$STACKAGE_REPO" \
21− --all-cabal-hashes "$ALL_CABAL_HASHES_DIR" \
21+ --all-cabal-hashes "$ALL_CABAL_HASHES_REPO" \
2222 --hackage-db "$HOME/.cabal/packages/hackage.haskell.org/01-index.tar" \
23+ --with-stackage-closure \
2324 "$STACK_FILE"
2425
2526nix-build -o "result-$(basename $STACK_FILE)" -A stackage2nix "$@"
nix/README.md+2−18
@@ -4,7 +4,7 @@ Nix infrastructure.
44
55## stackage2nix
66
7−Directory contains ready-to-use `stackage2nix` wrapper with
7+Provides ready-to-use `stackage2nix` wrapper with
88`--all-cabal-hashes` and `--lts-haskell` flags set up. It also has all
99required executables on `PATH`.
1010
@@ -12,25 +12,9 @@ Install stackage2nix:
1212
1313```
1414$ nix-env -i -f ./stackage2nix
15−
16−$ stackage2nix
17−Missing: (--resolver ARG | STACK_YAML)
18−```
19−
20−## stackage
21−
22−Directory contains derivation that creates Stackage LTS from `lts` argument.
23−
24−Build lts-9.0:
25−
26−```
27−$ nix-build --argstr lts lts-9.0 ./stackage
28−
29−$ ls result
30−configuration-packages.nix packages.nix
3115```
3216
33−## haskellPackages
17+## haskell-packages
3418
3519Directory contains Stackage LTS packages generated by `stackage2nix` from this
3620project's `stack.yaml`.
nix/haskell-packages/configuration-packages.nix+7−11
@@ -1,7 +1,7 @@
1−# Generated by stackage2nix 0.4.0 from "/home/dbushev/projects/fpco/lts-haskell/lts-9.17.yaml"
2−{ pkgs }:
1+# Generated by stackage2nix 0.7.1 from "/home/dbushev/projects/commercialhaskell/lts-haskell/lts-12.2.yaml"
2+{ pkgs, haskellLib }:
33
4−with pkgs.haskell.lib; self: super: {
4+with haskellLib; self: super: {
55
66 # core packages
77 "array" = null;
@@ -16,29 +16,25 @@ with pkgs.haskell.lib; self: super: {
1616 "ghc-boot-th" = null;
1717 "ghc-prim" = null;
1818 "ghci" = null;
19− "hoopl" = null;
2019 "hpc" = null;
2120 "integer-gmp" = null;
2221 "pretty" = null;
2322 "process" = null;
2423 "rts" = null;
2524 "template-haskell" = null;
25+ "terminfo" = null;
2626 "time" = null;
2727 "transformers" = null;
2828 "unix" = null;
29− # break cycle: HUnit call-stack nanospec hspec QuickCheck test-framework xml text quickcheck-unicode test-framework-hunit test-framework-quickcheck2 hspec-core async hspec-expectations hspec-meta quickcheck-io silently temporary base-compat exceptions tasty clock tasty-quickcheck tasty-hunit optparse-applicative regex-tdfa parsec hspec-discover stringbuilder
29+ # break cycle: HUnit call-stack nanospec hspec hspec-core clock tasty async hashable test-framework-hunit tasty-quickcheck tasty-hunit hspec-expectations hspec-meta quickcheck-io silently temporary exceptions hspec-discover stringbuilder
3030 "stringbuilder" = dontCheck super.stringbuilder;
3131 "hspec-discover" = dontCheck super.hspec-discover;
32− "optparse-applicative" = dontCheck super.optparse-applicative;
33− "clock" = dontCheck super.clock;
3432 "exceptions" = dontCheck super.exceptions;
35− "base-compat" = dontCheck super.base-compat;
3633 "temporary" = dontCheck super.temporary;
3734 "silently" = dontCheck super.silently;
35+ "hashable" = dontCheck super.hashable;
3836 "async" = dontCheck super.async;
39− "text" = dontCheck super.text;
37+ "clock" = dontCheck super.clock;
4038 "nanospec" = dontCheck super.nanospec;
41− # break cycle: statistics monad-par mwc-random vector-algorithms
42− "mwc-random" = dontCheck super.mwc-random;
4339
4440}
nix/haskell-packages/default.nix+132−107
@@ -1,162 +1,187 @@
1−# Generated by stackage2nix 0.4.0 from "./stack-ghc-802.yaml"
1+# Generated by stackage2nix 0.7.1 from "../../stack.yaml"
22{ nixpkgs ? import <nixpkgs> {} }:
33
44with nixpkgs;
55let
66 inherit (stdenv.lib) extends;
7− stackagePackages = self: import ./packages.nix { inherit pkgs stdenv; inherit (self) callPackage; };
8− stackageConfig = callPackage ./configuration-packages.nix {};
7+ haskellLib = callPackage (nixpkgs.path + "/pkgs/development/haskell-modules/lib.nix") {};
8+ stackagePackages = import ./packages.nix;
9+ stackageConfig = import ./configuration-packages.nix { inherit pkgs haskellLib; };
910 stackPackages =
1011 { pkgs, stdenv, callPackage }:
11−
12+
1213 self: {
13− "Cabal" = callPackage
14− ({ mkDerivation, array, base, binary, bytestring, containers
15− , deepseq, directory, filepath, pretty, process, QuickCheck, tagged
16− , tar, tasty, tasty-hunit, tasty-quickcheck, time, unix
14+ "stackage2nix" = callPackage
15+ ({ mkDerivation, aeson, base, bytestring, Cabal, cabal2nix
16+ , containers, deepseq, distribution-nixpkgs, exceptions, filepath
17+ , gitlib, gitlib-libgit2, hopenssl, hspec, inflections
18+ , language-nix, lens, network-uri, optparse-applicative, pretty
19+ , QuickCheck, shakespeare, stackage-curator, text
20+ , unordered-containers, yaml
1721 }:
1822 mkDerivation {
19− pname = "Cabal";
20− version = "2.0.0.2";
21− sha256 = "0chhl2113jbahd5gychx9rdqj1aw22h7dyj6z44871hzqxngx6bc";
23+ pname = "stackage2nix";
24+ version = "0.7.1";
25+ src = ../../.;
26+ isLibrary = true;
27+ isExecutable = true;
2228 libraryHaskellDepends = [
23− array base binary bytestring containers deepseq directory filepath
24− pretty process time unix
29+ aeson base bytestring Cabal cabal2nix containers deepseq
30+ distribution-nixpkgs exceptions filepath gitlib gitlib-libgit2
31+ hopenssl inflections language-nix lens network-uri
32+ optparse-applicative pretty QuickCheck stackage-curator text
33+ unordered-containers yaml
2534 ];
35+ executableHaskellDepends = [ base ];
2636 testHaskellDepends = [
27− array base bytestring containers directory filepath pretty
28− QuickCheck tagged tar tasty tasty-hunit tasty-quickcheck
37+ base bytestring Cabal hspec network-uri pretty shakespeare text
38+ yaml
2939 ];
30− doHaddock = false;
31− doCheck = false;
32− homepage = "http://www.haskell.org/cabal/";
33− description = "A framework for packaging Haskell software";
40+ homepage = "https://github.com/typeable/stackage2nix#readme";
41+ description = "Convert Stack files into Nix build instructions";
3442 license = stdenv.lib.licenses.bsd3;
3543 }) {};
36− "cabal2nix" = callPackage
37− ({ mkDerivation, aeson, ansi-wl-pprint, base, bytestring, Cabal
38− , cabal-doctest, containers, deepseq, directory
39− , distribution-nixpkgs, doctest, filepath, hackage-db, hopenssl
40− , language-nix, lens, monad-par, monad-par-extras, mtl
41− , optparse-applicative, pretty, process, split, text, time
42− , transformers, utf8-string, yaml
44+ "yaml" = callPackage
45+ ({ mkDerivation, aeson, attoparsec, base, bytestring, conduit
46+ , containers, directory, filepath, resourcet, scientific
47+ , semigroups, template-haskell, text, transformers
48+ , unordered-containers, vector
4349 }:
4450 mkDerivation {
45− pname = "cabal2nix";
46− version = "2.5";
47− sha256 = "19ywslwarwk84anfq78y249krqnddi2yyh66l78a88xfsh002abp";
51+ pname = "yaml";
52+ version = "0.8.31.1";
53+ sha256 = "1ba1451917e6cb1df6081e2e14c2e4dcec6969b9b25a5d72db96942c3e6d8b53";
4854 isLibrary = true;
4955 isExecutable = true;
50− setupHaskellDepends = [ base Cabal cabal-doctest ];
5156 libraryHaskellDepends = [
52− aeson ansi-wl-pprint base bytestring Cabal containers deepseq
53− directory distribution-nixpkgs filepath hackage-db hopenssl
54− language-nix lens optparse-applicative pretty process split text
55− transformers yaml
56− ];
57− executableHaskellDepends = [
58− aeson ansi-wl-pprint base bytestring Cabal containers deepseq
59− directory distribution-nixpkgs filepath hackage-db hopenssl
60− language-nix lens monad-par monad-par-extras mtl
61− optparse-applicative pretty process split text time transformers
62− utf8-string yaml
63− ];
64− testHaskellDepends = [
65− aeson ansi-wl-pprint base bytestring Cabal containers deepseq
66− directory distribution-nixpkgs doctest filepath hackage-db hopenssl
67− language-nix lens optparse-applicative pretty process split text
68− transformers yaml
57+ aeson attoparsec base bytestring conduit containers directory
58+ filepath resourcet scientific semigroups template-haskell text
59+ transformers unordered-containers vector
6960 ];
7061 doHaddock = false;
7162 doCheck = false;
72− homepage = "https://github.com/nixos/cabal2nix#readme";
73− description = "Convert Cabal files into Nix build instructions";
63+ homepage = "http://github.com/snoyberg/yaml/";
64+ description = "Support for parsing and rendering YAML documents";
7465 license = stdenv.lib.licenses.bsd3;
7566 }) {};
7667 "stackage-curator" = callPackage
7768 ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3, async
78− , base, base16-bytestring, blaze-html, byteable, bytestring, Cabal
79− , classy-prelude-conduit, conduit, conduit-extra, containers
80− , cryptohash, cryptohash-conduit, data-default-class, directory
81− , exceptions, filepath, hashable, hspec, html-conduit, http-client
82− , http-client-tls, http-conduit, lucid, mime-types, monad-unlift
83− , monad-unlift-ref, mono-traversable, mtl, old-locale
84− , optparse-applicative, optparse-simple, process, QuickCheck
85− , resourcet, safe, semigroups, stm, store, streaming-commons, syb
86− , system-fileio, system-filepath, tar, temporary, text, time
87− , transformers, unix-compat, unordered-containers, utf8-string
88− , vector, xml-conduit, xml-types, yaml, zlib
69+ , base, blaze-html, bytestring, Cabal, classy-prelude-conduit
70+ , conduit, conduit-extra, containers, cryptonite
71+ , cryptonite-conduit, data-default-class, directory, exceptions
72+ , fetchgit, filepath, hashable, html-conduit, http-client
73+ , http-client-tls, http-conduit, lucid, memory, mime-types
74+ , mono-traversable, mtl, old-locale, optparse-applicative
75+ , optparse-simple, process, resourcet, safe, semigroups, stm, store
76+ , streaming-commons, syb, tar, temporary, text, time, transformers
77+ , unix-compat, unordered-containers, utf8-string, vector
78+ , xml-conduit, xml-types, yaml, zlib
8979 }:
9080 mkDerivation {
9181 pname = "stackage-curator";
92− version = "0.15.0.0";
93− sha256 = "0z84ywxh4zb996b0ir8hjl9pwdcb0ds0pgq6i8sfxmj5nrw5yjn5";
82+ version = "0.17.0.0";
83+ src = fetchgit {
84+ url = "https://github.com/fpco/stackage-curator.git";
85+ sha256 = "0hymmzn59aszqxqs5s0mba8pzrky8wpkmy7hdgaxqrhg0syc6mkw";
86+ rev = "73c5ed06602990c33d3fec1711e27875f283b6bf";
87+ };
9488 isLibrary = true;
9589 isExecutable = true;
9690 libraryHaskellDepends = [
97− aeson amazonka amazonka-core amazonka-s3 async base
98− base16-bytestring blaze-html byteable bytestring Cabal
99− classy-prelude-conduit conduit conduit-extra containers cryptohash
100− cryptohash-conduit data-default-class directory exceptions filepath
101− hashable html-conduit http-client http-client-tls http-conduit
102− lucid mime-types monad-unlift monad-unlift-ref mono-traversable mtl
103− old-locale process resourcet safe semigroups stm store
104− streaming-commons syb system-fileio system-filepath tar temporary
105− text time transformers unix-compat unordered-containers utf8-string
106− vector xml-conduit xml-types yaml zlib
91+ aeson amazonka amazonka-core amazonka-s3 async base blaze-html
92+ bytestring Cabal classy-prelude-conduit conduit conduit-extra
93+ containers cryptonite cryptonite-conduit data-default-class
94+ directory exceptions filepath hashable html-conduit http-client
95+ http-client-tls http-conduit lucid memory mime-types
96+ mono-traversable mtl old-locale process resourcet safe semigroups
97+ stm store streaming-commons syb tar temporary text time
98+ transformers unix-compat unordered-containers utf8-string vector
99+ xml-conduit xml-types yaml zlib
107100 ];
108101 executableHaskellDepends = [
109− aeson base http-client http-client-tls optparse-applicative
110− optparse-simple system-filepath text
111− ];
112− testHaskellDepends = [
113− base Cabal classy-prelude-conduit containers directory hspec
114− http-client http-client-tls QuickCheck text yaml
102+ aeson amazonka amazonka-core amazonka-s3 async base blaze-html
103+ bytestring Cabal classy-prelude-conduit conduit conduit-extra
104+ containers cryptonite cryptonite-conduit data-default-class
105+ directory exceptions filepath hashable html-conduit http-client
106+ http-client-tls http-conduit lucid memory mime-types
107+ mono-traversable mtl old-locale optparse-applicative
108+ optparse-simple process resourcet safe semigroups stm store
109+ streaming-commons syb tar temporary text time transformers
110+ unix-compat unordered-containers utf8-string vector xml-conduit
111+ xml-types yaml zlib
115112 ];
116113 doHaddock = false;
117114 doCheck = false;
118− homepage = "https://github.com/fpco/stackage-curator";
115+ homepage = "https://github.com/fpco/stackage-curator#readme";
119116 description = "Tools for curating Stackage bundles";
120117 license = stdenv.lib.licenses.mit;
121118 }) {};
122− "stackage2nix" = callPackage
123− ({ mkDerivation, aeson, base, bytestring, Cabal, cabal2nix
124− , containers, deepseq, distribution-nixpkgs, exceptions, filepath
125− , gitlib, gitlib-libgit2, hopenssl, hspec, inflections
126− , language-nix, lens, network-uri, optparse-applicative, pretty
127− , QuickCheck, shakespeare, stackage-curator, text
128− , unordered-containers, yaml
119+ "gitlib" = callPackage
120+ ({ mkDerivation, base, base16-bytestring, bytestring, conduit
121+ , conduit-combinators, containers, directory, exceptions, fetchgit
122+ , filepath, hashable, mtl, resourcet, semigroups, tagged, text
123+ , time, transformers, unix, unliftio, unliftio-core
124+ , unordered-containers
129125 }:
130126 mkDerivation {
131− pname = "stackage2nix";
132− version = "0.4.0";
133− src = ../../.;
134− isLibrary = true;
135− isExecutable = true;
127+ pname = "gitlib";
128+ version = "3.1.2";
129+ src = fetchgit {
130+ url = "https://github.com/jwiegley/gitlib.git";
131+ sha256 = "0rp6lnbbbf9m6fvmx7mzknrk89ly0gbqaxsfx38cn6qdy7r54xcm";
132+ rev = "70c99759b8b9377f67492fe29afb32f05882409d";
133+ };
134+ postUnpack = "sourceRoot+=/gitlib; echo source root reset to $sourceRoot";
136135 libraryHaskellDepends = [
137− aeson base bytestring Cabal cabal2nix containers deepseq
138− distribution-nixpkgs exceptions filepath gitlib gitlib-libgit2
139− hopenssl inflections language-nix lens network-uri
140− optparse-applicative pretty QuickCheck stackage-curator text
141− unordered-containers yaml
136+ base base16-bytestring bytestring conduit conduit-combinators
137+ containers directory exceptions filepath hashable mtl resourcet
138+ semigroups tagged text time transformers unix unliftio
139+ unliftio-core unordered-containers
142140 ];
143− executableHaskellDepends = [ base ];
144− testHaskellDepends = [
145− base bytestring Cabal hspec pretty shakespeare text yaml
141+ doHaddock = false;
142+ doCheck = false;
143+ homepage = "https://github.com/jwiegley/gitlib";
144+ description = "API library for working with Git repositories";
145+ license = stdenv.lib.licenses.mit;
146+ }) {};
147+ "gitlib-libgit2" = callPackage
148+ ({ mkDerivation, base, bytestring, conduit, conduit-combinators
149+ , containers, directory, exceptions, fast-logger, fetchgit
150+ , filepath, gitlib, hlibgit2, mmorph, monad-loops, mtl, resourcet
151+ , stm, stm-conduit, tagged, template-haskell, text, text-icu, time
152+ , transformers, transformers-base, unliftio, unliftio-core
153+ }:
154+ mkDerivation {
155+ pname = "gitlib-libgit2";
156+ version = "3.1.1";
157+ src = fetchgit {
158+ url = "https://github.com/jwiegley/gitlib.git";
159+ sha256 = "0rp6lnbbbf9m6fvmx7mzknrk89ly0gbqaxsfx38cn6qdy7r54xcm";
160+ rev = "70c99759b8b9377f67492fe29afb32f05882409d";
161+ };
162+ postUnpack = "sourceRoot+=/gitlib-libgit2; echo source root reset to $sourceRoot";
163+ libraryHaskellDepends = [
164+ base bytestring conduit conduit-combinators containers directory
165+ exceptions fast-logger filepath gitlib hlibgit2 mmorph monad-loops
166+ mtl resourcet stm stm-conduit tagged template-haskell text text-icu
167+ time transformers transformers-base unliftio unliftio-core
146168 ];
147− homepage = "https://github.com/4e6/stackage2nix#readme";
148− description = "Convert Stack files into Nix build instructions";
149− license = stdenv.lib.licenses.bsd3;
169+ doHaddock = false;
170+ doCheck = false;
171+ description = "Libgit2 backend for gitlib";
172+ license = stdenv.lib.licenses.mit;
150173 }) {};
151174 };
152−
175+
153176 pkgOverrides = self: stackPackages {
154177 inherit pkgs stdenv;
155178 inherit (self) callPackage;
156179 };
157−
158180in callPackage (nixpkgs.path + "/pkgs/development/haskell-modules") {
159− ghc = pkgs.haskell.compiler.ghc802;
160− compilerConfig = self: extends pkgOverrides (extends stackageConfig (stackagePackages self));
161− haskellLib = callPackage (nixpkgs.path + "/pkgs/development/haskell-modules/lib.nix") {};
181+ ghc = pkgs.haskell.compiler.ghc843;
182+ buildHaskellPackages = buildPackages.haskell.packages.ghc843;
183+ compilerConfig = self: extends pkgOverrides (stackageConfig self);
184+ initialPackages = stackagePackages;
185+ configurationCommon = args: self: super: {};
186+ inherit haskellLib;
162187}
nix/haskell-packages/packages.nix+1674−1852
@@ -1,57 +1,83 @@
1−# Generated by stackage2nix 0.4.0 from "/home/dbushev/projects/fpco/lts-haskell/lts-9.17.yaml"
1+# Generated by stackage2nix 0.7.1 from "/home/dbushev/projects/commercialhaskell/lts-haskell/lts-12.2.yaml"
22{ pkgs, stdenv, callPackage }:
33
44self: {
55 "Cabal" = callPackage
66 ({ mkDerivation, array, base, binary, bytestring, containers
7− , deepseq, directory, filepath, pretty, process, time, unix
7+ , deepseq, directory, filepath, mtl, parsec, pretty, process, text
8+ , time, transformers, unix
89 }:
910 mkDerivation {
1011 pname = "Cabal";
11− version = "1.24.2.0";
12− sha256 = "0h33v1716wkqh9wvq2wynvhwzkjjhg4aav0a1i3cmyq36n7fpl5p";
13− revision = "2";
14− editedCabalFile = "15ncrm7x2lg4hn0m5mhc8hy769bzhmajsm6l9i6536plfs2bbbdj";
12+ version = "2.2.0.1";
13+ sha256 = "0yqa6fm9jvr0ka6b1mf17bf43092dc1bai6mqyiwwwyz0h9k1d82";
14+ setupHaskellDepends = [ mtl parsec ];
1515 libraryHaskellDepends = [
1616 array base binary bytestring containers deepseq directory filepath
17− pretty process time unix
17+ mtl parsec pretty process text time transformers unix
1818 ];
19− doHaddock = false;
2019 doCheck = false;
2120 homepage = "http://www.haskell.org/cabal/";
2221 description = "A framework for packaging Haskell software";
2322 license = stdenv.lib.licenses.bsd3;
2423 }) {};
24+ "ChasingBottoms" = callPackage
25+ ({ mkDerivation, array, base, containers, mtl, QuickCheck, random
26+ , syb
27+ }:
28+ mkDerivation {
29+ pname = "ChasingBottoms";
30+ version = "1.3.1.4";
31+ sha256 = "06cynx6hcbfpky7qq3b3mjjgwbnaxkwin3znbwq4b9ikiw0ng633";
32+ libraryHaskellDepends = [
33+ base containers mtl QuickCheck random syb
34+ ];
35+ testHaskellDepends = [
36+ array base containers mtl QuickCheck random syb
37+ ];
38+ description = "For testing partial and infinite values";
39+ license = stdenv.lib.licenses.mit;
40+ }) {};
2541 "Glob" = callPackage
2642 ({ mkDerivation, base, containers, directory, dlist, filepath
27− , transformers, transformers-compat
43+ , HUnit, QuickCheck, test-framework, test-framework-hunit
44+ , test-framework-quickcheck2, transformers, transformers-compat
2845 }:
2946 mkDerivation {
3047 pname = "Glob";
31− version = "0.8.0";
32− sha256 = "15p8nbi19mhl3iisngbawmdpvk8paaqq4248fqgan63q1sz13w1q";
48+ version = "0.9.2";
49+ sha256 = "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg";
3350 libraryHaskellDepends = [
3451 base containers directory dlist filepath transformers
3552 transformers-compat
3653 ];
37− doHaddock = false;
38− doCheck = false;
54+ testHaskellDepends = [
55+ base containers directory dlist filepath HUnit QuickCheck
56+ test-framework test-framework-hunit test-framework-quickcheck2
57+ transformers transformers-compat
58+ ];
3959 homepage = "http://iki.fi/matti.niemenmaa/glob/";
4060 description = "Globbing library";
4161 license = stdenv.lib.licenses.bsd3;
4262 }) {};
4363 "HTTP" = callPackage
44− ({ mkDerivation, array, base, bytestring, mtl, network, network-uri
45− , parsec, time
64+ ({ mkDerivation, array, base, bytestring, case-insensitive, conduit
65+ , conduit-extra, deepseq, http-types, httpd-shed, HUnit, mtl
66+ , network, network-uri, parsec, pureMD5, split, test-framework
67+ , test-framework-hunit, time, wai, warp
4668 }:
4769 mkDerivation {
4870 pname = "HTTP";
49− version = "4000.3.8";
50− sha256 = "1w6d17xn58f55xw84rql48ad8npzw93k7b46ibx8x4xsl6q5jfk0";
71+ version = "4000.3.12";
72+ sha256 = "140r6qy1ay25piv0z3hih11zhigyi08nkwc32097j43pjff6mzx3";
5173 libraryHaskellDepends = [
5274 array base bytestring mtl network network-uri parsec time
5375 ];
54− doHaddock = false;
76+ testHaskellDepends = [
77+ base bytestring case-insensitive conduit conduit-extra deepseq
78+ http-types httpd-shed HUnit mtl network network-uri pureMD5 split
79+ test-framework test-framework-hunit wai warp
80+ ];
5581 doCheck = false;
5682 homepage = "https://github.com/haskell/HTTP";
5783 description = "A library for client-side HTTP";
@@ -61,77 +87,50 @@ self: {
6187 ({ mkDerivation, base, call-stack, deepseq, filepath }:
6288 mkDerivation {
6389 pname = "HUnit";
64− version = "1.5.0.0";
65− sha256 = "186ykl7vxlfgkd2k8k1rq7yzcryzjpqwmn4ci1nn9h6irqbivib5";
90+ version = "1.6.0.0";
91+ sha256 = "1pnhwqq5v8h48gbp3ibv3skfj25mf4zs5svxcavq93p9cswycj3l";
6692 libraryHaskellDepends = [ base call-stack deepseq ];
6793 testHaskellDepends = [ base call-stack deepseq filepath ];
68− doHaddock = false;
69− doCheck = false;
7094 homepage = "https://github.com/hspec/HUnit#readme";
7195 description = "A unit testing framework for Haskell";
7296 license = stdenv.lib.licenses.bsd3;
7397 }) {};
74− "MonadRandom" = callPackage
75− ({ mkDerivation, base, fail, mtl, primitive, random, transformers
76− , transformers-compat
77− }:
98+ "Only" = callPackage
99+ ({ mkDerivation, base, deepseq }:
78100 mkDerivation {
79− pname = "MonadRandom";
80− version = "0.5.1";
81− sha256 = "11qdfghizww810vdj9ac1f5qr5kdmrk40l6w6qh311bjh290ygwy";
82− libraryHaskellDepends = [
83− base fail mtl primitive random transformers transformers-compat
84− ];
85− doHaddock = false;
86− doCheck = false;
87− description = "Random-number generation monad";
101+ pname = "Only";
102+ version = "0.1";
103+ sha256 = "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb";
104+ revision = "1";
105+ editedCabalFile = "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr";
106+ libraryHaskellDepends = [ base deepseq ];
107+ description = "The 1-tuple type or single-value \"collection\"";
88108 license = stdenv.lib.licenses.bsd3;
89109 }) {};
90110 "QuickCheck" = callPackage
91− ({ mkDerivation, base, containers, random, template-haskell
92− , test-framework, tf-random, transformers
111+ ({ mkDerivation, base, containers, deepseq, random
112+ , template-haskell, tf-random, transformers
93113 }:
94114 mkDerivation {
95115 pname = "QuickCheck";
96− version = "2.9.2";
97− sha256 = "119np67qvx8hyp9vkg4gr2wv3lj3j6ay2vl4hxspkg43ymb1cp0m";
116+ version = "2.11.3";
117+ sha256 = "0xhqk35fkzlbjcqbabg6962jkv8d688nzmz7ng4bm84x2d95d328";
98118 libraryHaskellDepends = [
99− base containers random template-haskell tf-random transformers
100− ];
101− testHaskellDepends = [
102− base containers template-haskell test-framework
119+ base containers deepseq random template-haskell tf-random
120+ transformers
103121 ];
104− doHaddock = false;
105− doCheck = false;
122+ testHaskellDepends = [ base ];
106123 homepage = "https://github.com/nick8325/quickcheck";
107124 description = "Automatic testing of Haskell programs";
108125 license = stdenv.lib.licenses.bsd3;
109126 }) {};
110− "ReadArgs" = callPackage
111− ({ mkDerivation, base, system-filepath, text }:
112− mkDerivation {
113− pname = "ReadArgs";
114− version = "1.2.3";
115− sha256 = "0s8s4nhl84qsr5a87gzjslcf4d9vvvzmcfl5g4gqa3czzafjljwz";
116− isLibrary = true;
117− isExecutable = true;
118− libraryHaskellDepends = [ base system-filepath text ];
119− executableHaskellDepends = [ base system-filepath text ];
120− doHaddock = false;
121− doCheck = false;
122− homepage = "http://github.com/rampion/ReadArgs";
123− description = "Simple command line argument parsing";
124− license = stdenv.lib.licenses.bsd3;
125− }) {};
126127 "StateVar" = callPackage
127128 ({ mkDerivation, base, stm, transformers }:
128129 mkDerivation {
129130 pname = "StateVar";
130− version = "1.1.0.4";
131− sha256 = "1dzz9l0haswgag9x56q7n57kw18v7nhmzkjyr61nz9y9npn8vmks";
131+ version = "1.1.1.0";
132+ sha256 = "102f4x240zj3jwa7gx6vp813j76cjhlc3zbi9i5kiz6268kcv28s";
132133 libraryHaskellDepends = [ base stm transformers ];
133− doHaddock = false;
134− doCheck = false;
135134 homepage = "https://github.com/haskell-opengl/StateVar";
136135 description = "State variables";
137136 license = stdenv.lib.licenses.bsd3;
@@ -143,8 +142,6 @@ self: {
143142 version = "0.3";
144143 sha256 = "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9";
145144 libraryHaskellDepends = [ array base containers random time ];
146− doHaddock = false;
147− doCheck = false;
148145 homepage = "https://github.com/rrnewton/haskell-lockfree/wiki";
149146 description = "Abstract, parameterized interface to mutable Deques";
150147 license = stdenv.lib.licenses.bsd3;
@@ -156,64 +153,49 @@ self: {
156153 version = "0.3.3";
157154 sha256 = "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4";
158155 libraryHaskellDepends = [ base deepseq ];
159− doHaddock = false;
160− doCheck = false;
161156 homepage = "https://github.com/simonmar/monad-par";
162157 description = "Type classes generalizing the functionality of the 'monad-par' library";
163158 license = stdenv.lib.licenses.bsd3;
164159 }) {};
165160 "adjunctions" = callPackage
166161 ({ mkDerivation, array, base, comonad, containers, contravariant
167− , distributive, free, mtl, profunctors, semigroupoids, semigroups
168− , tagged, transformers, transformers-compat, void
162+ , distributive, free, generic-deriving, hspec, hspec-discover, mtl
163+ , profunctors, semigroupoids, semigroups, tagged, transformers
164+ , transformers-compat, void
169165 }:
170166 mkDerivation {
171167 pname = "adjunctions";
172− version = "4.3";
173− sha256 = "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r";
168+ version = "4.4";
169+ sha256 = "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h";
174170 revision = "1";
175− editedCabalFile = "1079l9szyr7ybi9wcvv1vjsjfrqirkn9z3j7dann8vbk81a4z37q";
171+ editedCabalFile = "0582nnn3fab63nd7ng8smk2c8j7pciiyzfj1na34wqid2hs675as";
176172 libraryHaskellDepends = [
177173 array base comonad containers contravariant distributive free mtl
178174 profunctors semigroupoids semigroups tagged transformers
179175 transformers-compat void
180176 ];
181− doHaddock = false;
182− doCheck = false;
177+ testHaskellDepends = [ base distributive generic-deriving hspec ];
178+ testToolDepends = [ hspec-discover ];
183179 homepage = "http://github.com/ekmett/adjunctions/";
184180 description = "Adjunctions and representable functors";
185181 license = stdenv.lib.licenses.bsd3;
186182 }) {};
187183 "aeson" = callPackage
188− ({ mkDerivation, attoparsec, base, base-compat, base-orphans
189− , base16-bytestring, bytestring, containers, deepseq, directory
190− , dlist, filepath, generic-deriving, ghc-prim, hashable
191− , hashable-time, HUnit, integer-logarithms, QuickCheck
192− , quickcheck-instances, scientific, tagged, template-haskell
193− , test-framework, test-framework-hunit, test-framework-quickcheck2
194− , text, time, time-locale-compat, unordered-containers, uuid-types
195− , vector
184+ ({ mkDerivation, attoparsec, base, base-compat, bytestring
185+ , containers, deepseq, dlist, ghc-prim, hashable, scientific
186+ , tagged, template-haskell, text, th-abstraction, time
187+ , time-locale-compat, unordered-containers, uuid-types, vector
196188 }:
197189 mkDerivation {
198190 pname = "aeson";
199− version = "1.1.2.0";
200− sha256 = "1zy5z8pzvh53qkjm0nm3f4rwqfqg3867ck8ncd6mrxpcyvxqqj1p";
201− revision = "1";
202− editedCabalFile = "06acsik1qcn5r1z1y3n7iw5h8x0h3hdcjii0bq9nf9ncvc71h1d4";
191+ version = "1.3.1.1";
192+ sha256 = "1i1ig840fvsb1lnklcv32zsc0zscirc301lw1mpfxhc6h4pk0gw4";
203193 libraryHaskellDepends = [
204194 attoparsec base base-compat bytestring containers deepseq dlist
205− ghc-prim hashable scientific tagged template-haskell text time
206− time-locale-compat unordered-containers uuid-types vector
207− ];
208− testHaskellDepends = [
209− attoparsec base base-compat base-orphans base16-bytestring
210− bytestring containers directory dlist filepath generic-deriving
211− ghc-prim hashable hashable-time HUnit integer-logarithms QuickCheck
212− quickcheck-instances scientific tagged template-haskell
213− test-framework test-framework-hunit test-framework-quickcheck2 text
214− time time-locale-compat unordered-containers uuid-types vector
195+ ghc-prim hashable scientific tagged template-haskell text
196+ th-abstraction time time-locale-compat unordered-containers
197+ uuid-types vector
215198 ];
216− doHaddock = false;
217199 doCheck = false;
218200 homepage = "https://github.com/bos/aeson";
219201 description = "Fast JSON parsing and encoding";
@@ -225,8 +207,8 @@ self: {
225207 }:
226208 mkDerivation {
227209 pname = "aeson-pretty";
228− version = "0.8.5";
229− sha256 = "1yd98972srlbkn0f2jhrb3f443j9wnq2fnw5gbxjxzmkcinfh5yx";
210+ version = "0.8.7";
211+ sha256 = "1m977gs0s9gf3lwzlbs5y7bl6ansc5pywmn2qjk09l5bwg2yrhf1";
230212 isLibrary = true;
231213 isExecutable = true;
232214 libraryHaskellDepends = [
@@ -236,87 +218,62 @@ self: {
236218 executableHaskellDepends = [
237219 aeson attoparsec base bytestring cmdargs
238220 ];
239− doHaddock = false;
240− doCheck = false;
241221 homepage = "http://github.com/informatikr/aeson-pretty";
242222 description = "JSON pretty-printing library and command-line tool";
243223 license = stdenv.lib.licenses.bsd3;
244224 }) {};
245− "aeson-qq" = callPackage
246− ({ mkDerivation, aeson, attoparsec, base, base-compat, ghc-prim
247− , haskell-src-meta, hspec, parsec, scientific, template-haskell
248− , text, vector
249− }:
250− mkDerivation {
251− pname = "aeson-qq";
252− version = "0.8.2";
253− sha256 = "0ln13jqyfh5726hdrk1rad9a6cgrrj201plmwcfcpvq18v4m5ckd";
254− libraryHaskellDepends = [
255− aeson attoparsec base base-compat haskell-src-meta parsec
256− scientific template-haskell text vector
257− ];
258− testHaskellDepends = [
259− aeson attoparsec base base-compat ghc-prim haskell-src-meta hspec
260− parsec scientific template-haskell text vector
261− ];
262− doHaddock = false;
263− doCheck = false;
264− homepage = "https://github.com/sol/aeson-qq#readme";
265− description = "JSON quasiquoter for Haskell";
266− license = stdenv.lib.licenses.mit;
267− }) {};
268225 "amazonka" = callPackage
269226 ({ mkDerivation, amazonka-core, base, bytestring, conduit
270− , conduit-extra, directory, exceptions, http-conduit, ini, mmorph
271− , monad-control, mtl, resourcet, retry, tasty, tasty-hunit, text
272− , time, transformers, transformers-base, transformers-compat
227+ , conduit-extra, directory, exceptions, http-client, http-conduit
228+ , http-types, ini, mmorph, monad-control, mtl, resourcet, retry
229+ , tasty, tasty-hunit, text, time, transformers, transformers-base
230+ , transformers-compat, void
273231 }:
274232 mkDerivation {
275233 pname = "amazonka";
276− version = "1.4.5";
277− sha256 = "0p48ra5hns9kpnsgr40imj0zgnd311ww2kk4lz4nnjpa1ppvgrw6";
234+ version = "1.6.0";
235+ sha256 = "07647x7lq9kaq6bqh38rvdiajji4ks6s7nvxv2xi4v4lhwn8j89p";
278236 libraryHaskellDepends = [
279237 amazonka-core base bytestring conduit conduit-extra directory
280− exceptions http-conduit ini mmorph monad-control mtl resourcet
281− retry text time transformers transformers-base transformers-compat
238+ exceptions http-client http-conduit http-types ini mmorph
239+ monad-control mtl resourcet retry text time transformers
240+ transformers-base transformers-compat void
282241 ];
283242 testHaskellDepends = [ base tasty tasty-hunit ];
284− doHaddock = false;
285− doCheck = false;
286243 homepage = "https://github.com/brendanhay/amazonka";
287244 description = "Comprehensive Amazon Web Services SDK";
288− license = "unknown";
245+ license = stdenv.lib.licenses.mpl20;
289246 }) {};
290247 "amazonka-core" = callPackage
291248 ({ mkDerivation, aeson, attoparsec, base, bifunctors, bytestring
292− , case-insensitive, conduit, conduit-extra, cryptonite, deepseq
293− , exceptions, hashable, http-conduit, http-types, lens, memory, mtl
294− , QuickCheck, quickcheck-unicode, resourcet, scientific, semigroups
295− , tagged, tasty, tasty-hunit, tasty-quickcheck, template-haskell
296− , text, time, transformers, transformers-compat
297− , unordered-containers, xml-conduit, xml-types
249+ , case-insensitive, conduit, conduit-extra, cryptonite
250+ , data-ordlist, deepseq, exceptions, hashable, http-client
251+ , http-conduit, http-types, lens, memory, mtl, QuickCheck
252+ , quickcheck-unicode, resourcet, scientific, semigroups, tagged
253+ , tasty, tasty-hunit, tasty-quickcheck, template-haskell, text
254+ , time, transformers, transformers-compat, unordered-containers
255+ , xml-conduit, xml-types
298256 }:
299257 mkDerivation {
300258 pname = "amazonka-core";
301− version = "1.4.5";
302− sha256 = "0zzfrn4m7ixs7dxw2n7d6ajfb9h8bnbk8pw1hw8w48nprv8f24yv";
259+ version = "1.6.0";
260+ sha256 = "1j9x17zhyxrg4ds5pdxfjdb4z7hpzn42cydx34j25h5d9avwbqdg";
303261 libraryHaskellDepends = [
304262 aeson attoparsec base bifunctors bytestring case-insensitive
305263 conduit conduit-extra cryptonite deepseq exceptions hashable
306− http-conduit http-types lens memory mtl resourcet scientific
307− semigroups tagged text time transformers transformers-compat
308− unordered-containers xml-conduit xml-types
264+ http-client http-conduit http-types lens memory mtl resourcet
265+ scientific semigroups tagged text time transformers
266+ transformers-compat unordered-containers xml-conduit xml-types
309267 ];
310268 testHaskellDepends = [
311− aeson base bytestring case-insensitive http-types QuickCheck
312− quickcheck-unicode tasty tasty-hunit tasty-quickcheck
313− template-haskell text time
269+ aeson base bytestring case-insensitive conduit data-ordlist
270+ http-conduit http-types lens QuickCheck quickcheck-unicode tasty
271+ tasty-hunit tasty-quickcheck template-haskell text time
314272 ];
315− doHaddock = false;
316273 doCheck = false;
317274 homepage = "https://github.com/brendanhay/amazonka";
318275 description = "Core data types and functionality for Amazonka libraries";
319− license = "unknown";
276+ license = stdenv.lib.licenses.mpl20;
320277 }) {};
321278 "amazonka-s3" = callPackage
322279 ({ mkDerivation, amazonka-core, amazonka-test, base, bytestring
@@ -324,18 +281,16 @@ self: {
324281 }:
325282 mkDerivation {
326283 pname = "amazonka-s3";
327− version = "1.4.5";
328− sha256 = "1bg45wxcvizdi7j5jggvblxwhd3f7sfy1j0jaq2ajfxcdsb7wabq";
284+ version = "1.6.0";
285+ sha256 = "0irz8vyklapjy3w3qasidpvq4hk2qwkmhrnrd23sf4yzs2xqx8gc";
329286 libraryHaskellDepends = [ amazonka-core base lens text ];
330287 testHaskellDepends = [
331288 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
332289 time unordered-containers
333290 ];
334− doHaddock = false;
335− doCheck = false;
336291 homepage = "https://github.com/brendanhay/amazonka";
337292 description = "Amazon Simple Storage Service SDK";
338− license = "unknown";
293+ license = stdenv.lib.licenses.mpl20;
339294 }) {};
340295 "amazonka-test" = callPackage
341296 ({ mkDerivation, aeson, amazonka-core, base, bifunctors, bytestring
@@ -346,32 +301,27 @@ self: {
346301 }:
347302 mkDerivation {
348303 pname = "amazonka-test";
349− version = "1.4.5";
350− sha256 = "0fjynyb85px3mbf85jf1xvs7n21622w60lasshgjy42brp5p524q";
304+ version = "1.6.0";
305+ sha256 = "0a6xfp97hijhqmhj9nv4aqax08ry8y809jpjhyj2819p01wvga26";
351306 libraryHaskellDepends = [
352307 aeson amazonka-core base bifunctors bytestring case-insensitive
353308 conduit conduit-extra groom http-client http-types process
354309 resourcet tasty tasty-hunit template-haskell temporary text time
355310 unordered-containers yaml
356311 ];
357− doHaddock = false;
358− doCheck = false;
359312 homepage = "https://github.com/brendanhay/amazonka";
360313 description = "Common functionality for Amazonka library test-suites";
361− license = "unknown";
314+ license = stdenv.lib.licenses.mpl20;
362315 }) {};
363316 "ansi-terminal" = callPackage
364− ({ mkDerivation, base }:
317+ ({ mkDerivation, base, colour }:
365318 mkDerivation {
366319 pname = "ansi-terminal";
367− version = "0.6.3.1";
368− sha256 = "15c0c0vb66y3mr11kcvgjf4h0f7dqg7k1xq7zzq9fy11r7h9i3s5";
320+ version = "0.8.0.4";
321+ sha256 = "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b";
369322 isLibrary = true;
370323 isExecutable = true;
371− libraryHaskellDepends = [ base ];
372− executableHaskellDepends = [ base ];
373− doHaddock = false;
374− doCheck = false;
324+ libraryHaskellDepends = [ base colour ];
375325 homepage = "https://github.com/feuerbach/ansi-terminal";
376326 description = "Simple ANSI terminal support, with Windows compatibility";
377327 license = stdenv.lib.licenses.bsd3;
@@ -380,14 +330,11 @@ self: {
380330 ({ mkDerivation, ansi-terminal, base }:
381331 mkDerivation {
382332 pname = "ansi-wl-pprint";
383− version = "0.6.7.3";
384− sha256 = "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p";
333+ version = "0.6.8.2";
334+ sha256 = "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56";
385335 isLibrary = true;
386336 isExecutable = true;
387337 libraryHaskellDepends = [ ansi-terminal base ];
388− executableHaskellDepends = [ ansi-terminal base ];
389− doHaddock = false;
390− doCheck = false;
391338 homepage = "http://github.com/ekmett/ansi-wl-pprint";
392339 description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
393340 license = stdenv.lib.licenses.bsd3;
@@ -399,8 +346,6 @@ self: {
399346 version = "0.1.4";
400347 sha256 = "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq";
401348 libraryHaskellDepends = [ base bytestring ];
402− doHaddock = false;
403− doCheck = false;
404349 description = "A simple applicative parser";
405350 license = stdenv.lib.licenses.bsd3;
406351 }) {};
@@ -417,8 +362,6 @@ self: {
417362 asn1-types base bytestring hourglass mtl tasty tasty-quickcheck
418363 text
419364 ];
420− doHaddock = false;
421− doCheck = false;
422365 homepage = "http://github.com/vincenthz/hs-asn1";
423366 description = "ASN1 data reader and writer in RAW, BER and DER forms";
424367 license = stdenv.lib.licenses.bsd3;
@@ -432,8 +375,6 @@ self: {
432375 libraryHaskellDepends = [
433376 asn1-encoding asn1-types base bytestring
434377 ];
435− doHaddock = false;
436− doCheck = false;
437378 homepage = "https://github.com/vincenthz/hs-asn1";
438379 description = "Simple monadic parser for ASN1 stream types";
439380 license = stdenv.lib.licenses.bsd3;
@@ -445,48 +386,47 @@ self: {
445386 version = "0.3.2";
446387 sha256 = "05vjchyqiy9n275cygffhn0ma7fz7jx52j0dcdm9qm8h9bziymqc";
447388 libraryHaskellDepends = [ base bytestring hourglass memory ];
448− doHaddock = false;
449− doCheck = false;
450389 homepage = "http://github.com/vincenthz/hs-asn1-types";
451390 description = "ASN.1 types";
452391 license = stdenv.lib.licenses.bsd3;
453392 }) {};
454393 "async" = callPackage
455− ({ mkDerivation, base, HUnit, stm, test-framework
394+ ({ mkDerivation, base, hashable, HUnit, stm, test-framework
456395 , test-framework-hunit
457396 }:
458397 mkDerivation {
459398 pname = "async";
460− version = "2.1.1.1";
461− sha256 = "1qj4fp1ynwg0l453gmm27vgkzb5k5m2hzdlg5rdqi9kf8rqy90yd";
462− libraryHaskellDepends = [ base stm ];
399+ version = "2.2.1";
400+ sha256 = "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg";
401+ isLibrary = true;
402+ isExecutable = true;
403+ libraryHaskellDepends = [ base hashable stm ];
463404 testHaskellDepends = [
464− base HUnit test-framework test-framework-hunit
405+ base HUnit stm test-framework test-framework-hunit
465406 ];
466− doHaddock = false;
467− doCheck = false;
468407 homepage = "https://github.com/simonmar/async";
469408 description = "Run IO operations asynchronously and wait for their results";
470409 license = stdenv.lib.licenses.bsd3;
471410 }) {};
472411 "attoparsec" = callPackage
473− ({ mkDerivation, array, base, bytestring, containers, deepseq
474− , QuickCheck, quickcheck-unicode, scientific, tasty
475− , tasty-quickcheck, text, transformers, vector
412+ ({ mkDerivation, array, base, bytestring, case-insensitive
413+ , containers, criterion, deepseq, directory, filepath, ghc-prim
414+ , http-types, parsec, scientific, text, transformers
415+ , unordered-containers, vector
476416 }:
477417 mkDerivation {
478418 pname = "attoparsec";
479− version = "0.13.1.0";
480− sha256 = "0r1zrrkbqv8w4pb459fj5izd1h85p9nrsp3gyzj7qiayjpa79p2j";
419+ version = "0.13.2.2";
420+ sha256 = "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx";
481421 libraryHaskellDepends = [
482422 array base bytestring containers deepseq scientific text
483423 transformers
484424 ];
485− testHaskellDepends = [
486− array base bytestring deepseq QuickCheck quickcheck-unicode
487− scientific tasty tasty-quickcheck text transformers vector
425+ benchmarkHaskellDepends = [
426+ array base bytestring case-insensitive containers criterion deepseq
427+ directory filepath ghc-prim http-types parsec scientific text
428+ transformers unordered-containers vector
488429 ];
489− doHaddock = false;
490430 doCheck = false;
491431 homepage = "https://github.com/bos/attoparsec";
492432 description = "Fast combinator parsing for bytestrings and text";
@@ -499,39 +439,60 @@ self: {
499439 version = "0.1.4";
500440 sha256 = "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy";
501441 libraryHaskellDepends = [ base ];
502− doHaddock = false;
503− doCheck = false;
504442 homepage = "https://github.com/yesodweb/wai";
505443 description = "Efficiently run periodic, on-demand actions";
506444 license = stdenv.lib.licenses.mit;
507445 }) {};
508446 "base-compat" = callPackage
509− ({ mkDerivation, base, hspec, QuickCheck, unix }:
447+ ({ mkDerivation, base, unix }:
510448 mkDerivation {
511449 pname = "base-compat";
512− version = "0.9.3";
513− sha256 = "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x";
450+ version = "0.10.4";
451+ sha256 = "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d";
514452 libraryHaskellDepends = [ base unix ];
515− testHaskellDepends = [ base hspec QuickCheck ];
516− doHaddock = false;
517− doCheck = false;
518453 description = "A compatibility layer for base";
519454 license = stdenv.lib.licenses.mit;
520455 }) {};
456+ "base-compat-batteries" = callPackage
457+ ({ mkDerivation, base, base-compat, hspec, hspec-discover
458+ , QuickCheck
459+ }:
460+ mkDerivation {
461+ pname = "base-compat-batteries";
462+ version = "0.10.1";
463+ sha256 = "1j8ky6241mj1ymbwm9scvyvbknj7n2r56cnkg9y1zf2xwjpqnmqm";
464+ libraryHaskellDepends = [ base base-compat ];
465+ testHaskellDepends = [ base hspec QuickCheck ];
466+ testToolDepends = [ hspec-discover ];
467+ description = "base-compat with extra batteries";
468+ license = stdenv.lib.licenses.mit;
469+ }) {};
521470 "base-orphans" = callPackage
522− ({ mkDerivation, base, ghc-prim, hspec, QuickCheck }:
471+ ({ mkDerivation, base, ghc-prim, hspec, hspec-discover, QuickCheck
472+ }:
523473 mkDerivation {
524474 pname = "base-orphans";
525− version = "0.6";
526− sha256 = "03mdww5j0gwai7aqlx3m71ldmjcr99jzpkcclzjfclk6a6kjla67";
475+ version = "0.7";
476+ sha256 = "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a";
527477 libraryHaskellDepends = [ base ghc-prim ];
528478 testHaskellDepends = [ base hspec QuickCheck ];
529− doHaddock = false;
530− doCheck = false;
479+ testToolDepends = [ hspec-discover ];
531480 homepage = "https://github.com/haskell-compat/base-orphans#readme";
532481 description = "Backwards-compatible orphan instances for base";
533482 license = stdenv.lib.licenses.mit;
534483 }) {};
484+ "base-prelude" = callPackage
485+ ({ mkDerivation, base }:
486+ mkDerivation {
487+ pname = "base-prelude";
488+ version = "1.3";
489+ sha256 = "1zk728sd09hh2r4xwz4lazsrrgg5cshydn64932sm0vckplndk73";
490+ libraryHaskellDepends = [ base ];
491+ doCheck = false;
492+ homepage = "https://github.com/nikita-volkov/base-prelude";
493+ description = "The most complete prelude formed solely from the \"base\" package";
494+ license = stdenv.lib.licenses.mit;
495+ }) {};
535496 "base16-bytestring" = callPackage
536497 ({ mkDerivation, base, bytestring, ghc-prim }:
537498 mkDerivation {
@@ -539,8 +500,6 @@ self: {
539500 version = "0.1.1.6";
540501 sha256 = "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs";
541502 libraryHaskellDepends = [ base bytestring ghc-prim ];
542− doHaddock = false;
543− doCheck = false;
544503 homepage = "http://github.com/bos/base16-bytestring";
545504 description = "Fast base16 (hex) encoding and decoding for ByteStrings";
546505 license = stdenv.lib.licenses.bsd3;
@@ -558,8 +517,6 @@ self: {
558517 base bytestring containers HUnit QuickCheck test-framework
559518 test-framework-hunit test-framework-quickcheck2
560519 ];
561− doHaddock = false;
562− doCheck = false;
563520 homepage = "https://github.com/bos/base64-bytestring";
564521 description = "Fast base64 encoding and decoding for ByteStrings";
565522 license = stdenv.lib.licenses.bsd3;
@@ -568,53 +525,47 @@ self: {
568525 ({ mkDerivation, base, ghc-prim }:
569526 mkDerivation {
570527 pname = "basement";
571− version = "0.0.4";
572− sha256 = "1zdqv8dbzv8jx6z8fcghinbnxdc5fb97i7sdfswdr1fcp8jq6i38";
528+ version = "0.0.8";
529+ sha256 = "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67";
573530 libraryHaskellDepends = [ base ghc-prim ];
574− doHaddock = false;
575− doCheck = false;
576− homepage = "https://github.com/haskell-foundation/foundation";
531+ homepage = "https://github.com/haskell-foundation/foundation#readme";
577532 description = "Foundation scrap box of array & string";
578533 license = stdenv.lib.licenses.bsd3;
579534 }) {};
580535 "basic-prelude" = callPackage
581536 ({ mkDerivation, base, bytestring, containers, filepath, hashable
582− , lifted-base, ReadArgs, safe, text, transformers
583− , unordered-containers, vector
537+ , text, transformers, unordered-containers, vector
584538 }:
585539 mkDerivation {
586540 pname = "basic-prelude";
587− version = "0.6.1.1";
588− sha256 = "1irfz57w4966y1vxkgh6bqxdlw3jijwz1pmq3qz9748linnpicgp";
541+ version = "0.7.0";
542+ sha256 = "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h";
589543 libraryHaskellDepends = [
590− base bytestring containers filepath hashable lifted-base ReadArgs
591− safe text transformers unordered-containers vector
544+ base bytestring containers filepath hashable text transformers
545+ unordered-containers vector
592546 ];
593− doHaddock = false;
594− doCheck = false;
595− homepage = "https://github.com/snoyberg/basic-prelude";
547+ homepage = "https://github.com/snoyberg/basic-prelude#readme";
596548 description = "An enhanced core prelude; a common foundation for alternate preludes";
597549 license = stdenv.lib.licenses.mit;
598550 }) {};
599551 "bifunctors" = callPackage
600552 ({ mkDerivation, base, base-orphans, comonad, containers, hspec
601− , QuickCheck, semigroups, tagged, template-haskell, transformers
602− , transformers-compat
553+ , hspec-discover, QuickCheck, semigroups, tagged, template-haskell
554+ , th-abstraction, transformers, transformers-compat
603555 }:
604556 mkDerivation {
605557 pname = "bifunctors";
606− version = "5.4.2";
607− sha256 = "13fwvw1102ik96pgi85i34kisz1h237vgw88ywsgifsah9kh4qiq";
558+ version = "5.5.3";
559+ sha256 = "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l";
608560 libraryHaskellDepends = [
609561 base base-orphans comonad containers semigroups tagged
610− template-haskell transformers transformers-compat
562+ template-haskell th-abstraction transformers
611563 ];
612564 testHaskellDepends = [
613565 base hspec QuickCheck template-haskell transformers
614566 transformers-compat
615567 ];
616− doHaddock = false;
617− doCheck = false;
568+ testToolDepends = [ hspec-discover ];
618569 homepage = "http://github.com/ekmett/bifunctors/";
619570 description = "Bifunctors";
620571 license = stdenv.lib.licenses.bsd3;
@@ -623,11 +574,9 @@ self: {
623574 ({ mkDerivation, base }:
624575 mkDerivation {
625576 pname = "bindings-DSL";
626− version = "1.0.23";
627− sha256 = "1rqhkk8hn1xjl3705dvakxx93q89vp0fw22v2cbrlapbir27cv7b";
577+ version = "1.0.25";
578+ sha256 = "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3";
628579 libraryHaskellDepends = [ base ];
629− doHaddock = false;
630− doCheck = false;
631580 homepage = "https://github.com/jwiegley/bindings-dsl/wiki";
632581 description = "FFI domain specific language, on top of hsc2hs";
633582 license = stdenv.lib.licenses.bsd3;
@@ -639,62 +588,56 @@ self: {
639588 }:
640589 mkDerivation {
641590 pname = "blaze-builder";
642− version = "0.4.0.2";
643− sha256 = "1m33y6p5xldni8p4fzg8fmsyqvkfmnimdamr1xjnsmgm3dkf9lws";
591+ version = "0.4.1.0";
592+ sha256 = "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i";
644593 libraryHaskellDepends = [ base bytestring deepseq text ];
645594 testHaskellDepends = [
646595 base bytestring HUnit QuickCheck test-framework
647596 test-framework-hunit test-framework-quickcheck2 text utf8-string
648597 ];
649− doHaddock = false;
650− doCheck = false;
651598 homepage = "http://github.com/lpsmith/blaze-builder";
652599 description = "Efficient buffered output";
653600 license = stdenv.lib.licenses.bsd3;
654601 }) {};
655602 "blaze-html" = callPackage
656603 ({ mkDerivation, base, blaze-builder, blaze-markup, bytestring
657− , containers, HUnit, QuickCheck, test-framework
658− , test-framework-hunit, test-framework-quickcheck2, text
604+ , text
659605 }:
660606 mkDerivation {
661607 pname = "blaze-html";
662− version = "0.9.0.1";
663− sha256 = "0r0acv47nh75bmf7kjyfvhcwz8f02rn9x0a1l80pzgyczfrsmkmf";
608+ version = "0.9.1.1";
609+ sha256 = "06xv8fqhclfjj61z74cgggn4lmx1s7diakxg84mnkgfvk11983pa";
664610 libraryHaskellDepends = [
665611 base blaze-builder blaze-markup bytestring text
666612 ];
667− testHaskellDepends = [
668− base blaze-builder blaze-markup bytestring containers HUnit
669− QuickCheck test-framework test-framework-hunit
670− test-framework-quickcheck2 text
671− ];
672− doHaddock = false;
673613 doCheck = false;
674614 homepage = "http://jaspervdj.be/blaze";
675615 description = "A blazingly fast HTML combinator library for Haskell";
676616 license = stdenv.lib.licenses.bsd3;
677617 }) {};
678618 "blaze-markup" = callPackage
679− ({ mkDerivation, base, blaze-builder, bytestring, containers, HUnit
680− , QuickCheck, test-framework, test-framework-hunit
681− , test-framework-quickcheck2, text
682− }:
619+ ({ mkDerivation, base, blaze-builder, bytestring, text }:
683620 mkDerivation {
684621 pname = "blaze-markup";
685− version = "0.8.0.0";
686− sha256 = "03sl7xs6vk4zxbjszgyjpsppi1cknswg7z7rswz2f0rq62wwpq8r";
622+ version = "0.8.2.1";
623+ sha256 = "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh";
687624 libraryHaskellDepends = [ base blaze-builder bytestring text ];
688− testHaskellDepends = [
689− base blaze-builder bytestring containers HUnit QuickCheck
690− test-framework test-framework-hunit test-framework-quickcheck2 text
691− ];
692− doHaddock = false;
693625 doCheck = false;
694626 homepage = "http://jaspervdj.be/blaze";
695627 description = "A blazingly fast markup combinator library for Haskell";
696628 license = stdenv.lib.licenses.bsd3;
697629 }) {};
630+ "bsb-http-chunked" = callPackage
631+ ({ mkDerivation, base, bytestring, bytestring-builder }:
632+ mkDerivation {
633+ pname = "bsb-http-chunked";
634+ version = "0.0.0.2";
635+ sha256 = "1x6m6xkrcw6jiaig1bb2wb5pqyw31x8xr9k9pxgq2g3ng44pbjr8";
636+ libraryHaskellDepends = [ base bytestring bytestring-builder ];
637+ homepage = "http://github.com/sjakobi/bsb-http-chunked";
638+ description = "Chunked HTTP transfer encoding for bytestring builders";
639+ license = stdenv.lib.licenses.bsd3;
640+ }) {};
698641 "byteable" = callPackage
699642 ({ mkDerivation, base, bytestring }:
700643 mkDerivation {
@@ -703,28 +646,10 @@ self: {
703646 sha256 = "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4";
704647 enableSeparateDataOutput = true;
705648 libraryHaskellDepends = [ base bytestring ];
706− doHaddock = false;
707− doCheck = false;
708649 homepage = "http://github.com/vincenthz/hs-byteable";
709650 description = "Type class for sequence of bytes";
710651 license = stdenv.lib.licenses.bsd3;
711652 }) {};
712− "bytedump" = callPackage
713− ({ mkDerivation, base, bytestring }:
714− mkDerivation {
715− pname = "bytedump";
716− version = "1.0";
717− sha256 = "1pf01mna3isx3i7m50yz3pw5ygz5sg8i8pshjb3yw8q41w2ba5xf";
718− isLibrary = true;
719− isExecutable = true;
720− enableSeparateDataOutput = true;
721− libraryHaskellDepends = [ base bytestring ];
722− doHaddock = false;
723− doCheck = false;
724− homepage = "http://github.com/vincenthz/hs-bytedump";
725− description = "Flexible byte dump helpers for human readers";
726− license = stdenv.lib.licenses.bsd3;
727− }) {};
728653 "byteorder" = callPackage
729654 ({ mkDerivation, base }:
730655 mkDerivation {
@@ -732,8 +657,6 @@ self: {
732657 version = "1.0.4";
733658 sha256 = "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x";
734659 libraryHaskellDepends = [ base ];
735− doHaddock = false;
736− doCheck = false;
737660 homepage = "http://community.haskell.org/~aslatter/code/byteorder";
738661 description = "Exposes the native endianness or byte ordering of the system";
739662 license = stdenv.lib.licenses.bsd3;
@@ -746,59 +669,50 @@ self: {
746669 sha256 = "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d";
747670 libraryHaskellDepends = [ base bytestring deepseq ];
748671 doHaddock = false;
749− doCheck = false;
750672 description = "The new bytestring builder, packaged outside of GHC";
751673 license = stdenv.lib.licenses.bsd3;
752674 }) {};
753− "bytestring-handle" = callPackage
754− ({ mkDerivation, base, bytestring }:
675+ "cabal-doctest" = callPackage
676+ ({ mkDerivation, base, Cabal, directory, filepath }:
755677 mkDerivation {
756− pname = "bytestring-handle";
757− version = "0.1.0.6";
758− sha256 = "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y";
759− libraryHaskellDepends = [ base bytestring ];
760− doHaddock = false;
761− doCheck = false;
762− homepage = "http://hub.darcs.net/ganesh/bytestring-handle";
763− description = "ByteString-backed Handles";
678+ pname = "cabal-doctest";
679+ version = "1.0.6";
680+ sha256 = "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny";
681+ revision = "1";
682+ editedCabalFile = "1bk85avgc93yvcggwbk01fy8nvg6753wgmaanhkry0hz55h7mpld";
683+ libraryHaskellDepends = [ base Cabal directory filepath ];
684+ homepage = "https://github.com/phadej/cabal-doctest";
685+ description = "A Setup.hs helper for doctests running";
764686 license = stdenv.lib.licenses.bsd3;
765687 }) {};
766688 "cabal2nix" = callPackage
767689 ({ mkDerivation, aeson, ansi-wl-pprint, base, bytestring, Cabal
768− , cabal-doctest, containers, deepseq, directory
769− , distribution-nixpkgs, doctest, filepath, hackage-db, hopenssl
770− , language-nix, lens, monad-par, monad-par-extras, mtl
771− , optparse-applicative, pretty, process, split, text, time
772− , transformers, utf8-string, yaml
690+ , containers, deepseq, directory, distribution-nixpkgs, filepath
691+ , hackage-db, hopenssl, hpack, language-nix, lens, monad-par
692+ , monad-par-extras, mtl, optparse-applicative, pretty, process
693+ , split, tasty, tasty-golden, text, time, transformers, yaml
773694 }:
774695 mkDerivation {
775696 pname = "cabal2nix";
776− version = "2.3.1";
777− sha256 = "0xi4mj8gyb2k9a43dp49wc84sbxpv9sfa8cmzfp0mkak0alwqahj";
697+ version = "2.9.3";
698+ sha256 = "10l1k8rilf032v6pchwhxaq53mr0d08h6xkllidc3c7wfkzcx7qj";
778699 isLibrary = true;
779700 isExecutable = true;
780− setupHaskellDepends = [ base Cabal cabal-doctest ];
781701 libraryHaskellDepends = [
782702 aeson ansi-wl-pprint base bytestring Cabal containers deepseq
783− directory distribution-nixpkgs filepath hackage-db hopenssl
703+ directory distribution-nixpkgs filepath hackage-db hopenssl hpack
784704 language-nix lens optparse-applicative pretty process split text
785− transformers yaml
705+ time transformers yaml
786706 ];
787707 executableHaskellDepends = [
788− aeson ansi-wl-pprint base bytestring Cabal containers deepseq
789− directory distribution-nixpkgs filepath hackage-db hopenssl
790− language-nix lens monad-par monad-par-extras mtl
791− optparse-applicative pretty process split text time transformers
792− utf8-string yaml
708+ aeson base bytestring Cabal containers directory
709+ distribution-nixpkgs filepath hopenssl language-nix lens monad-par
710+ monad-par-extras mtl optparse-applicative pretty
793711 ];
794712 testHaskellDepends = [
795− aeson ansi-wl-pprint base bytestring Cabal containers deepseq
796− directory distribution-nixpkgs doctest filepath hackage-db hopenssl
797− language-nix lens optparse-applicative pretty process split text
798− transformers yaml
713+ base Cabal containers directory filepath language-nix lens pretty
714+ process tasty tasty-golden
799715 ];
800− doHaddock = false;
801− doCheck = false;
802716 homepage = "https://github.com/nixos/cabal2nix#readme";
803717 description = "Convert Cabal files into Nix build instructions";
804718 license = stdenv.lib.licenses.bsd3;
@@ -811,33 +725,54 @@ self: {
811725 sha256 = "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj";
812726 libraryHaskellDepends = [ base ];
813727 testHaskellDepends = [ base nanospec ];
814− doHaddock = false;
815− doCheck = false;
816728 homepage = "https://github.com/sol/call-stack#readme";
817729 description = "Use GHC call-stacks in a backward compatible way";
818730 license = stdenv.lib.licenses.mit;
819731 }) {};
820732 "case-insensitive" = callPackage
821− ({ mkDerivation, base, bytestring, deepseq, hashable, text }:
733+ ({ mkDerivation, base, bytestring, criterion, deepseq, hashable
734+ , HUnit, test-framework, test-framework-hunit, text
735+ }:
822736 mkDerivation {
823737 pname = "case-insensitive";
824− version = "1.2.0.10";
825− sha256 = "0v1hclvv0516fnlj5j2izd9xmakl7dshi9cb32iz6dgvzx01qck6";
738+ version = "1.2.0.11";
739+ sha256 = "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7";
826740 libraryHaskellDepends = [ base bytestring deepseq hashable text ];
827− doHaddock = false;
828− doCheck = false;
741+ testHaskellDepends = [
742+ base bytestring HUnit test-framework test-framework-hunit text
743+ ];
744+ benchmarkHaskellDepends = [ base bytestring criterion deepseq ];
829745 homepage = "https://github.com/basvandijk/case-insensitive";
830746 description = "Case insensitive string comparison";
831747 license = stdenv.lib.licenses.bsd3;
832748 }) {};
749+ "cassava" = callPackage
750+ ({ mkDerivation, array, attoparsec, base, bytestring, containers
751+ , deepseq, hashable, Only, scientific, text, text-short
752+ , unordered-containers, vector
753+ }:
754+ mkDerivation {
755+ pname = "cassava";
756+ version = "0.5.1.0";
757+ sha256 = "0xs2c5lpy0g5lsmp2cx0dm5lnxij7cgry6xd5gsn3bfdlap8lb3n";
758+ configureFlags = [ "-f-bytestring--lt-0_10_4" ];
759+ libraryHaskellDepends = [
760+ array attoparsec base bytestring containers deepseq hashable Only
761+ scientific text text-short unordered-containers vector
762+ ];
763+ doCheck = false;
764+ homepage = "https://github.com/hvr/cassava";
765+ description = "A CSV parsing and encoding library";
766+ license = stdenv.lib.licenses.bsd3;
767+ }) {};
833768 "cereal" = callPackage
834769 ({ mkDerivation, array, base, bytestring, containers, ghc-prim
835770 , QuickCheck, test-framework, test-framework-quickcheck2
836771 }:
837772 mkDerivation {
838773 pname = "cereal";
839− version = "0.5.4.0";
840− sha256 = "1rzyr8r9pjlgas5pc8n776r22i0ficanq05ypqrs477jxxd6rjns";
774+ version = "0.5.5.0";
775+ sha256 = "08k8y6nf3n8h8gzw4a44mssy7rhgpmfj28lhczjz4vgszc7k55qb";
841776 libraryHaskellDepends = [
842777 array base bytestring containers ghc-prim
843778 ];
@@ -845,8 +780,6 @@ self: {
845780 base bytestring QuickCheck test-framework
846781 test-framework-quickcheck2
847782 ];
848− doHaddock = false;
849− doCheck = false;
850783 homepage = "https://github.com/GaloisInc/cereal";
851784 description = "A binary serialization library";
852785 license = stdenv.lib.licenses.bsd3;
@@ -857,106 +790,77 @@ self: {
857790 }:
858791 mkDerivation {
859792 pname = "cereal-conduit";
860− version = "0.7.3";
861− sha256 = "18h09j16m4yc4fcp80x7m1p2c87q6f628z36y8bnxbcjc9m95gq5";
793+ version = "0.8.0";
794+ sha256 = "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r";
795+ revision = "1";
796+ editedCabalFile = "1imyl3g2bni8bc6kajr857xh94fscphksj3286pxfpa8yp9vqqpc";
862797 libraryHaskellDepends = [
863798 base bytestring cereal conduit resourcet transformers
864799 ];
865800 testHaskellDepends = [
866− base bytestring cereal conduit HUnit mtl resourcet transformers
801+ base bytestring cereal conduit HUnit mtl transformers
867802 ];
868− doHaddock = false;
869− doCheck = false;
870803 homepage = "https://github.com/snoyberg/conduit";
871804 description = "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits";
872805 license = stdenv.lib.licenses.bsd3;
873806 }) {};
874− "chell" = callPackage
875− ({ mkDerivation, ansi-terminal, base, bytestring, options, patience
876− , random, template-haskell, text, transformers
877− }:
878− mkDerivation {
879− pname = "chell";
880− version = "0.4.0.1";
881− sha256 = "0lb95abzxl4a87nfqxsxpb3a39pd52cci43hcvj8615hyhqvs2jz";
882− libraryHaskellDepends = [
883− ansi-terminal base bytestring options patience random
884− template-haskell text transformers
885− ];
886− doHaddock = false;
887− doCheck = false;
888− homepage = "https://john-millikin.com/software/chell/";
889− description = "A simple and intuitive library for automated testing";
890− license = stdenv.lib.licenses.mit;
891− }) {};
892807 "chunked-data" = callPackage
893808 ({ mkDerivation, base, bytestring, containers, semigroups, text
894809 , transformers, vector
895810 }:
896811 mkDerivation {
897812 pname = "chunked-data";
898− version = "0.3.0";
899− sha256 = "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1";
813+ version = "0.3.1";
814+ sha256 = "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p";
900815 libraryHaskellDepends = [
901816 base bytestring containers semigroups text transformers vector
902817 ];
903− doHaddock = false;
904− doCheck = false;
905− homepage = "https://github.com/snoyberg/mono-traversable";
818+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
906819 description = "Typeclasses for dealing with various chunked data representations";
907820 license = stdenv.lib.licenses.mit;
908821 }) {};
909822 "classy-prelude" = callPackage
910823 ({ mkDerivation, async, base, basic-prelude, bifunctors, bytestring
911− , chunked-data, containers, deepseq, dlist, exceptions, ghc-prim
912− , hashable, hspec, lifted-async, lifted-base, monad-unlift
913− , mono-traversable, mono-traversable-instances, mtl
914− , mutable-containers, primitive, QuickCheck, safe-exceptions, say
915− , semigroups, stm, stm-chans, text, time, time-locale-compat
916− , transformers, transformers-base, unordered-containers, vector
917− , vector-instances
824+ , chunked-data, containers, deepseq, dlist, ghc-prim, hashable
825+ , hspec, mono-traversable, mono-traversable-instances, mtl
826+ , mutable-containers, primitive, QuickCheck, say, semigroups, stm
827+ , stm-chans, text, time, transformers, unliftio
828+ , unordered-containers, vector, vector-instances
918829 }:
919830 mkDerivation {
920831 pname = "classy-prelude";
921− version = "1.2.0.1";
922− sha256 = "0d7s3z4vbp2pq696m0yc1ccd51d3qvz7f50ya7xijfx7771y0zm4";
832+ version = "1.4.0";
833+ sha256 = "1q7r4lnrxjsh7rj5nr0cs22ddp9m6maa7bzbkarxw3xbfrb2afrb";
923834 libraryHaskellDepends = [
924835 async base basic-prelude bifunctors bytestring chunked-data
925− containers deepseq dlist exceptions ghc-prim hashable lifted-async
926− lifted-base monad-unlift mono-traversable
927− mono-traversable-instances mtl mutable-containers primitive
928− safe-exceptions say semigroups stm stm-chans text time
929− time-locale-compat transformers transformers-base
836+ containers deepseq dlist ghc-prim hashable mono-traversable
837+ mono-traversable-instances mtl mutable-containers primitive say
838+ semigroups stm stm-chans text time transformers unliftio
930839 unordered-containers vector vector-instances
931840 ];
932841 testHaskellDepends = [
933842 base containers hspec QuickCheck transformers unordered-containers
934843 ];
935− doHaddock = false;
936− doCheck = false;
937− homepage = "https://github.com/snoyberg/mono-traversable";
844+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
938845 description = "A typeclass-based Prelude";
939846 license = stdenv.lib.licenses.mit;
940847 }) {};
941848 "classy-prelude-conduit" = callPackage
942− ({ mkDerivation, base, bytestring, classy-prelude, conduit
943− , conduit-combinators, hspec, monad-control, QuickCheck, resourcet
944− , transformers, void
849+ ({ mkDerivation, base, bytestring, classy-prelude, conduit, hspec
850+ , monad-control, QuickCheck, resourcet, transformers, void
945851 }:
946852 mkDerivation {
947853 pname = "classy-prelude-conduit";
948− version = "1.2.0";
949− sha256 = "0zzc6095205qf58qnnagfnb90svlc0m4hw2q79kd4x6d8b80s294";
854+ version = "1.4.0";
855+ sha256 = "096466cyyxxmg3jpq705xjjc4r7v9b607hgbys8vybjlldkjbvrr";
950856 libraryHaskellDepends = [
951− base bytestring classy-prelude conduit conduit-combinators
952− monad-control resourcet transformers void
857+ base bytestring classy-prelude conduit monad-control resourcet
858+ transformers void
953859 ];
954860 testHaskellDepends = [
955861 base bytestring conduit hspec QuickCheck transformers
956862 ];
957− doHaddock = false;
958− doCheck = false;
959− homepage = "https://github.com/snoyberg/mono-traversable";
863+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
960864 description = "classy-prelude together with conduit functions";
961865 license = stdenv.lib.licenses.mit;
962866 }) {};
@@ -968,8 +872,6 @@ self: {
968872 sha256 = "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8";
969873 libraryHaskellDepends = [ base ];
970874 testHaskellDepends = [ base tasty tasty-quickcheck ];
971− doHaddock = false;
972− doCheck = false;
973875 homepage = "https://github.com/corsis/clock";
974876 description = "High-resolution clock functions: monotonic, realtime, cputime";
975877 license = stdenv.lib.licenses.bsd3;
@@ -980,18 +882,13 @@ self: {
980882 }:
981883 mkDerivation {
982884 pname = "cmdargs";
983− version = "0.10.18";
984− sha256 = "1lnmcsf6p9yrwwz1zvrw5lbc32xpff7b70yz4ylawaflnlz6wrlh";
885+ version = "0.10.20";
886+ sha256 = "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf";
985887 isLibrary = true;
986888 isExecutable = true;
987889 libraryHaskellDepends = [
988890 base filepath process template-haskell transformers
989891 ];
990− executableHaskellDepends = [
991− base filepath process template-haskell transformers
992− ];
993− doHaddock = false;
994− doCheck = false;
995892 homepage = "https://github.com/ndmitchell/cmdargs#readme";
996893 description = "Command line argument processing";
997894 license = stdenv.lib.licenses.bsd3;
@@ -1004,12 +901,23 @@ self: {
1004901 sha256 = "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76";
1005902 libraryHaskellDepends = [ base ];
1006903 testHaskellDepends = [ base ];
1007− doHaddock = false;
1008− doCheck = false;
1009904 homepage = "https://github.com/RyanGlScott/code-page";
1010905 description = "Windows code page library for Haskell";
1011906 license = stdenv.lib.licenses.bsd3;
1012907 }) {};
908+ "colour" = callPackage
909+ ({ mkDerivation, base }:
910+ mkDerivation {
911+ pname = "colour";
912+ version = "2.3.4";
913+ sha256 = "1sy51nz096sv91nxqk6yk7b92b5a40axv9183xakvki2nc09yhqg";
914+ enableSeparateDataOutput = true;
915+ libraryHaskellDepends = [ base ];
916+ doCheck = false;
917+ homepage = "http://www.haskell.org/haskellwiki/Colour";
918+ description = "A model for human colour/color perception";
919+ license = stdenv.lib.licenses.mit;
920+ }) {};
1013921 "comonad" = callPackage
1014922 ({ mkDerivation, base, Cabal, cabal-doctest, containers
1015923 , contravariant, distributive, doctest, semigroups, tagged
@@ -1017,97 +925,97 @@ self: {
1017925 }:
1018926 mkDerivation {
1019927 pname = "comonad";
1020− version = "5.0.2";
1021− sha256 = "115pai560rllsmym76bj787kwz5xx19y8bl6262005nddqwzxc0v";
1022− revision = "1";
1023− editedCabalFile = "1lnsnx8p3wlfhd1xfc68za3b00vq77z2m6b0vqiw2laqmpj9akcw";
928+ version = "5.0.4";
929+ sha256 = "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q";
1024930 setupHaskellDepends = [ base Cabal cabal-doctest ];
1025931 libraryHaskellDepends = [
1026932 base containers contravariant distributive semigroups tagged
1027933 transformers transformers-compat
1028934 ];
1029935 testHaskellDepends = [ base doctest ];
1030− doHaddock = false;
1031− doCheck = false;
1032936 homepage = "http://github.com/ekmett/comonad/";
1033937 description = "Comonads";
1034938 license = stdenv.lib.licenses.bsd3;
1035939 }) {};
1036− "conduit" = callPackage
1037− ({ mkDerivation, base, containers, exceptions, hspec, lifted-base
1038− , mmorph, monad-control, mtl, primitive, QuickCheck, resourcet
1039− , safe, split, transformers, transformers-base, transformers-compat
940+ "concurrent-output" = callPackage
941+ ({ mkDerivation, ansi-terminal, async, base, directory, exceptions
942+ , process, stm, terminal-size, text, transformers, unix
1040943 }:
1041944 mkDerivation {
1042− pname = "conduit";
1043− version = "1.2.12.1";
1044− sha256 = "0zl6gflh7y36y2vypjhqx13nhkk5y3h12c1zj7kjfclrmwnvnwh0";
945+ pname = "concurrent-output";
946+ version = "1.10.6";
947+ sha256 = "1qlp1vij4qgcrkw8ym5xdc0pgfwklbhsfh56sgayy3cvpvcac093";
1045948 libraryHaskellDepends = [
1046− base exceptions lifted-base mmorph monad-control mtl primitive
1047− resourcet transformers transformers-base transformers-compat
1048− ];
1049− testHaskellDepends = [
1050− base containers exceptions hspec mtl QuickCheck resourcet safe
1051− split transformers
949+ ansi-terminal async base directory exceptions process stm
950+ terminal-size text transformers unix
1052951 ];
1053− doHaddock = false;
1054− doCheck = false;
1055− homepage = "http://github.com/snoyberg/conduit";
1056− description = "Streaming data processing library";
1057− license = stdenv.lib.licenses.mit;
952+ description = "Ungarble output from several threads or commands";
953+ license = stdenv.lib.licenses.bsd2;
1058954 }) {};
1059− "conduit-combinators" = callPackage
1060− ({ mkDerivation, base, base16-bytestring, base64-bytestring
1061− , bytestring, chunked-data, conduit, conduit-extra, containers
1062− , directory, filepath, hspec, monad-control, mono-traversable, mtl
1063− , mwc-random, primitive, QuickCheck, resourcet, safe, silently
1064− , text, transformers, transformers-base, unix, unix-compat, vector
1065− , void
955+ "conduit" = callPackage
956+ ({ mkDerivation, base, bytestring, containers, deepseq, directory
957+ , exceptions, filepath, gauge, hspec, kan-extensions
958+ , mono-traversable, mtl, mwc-random, primitive, QuickCheck
959+ , resourcet, safe, silently, split, text, transformers, unix
960+ , unliftio, unliftio-core, vector
1066961 }:
1067962 mkDerivation {
1068− pname = "conduit-combinators";
1069− version = "1.1.1";
1070− sha256 = "0609miq03lq9visfb2dqqsxghmvgzm24pq39mqby1jnnah6yh8m0";
963+ pname = "conduit";
964+ version = "1.3.0.3";
965+ sha256 = "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v";
1071966 libraryHaskellDepends = [
1072− base base16-bytestring base64-bytestring bytestring chunked-data
1073− conduit conduit-extra filepath monad-control mono-traversable
1074− mwc-random primitive resourcet text transformers transformers-base
1075− unix unix-compat vector void
967+ base bytestring directory exceptions filepath mono-traversable mtl
968+ primitive resourcet text transformers unix unliftio-core vector
1076969 ];
1077970 testHaskellDepends = [
1078− base base16-bytestring base64-bytestring bytestring chunked-data
1079− conduit containers directory filepath hspec mono-traversable mtl
1080− mwc-random QuickCheck safe silently text transformers vector
971+ base bytestring containers directory exceptions filepath hspec
972+ mono-traversable mtl QuickCheck resourcet safe silently split text
973+ transformers unliftio vector
974+ ];
975+ benchmarkHaskellDepends = [
976+ base containers deepseq gauge hspec kan-extensions mwc-random
977+ transformers vector
1081978 ];
979+ homepage = "http://github.com/snoyberg/conduit";
980+ description = "Streaming data processing library";
981+ license = stdenv.lib.licenses.mit;
982+ }) {};
983+ "conduit-combinators" = callPackage
984+ ({ mkDerivation, base }:
985+ mkDerivation {
986+ pname = "conduit-combinators";
987+ version = "1.3.0";
988+ sha256 = "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp";
989+ libraryHaskellDepends = [ base ];
1082990 doHaddock = false;
1083− doCheck = false;
1084− homepage = "https://github.com/snoyberg/mono-traversable";
1085− description = "Commonly used conduit functions, for both chunked and unchunked data";
991+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
992+ description = "DEPRECATED Functionality merged into the conduit package itself";
1086993 license = stdenv.lib.licenses.mit;
1087994 }) {};
1088995 "conduit-extra" = callPackage
1089− ({ mkDerivation, async, attoparsec, base, blaze-builder, bytestring
996+ ({ mkDerivation, async, attoparsec, base, bytestring
1090997 , bytestring-builder, conduit, directory, exceptions, filepath
1091− , hspec, monad-control, network, primitive, process, QuickCheck
1092− , resourcet, stm, streaming-commons, text, transformers
1093− , transformers-base
998+ , gauge, hspec, network, primitive, process, QuickCheck, resourcet
999+ , stm, streaming-commons, text, transformers, transformers-base
1000+ , typed-process, unliftio-core
10941001 }:
10951002 mkDerivation {
10961003 pname = "conduit-extra";
1097− version = "1.1.17";
1098− sha256 = "01haq94kf4jsqrhs6j2kkvxrw4iqhvhnd9rcrqpkdbp1dil493kn";
1004+ version = "1.3.0";
1005+ sha256 = "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c";
10991006 libraryHaskellDepends = [
1100− async attoparsec base blaze-builder bytestring conduit directory
1101− exceptions filepath monad-control network primitive process
1102− resourcet stm streaming-commons text transformers transformers-base
1007+ async attoparsec base bytestring conduit directory filepath network
1008+ primitive process resourcet stm streaming-commons text transformers
1009+ typed-process unliftio-core
11031010 ];
11041011 testHaskellDepends = [
1105− async attoparsec base blaze-builder bytestring bytestring-builder
1106− conduit directory exceptions hspec process QuickCheck resourcet stm
1012+ async attoparsec base bytestring bytestring-builder conduit
1013+ directory exceptions hspec process QuickCheck resourcet stm
11071014 streaming-commons text transformers transformers-base
11081015 ];
1109− doHaddock = false;
1110− doCheck = false;
1016+ benchmarkHaskellDepends = [
1017+ base bytestring bytestring-builder conduit gauge transformers
1018+ ];
11111019 homepage = "http://github.com/snoyberg/conduit";
11121020 description = "Batteries included conduit: adapters for common libraries";
11131021 license = stdenv.lib.licenses.mit;
@@ -1125,66 +1033,61 @@ self: {
11251033 base byteable bytestring containers data-default-class network
11261034 socks tls x509 x509-store x509-system x509-validation
11271035 ];
1128− doHaddock = false;
1129− doCheck = false;
11301036 homepage = "http://github.com/vincenthz/hs-connection";
11311037 description = "Simple and easy network connections API";
11321038 license = stdenv.lib.licenses.bsd3;
11331039 }) {};
11341040 "constraints" = callPackage
1135− ({ mkDerivation, base, binary, deepseq, ghc-prim, hashable, mtl
1136− , transformers, transformers-compat
1041+ ({ mkDerivation, base, binary, deepseq, ghc-prim, hashable, hspec
1042+ , hspec-discover, mtl, semigroups, transformers
1043+ , transformers-compat
11371044 }:
11381045 mkDerivation {
11391046 pname = "constraints";
1140− version = "0.9.1";
1141− sha256 = "11d76051i2a335bvack04dqvsz4zhgcms1jxlvy4a4c670l02vi7";
1047+ version = "0.10.1";
1048+ sha256 = "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q";
11421049 libraryHaskellDepends = [
1143− base binary deepseq ghc-prim hashable mtl transformers
1050+ base binary deepseq ghc-prim hashable mtl semigroups transformers
11441051 transformers-compat
11451052 ];
1146− doHaddock = false;
1147− doCheck = false;
1053+ testHaskellDepends = [ base hspec ];
1054+ testToolDepends = [ hspec-discover ];
11481055 homepage = "http://github.com/ekmett/constraints/";
11491056 description = "Constraint manipulation";
11501057 license = stdenv.lib.licenses.bsd2;
11511058 }) {};
11521059 "contravariant" = callPackage
1153− ({ mkDerivation, base, semigroups, StateVar, transformers
1154− , transformers-compat, void
1060+ ({ mkDerivation, base, StateVar, transformers, transformers-compat
11551061 }:
11561062 mkDerivation {
11571063 pname = "contravariant";
1158− version = "1.4";
1159− sha256 = "117fff8kkrvlmr8cb2jpj71z7lf2pdiyks6ilyx89mry6zqnsrp1";
1064+ version = "1.4.1";
1065+ sha256 = "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9";
1066+ revision = "1";
1067+ editedCabalFile = "0qj5nymccrb9p0cd6hffsy90jidjng14g9yv95z8v6h4q84sbzvx";
11601068 libraryHaskellDepends = [
1161− base semigroups StateVar transformers transformers-compat void
1069+ base StateVar transformers transformers-compat
11621070 ];
1163− doHaddock = false;
1164− doCheck = false;
11651071 homepage = "http://github.com/ekmett/contravariant/";
11661072 description = "Contravariant functors";
11671073 license = stdenv.lib.licenses.bsd3;
11681074 }) {};
11691075 "cookie" = callPackage
1170− ({ mkDerivation, base, blaze-builder, bytestring
1171− , data-default-class, deepseq, HUnit, old-locale, QuickCheck, tasty
1172− , tasty-hunit, tasty-quickcheck, text, time
1076+ ({ mkDerivation, base, bytestring, data-default-class, deepseq
1077+ , HUnit, QuickCheck, tasty, tasty-hunit, tasty-quickcheck, text
1078+ , time
11731079 }:
11741080 mkDerivation {
11751081 pname = "cookie";
1176− version = "0.4.3";
1177− sha256 = "0qpdydhb9gw590ffabqg70x7xvjpg8l74idqnrfbhv5yrr7hryzv";
1082+ version = "0.4.4";
1083+ sha256 = "1qy09i0jh2z9i9avy2khf8a8afq4fqgnv0fyrszgfg4kmq2fsi9j";
11781084 libraryHaskellDepends = [
1179− base blaze-builder bytestring data-default-class deepseq old-locale
1180− text time
1085+ base bytestring data-default-class deepseq text time
11811086 ];
11821087 testHaskellDepends = [
1183− base blaze-builder bytestring HUnit QuickCheck tasty tasty-hunit
1184− tasty-quickcheck text time
1088+ base bytestring HUnit QuickCheck tasty tasty-hunit tasty-quickcheck
1089+ text time
11851090 ];
1186− doHaddock = false;
1187− doCheck = false;
11881091 homepage = "http://github.com/snoyberg/cookie";
11891092 description = "HTTP cookie parsing and rendering";
11901093 license = stdenv.lib.licenses.mit;
@@ -1204,15 +1107,99 @@ self: {
12041107 executableHaskellDepends = [
12051108 base directory old-locale old-time polyparse
12061109 ];
1207− doHaddock = false;
1208− doCheck = false;
12091110 homepage = "http://projects.haskell.org/cpphs/";
12101111 description = "A liberalised re-implementation of cpp, the C pre-processor";
12111112 license = "LGPL";
12121113 }) {};
1114+ "cpu" = callPackage
1115+ ({ mkDerivation, base }:
1116+ mkDerivation {
1117+ pname = "cpu";
1118+ version = "0.1.2";
1119+ sha256 = "0x19mlanmkg96h6h1i04w2i631z84y4rbk22ki4zhgsajysgw9sn";
1120+ isLibrary = true;
1121+ isExecutable = true;
1122+ enableSeparateDataOutput = true;
1123+ libraryHaskellDepends = [ base ];
1124+ homepage = "http://github.com/vincenthz/hs-cpu";
1125+ description = "Cpu information and properties helpers";
1126+ license = stdenv.lib.licenses.bsd3;
1127+ }) {};
1128+ "criterion" = callPackage
1129+ ({ mkDerivation, aeson, ansi-wl-pprint, base, base-compat
1130+ , base-compat-batteries, binary, bytestring, cassava, code-page
1131+ , containers, deepseq, directory, exceptions, filepath, Glob, HUnit
1132+ , js-flot, js-jquery, microstache, mtl, mwc-random
1133+ , optparse-applicative, parsec, QuickCheck, semigroups, statistics
1134+ , tasty, tasty-hunit, tasty-quickcheck, text, time, transformers
1135+ , transformers-compat, vector, vector-algorithms
1136+ }:
1137+ mkDerivation {
1138+ pname = "criterion";
1139+ version = "1.4.1.0";
1140+ sha256 = "0v429araqkcw3wwwi6fsp0g7g1hy3l47p061lcy7r4m7d9khd4y4";
1141+ isLibrary = true;
1142+ isExecutable = true;
1143+ enableSeparateDataOutput = true;
1144+ libraryHaskellDepends = [
1145+ aeson ansi-wl-pprint base base-compat-batteries binary bytestring
1146+ cassava code-page containers deepseq directory exceptions filepath
1147+ Glob js-flot js-jquery microstache mtl mwc-random
1148+ optparse-applicative parsec semigroups statistics text time
1149+ transformers transformers-compat vector vector-algorithms
1150+ ];
1151+ executableHaskellDepends = [
1152+ base base-compat-batteries optparse-applicative semigroups
1153+ ];
1154+ testHaskellDepends = [
1155+ aeson base base-compat base-compat-batteries bytestring deepseq
1156+ directory HUnit QuickCheck statistics tasty tasty-hunit
1157+ tasty-quickcheck vector
1158+ ];
1159+ homepage = "http://www.serpentine.com/criterion";
1160+ description = "Robust, reliable performance measurement and analysis";
1161+ license = stdenv.lib.licenses.bsd3;
1162+ }) {};
1163+ "crypto-api" = callPackage
1164+ ({ mkDerivation, base, bytestring, cereal, entropy, tagged
1165+ , transformers
1166+ }:
1167+ mkDerivation {
1168+ pname = "crypto-api";
1169+ version = "0.13.3";
1170+ sha256 = "19bsmkqkpnvh01b77pmyarx00fic15j4hvg4pzscrj4prskrx2i9";
1171+ revision = "1";
1172+ editedCabalFile = "1z6n1sa5pn3iqvqjrd8hv4bc2pxzsrhm5sh0l8z7g9lbqp6w0wp5";
1173+ libraryHaskellDepends = [
1174+ base bytestring cereal entropy tagged transformers
1175+ ];
1176+ homepage = "https://github.com/TomMD/crypto-api";
1177+ description = "A generic interface for cryptographic operations";
1178+ license = stdenv.lib.licenses.bsd3;
1179+ }) {};
1180+ "crypto-api-tests" = callPackage
1181+ ({ mkDerivation, base, bytestring, cereal, crypto-api, directory
1182+ , filepath, HUnit, QuickCheck, test-framework, test-framework-hunit
1183+ , test-framework-quickcheck2
1184+ }:
1185+ mkDerivation {
1186+ pname = "crypto-api-tests";
1187+ version = "0.3";
1188+ sha256 = "0w3j43jdrlj28jryp18hc6q84nkl2yf4vs1hhgrsk7gb9kfyqjpl";
1189+ enableSeparateDataOutput = true;
1190+ libraryHaskellDepends = [
1191+ base bytestring cereal crypto-api directory filepath HUnit
1192+ QuickCheck test-framework test-framework-hunit
1193+ test-framework-quickcheck2
1194+ ];
1195+ homepage = "http://trac.haskell.org/crypto-api/wiki";
1196+ description = "A test framework and KATs for cryptographic operations";
1197+ license = stdenv.lib.licenses.bsd3;
1198+ }) {};
12131199 "cryptohash" = callPackage
1214− ({ mkDerivation, base, byteable, bytestring, cryptonite, ghc-prim
1215− , HUnit, memory, QuickCheck, tasty, tasty-hunit, tasty-quickcheck
1200+ ({ mkDerivation, base, byteable, bytestring, criterion, cryptonite
1201+ , ghc-prim, HUnit, memory, QuickCheck, tasty, tasty-hunit
1202+ , tasty-quickcheck
12161203 }:
12171204 mkDerivation {
12181205 pname = "cryptohash";
@@ -1225,49 +1212,54 @@ self: {
12251212 base byteable bytestring HUnit QuickCheck tasty tasty-hunit
12261213 tasty-quickcheck
12271214 ];
1228− doHaddock = false;
1229− doCheck = false;
1215+ benchmarkHaskellDepends = [ base byteable bytestring criterion ];
12301216 homepage = "http://github.com/vincenthz/hs-cryptohash";
12311217 description = "collection of crypto hashes, fast, pure and practical";
12321218 license = stdenv.lib.licenses.bsd3;
12331219 }) {};
1234− "cryptohash-conduit" = callPackage
1235− ({ mkDerivation, base, bytestring, conduit, conduit-extra
1236− , cryptohash, resourcet, transformers
1220+ "cryptonite" = callPackage
1221+ ({ mkDerivation, base, basement, bytestring, deepseq, gauge
1222+ , ghc-prim, integer-gmp, memory, random, tasty, tasty-hunit
1223+ , tasty-kat, tasty-quickcheck
12371224 }:
12381225 mkDerivation {
1239− pname = "cryptohash-conduit";
1240− version = "0.1.1";
1241− sha256 = "1kmlskgb0jx8hkzdncr24aqir9k1kyfcb2rypvkdld1yin4nslga";
1226+ pname = "cryptonite";
1227+ version = "0.25";
1228+ sha256 = "131wbbdr5yavs5k1ah9sz6fqx1ffyvaxf66pwjzsfc47mwc1mgl9";
12421229 libraryHaskellDepends = [
1243− base bytestring conduit conduit-extra cryptohash resourcet
1244− transformers
1230+ base basement bytestring deepseq ghc-prim integer-gmp memory
12451231 ];
1246− doHaddock = false;
1247− doCheck = false;
1248− homepage = "http://github.com/vincenthz/hs-cryptohash-conduit";
1249− description = "cryptohash conduit";
1232+ testHaskellDepends = [
1233+ base bytestring memory tasty tasty-hunit tasty-kat tasty-quickcheck
1234+ ];
1235+ benchmarkHaskellDepends = [
1236+ base bytestring deepseq gauge memory random
1237+ ];
1238+ homepage = "https://github.com/haskell-crypto/cryptonite";
1239+ description = "Cryptography Primitives sink";
12501240 license = stdenv.lib.licenses.bsd3;
12511241 }) {};
1252− "cryptonite" = callPackage
1253− ({ mkDerivation, base, bytestring, deepseq, foundation, ghc-prim
1254− , integer-gmp, memory, tasty, tasty-hunit, tasty-kat
1255− , tasty-quickcheck
1242+ "cryptonite-conduit" = callPackage
1243+ ({ mkDerivation, base, bytestring, conduit, conduit-combinators
1244+ , conduit-extra, cryptonite, exceptions, memory, resourcet, tasty
1245+ , tasty-hunit, tasty-quickcheck, transformers
12561246 }:
12571247 mkDerivation {
1258− pname = "cryptonite";
1259− version = "0.23";
1260− sha256 = "1680dxgmnjgj083jhsw3rlljwaw0zqi5099m59x6kwqkxhn1qjpf";
1248+ pname = "cryptonite-conduit";
1249+ version = "0.2.2";
1250+ sha256 = "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh";
1251+ revision = "1";
1252+ editedCabalFile = "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz";
12611253 libraryHaskellDepends = [
1262− base bytestring deepseq foundation ghc-prim integer-gmp memory
1254+ base bytestring conduit conduit-extra cryptonite exceptions memory
1255+ resourcet transformers
12631256 ];
12641257 testHaskellDepends = [
1265− base bytestring memory tasty tasty-hunit tasty-kat tasty-quickcheck
1258+ base bytestring conduit conduit-combinators cryptonite memory tasty
1259+ tasty-hunit tasty-quickcheck
12661260 ];
1267− doHaddock = false;
1268− doCheck = false;
1269− homepage = "https://github.com/haskell-crypto/cryptonite";
1270− description = "Cryptography Primitives sink";
1261+ homepage = "https://github.com/haskell-crypto/cryptonite-conduit";
1262+ description = "cryptonite conduit";
12711263 license = stdenv.lib.licenses.bsd3;
12721264 }) {};
12731265 "data-default" = callPackage
@@ -1283,8 +1275,6 @@ self: {
12831275 base data-default-class data-default-instances-containers
12841276 data-default-instances-dlist data-default-instances-old-locale
12851277 ];
1286− doHaddock = false;
1287− doCheck = false;
12881278 description = "A class for types with a default value";
12891279 license = stdenv.lib.licenses.bsd3;
12901280 }) {};
@@ -1295,8 +1285,6 @@ self: {
12951285 version = "0.1.2.0";
12961286 sha256 = "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag";
12971287 libraryHaskellDepends = [ base ];
1298− doHaddock = false;
1299− doCheck = false;
13001288 description = "A class for types with a default value";
13011289 license = stdenv.lib.licenses.bsd3;
13021290 }) {};
@@ -1307,8 +1295,6 @@ self: {
13071295 version = "0.0.1";
13081296 sha256 = "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5";
13091297 libraryHaskellDepends = [ base containers data-default-class ];
1310− doHaddock = false;
1311− doCheck = false;
13121298 description = "Default instances for types in containers";
13131299 license = stdenv.lib.licenses.bsd3;
13141300 }) {};
@@ -1319,8 +1305,6 @@ self: {
13191305 version = "0.0.1";
13201306 sha256 = "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x";
13211307 libraryHaskellDepends = [ base data-default-class dlist ];
1322− doHaddock = false;
1323− doCheck = false;
13241308 description = "Default instances for types in dlist";
13251309 license = stdenv.lib.licenses.bsd3;
13261310 }) {};
@@ -1331,27 +1315,32 @@ self: {
13311315 version = "0.0.1";
13321316 sha256 = "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0";
13331317 libraryHaskellDepends = [ base data-default-class old-locale ];
1334− doHaddock = false;
1335− doCheck = false;
13361318 description = "Default instances for types in old-locale";
13371319 license = stdenv.lib.licenses.bsd3;
13381320 }) {};
1321+ "data-ordlist" = callPackage
1322+ ({ mkDerivation, base }:
1323+ mkDerivation {
1324+ pname = "data-ordlist";
1325+ version = "0.4.7.0";
1326+ sha256 = "03a9ix1fcx08viwv2jg5ndw1qbkydyyrmjvqr9wasmcik9x1wv3g";
1327+ libraryHaskellDepends = [ base ];
1328+ description = "Set and bag operations on ordered lists";
1329+ license = stdenv.lib.licenses.bsd3;
1330+ }) {};
13391331 "distribution-nixpkgs" = callPackage
13401332 ({ mkDerivation, aeson, base, bytestring, Cabal, containers
1341− , deepseq, doctest, hspec, language-nix, lens, pretty, process
1342− , split
1333+ , deepseq, hspec, language-nix, lens, pretty, process, split
13431334 }:
13441335 mkDerivation {
13451336 pname = "distribution-nixpkgs";
1346− version = "1.1";
1347− sha256 = "15m881mrhpqg1xjdjz65ym8pajp1nijrcvb6dx3vv55430cjw1qx";
1337+ version = "1.1.1";
1338+ sha256 = "1694crd3l9cyc0c5xvqmx62154519g2cnpzc5qmlypwrk258bssm";
13481339 libraryHaskellDepends = [
13491340 aeson base bytestring Cabal containers deepseq language-nix lens
13501341 pretty process split
13511342 ];
1352− testHaskellDepends = [ base deepseq doctest hspec lens ];
1353− doHaddock = false;
1354− doCheck = false;
1343+ testHaskellDepends = [ base deepseq hspec lens ];
13551344 homepage = "https://github.com/peti/distribution-nixpkgs#readme";
13561345 description = "Types and functions to manipulate the Nixpkgs distribution";
13571346 license = stdenv.lib.licenses.bsd3;
@@ -1365,28 +1354,25 @@ self: {
13651354 pname = "distributive";
13661355 version = "0.5.3";
13671356 sha256 = "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi";
1368− revision = "1";
1369− editedCabalFile = "0hsq03i0qa0jvw7kaaqic40zvfkzhkd25dgvbdg6hjzylf1k1gax";
1357+ revision = "6";
1358+ editedCabalFile = "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk";
13701359 setupHaskellDepends = [ base Cabal cabal-doctest ];
13711360 libraryHaskellDepends = [
13721361 base base-orphans tagged transformers transformers-compat
13731362 ];
13741363 testHaskellDepends = [ base doctest generic-deriving hspec ];
1375− doHaddock = false;
1376− doCheck = false;
13771364 homepage = "http://github.com/ekmett/distributive/";
13781365 description = "Distributive functors -- Dual to Traversable";
13791366 license = stdenv.lib.licenses.bsd3;
13801367 }) {};
13811368 "dlist" = callPackage
1382− ({ mkDerivation, base, deepseq }:
1369+ ({ mkDerivation, base, Cabal, deepseq, QuickCheck }:
13831370 mkDerivation {
13841371 pname = "dlist";
1385− version = "0.8.0.3";
1386− sha256 = "0brgai4vs7xz29p06kd6gzg5bpa8iy3k7yzgcc44izspd74q4rw7";
1372+ version = "0.8.0.4";
1373+ sha256 = "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc";
13871374 libraryHaskellDepends = [ base deepseq ];
1388− doHaddock = false;
1389− doCheck = false;
1375+ testHaskellDepends = [ base Cabal QuickCheck ];
13901376 homepage = "https://github.com/spl/dlist";
13911377 description = "Difference lists";
13921378 license = stdenv.lib.licenses.bsd3;
@@ -1398,8 +1384,6 @@ self: {
13981384 version = "0.1.1.1";
13991385 sha256 = "0nsgrr25r4qxv2kpn7i20hra8jjkyllxfrhh5hml3ysjdz010jni";
14001386 libraryHaskellDepends = [ base dlist semigroups ];
1401− doHaddock = false;
1402− doCheck = false;
14031387 homepage = "https://github.com/gregwebs/dlist-instances";
14041388 description = "Difference lists instances";
14051389 license = stdenv.lib.licenses.bsd3;
@@ -1412,21 +1396,23 @@ self: {
14121396 }:
14131397 mkDerivation {
14141398 pname = "doctest";
1415− version = "0.11.4";
1416− sha256 = "09a170wr13p2c0w085d7qbf2blrvj1qmg92j61xqi17rwdwkvyjs";
1399+ version = "0.16.0";
1400+ sha256 = "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv";
14171401 isLibrary = true;
14181402 isExecutable = true;
14191403 libraryHaskellDepends = [
14201404 base base-compat code-page deepseq directory filepath ghc ghc-paths
14211405 process syb transformers
14221406 ];
1423− executableHaskellDepends = [ base ];
1407+ executableHaskellDepends = [
1408+ base base-compat code-page deepseq directory filepath ghc ghc-paths
1409+ process syb transformers
1410+ ];
14241411 testHaskellDepends = [
14251412 base base-compat code-page deepseq directory filepath ghc ghc-paths
14261413 hspec HUnit mockery process QuickCheck setenv silently
14271414 stringbuilder syb transformers with-location
14281415 ];
1429− doHaddock = false;
14301416 doCheck = false;
14311417 homepage = "https://github.com/sol/doctest#readme";
14321418 description = "Test interactive Haskell examples";
@@ -1436,35 +1422,25 @@ self: {
14361422 ({ mkDerivation, base, directory, filepath, time, unix }:
14371423 mkDerivation {
14381424 pname = "easy-file";
1439− version = "0.2.1";
1440− sha256 = "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz";
1425+ version = "0.2.2";
1426+ sha256 = "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj";
14411427 libraryHaskellDepends = [ base directory filepath time unix ];
1442− doHaddock = false;
1443− doCheck = false;
14441428 homepage = "http://github.com/kazu-yamamoto/easy-file";
14451429 description = "Cross-platform File handling";
14461430 license = stdenv.lib.licenses.bsd3;
14471431 }) {};
1448− "either" = callPackage
1449− ({ mkDerivation, base, bifunctors, exceptions, free, mmorph
1450− , monad-control, MonadRandom, mtl, profunctors, semigroupoids
1451− , semigroups, transformers, transformers-base
1432+ "entropy" = callPackage
1433+ ({ mkDerivation, base, bytestring, Cabal, directory, filepath
1434+ , process, unix
14521435 }:
14531436 mkDerivation {
1454− pname = "either";
1455− version = "4.4.1.1";
1456− sha256 = "1lrlwqqnm6ibfcydlv5qvvssw7bm0c6yypy0rayjzv1znq7wp1xh";
1457− revision = "2";
1458− editedCabalFile = "1n7792mcrvfh31qrbj8mpnx372s03kz83mypj7l4fm5h6zi4a3hs";
1459− libraryHaskellDepends = [
1460− base bifunctors exceptions free mmorph monad-control MonadRandom
1461− mtl profunctors semigroupoids semigroups transformers
1462− transformers-base
1463− ];
1464− doHaddock = false;
1465− doCheck = false;
1466− homepage = "http://github.com/ekmett/either/";
1467− description = "An either monad transformer";
1437+ pname = "entropy";
1438+ version = "0.4.1.1";
1439+ sha256 = "1ahz5g148l6sax3dy505na2513i99c7bxix68jja5kbx4f271zcf";
1440+ setupHaskellDepends = [ base Cabal directory filepath process ];
1441+ libraryHaskellDepends = [ base bytestring unix ];
1442+ homepage = "https://github.com/TomMD/entropy";
1443+ description = "A platform independent entropy source";
14681444 license = stdenv.lib.licenses.bsd3;
14691445 }) {};
14701446 "erf" = callPackage
@@ -1474,31 +1450,28 @@ self: {
14741450 version = "2.0.0.0";
14751451 sha256 = "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14";
14761452 libraryHaskellDepends = [ base ];
1477− doHaddock = false;
1478− doCheck = false;
14791453 description = "The error function, erf, and related functions";
14801454 license = stdenv.lib.licenses.bsd3;
14811455 }) {};
14821456 "exceptions" = callPackage
14831457 ({ mkDerivation, base, mtl, QuickCheck, stm, template-haskell
1484− , test-framework, test-framework-quickcheck2, transformers
1485− , transformers-compat
1458+ , test-framework, test-framework-hunit, test-framework-quickcheck2
1459+ , transformers, transformers-compat
14861460 }:
14871461 mkDerivation {
14881462 pname = "exceptions";
1489− version = "0.8.3";
1490− sha256 = "1gl7xzffsqmigam6zg0jsglncgzxqafld2p6kb7ccp9xirzdjsjd";
1491− revision = "2";
1492− editedCabalFile = "1vl59j0l7m53hkzlcfmdbqbab8dk4lp9gzwryn7nsr6ylg94wayw";
1463+ version = "0.10.0";
1464+ sha256 = "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y";
1465+ revision = "1";
1466+ editedCabalFile = "1ydvmhi9bj7b1md3wd4l2z2lccgyjgv3ha8milmy2l4lad9xh6xy";
14931467 libraryHaskellDepends = [
14941468 base mtl stm template-haskell transformers transformers-compat
14951469 ];
14961470 testHaskellDepends = [
14971471 base mtl QuickCheck stm template-haskell test-framework
1498− test-framework-quickcheck2 transformers transformers-compat
1472+ test-framework-hunit test-framework-quickcheck2 transformers
1473+ transformers-compat
14991474 ];
1500− doHaddock = false;
1501− doCheck = false;
15021475 homepage = "http://github.com/ekmett/exceptions/";
15031476 description = "Extensible optionally-pure exceptions";
15041477 license = stdenv.lib.licenses.bsd3;
@@ -1510,114 +1483,111 @@ self: {
15101483 version = "0.1.1.4";
15111484 sha256 = "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc";
15121485 libraryHaskellDepends = [ base ];
1513− doHaddock = false;
1514− doCheck = false;
15151486 description = "Extensible exceptions";
15161487 license = stdenv.lib.licenses.bsd3;
15171488 }) {};
1518− "fail" = callPackage
1519− ({ mkDerivation }:
1520− mkDerivation {
1521− pname = "fail";
1522− version = "4.9.0.0";
1523− sha256 = "18nlj6xvnggy61gwbyrpmvbdkq928wv0wx2zcsljb52kbhddnp3d";
1524− doHaddock = false;
1525− doCheck = false;
1526− homepage = "https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail";
1527− description = "Forward-compatible MonadFail class";
1528− license = stdenv.lib.licenses.bsd3;
1529− }) {};
15301489 "fast-logger" = callPackage
15311490 ({ mkDerivation, array, auto-update, base, bytestring, directory
15321491 , easy-file, filepath, hspec, text, unix, unix-time
15331492 }:
15341493 mkDerivation {
15351494 pname = "fast-logger";
1536− version = "2.4.10";
1537− sha256 = "13b7rrv8dw574k6lbl96nar67fx81058gvilsc42v0lgm38sbi6y";
1495+ version = "2.4.11";
1496+ sha256 = "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv";
15381497 libraryHaskellDepends = [
15391498 array auto-update base bytestring directory easy-file filepath text
15401499 unix unix-time
15411500 ];
15421501 testHaskellDepends = [ base bytestring directory hspec ];
1543− doHaddock = false;
1544− doCheck = false;
15451502 homepage = "https://github.com/kazu-yamamoto/logger";
15461503 description = "A fast logging system";
15471504 license = stdenv.lib.licenses.bsd3;
15481505 }) {};
15491506 "foldl" = callPackage
15501507 ({ mkDerivation, base, bytestring, comonad, containers
1551− , contravariant, hashable, mwc-random, primitive, profunctors, text
1552− , transformers, unordered-containers, vector
1508+ , contravariant, criterion, hashable, mwc-random, primitive
1509+ , profunctors, semigroupoids, semigroups, text, transformers
1510+ , unordered-containers, vector, vector-builder
15531511 }:
15541512 mkDerivation {
15551513 pname = "foldl";
1556− version = "1.2.5";
1557− sha256 = "0jzc00dqwkr3kvy40f8f9klh24s8zvhfk2flrlyichc6zcy5qbda";
1558− revision = "1";
1559− editedCabalFile = "02lk5838594mi15bylz2kpcm1c4akbsswj73i7k8xw4ns66iaq04";
1514+ version = "1.4.2";
1515+ sha256 = "14ccc2spv63v7vipfrmk8jbbw2x1dkkxsyzqzcpnkzjw0yg4ghc9";
15601516 libraryHaskellDepends = [
15611517 base bytestring comonad containers contravariant hashable
1562− mwc-random primitive profunctors text transformers
1563− unordered-containers vector
1518+ mwc-random primitive profunctors semigroupoids semigroups text
1519+ transformers unordered-containers vector vector-builder
15641520 ];
1565− doHaddock = false;
1566− doCheck = false;
1521+ benchmarkHaskellDepends = [ base criterion ];
15671522 description = "Composable, streaming, and efficient left folds";
15681523 license = stdenv.lib.licenses.bsd3;
15691524 }) {};
15701525 "foundation" = callPackage
1571− ({ mkDerivation, base, basement, ghc-prim }:
1526+ ({ mkDerivation, base, basement, gauge, ghc-prim }:
15721527 mkDerivation {
15731528 pname = "foundation";
1574− version = "0.0.17";
1575− sha256 = "00f2p47h715fjb3rpsxlf4jskgwk9sz5p692r09gspspqmrs5l84";
1576− revision = "1";
1577− editedCabalFile = "15y38y0mj4vc694jwh3cjgnq8xv5vv7954g633f7mw5f0hb3yxkn";
1529+ version = "0.0.21";
1530+ sha256 = "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf";
15781531 libraryHaskellDepends = [ base basement ghc-prim ];
15791532 testHaskellDepends = [ base basement ];
1580− doHaddock = false;
1581− doCheck = false;
1533+ benchmarkHaskellDepends = [ base basement gauge ];
15821534 homepage = "https://github.com/haskell-foundation/foundation";
15831535 description = "Alternative prelude with batteries and no dependencies";
15841536 license = stdenv.lib.licenses.bsd3;
15851537 }) {};
15861538 "free" = callPackage
15871539 ({ mkDerivation, base, bifunctors, comonad, containers
1588− , distributive, exceptions, mtl, prelude-extras, profunctors
1589− , semigroupoids, semigroups, template-haskell, transformers
1540+ , distributive, exceptions, mtl, profunctors, semigroupoids
1541+ , semigroups, template-haskell, transformers, transformers-base
15901542 , transformers-compat
15911543 }:
15921544 mkDerivation {
15931545 pname = "free";
1594− version = "4.12.4";
1595− sha256 = "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9";
1546+ version = "5.0.2";
1547+ sha256 = "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg";
15961548 libraryHaskellDepends = [
15971549 base bifunctors comonad containers distributive exceptions mtl
1598− prelude-extras profunctors semigroupoids semigroups
1599− template-haskell transformers transformers-compat
1550+ profunctors semigroupoids semigroups template-haskell transformers
1551+ transformers-base transformers-compat
16001552 ];
1601− doHaddock = false;
1602− doCheck = false;
16031553 homepage = "http://github.com/ekmett/free/";
16041554 description = "Monads for free";
16051555 license = stdenv.lib.licenses.bsd3;
16061556 }) {};
1557+ "gauge" = callPackage
1558+ ({ mkDerivation, base, basement, bytestring, deepseq, directory
1559+ , foundation, process, vector
1560+ }:
1561+ mkDerivation {
1562+ pname = "gauge";
1563+ version = "0.2.3";
1564+ sha256 = "0slsimv2zn9yhakxy2wdyfj6bgjd1p65wp6nr8j0ba7df64xykjs";
1565+ libraryHaskellDepends = [
1566+ base basement deepseq directory process vector
1567+ ];
1568+ testHaskellDepends = [
1569+ base bytestring deepseq directory foundation
1570+ ];
1571+ benchmarkHaskellDepends = [ base ];
1572+ homepage = "https://github.com/vincenthz/hs-gauge";
1573+ description = "small framework for performance measurement and analysis";
1574+ license = stdenv.lib.licenses.bsd3;
1575+ }) {};
16071576 "generic-deriving" = callPackage
1608− ({ mkDerivation, base, containers, ghc-prim, hspec
1609− , template-haskell
1577+ ({ mkDerivation, base, containers, ghc-prim, hspec, hspec-discover
1578+ , template-haskell, th-abstraction
16101579 }:
16111580 mkDerivation {
16121581 pname = "generic-deriving";
1613− version = "1.11.2";
1614− sha256 = "1y92q4dmbyc24hjjvq02474s9grwabxffn16y31gzaqhm0m0z5i9";
1582+ version = "1.12.2";
1583+ sha256 = "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n";
1584+ revision = "1";
1585+ editedCabalFile = "0gr20ypr6s0183wmrhmia0zvpbn4dmfyr3wksrkrqj4i8nhj42fz";
16151586 libraryHaskellDepends = [
1616− base containers ghc-prim template-haskell
1587+ base containers ghc-prim template-haskell th-abstraction
16171588 ];
16181589 testHaskellDepends = [ base hspec template-haskell ];
1619− doHaddock = false;
1620− doCheck = false;
1590+ testToolDepends = [ hspec-discover ];
16211591 homepage = "https://github.com/dreixel/generic-deriving";
16221592 description = "Generic programming library for generalised deriving";
16231593 license = stdenv.lib.licenses.bsd3;
@@ -1628,111 +1598,13 @@ self: {
16281598 pname = "ghc-paths";
16291599 version = "0.1.0.9";
16301600 sha256 = "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg";
1631− revision = "2";
1632− editedCabalFile = "1gs6biqbcabgmrwhc1bq1bdaxdwwh26v4mpvj5c7cfyigc64gwyk";
1601+ revision = "3";
1602+ editedCabalFile = "1gx47xbm3qviqccnbsibzkfnlzljvls33jh1ry4l506yvfnf4j10";
16331603 setupHaskellDepends = [ base Cabal directory ];
16341604 libraryHaskellDepends = [ base ];
1635− doHaddock = false;
1636− doCheck = false;
16371605 description = "Knowledge of GHC's installation directories";
16381606 license = stdenv.lib.licenses.bsd3;
16391607 }) {};
1640− "git" = callPackage
1641− ({ mkDerivation, base, byteable, bytedump, bytestring, containers
1642− , cryptonite, hourglass, memory, mtl, patience, random
1643− , system-fileio, system-filepath, tasty, tasty-quickcheck
1644− , unix-compat, utf8-string, vector, zlib, zlib-bindings
1645− }:
1646− mkDerivation {
1647− pname = "git";
1648− version = "0.2.0";
1649− sha256 = "1a4frn53qs31s6rqldw91zmc0i0gr33zm10y9ailqasbsgyxqwyp";
1650− enableSeparateDataOutput = true;
1651− libraryHaskellDepends = [
1652− base byteable bytestring containers cryptonite hourglass memory mtl
1653− patience random system-fileio system-filepath unix-compat
1654− utf8-string vector zlib zlib-bindings
1655− ];
1656− testHaskellDepends = [
1657− base bytedump bytestring hourglass tasty tasty-quickcheck
1658− ];
1659− doHaddock = false;
1660− doCheck = false;
1661− homepage = "https://github.com/vincenthz/hs-git";
1662− description = "Git operations in haskell";
1663− license = stdenv.lib.licenses.bsd3;
1664− }) {};
1665− "gitlib" = callPackage
1666− ({ mkDerivation, base, base16-bytestring, bytestring, conduit
1667− , conduit-combinators, containers, directory, exceptions, filepath
1668− , hashable, lifted-async, lifted-base, monad-control, mtl
1669− , resourcet, semigroups, tagged, text, time, transformers, unix
1670− , unordered-containers
1671− }:
1672− mkDerivation {
1673− pname = "gitlib";
1674− version = "3.1.1";
1675− sha256 = "1vwmyfmqlly351jq9pgjhcfhnxvrhzkd4lfq7qpsa37vca5pas6x";
1676− libraryHaskellDepends = [
1677− base base16-bytestring bytestring conduit conduit-combinators
1678− containers directory exceptions filepath hashable lifted-async
1679− lifted-base monad-control mtl resourcet semigroups tagged text time
1680− transformers unix unordered-containers
1681− ];
1682− doHaddock = false;
1683− doCheck = false;
1684− description = "API library for working with Git repositories";
1685− license = stdenv.lib.licenses.mit;
1686− }) {};
1687− "gitlib-libgit2" = callPackage
1688− ({ mkDerivation, base, bytestring, conduit, conduit-combinators
1689− , containers, directory, exceptions, fast-logger, filepath, gitlib
1690− , gitlib-test, hlibgit2, hspec, hspec-expectations, HUnit
1691− , lifted-async, lifted-base, mmorph, monad-control, monad-loops
1692− , mtl, resourcet, stm, stm-conduit, tagged, template-haskell, text
1693− , text-icu, time, transformers, transformers-base
1694− }:
1695− mkDerivation {
1696− pname = "gitlib-libgit2";
1697− version = "3.1.1";
1698− sha256 = "1fv8r2w0fd9m7chrccmf5kw0pr2v0k2r2l0d782galdvq7mhca7w";
1699− revision = "1";
1700− editedCabalFile = "0v510c4sd6zwwf6mbc6gfv5sin91ckw4v6c844wrfksi9gdq3shm";
1701− libraryHaskellDepends = [
1702− base bytestring conduit conduit-combinators containers directory
1703− exceptions fast-logger filepath gitlib hlibgit2 lifted-async
1704− lifted-base mmorph monad-control monad-loops mtl resourcet stm
1705− stm-conduit tagged template-haskell text text-icu time transformers
1706− transformers-base
1707− ];
1708− testHaskellDepends = [
1709− base exceptions gitlib gitlib-test hspec hspec-expectations HUnit
1710− transformers
1711− ];
1712− doHaddock = false;
1713− doCheck = false;
1714− description = "Libgit2 backend for gitlib";
1715− license = stdenv.lib.licenses.mit;
1716− }) {};
1717− "gitlib-test" = callPackage
1718− ({ mkDerivation, base, bytestring, conduit, conduit-combinators
1719− , exceptions, gitlib, hspec, hspec-expectations, HUnit
1720− , monad-control, tagged, text, time, transformers
1721− }:
1722− mkDerivation {
1723− pname = "gitlib-test";
1724− version = "3.1.0.3";
1725− sha256 = "07r970d6m15gri6xim71kl2vvml85jlb0vc51zb67gfsd6iby2py";
1726− libraryHaskellDepends = [
1727− base bytestring conduit conduit-combinators exceptions gitlib hspec
1728− hspec-expectations HUnit monad-control tagged text time
1729− transformers
1730− ];
1731− doHaddock = false;
1732− doCheck = false;
1733− description = "Test library for confirming gitlib backend compliance";
1734− license = stdenv.lib.licenses.mit;
1735− }) {};
17361608 "gitrev" = callPackage
17371609 ({ mkDerivation, base, base-compat, directory, filepath, process
17381610 , template-haskell
@@ -1744,8 +1616,6 @@ self: {
17441616 libraryHaskellDepends = [
17451617 base base-compat directory filepath process template-haskell
17461618 ];
1747− doHaddock = false;
1748− doCheck = false;
17491619 homepage = "https://github.com/acfoltzer/gitrev";
17501620 description = "Compile git revision info into Haskell projects";
17511621 license = stdenv.lib.licenses.bsd3;
@@ -1760,28 +1630,25 @@ self: {
17601630 isExecutable = true;
17611631 libraryHaskellDepends = [ base haskell-src-exts ];
17621632 executableHaskellDepends = [ base ];
1763− doHaddock = false;
1764− doCheck = false;
17651633 description = "Pretty printing for well-behaved Show instances";
17661634 license = stdenv.lib.licenses.bsd3;
17671635 }) {};
17681636 "hackage-db" = callPackage
1769− ({ mkDerivation, base, bytestring, Cabal, containers, directory
1770− , filepath, tar, utf8-string
1637+ ({ mkDerivation, aeson, base, bytestring, Cabal, containers
1638+ , directory, filepath, tar, time, utf8-string
17711639 }:
17721640 mkDerivation {
17731641 pname = "hackage-db";
1774− version = "1.22";
1775− sha256 = "0rhh7w4929zkwzv10ika952yiw4dkffqd8f79f1bl76lz1la6cjd";
1776− revision = "1";
1777− editedCabalFile = "0xj3wwf0wl8qfcz4zsxw0r6f79rg7h010jfv54gsiyzwpf67l9xm";
1642+ version = "2.0.1";
1643+ sha256 = "13ggj72i8dxwh3qwznnqxbr00nvsbapyyhzx5zybfacddnpw3aph";
1644+ isLibrary = true;
1645+ isExecutable = true;
17781646 libraryHaskellDepends = [
1779− base bytestring Cabal containers directory filepath tar utf8-string
1647+ aeson base bytestring Cabal containers directory filepath tar time
1648+ utf8-string
17801649 ];
1781− doHaddock = false;
1782− doCheck = false;
1783− homepage = "http://github.com/peti/hackage-db";
1784− description = "access Hackage's package database via Data.Map";
1650+ homepage = "https://github.com/peti/hackage-db#readme";
1651+ description = "Access Hackage's package database via Data.Map";
17851652 license = stdenv.lib.licenses.bsd3;
17861653 }) {};
17871654 "happy" = callPackage
@@ -1790,8 +1657,10 @@ self: {
17901657 }:
17911658 mkDerivation {
17921659 pname = "happy";
1793− version = "1.19.8";
1794− sha256 = "186ky3bly0i3cc56qk3r7j7pxh2108aackq4n2lli7jmbnb3kxsd";
1660+ version = "1.19.9";
1661+ sha256 = "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y";
1662+ revision = "2";
1663+ editedCabalFile = "1zxi8zfwiwxidrhr0yj5srpzp32z66sld9xv0k4yz7046rkl3577";
17951664 isLibrary = false;
17961665 isExecutable = true;
17971666 setupHaskellDepends = [ base Cabal directory filepath ];
@@ -1804,16 +1673,14 @@ self: {
18041673 license = stdenv.lib.licenses.bsd2;
18051674 }) {};
18061675 "hashable" = callPackage
1807− ({ mkDerivation, base, bytestring, deepseq, ghc-prim, HUnit
1808− , integer-gmp, QuickCheck, random, test-framework
1676+ ({ mkDerivation, base, bytestring, criterion, deepseq, ghc-prim
1677+ , HUnit, integer-gmp, QuickCheck, random, siphash, test-framework
18091678 , test-framework-hunit, test-framework-quickcheck2, text, unix
18101679 }:
18111680 mkDerivation {
18121681 pname = "hashable";
1813− version = "1.2.6.1";
1814− sha256 = "0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll";
1815− revision = "2";
1816− editedCabalFile = "0w4756sa04nk2bw3vnysb0y9d09zzg3c77aydkjfxz1hnl1dvnjn";
1682+ version = "1.2.7.0";
1683+ sha256 = "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc";
18171684 isLibrary = true;
18181685 isExecutable = true;
18191686 libraryHaskellDepends = [
@@ -1823,22 +1690,24 @@ self: {
18231690 base bytestring ghc-prim HUnit QuickCheck random test-framework
18241691 test-framework-hunit test-framework-quickcheck2 text unix
18251692 ];
1826− doHaddock = false;
1827− doCheck = false;
1693+ benchmarkHaskellDepends = [
1694+ base bytestring criterion ghc-prim integer-gmp siphash text
1695+ ];
18281696 homepage = "http://github.com/tibbe/hashable";
18291697 description = "A class for types that can be converted to a hash value";
18301698 license = stdenv.lib.licenses.bsd3;
18311699 }) {};
1832− "hashable-time" = callPackage
1833− ({ mkDerivation, base, hashable, time }:
1700+ "hashtables" = callPackage
1701+ ({ mkDerivation, base, ghc-prim, hashable, primitive, vector }:
18341702 mkDerivation {
1835− pname = "hashable-time";
1836− version = "0.2.0.1";
1837− sha256 = "0k932nyd08l3xxbh2g3n76py2f4kd9yw4s5a065vjz0xp6wjnxdm";
1838− libraryHaskellDepends = [ base hashable time ];
1839− doHaddock = false;
1840− doCheck = false;
1841− description = "Hashable instances for Data.Time";
1703+ pname = "hashtables";
1704+ version = "1.2.3.1";
1705+ sha256 = "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg";
1706+ libraryHaskellDepends = [
1707+ base ghc-prim hashable primitive vector
1708+ ];
1709+ homepage = "http://github.com/gregorycollins/hashtables";
1710+ description = "Mutable hash tables in the ST monad";
18421711 license = stdenv.lib.licenses.bsd3;
18431712 }) {};
18441713 "haskell-lexer" = callPackage
@@ -1848,8 +1717,6 @@ self: {
18481717 version = "1.0.1";
18491718 sha256 = "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p";
18501719 libraryHaskellDepends = [ base ];
1851− doHaddock = false;
1852− doCheck = false;
18531720 description = "A fully compliant Haskell 98 lexer";
18541721 license = stdenv.lib.licenses.bsd3;
18551722 }) {};
@@ -1860,39 +1727,78 @@ self: {
18601727 }:
18611728 mkDerivation {
18621729 pname = "haskell-src-exts";
1863− version = "1.18.2";
1864− sha256 = "0hq9f6r67gkhad4cc4dhahrwrz9kxfibhk8qrw5j0p7cvh23hn1i";
1730+ version = "1.20.2";
1731+ sha256 = "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz";
18651732 libraryHaskellDepends = [ array base cpphs ghc-prim pretty ];
18661733 libraryToolDepends = [ happy ];
18671734 testHaskellDepends = [
18681735 base containers directory filepath mtl pretty-show smallcheck tasty
18691736 tasty-golden tasty-smallcheck
18701737 ];
1871− doHaddock = false;
1872− doCheck = false;
18731738 homepage = "https://github.com/haskell-suite/haskell-src-exts";
18741739 description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
18751740 license = stdenv.lib.licenses.bsd3;
18761741 }) {};
1877− "haskell-src-meta" = callPackage
1878− ({ mkDerivation, base, haskell-src-exts, HUnit, pretty, syb
1879− , template-haskell, test-framework, test-framework-hunit
1880− , th-orphans
1742+ "haskell-src-meta" = callPackage
1743+ ({ mkDerivation, base, haskell-src-exts, HUnit, pretty, syb
1744+ , template-haskell, test-framework, test-framework-hunit
1745+ , th-orphans
1746+ }:
1747+ mkDerivation {
1748+ pname = "haskell-src-meta";
1749+ version = "0.8.0.3";
1750+ sha256 = "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4";
1751+ libraryHaskellDepends = [
1752+ base haskell-src-exts pretty syb template-haskell th-orphans
1753+ ];
1754+ testHaskellDepends = [
1755+ base haskell-src-exts HUnit pretty template-haskell test-framework
1756+ test-framework-hunit
1757+ ];
1758+ description = "Parse source to template-haskell abstract syntax";
1759+ license = stdenv.lib.licenses.bsd3;
1760+ }) {};
1761+ "heaps" = callPackage
1762+ ({ mkDerivation, base, Cabal, cabal-doctest, directory, doctest
1763+ , filepath
1764+ }:
1765+ mkDerivation {
1766+ pname = "heaps";
1767+ version = "0.3.6";
1768+ sha256 = "1cnxgmxxvl053yv93vcz5fnla4iir5g9wr697n88ysdyybbkq70q";
1769+ revision = "3";
1770+ editedCabalFile = "0k6wsm1hwn3vaxdvw8p7cidxg7p8zply2ig4w4qrbpyjhl6dj9x9";
1771+ setupHaskellDepends = [ base Cabal cabal-doctest ];
1772+ libraryHaskellDepends = [ base ];
1773+ testHaskellDepends = [ base directory doctest filepath ];
1774+ homepage = "http://github.com/ekmett/heaps/";
1775+ description = "Asymptotically optimal Brodal/Okasaki heaps";
1776+ license = stdenv.lib.licenses.bsd3;
1777+ }) {};
1778+ "hedgehog" = callPackage
1779+ ({ mkDerivation, ansi-terminal, async, base, bytestring
1780+ , concurrent-output, containers, directory, exceptions
1781+ , lifted-async, mmorph, monad-control, mtl, pretty-show, primitive
1782+ , random, resourcet, semigroups, stm, template-haskell, text
1783+ , th-lift, time, transformers, transformers-base, unix
1784+ , wl-pprint-annotated
18811785 }:
18821786 mkDerivation {
1883− pname = "haskell-src-meta";
1884− version = "0.8.0.1";
1885− sha256 = "1i5f21mx061k50nl3pvvffjqsbvvldl50y8d4b9b31g63l0jg5q9";
1787+ pname = "hedgehog";
1788+ version = "0.6";
1789+ sha256 = "0c3y4gvl1i2r54ayha2kw5i2gdpd8nfzfzjly5vhxm13ylygwvxq";
18861790 libraryHaskellDepends = [
1887− base haskell-src-exts pretty syb template-haskell th-orphans
1791+ ansi-terminal async base bytestring concurrent-output containers
1792+ directory exceptions lifted-async mmorph monad-control mtl
1793+ pretty-show primitive random resourcet semigroups stm
1794+ template-haskell text th-lift time transformers transformers-base
1795+ unix wl-pprint-annotated
18881796 ];
18891797 testHaskellDepends = [
1890− base haskell-src-exts HUnit pretty template-haskell test-framework
1891− test-framework-hunit
1798+ base containers pretty-show semigroups text transformers
18921799 ];
1893− doHaddock = false;
1894− doCheck = false;
1895− description = "Parse source to template-haskell abstract syntax";
1800+ homepage = "https://hedgehog.qa";
1801+ description = "Hedgehog will eat all your bugs";
18961802 license = stdenv.lib.licenses.bsd3;
18971803 }) {};
18981804 "hex" = callPackage
@@ -1902,8 +1808,6 @@ self: {
19021808 version = "0.1.2";
19031809 sha256 = "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj";
19041810 libraryHaskellDepends = [ base bytestring ];
1905− doHaddock = false;
1906− doCheck = false;
19071811 description = "Convert strings into hexadecimal and back";
19081812 license = stdenv.lib.licenses.bsd3;
19091813 }) {};
@@ -1917,8 +1821,6 @@ self: {
19171821 librarySystemDepends = [ openssl ];
19181822 testHaskellDepends = [ base process ];
19191823 testToolDepends = [ git ];
1920− doHaddock = false;
1921− doCheck = false;
19221824 description = "Low-level bindings to libgit2";
19231825 license = stdenv.lib.licenses.mit;
19241826 }) {inherit (pkgs) git; inherit (pkgs) openssl;};
@@ -1934,8 +1836,6 @@ self: {
19341836 libraryHaskellDepends = [ base bytestring ];
19351837 librarySystemDepends = [ openssl ];
19361838 testHaskellDepends = [ base doctest HUnit ];
1937− doHaddock = false;
1938− doCheck = false;
19391839 homepage = "http://github.com/peti/hopenssl";
19401840 description = "FFI Bindings to OpenSSL's EVP Digest Interface";
19411841 license = stdenv.lib.licenses.bsd3;
@@ -1947,29 +1847,79 @@ self: {
19471847 version = "1.0";
19481848 sha256 = "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv";
19491849 libraryHaskellDepends = [ base ];
1950− doHaddock = false;
1951− doCheck = false;
19521850 description = "A very simple package providing a cross-platform means of determining the hostname";
19531851 license = stdenv.lib.licenses.bsd3;
19541852 }) {};
19551853 "hourglass" = callPackage
1956− ({ mkDerivation, base, deepseq, mtl, old-locale, tasty, tasty-hunit
1957− , tasty-quickcheck, time
1854+ ({ mkDerivation, base, bytestring, deepseq, gauge, mtl, old-locale
1855+ , tasty, tasty-hunit, tasty-quickcheck, time
19581856 }:
19591857 mkDerivation {
19601858 pname = "hourglass";
1961− version = "0.2.10";
1962− sha256 = "104d1yd84hclprg740nkz60vx589mnm094zriw6zczbgg8nkclym";
1859+ version = "0.2.11";
1860+ sha256 = "0lag9sgj7ndrbfmab6jhszlv413agg0zzaj5r9f2fmf07wqbp9hq";
19631861 libraryHaskellDepends = [ base deepseq ];
19641862 testHaskellDepends = [
19651863 base deepseq mtl old-locale tasty tasty-hunit tasty-quickcheck time
19661864 ];
1967− doHaddock = false;
1968− doCheck = false;
1865+ benchmarkHaskellDepends = [
1866+ base bytestring deepseq gauge mtl old-locale time
1867+ ];
19691868 homepage = "https://github.com/vincenthz/hs-hourglass";
19701869 description = "simple performant time related library";
19711870 license = stdenv.lib.licenses.bsd3;
19721871 }) {};
1872+ "hpack" = callPackage
1873+ ({ mkDerivation, aeson, base, bifunctors, bytestring, Cabal
1874+ , containers, cryptonite, deepseq, directory, filepath, Glob, hspec
1875+ , http-client, http-client-tls, http-types, HUnit, interpolate
1876+ , mockery, pretty, QuickCheck, scientific, template-haskell
1877+ , temporary, text, transformers, unordered-containers, vector, yaml
1878+ }:
1879+ mkDerivation {
1880+ pname = "hpack";
1881+ version = "0.28.2";
1882+ sha256 = "18w0h76jdp3mk9vin8da9iz3cwhcxmw787xy8wlh8bxcpcr16q5r";
1883+ isLibrary = true;
1884+ isExecutable = true;
1885+ libraryHaskellDepends = [
1886+ aeson base bifunctors bytestring Cabal containers cryptonite
1887+ deepseq directory filepath Glob http-client http-client-tls
1888+ http-types pretty scientific text transformers unordered-containers
1889+ vector yaml
1890+ ];
1891+ executableHaskellDepends = [
1892+ aeson base bifunctors bytestring Cabal containers cryptonite
1893+ deepseq directory filepath Glob http-client http-client-tls
1894+ http-types pretty scientific text transformers unordered-containers
1895+ vector yaml
1896+ ];
1897+ testHaskellDepends = [
1898+ aeson base bifunctors bytestring Cabal containers cryptonite
1899+ deepseq directory filepath Glob hspec http-client http-client-tls
1900+ http-types HUnit interpolate mockery pretty QuickCheck scientific
1901+ template-haskell temporary text transformers unordered-containers
1902+ vector yaml
1903+ ];
1904+ homepage = "https://github.com/sol/hpack#readme";
1905+ description = "An alternative format for Haskell packages";
1906+ license = stdenv.lib.licenses.mit;
1907+ }) {};
1908+ "hscolour" = callPackage
1909+ ({ mkDerivation, base, containers }:
1910+ mkDerivation {
1911+ pname = "hscolour";
1912+ version = "1.24.4";
1913+ sha256 = "079jwph4bwllfp03yfr26s5zc6m6kw3nhb1cggrifh99haq34cr4";
1914+ isLibrary = true;
1915+ isExecutable = true;
1916+ enableSeparateDataOutput = true;
1917+ libraryHaskellDepends = [ base containers ];
1918+ executableHaskellDepends = [ base containers ];
1919+ homepage = "http://code.haskell.org/~malcolm/hscolour/";
1920+ description = "Colourise Haskell code";
1921+ license = "LGPL";
1922+ }) {};
19731923 "hspec" = callPackage
19741924 ({ mkDerivation, base, call-stack, directory, hspec-core
19751925 , hspec-discover, hspec-expectations, hspec-meta, HUnit, QuickCheck
@@ -1977,8 +1927,8 @@ self: {
19771927 }:
19781928 mkDerivation {
19791929 pname = "hspec";
1980− version = "2.4.4";
1981− sha256 = "08fg8w38xbhidw3pfn13ag3mnpp3rb1lzp7xpq47cncwv92k46mh";
1930+ version = "2.5.5";
1931+ sha256 = "1yv4k5b5kkig2q3waj28587sq28wms7wfav5a3lq4dra6jybimfm";
19821932 libraryHaskellDepends = [
19831933 base call-stack hspec-core hspec-discover hspec-expectations HUnit
19841934 QuickCheck transformers
@@ -1988,52 +1938,50 @@ self: {
19881938 hspec-expectations hspec-meta HUnit QuickCheck stringbuilder
19891939 transformers
19901940 ];
1991− doHaddock = false;
1992− doCheck = false;
19931941 homepage = "http://hspec.github.io/";
19941942 description = "A Testing Framework for Haskell";
19951943 license = stdenv.lib.licenses.mit;
19961944 }) {};
19971945 "hspec-core" = callPackage
1998− ({ mkDerivation, ansi-terminal, array, async, base, call-stack
1946+ ({ mkDerivation, ansi-terminal, array, base, call-stack, clock
19991947 , deepseq, directory, filepath, hspec-expectations, hspec-meta
20001948 , HUnit, process, QuickCheck, quickcheck-io, random, setenv
2001− , silently, temporary, tf-random, time, transformers
1949+ , silently, stm, temporary, tf-random, transformers
20021950 }:
20031951 mkDerivation {
20041952 pname = "hspec-core";
2005− version = "2.4.4";
2006− sha256 = "1pxzr3l8b9640mh904n51nwlr2338wak23781s48a9kzvwf347b0";
1953+ version = "2.5.5";
1954+ sha256 = "1vfrqlpn32s9wiykmkxbnrnd5p56yznw20pf8fwzw78ar4wpz55x";
20071955 libraryHaskellDepends = [
2008− ansi-terminal array async base call-stack deepseq directory
1956+ ansi-terminal array base call-stack clock deepseq directory
20091957 filepath hspec-expectations HUnit QuickCheck quickcheck-io random
2010− setenv tf-random time transformers
1958+ setenv stm tf-random transformers
20111959 ];
20121960 testHaskellDepends = [
2013− ansi-terminal array async base call-stack deepseq directory
1961+ ansi-terminal array base call-stack clock deepseq directory
20141962 filepath hspec-expectations hspec-meta HUnit process QuickCheck
2015− quickcheck-io random setenv silently temporary tf-random time
1963+ quickcheck-io random setenv silently stm temporary tf-random
20161964 transformers
20171965 ];
2018− doHaddock = false;
2019− doCheck = false;
1966+ testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
20201967 homepage = "http://hspec.github.io/";
20211968 description = "A Testing Framework for Haskell";
20221969 license = stdenv.lib.licenses.mit;
20231970 }) {};
20241971 "hspec-discover" = callPackage
2025− ({ mkDerivation, base, directory, filepath, hspec-meta }:
1972+ ({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
1973+ }:
20261974 mkDerivation {
20271975 pname = "hspec-discover";
2028− version = "2.4.4";
2029− sha256 = "0isx9nc59nw8pkh4r6ynd55dghqnzgrzn9pvrq6ail1y5z3knhkn";
1976+ version = "2.5.5";
1977+ sha256 = "04aidzi91ccr9bygmfkjzshz34z9vh8wvqj4zinx2clxq6r7gqfz";
20301978 isLibrary = true;
20311979 isExecutable = true;
20321980 libraryHaskellDepends = [ base directory filepath ];
20331981 executableHaskellDepends = [ base directory filepath ];
2034− testHaskellDepends = [ base directory filepath hspec-meta ];
2035− doHaddock = false;
2036− doCheck = false;
1982+ testHaskellDepends = [
1983+ base directory filepath hspec-meta QuickCheck
1984+ ];
20371985 homepage = "http://hspec.github.io/";
20381986 description = "Automatically discover and run Hspec tests";
20391987 license = stdenv.lib.licenses.mit;
@@ -2046,8 +1994,6 @@ self: {
20461994 sha256 = "1vxl9zazbaapijr6zmcj72j9wf7ka1pirrjbwddwwddg3zm0g5l1";
20471995 libraryHaskellDepends = [ base call-stack HUnit ];
20481996 testHaskellDepends = [ base call-stack HUnit nanospec ];
2049− doHaddock = false;
2050− doCheck = false;
20511997 homepage = "https://github.com/hspec/hspec-expectations#readme";
20521998 description = "Catchy combinators for HUnit";
20531999 license = stdenv.lib.licenses.mit;
@@ -2058,16 +2004,12 @@ self: {
20582004 }:
20592005 mkDerivation {
20602006 pname = "hspec-megaparsec";
2061− version = "0.3.1";
2062− sha256 = "0kaif74f1qq92nvksnq12h0imsrr02q1nawgprbg1s9cpilq2vw2";
2007+ version = "1.0.0";
2008+ sha256 = "1dafrbzjm7rzwvcpjpk3bsg7bd111xfij94n17sh8wfykzhim5hl";
20632009 libraryHaskellDepends = [
20642010 base containers hspec-expectations megaparsec
20652011 ];
2066− testHaskellDepends = [
2067− base containers hspec hspec-expectations megaparsec
2068− ];
2069− doHaddock = false;
2070− doCheck = false;
2012+ testHaskellDepends = [ base hspec hspec-expectations megaparsec ];
20712013 homepage = "https://github.com/mrkkrp/hspec-megaparsec";
20722014 description = "Utility functions for testing Megaparsec parsers with Hspec";
20732015 license = stdenv.lib.licenses.bsd3;
@@ -2079,8 +2021,8 @@ self: {
20792021 }:
20802022 mkDerivation {
20812023 pname = "hspec-meta";
2082− version = "2.4.4";
2083− sha256 = "117n4j56wfh48xj02mv0wkp10bkr2xkyvwg7n7r2ynp03wrf9ykm";
2024+ version = "2.4.6";
2025+ sha256 = "0qmvk01n79j6skn79r6zalg2pd0x0nqqn9qn8mhg0pgyzcdnfc9b";
20842026 isLibrary = true;
20852027 isExecutable = true;
20862028 libraryHaskellDepends = [
@@ -2093,74 +2035,71 @@ self: {
20932035 filepath hspec-expectations HUnit QuickCheck quickcheck-io random
20942036 setenv time transformers
20952037 ];
2096− doHaddock = false;
2097− doCheck = false;
20982038 homepage = "http://hspec.github.io/";
20992039 description = "A version of Hspec which is used to test Hspec itself";
21002040 license = stdenv.lib.licenses.mit;
21012041 }) {};
21022042 "hspec-smallcheck" = callPackage
2103− ({ mkDerivation, base, hspec, hspec-core, QuickCheck, smallcheck }:
2043+ ({ mkDerivation, base, base-orphans, call-stack, hspec, hspec-core
2044+ , HUnit, QuickCheck, smallcheck
2045+ }:
21042046 mkDerivation {
21052047 pname = "hspec-smallcheck";
2106− version = "0.4.2";
2107− sha256 = "1lsy71ri0lfvs6w1drwa4p69bcy0nrpb62dah3bg4vqwxfrd82ds";
2108− libraryHaskellDepends = [ base hspec-core smallcheck ];
2048+ version = "0.5.2";
2049+ sha256 = "06c1ym793zkdwi4bxk5f4l7m1n1bg5jmnm0p68q2pa9rlhk1lc4s";
2050+ libraryHaskellDepends = [
2051+ base call-stack hspec-core HUnit smallcheck
2052+ ];
21092053 testHaskellDepends = [
2110− base hspec hspec-core QuickCheck smallcheck
2054+ base base-orphans call-stack hspec hspec-core HUnit QuickCheck
2055+ smallcheck
21112056 ];
2112− doHaddock = false;
2113− doCheck = false;
21142057 homepage = "http://hspec.github.io/";
21152058 description = "SmallCheck support for the Hspec testing framework";
21162059 license = stdenv.lib.licenses.mit;
21172060 }) {};
21182061 "html-conduit" = callPackage
2119− ({ mkDerivation, base, bytestring, conduit, conduit-extra
2120− , containers, hspec, HUnit, resourcet, tagstream-conduit, text
2062+ ({ mkDerivation, attoparsec, base, bytestring, conduit
2063+ , conduit-extra, containers, deepseq, hspec, HUnit, resourcet, text
21212064 , transformers, xml-conduit, xml-types
21222065 }:
21232066 mkDerivation {
21242067 pname = "html-conduit";
2125− version = "1.2.1.2";
2126− sha256 = "172ip4rkn2y3mpzjrj2h3nrmxrf90gcl8ax6dgdhrdjsyg4h8vjk";
2068+ version = "1.3.1";
2069+ sha256 = "0dg3sblihi93qn6ax1cwha0cng4zlpmic83ckdylq7s7kwa3rhbi";
21272070 libraryHaskellDepends = [
2128− base bytestring conduit conduit-extra containers resourcet
2129− tagstream-conduit text transformers xml-conduit xml-types
2071+ attoparsec base bytestring conduit conduit-extra containers
2072+ resourcet text transformers xml-conduit xml-types
21302073 ];
21312074 testHaskellDepends = [
2132− base bytestring containers hspec HUnit xml-conduit
2075+ base bytestring containers deepseq hspec HUnit text xml-conduit
21332076 ];
2134− doHaddock = false;
2135− doCheck = false;
21362077 homepage = "https://github.com/snoyberg/xml";
21372078 description = "Parse HTML documents using xml-conduit datatypes";
21382079 license = stdenv.lib.licenses.mit;
21392080 }) {};
21402081 "http-client" = callPackage
2141− ({ mkDerivation, array, async, base, base64-bytestring
2142− , blaze-builder, bytestring, case-insensitive, containers, cookie
2143− , deepseq, directory, exceptions, filepath, ghc-prim, hspec
2144− , http-types, mime-types, monad-control, network, network-uri
2145− , random, streaming-commons, text, time, transformers, zlib
2082+ ({ mkDerivation, array, async, base, blaze-builder, bytestring
2083+ , case-insensitive, containers, cookie, deepseq, directory
2084+ , exceptions, filepath, ghc-prim, hspec, http-types, memory
2085+ , mime-types, monad-control, network, network-uri, random, stm
2086+ , streaming-commons, text, time, transformers, zlib
21462087 }:
21472088 mkDerivation {
21482089 pname = "http-client";
2149− version = "0.5.7.1";
2150− sha256 = "19cvnnfcjj2m3pgs6ivyjs21rw9wx5ynarh6hvb27a76cscai2fy";
2090+ version = "0.5.13.1";
2091+ sha256 = "0szwbgvkkdz56lgi91armkagmb7nnfwbpp4j7cm9zhmffv3ba8g1";
21512092 libraryHaskellDepends = [
2152− array base base64-bytestring blaze-builder bytestring
2153− case-insensitive containers cookie deepseq exceptions filepath
2154− ghc-prim http-types mime-types network network-uri random
2155− streaming-commons text time transformers
2093+ array base blaze-builder bytestring case-insensitive containers
2094+ cookie deepseq exceptions filepath ghc-prim http-types memory
2095+ mime-types network network-uri random stm streaming-commons text
2096+ time transformers
21562097 ];
21572098 testHaskellDepends = [
2158− async base base64-bytestring blaze-builder bytestring
2159− case-insensitive containers deepseq directory hspec http-types
2160− monad-control network network-uri streaming-commons text time
2161− transformers zlib
2099+ async base blaze-builder bytestring case-insensitive containers
2100+ deepseq directory hspec http-types monad-control network
2101+ network-uri streaming-commons text time transformers zlib
21622102 ];
2163− doHaddock = false;
21642103 doCheck = false;
21652104 homepage = "https://github.com/snoyberg/http-client";
21662105 description = "An HTTP client engine";
@@ -2168,21 +2107,23 @@ self: {
21682107 }) {};
21692108 "http-client-tls" = callPackage
21702109 ({ mkDerivation, base, bytestring, case-insensitive, connection
2171− , containers, cryptonite, data-default-class, exceptions, hspec
2172− , http-client, http-types, memory, network, network-uri, text, tls
2173− , transformers
2110+ , containers, cryptonite, data-default-class, exceptions, gauge
2111+ , hspec, http-client, http-types, memory, network, network-uri
2112+ , text, tls, transformers
21742113 }:
21752114 mkDerivation {
21762115 pname = "http-client-tls";
2177− version = "0.3.5.1";
2178− sha256 = "0n4mi8z77qaggfyq17z79cl304nf1f4h6gag60v4wjwghvmj7yn1";
2116+ version = "0.3.5.3";
2117+ sha256 = "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7";
21792118 libraryHaskellDepends = [
21802119 base bytestring case-insensitive connection containers cryptonite
21812120 data-default-class exceptions http-client http-types memory network
21822121 network-uri text tls transformers
21832122 ];
2184− testHaskellDepends = [ base hspec http-client http-types ];
2185− doHaddock = false;
2123+ testHaskellDepends = [
2124+ base connection hspec http-client http-types
2125+ ];
2126+ benchmarkHaskellDepends = [ base gauge http-client ];
21862127 doCheck = false;
21872128 homepage = "https://github.com/snoyberg/http-client";
21882129 description = "http-client backend using the connection package and tls library";
@@ -2191,29 +2132,28 @@ self: {
21912132 "http-conduit" = callPackage
21922133 ({ mkDerivation, aeson, base, blaze-builder, bytestring
21932134 , case-insensitive, conduit, conduit-extra, connection, cookie
2194− , data-default-class, exceptions, hspec, http-client
2195− , http-client-tls, http-types, HUnit, lifted-base, monad-control
2196− , mtl, network, resourcet, streaming-commons, temporary, text, time
2197− , transformers, utf8-string, wai, wai-conduit, warp, warp-tls
2135+ , data-default-class, hspec, http-client, http-client-tls
2136+ , http-types, HUnit, mtl, network, resourcet, streaming-commons
2137+ , temporary, text, time, transformers, unliftio, unliftio-core
2138+ , utf8-string, wai, wai-conduit, warp, warp-tls
21982139 }:
21992140 mkDerivation {
22002141 pname = "http-conduit";
2201− version = "2.2.3.2";
2202− sha256 = "1f0yqka43gp7vhv7yr4q6pqr8qw0qq2yh4y2lnayhc876zpw6ng3";
2142+ version = "2.3.2";
2143+ sha256 = "1iay4hr0mj8brkxvgkv1liqa8irl9axfc3qhn8qsvcyq4n1l95km";
2144+ revision = "1";
2145+ editedCabalFile = "0g6rg8r33q5rmrx5287vjfcqwjacchgzyfc8aqqrhrfz3fq5ll0g";
22032146 libraryHaskellDepends = [
2204− aeson base bytestring conduit conduit-extra exceptions http-client
2205− http-client-tls http-types lifted-base monad-control mtl resourcet
2206− transformers
2147+ aeson base bytestring conduit conduit-extra http-client
2148+ http-client-tls http-types mtl resourcet transformers unliftio-core
22072149 ];
22082150 testHaskellDepends = [
22092151 aeson base blaze-builder bytestring case-insensitive conduit
22102152 conduit-extra connection cookie data-default-class hspec
2211− http-client http-types HUnit lifted-base network resourcet
2212− streaming-commons temporary text time transformers utf8-string wai
2153+ http-client http-types HUnit network resourcet streaming-commons
2154+ temporary text time transformers unliftio utf8-string wai
22132155 wai-conduit warp warp-tls
22142156 ];
2215− doHaddock = false;
2216− doCheck = false;
22172157 homepage = "http://www.yesodweb.com/book/http-conduit";
22182158 description = "HTTP client package with conduit interface and HTTPS support";
22192159 license = stdenv.lib.licenses.bsd3;
@@ -2224,44 +2164,39 @@ self: {
22242164 }:
22252165 mkDerivation {
22262166 pname = "http-date";
2227− version = "0.0.6.1";
2228− sha256 = "0dknh28kyarnzqrsc80ssalxjrq0qbv7ir49247p2grb7rh0dqgj";
2229− libraryHaskellDepends = [ array attoparsec base bytestring ];
2167+ version = "0.0.7";
2168+ sha256 = "1hpzs646qqzp2g2qy7rx1bf3knf1hw38n82vcq6bs4mm1xzdryff";
2169+ libraryHaskellDepends = [ array attoparsec base bytestring time ];
22302170 testHaskellDepends = [
22312171 base bytestring doctest hspec old-locale time
22322172 ];
2233− doHaddock = false;
2234− doCheck = false;
22352173 description = "HTTP Date parser/formatter";
22362174 license = stdenv.lib.licenses.bsd3;
22372175 }) {};
22382176 "http-types" = callPackage
2239− ({ mkDerivation, array, base, blaze-builder, bytestring
2240− , case-insensitive, doctest, hspec, QuickCheck
2241− , quickcheck-instances, text
2177+ ({ mkDerivation, array, base, bytestring, case-insensitive, doctest
2178+ , hspec, QuickCheck, quickcheck-instances, text
22422179 }:
22432180 mkDerivation {
22442181 pname = "http-types";
2245− version = "0.9.1";
2246− sha256 = "0l7mnvqyppxpnq6ds4a9f395zdbl22z3sxiry1myfs8wvj669vbv";
2182+ version = "0.12.1";
2183+ sha256 = "1wv9k6nlvkdsxwlr7gaynphvzmvi5211gvwq96mbcxgk51a739rz";
22472184 libraryHaskellDepends = [
2248− array base blaze-builder bytestring case-insensitive text
2185+ array base bytestring case-insensitive text
22492186 ];
22502187 testHaskellDepends = [
2251− base blaze-builder bytestring doctest hspec QuickCheck
2252− quickcheck-instances text
2188+ base bytestring doctest hspec QuickCheck quickcheck-instances text
22532189 ];
2254− doHaddock = false;
2255− doCheck = false;
22562190 homepage = "https://github.com/aristidb/http-types";
22572191 description = "Generic HTTP types for Haskell (for both client and server code)";
22582192 license = stdenv.lib.licenses.bsd3;
22592193 }) {};
22602194 "http2" = callPackage
22612195 ({ mkDerivation, aeson, aeson-pretty, array, base, bytestring
2262− , bytestring-builder, case-insensitive, containers, directory
2263− , doctest, filepath, Glob, hex, hspec, psqueues, stm, text
2264− , unordered-containers, vector, word8
2196+ , bytestring-builder, case-insensitive, containers, criterion
2197+ , directory, doctest, filepath, Glob, hashtables, heaps, hex, hspec
2198+ , mwc-random, psqueues, stm, text, unordered-containers, vector
2199+ , word8
22652200 }:
22662201 mkDerivation {
22672202 pname = "http2";
@@ -2273,22 +2208,33 @@ self: {
22732208 array base bytestring bytestring-builder case-insensitive
22742209 containers psqueues stm
22752210 ];
2276− executableHaskellDepends = [
2277− aeson aeson-pretty array base bytestring bytestring-builder
2278− case-insensitive containers directory filepath hex text
2279− unordered-containers vector word8
2280− ];
22812211 testHaskellDepends = [
22822212 aeson aeson-pretty array base bytestring bytestring-builder
22832213 case-insensitive containers directory doctest filepath Glob hex
22842214 hspec psqueues stm text unordered-containers vector word8
22852215 ];
2286− doHaddock = false;
2287− doCheck = false;
2216+ benchmarkHaskellDepends = [
2217+ array base bytestring case-insensitive containers criterion
2218+ hashtables heaps mwc-random psqueues stm
2219+ ];
22882220 homepage = "https://github.com/kazu-yamamoto/http2";
22892221 description = "HTTP/2 library including frames, priority queues and HPACK";
22902222 license = stdenv.lib.licenses.bsd3;
22912223 }) {};
2224+ "httpd-shed" = callPackage
2225+ ({ mkDerivation, base, network, network-uri }:
2226+ mkDerivation {
2227+ pname = "httpd-shed";
2228+ version = "0.4.0.3";
2229+ sha256 = "064jy1mqhnf1hvq6s04wlhmp916rd522x58djb9qixv13vc8gzxh";
2230+ revision = "1";
2231+ editedCabalFile = "159cjn9j8lq00gj2yvrzp81r37av25f83chsimp88h55zm9z8akw";
2232+ isLibrary = true;
2233+ isExecutable = true;
2234+ libraryHaskellDepends = [ base network network-uri ];
2235+ description = "A simple web-server with an interact style API";
2236+ license = stdenv.lib.licenses.bsd3;
2237+ }) {};
22922238 "ieee754" = callPackage
22932239 ({ mkDerivation, base }:
22942240 mkDerivation {
@@ -2296,28 +2242,25 @@ self: {
22962242 version = "0.8.0";
22972243 sha256 = "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f";
22982244 libraryHaskellDepends = [ base ];
2299− doHaddock = false;
2300− doCheck = false;
23012245 homepage = "http://github.com/patperry/hs-ieee754";
23022246 description = "Utilities for dealing with IEEE floating point numbers";
23032247 license = stdenv.lib.licenses.bsd3;
23042248 }) {};
23052249 "inflections" = callPackage
2306− ({ mkDerivation, base, exceptions, hspec, hspec-megaparsec
2307− , megaparsec, QuickCheck, text, unordered-containers
2250+ ({ mkDerivation, base, containers, exceptions, hspec
2251+ , hspec-megaparsec, megaparsec, QuickCheck, text
2252+ , unordered-containers
23082253 }:
23092254 mkDerivation {
23102255 pname = "inflections";
2311− version = "0.3.0.0";
2312− sha256 = "1w96i4rnsxxzrjjvqzjs7dqbs4h4nrdw84cxvizb4bq19y0cp483";
2256+ version = "0.4.0.3";
2257+ sha256 = "028dj9pgs5g6qb9x1hc8r4rn0rznr1ynn79vln48k2llyf2r38dx";
23132258 libraryHaskellDepends = [
23142259 base exceptions megaparsec text unordered-containers
23152260 ];
23162261 testHaskellDepends = [
2317− base hspec hspec-megaparsec megaparsec QuickCheck text
2262+ base containers hspec hspec-megaparsec megaparsec QuickCheck text
23182263 ];
2319− doHaddock = false;
2320− doCheck = false;
23212264 homepage = "https://github.com/stackbuilders/inflections-hs";
23222265 description = "Inflections library for Haskell";
23232266 license = stdenv.lib.licenses.mit;
@@ -2326,13 +2269,13 @@ self: {
23262269 ({ mkDerivation, attoparsec, base, text, unordered-containers }:
23272270 mkDerivation {
23282271 pname = "ini";
2329− version = "0.3.5";
2330− sha256 = "1iicavbjr4qmlcdxh32cgqxlxd80xvzyxxskrs3hji1qzrnq7lxz";
2272+ version = "0.3.6";
2273+ sha256 = "1n9wsl7nz910bc8jx9ps7pvpql4hlnryjkqbdpfq0phjb9sf7fzw";
2274+ revision = "1";
2275+ editedCabalFile = "0gfikdal67aws20i5r4wg4r0lgn844glykcn3nnmbmyvwsks049l";
23312276 libraryHaskellDepends = [
23322277 attoparsec base text unordered-containers
23332278 ];
2334− doHaddock = false;
2335− doCheck = false;
23362279 homepage = "http://github.com/chrisdone/ini";
23372280 description = "Quick and easy configuration files in the INI format";
23382281 license = stdenv.lib.licenses.bsd3;
@@ -2341,23 +2284,62 @@ self: {
23412284 ({ mkDerivation, array, base, ghc-prim, integer-gmp }:
23422285 mkDerivation {
23432286 pname = "integer-logarithms";
2344− version = "1.0.2";
2345− sha256 = "0w5mhak181zi6qr5h2zbcs9ymaqacisp9jwk99naz6s8zz5rq1ii";
2287+ version = "1.0.2.1";
2288+ sha256 = "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j";
23462289 libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
2347− doHaddock = false;
23482290 doCheck = false;
23492291 homepage = "https://github.com/phadej/integer-logarithms";
23502292 description = "Integer logarithms";
23512293 license = stdenv.lib.licenses.mit;
23522294 }) {};
2295+ "interpolate" = callPackage
2296+ ({ mkDerivation, base, base-compat, bytestring, haskell-src-meta
2297+ , hspec, QuickCheck, quickcheck-instances, template-haskell, text
2298+ }:
2299+ mkDerivation {
2300+ pname = "interpolate";
2301+ version = "0.2.0";
2302+ sha256 = "1gkaj98yz363v38fv78sqby236mp8yqwqcilx7kr2b9z0w3204bf";
2303+ libraryHaskellDepends = [ base haskell-src-meta template-haskell ];
2304+ testHaskellDepends = [
2305+ base base-compat bytestring haskell-src-meta hspec QuickCheck
2306+ quickcheck-instances template-haskell text
2307+ ];
2308+ homepage = "https://github.com/sol/interpolate#readme";
2309+ description = "String interpolation done right";
2310+ license = stdenv.lib.licenses.mit;
2311+ }) {};
2312+ "invariant" = callPackage
2313+ ({ mkDerivation, array, base, bifunctors, comonad, containers
2314+ , contravariant, ghc-prim, hspec, hspec-discover, profunctors
2315+ , QuickCheck, semigroups, StateVar, stm, tagged, template-haskell
2316+ , th-abstraction, transformers, transformers-compat
2317+ , unordered-containers
2318+ }:
2319+ mkDerivation {
2320+ pname = "invariant";
2321+ version = "0.5.1";
2322+ sha256 = "0aqj7z55632qdg45074kgn9qfdxzb0a2f8lgjzr0l0i4mm2rr37b";
2323+ libraryHaskellDepends = [
2324+ array base bifunctors comonad containers contravariant ghc-prim
2325+ profunctors semigroups StateVar stm tagged template-haskell
2326+ th-abstraction transformers transformers-compat
2327+ unordered-containers
2328+ ];
2329+ testHaskellDepends = [ base hspec QuickCheck template-haskell ];
2330+ testToolDepends = [ hspec-discover ];
2331+ homepage = "https://github.com/nfrisby/invariant-functors";
2332+ description = "Haskell98 invariant functors";
2333+ license = stdenv.lib.licenses.bsd2;
2334+ }) {};
23532335 "iproute" = callPackage
23542336 ({ mkDerivation, appar, base, byteorder, containers, doctest, hspec
23552337 , network, QuickCheck, safe
23562338 }:
23572339 mkDerivation {
23582340 pname = "iproute";
2359− version = "1.7.1";
2360− sha256 = "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p";
2341+ version = "1.7.5";
2342+ sha256 = "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd";
23612343 libraryHaskellDepends = [
23622344 appar base byteorder containers network
23632345 ];
@@ -2365,48 +2347,68 @@ self: {
23652347 appar base byteorder containers doctest hspec network QuickCheck
23662348 safe
23672349 ];
2368− doHaddock = false;
2369− doCheck = false;
23702350 homepage = "http://www.mew.org/~kazu/proj/iproute/";
23712351 description = "IP Routing Table";
23722352 license = stdenv.lib.licenses.bsd3;
23732353 }) {};
2354+ "js-flot" = callPackage
2355+ ({ mkDerivation, base, HTTP }:
2356+ mkDerivation {
2357+ pname = "js-flot";
2358+ version = "0.8.3";
2359+ sha256 = "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv";
2360+ enableSeparateDataOutput = true;
2361+ libraryHaskellDepends = [ base ];
2362+ testHaskellDepends = [ base HTTP ];
2363+ homepage = "https://github.com/ndmitchell/js-flot#readme";
2364+ description = "Obtain minified flot code";
2365+ license = stdenv.lib.licenses.mit;
2366+ }) {};
2367+ "js-jquery" = callPackage
2368+ ({ mkDerivation, base, HTTP }:
2369+ mkDerivation {
2370+ pname = "js-jquery";
2371+ version = "3.3.1";
2372+ sha256 = "16q68jzbs7kp07dnq8cprdcc8fd41rim38039vg0w4x11lgniq70";
2373+ enableSeparateDataOutput = true;
2374+ libraryHaskellDepends = [ base ];
2375+ testHaskellDepends = [ base HTTP ];
2376+ homepage = "https://github.com/ndmitchell/js-jquery#readme";
2377+ description = "Obtain minified jQuery code";
2378+ license = stdenv.lib.licenses.mit;
2379+ }) {};
23742380 "kan-extensions" = callPackage
23752381 ({ mkDerivation, adjunctions, array, base, comonad, containers
2376− , contravariant, distributive, fail, free, mtl, semigroupoids
2377− , tagged, transformers
2382+ , contravariant, distributive, free, invariant, mtl, profunctors
2383+ , semigroupoids, tagged, transformers, transformers-compat
23782384 }:
23792385 mkDerivation {
23802386 pname = "kan-extensions";
2381− version = "5.0.2";
2382− sha256 = "0bj88bgwxlx490f5r979idsm9dpdsb0ldzar9sa0jhj2jn2xx7hw";
2387+ version = "5.2";
2388+ sha256 = "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb";
23832389 libraryHaskellDepends = [
23842390 adjunctions array base comonad containers contravariant
2385− distributive fail free mtl semigroupoids tagged transformers
2391+ distributive free invariant mtl profunctors semigroupoids tagged
2392+ transformers transformers-compat
23862393 ];
2387− doHaddock = false;
2388− doCheck = false;
23892394 homepage = "http://github.com/ekmett/kan-extensions/";
2390− description = "Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density (co)monads";
2395+ description = "Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads";
23912396 license = stdenv.lib.licenses.bsd3;
23922397 }) {};
23932398 "keys" = callPackage
23942399 ({ mkDerivation, array, base, comonad, containers, free, hashable
2395− , semigroupoids, semigroups, transformers, transformers-compat
2396− , unordered-containers
2400+ , semigroupoids, semigroups, tagged, transformers
2401+ , transformers-compat, unordered-containers
23972402 }:
23982403 mkDerivation {
23992404 pname = "keys";
2400− version = "3.11";
2401− sha256 = "1cn45h27hxwb4ci1iyd2qn0fzyb2y85qq4821a9xm37bwsvrgwqc";
2402− revision = "1";
2403− editedCabalFile = "1lyg4wyi7mkqvbfl9lvfln3j4vys47jih56zyjba7nx36kbw185i";
2405+ version = "3.12.1";
2406+ sha256 = "1yqm4gpshsgswx6w78z64c83gpydh6jhgslx2lnc10nzhy0s9kkz";
24042407 libraryHaskellDepends = [
24052408 array base comonad containers free hashable semigroupoids
2406− semigroups transformers transformers-compat unordered-containers
2409+ semigroups tagged transformers transformers-compat
2410+ unordered-containers
24072411 ];
2408− doHaddock = false;
2409− doCheck = false;
24102412 homepage = "http://github.com/ekmett/keys/";
24112413 description = "Keyed functors and containers";
24122414 license = stdenv.lib.licenses.bsd3;
@@ -2418,8 +2420,6 @@ self: {
24182420 version = "0.2.4";
24192421 sha256 = "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl";
24202422 libraryHaskellDepends = [ base regex-posix template-haskell ];
2421− doHaddock = false;
2422− doCheck = false;
24232423 homepage = "http://github.com/finnsson/template-helper";
24242424 description = "Module to automatically extract functions from the local code";
24252425 license = stdenv.lib.licenses.bsd3;
@@ -2440,8 +2440,6 @@ self: {
24402440 testHaskellDepends = [
24412441 base base-compat Cabal deepseq doctest lens pretty QuickCheck
24422442 ];
2443− doHaddock = false;
2444− doCheck = false;
24452443 homepage = "https://github.com/peti/language-nix#readme";
24462444 description = "Data types and useful functions to represent and manipulate the Nix language";
24472445 license = stdenv.lib.licenses.bsd3;
@@ -2449,9 +2447,9 @@ self: {
24492447 "lens" = callPackage
24502448 ({ mkDerivation, array, base, base-orphans, bifunctors, bytestring
24512449 , Cabal, cabal-doctest, call-stack, comonad, containers
2452− , contravariant, deepseq, directory, distributive, doctest
2453− , exceptions, filepath, free, generic-deriving, ghc-prim, hashable
2454− , HUnit, kan-extensions, mtl, nats, parallel, profunctors
2450+ , contravariant, criterion, deepseq, directory, distributive
2451+ , doctest, exceptions, filepath, free, generic-deriving, ghc-prim
2452+ , hashable, HUnit, kan-extensions, mtl, nats, parallel, profunctors
24552453 , QuickCheck, reflection, semigroupoids, semigroups, simple-reflect
24562454 , tagged, template-haskell, test-framework, test-framework-hunit
24572455 , test-framework-quickcheck2, test-framework-th, text
@@ -2460,8 +2458,10 @@ self: {
24602458 }:
24612459 mkDerivation {
24622460 pname = "lens";
2463− version = "4.15.4";
2464− sha256 = "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl";
2461+ version = "4.16.1";
2462+ sha256 = "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm";
2463+ revision = "2";
2464+ editedCabalFile = "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri";
24652465 setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
24662466 libraryHaskellDepends = [
24672467 array base base-orphans bifunctors bytestring call-stack comonad
@@ -2478,43 +2478,52 @@ self: {
24782478 test-framework-quickcheck2 test-framework-th text transformers
24792479 unordered-containers vector
24802480 ];
2481− doHaddock = false;
2482− doCheck = false;
2481+ benchmarkHaskellDepends = [
2482+ base bytestring comonad containers criterion deepseq
2483+ generic-deriving transformers unordered-containers vector
2484+ ];
24832485 homepage = "http://github.com/ekmett/lens/";
24842486 description = "Lenses, Folds and Traversals";
24852487 license = stdenv.lib.licenses.bsd2;
24862488 }) {};
24872489 "lifted-async" = callPackage
2488− ({ mkDerivation, async, base, constraints, HUnit, lifted-base
2489− , monad-control, mtl, tasty, tasty-hunit, tasty-th
2490− , transformers-base
2490+ ({ mkDerivation, async, base, constraints, criterion, deepseq
2491+ , HUnit, lifted-base, monad-control, mtl, tasty
2492+ , tasty-expected-failure, tasty-hunit, tasty-th, transformers-base
24912493 }:
24922494 mkDerivation {
24932495 pname = "lifted-async";
2494− version = "0.9.3";
2495− sha256 = "0qdlc64kf02g97rzpragm4943ppy2cx74kbjcpbv32jcyc3q75wp";
2496+ version = "0.10.0.2";
2497+ sha256 = "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf";
24962498 libraryHaskellDepends = [
24972499 async base constraints lifted-base monad-control transformers-base
24982500 ];
24992501 testHaskellDepends = [
2500− async base HUnit lifted-base monad-control mtl tasty tasty-hunit
2501− tasty-th
2502+ async base HUnit lifted-base monad-control mtl tasty
2503+ tasty-expected-failure tasty-hunit tasty-th
25022504 ];
2503− doHaddock = false;
2504− doCheck = false;
2505+ benchmarkHaskellDepends = [ async base criterion deepseq ];
25052506 homepage = "https://github.com/maoe/lifted-async";
25062507 description = "Run lifted IO operations asynchronously and wait for their results";
25072508 license = stdenv.lib.licenses.bsd3;
25082509 }) {};
25092510 "lifted-base" = callPackage
2510− ({ mkDerivation, base, monad-control, transformers-base }:
2511+ ({ mkDerivation, base, criterion, HUnit, monad-control, monad-peel
2512+ , test-framework, test-framework-hunit, transformers
2513+ , transformers-base, transformers-compat
2514+ }:
25112515 mkDerivation {
25122516 pname = "lifted-base";
2513− version = "0.2.3.11";
2514− sha256 = "1ass00wfa91z5xp2xmm97xrvwm7j5hdkxid5cqvr3xbwrsgpmi4f";
2517+ version = "0.2.3.12";
2518+ sha256 = "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61";
25152519 libraryHaskellDepends = [ base monad-control transformers-base ];
2516− doHaddock = false;
2517− doCheck = false;
2520+ testHaskellDepends = [
2521+ base HUnit monad-control test-framework test-framework-hunit
2522+ transformers transformers-base transformers-compat
2523+ ];
2524+ benchmarkHaskellDepends = [
2525+ base criterion monad-control monad-peel transformers
2526+ ];
25182527 homepage = "https://github.com/basvandijk/lifted-base";
25192528 description = "lifted IO operations from the base library";
25202529 license = stdenv.lib.licenses.bsd3;
@@ -2527,8 +2536,6 @@ self: {
25272536 sha256 = "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf";
25282537 libraryHaskellDepends = [ base call-stack transformers ];
25292538 testHaskellDepends = [ base hspec ];
2530− doHaddock = false;
2531− doCheck = false;
25322539 homepage = "https://github.com/sol/logging-facade#readme";
25332540 description = "Simple logging abstraction that allows multiple back-ends";
25342541 license = stdenv.lib.licenses.mit;
@@ -2540,21 +2547,21 @@ self: {
25402547 version = "0.6.0.2";
25412548 sha256 = "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi";
25422549 libraryHaskellDepends = [ base mtl ];
2543− doHaddock = false;
2544− doCheck = false;
25452550 homepage = "http://code.haskell.org/~dolio/";
25462551 description = "A backtracking logic-programming monad";
25472552 license = stdenv.lib.licenses.bsd3;
25482553 }) {};
25492554 "lucid" = callPackage
25502555 ({ mkDerivation, base, bifunctors, blaze-builder, bytestring
2551− , containers, hashable, hspec, HUnit, mmorph, mtl, parsec, text
2552− , transformers, unordered-containers
2556+ , containers, criterion, deepseq, hashable, hspec, HUnit, mmorph
2557+ , mtl, parsec, text, transformers, unordered-containers
25532558 }:
25542559 mkDerivation {
25552560 pname = "lucid";
2556− version = "2.9.9";
2557− sha256 = "0cqdlm1kamfn8kv3r3vphz16j2xi9yf15kpb6440rhsyvwddbani";
2561+ version = "2.9.10";
2562+ sha256 = "14238cnrvkbr81hpaqg1r342sryj8k0p6igkwf140s9phfpdzry0";
2563+ revision = "1";
2564+ editedCabalFile = "0n94x2havrvks85z8azsa4pvz33amhb444cias3kfxmkyvypn5ah";
25582565 libraryHaskellDepends = [
25592566 base blaze-builder bytestring containers hashable mmorph mtl text
25602567 transformers unordered-containers
@@ -2562,8 +2569,9 @@ self: {
25622569 testHaskellDepends = [
25632570 base bifunctors hspec HUnit mtl parsec text
25642571 ];
2565− doHaddock = false;
2566− doCheck = false;
2572+ benchmarkHaskellDepends = [
2573+ base blaze-builder bytestring criterion deepseq text transformers
2574+ ];
25672575 homepage = "https://github.com/chrisdone/lucid";
25682576 description = "Clear to write, read and edit DSL for HTML";
25692577 license = stdenv.lib.licenses.bsd3;
@@ -2585,62 +2593,82 @@ self: {
25852593 test-framework-hunit test-framework-quickcheck2 vector
25862594 vector-th-unbox
25872595 ];
2588− doHaddock = false;
25892596 doCheck = false;
25902597 homepage = "https://github.com/bos/math-functions";
25912598 description = "Special functions and Chebyshev polynomials";
25922599 license = stdenv.lib.licenses.bsd3;
25932600 }) {};
25942601 "megaparsec" = callPackage
2595− ({ mkDerivation, base, bytestring, containers, deepseq, exceptions
2596− , hspec, hspec-expectations, mtl, QuickCheck, scientific, text
2597− , transformers
2602+ ({ mkDerivation, base, bytestring, case-insensitive, containers
2603+ , criterion, deepseq, hspec, hspec-discover, hspec-expectations
2604+ , mtl, parser-combinators, QuickCheck, scientific, text
2605+ , transformers, weigh
25982606 }:
25992607 mkDerivation {
26002608 pname = "megaparsec";
2601− version = "5.3.1";
2602− sha256 = "06myn8l6jcbd494i3wr6q27npbbxd6c2gfkd2jdzwbjqjqbpv0j8";
2609+ version = "6.5.0";
2610+ sha256 = "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy";
2611+ revision = "2";
2612+ editedCabalFile = "0ahvqr29ym3g46yv2jxniccyn1ng1yqicqdbamkzm89gjnxd9n25";
26032613 libraryHaskellDepends = [
2604− base bytestring containers deepseq exceptions mtl QuickCheck
2605− scientific text transformers
2614+ base bytestring case-insensitive containers deepseq mtl
2615+ parser-combinators scientific text transformers
26062616 ];
26072617 testHaskellDepends = [
2608− base bytestring containers exceptions hspec hspec-expectations mtl
2609− QuickCheck scientific text transformers
2618+ base bytestring containers hspec hspec-expectations mtl QuickCheck
2619+ scientific text transformers
26102620 ];
2611− doHaddock = false;
2612− doCheck = false;
2621+ testToolDepends = [ hspec-discover ];
2622+ benchmarkHaskellDepends = [ base criterion deepseq text weigh ];
26132623 homepage = "https://github.com/mrkkrp/megaparsec";
26142624 description = "Monadic parser combinators";
26152625 license = stdenv.lib.licenses.bsd2;
26162626 }) {};
26172627 "memory" = callPackage
2618− ({ mkDerivation, base, basement, bytestring, deepseq, ghc-prim
2619− , tasty, tasty-hunit, tasty-quickcheck
2628+ ({ mkDerivation, base, basement, bytestring, deepseq, foundation
2629+ , ghc-prim
26202630 }:
26212631 mkDerivation {
26222632 pname = "memory";
2623− version = "0.14.9";
2624− sha256 = "1v8fjw0dgnyw6jhrpzfyxf63ky1lyrfapb8x28lj25q2xw6zx8s5";
2633+ version = "0.14.16";
2634+ sha256 = "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v";
26252635 libraryHaskellDepends = [
2626− base basement bytestring deepseq ghc-prim
2636+ base basement bytestring deepseq foundation ghc-prim
26272637 ];
2628− testHaskellDepends = [ base tasty tasty-hunit tasty-quickcheck ];
2629− doHaddock = false;
2630− doCheck = false;
2638+ testHaskellDepends = [ base basement bytestring foundation ];
26312639 homepage = "https://github.com/vincenthz/hs-memory";
26322640 description = "memory and related abstraction stuff";
26332641 license = stdenv.lib.licenses.bsd3;
26342642 }) {};
2643+ "microstache" = callPackage
2644+ ({ mkDerivation, aeson, base, bytestring, containers, deepseq
2645+ , directory, filepath, hspec, parsec, text, transformers
2646+ , unordered-containers, vector
2647+ }:
2648+ mkDerivation {
2649+ pname = "microstache";
2650+ version = "1.0.1.1";
2651+ sha256 = "0851sqr1ppdj6m822635pa3j6qzdf25gyrhkjs25zdry6518bsax";
2652+ revision = "2";
2653+ editedCabalFile = "0rl6vgmjnf1a14kiynh4gnmy6n6kkik9hqj9k5vqw68h4f110i4b";
2654+ libraryHaskellDepends = [
2655+ aeson base bytestring containers deepseq directory filepath parsec
2656+ text transformers unordered-containers vector
2657+ ];
2658+ testHaskellDepends = [
2659+ aeson base bytestring containers hspec parsec text
2660+ ];
2661+ homepage = "https://github.com/phadej/microstache";
2662+ description = "Mustache templates for Haskell";
2663+ license = stdenv.lib.licenses.bsd3;
2664+ }) {};
26352665 "mime-types" = callPackage
26362666 ({ mkDerivation, base, bytestring, containers, text }:
26372667 mkDerivation {
26382668 pname = "mime-types";
2639− version = "0.1.0.7";
2640− sha256 = "1fg9cqpp5lswk8ajlq4f41n12c2v2naz179l8dsz6zisjqj4l5l3";
2669+ version = "0.1.0.8";
2670+ sha256 = "14ccl2842ya17zyj0bpc7vzklbyqvvydpbypn69h2fmhgji192x8";
26412671 libraryHaskellDepends = [ base bytestring containers text ];
2642− doHaddock = false;
2643− doCheck = false;
26442672 homepage = "https://github.com/yesodweb/wai";
26452673 description = "Basic mime-type handling types and functions";
26462674 license = stdenv.lib.licenses.mit;
@@ -2649,15 +2677,11 @@ self: {
26492677 ({ mkDerivation, base, mtl, transformers, transformers-compat }:
26502678 mkDerivation {
26512679 pname = "mmorph";
2652− version = "1.0.9";
2653− sha256 = "0qs5alhy719a14lrs7rnh2qsn1146czg68gvgylf4m5jh4w7vwp1";
2654− revision = "1";
2655− editedCabalFile = "1xxf78qi08qsis2q785s0ra29wjxnxw8pyns0dsqp4a6cybd3mjd";
2680+ version = "1.1.2";
2681+ sha256 = "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9";
26562682 libraryHaskellDepends = [
26572683 base mtl transformers transformers-compat
26582684 ];
2659− doHaddock = false;
2660− doCheck = false;
26612685 description = "Monad morphisms";
26622686 license = stdenv.lib.licenses.bsd3;
26632687 }) {};
@@ -2677,8 +2701,6 @@ self: {
26772701 base base-compat bytestring directory filepath hspec logging-facade
26782702 temporary
26792703 ];
2680− doHaddock = false;
2681− doCheck = false;
26822704 description = "Support functions for automated testing";
26832705 license = stdenv.lib.licenses.mit;
26842706 }) {};
@@ -2688,13 +2710,11 @@ self: {
26882710 }:
26892711 mkDerivation {
26902712 pname = "monad-control";
2691− version = "1.0.2.2";
2692− sha256 = "0cz4ww3vp96crdqrh7w86rzrs7gs8c1z7rq84yxxhbiz28fs4d0y";
2713+ version = "1.0.2.3";
2714+ sha256 = "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c";
26932715 libraryHaskellDepends = [
26942716 base stm transformers transformers-base transformers-compat
26952717 ];
2696− doHaddock = false;
2697− doCheck = false;
26982718 homepage = "https://github.com/basvandijk/monad-control";
26992719 description = "Lift control operations, like exception catching, through monad transformers";
27002720 license = stdenv.lib.licenses.bsd3;
@@ -2707,8 +2727,6 @@ self: {
27072727 sha256 = "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky";
27082728 libraryHaskellDepends = [ base ];
27092729 testHaskellDepends = [ base tasty tasty-hunit ];
2710− doHaddock = false;
2711− doCheck = false;
27122730 homepage = "https://github.com/mokus0/monad-loops";
27132731 description = "Monadic loops";
27142732 license = stdenv.lib.licenses.publicDomain;
@@ -2733,8 +2751,6 @@ self: {
27332751 test-framework-hunit test-framework-quickcheck2 test-framework-th
27342752 time
27352753 ];
2736− doHaddock = false;
2737− doCheck = false;
27382754 homepage = "https://github.com/simonmar/monad-par";
27392755 description = "A library for parallel programming based on a monad";
27402756 license = stdenv.lib.licenses.bsd3;
@@ -2750,69 +2766,39 @@ self: {
27502766 libraryHaskellDepends = [
27512767 abstract-par base cereal deepseq mtl random transformers
27522768 ];
2753− doHaddock = false;
2754− doCheck = false;
27552769 homepage = "https://github.com/simonmar/monad-par";
27562770 description = "Combinators and extra features for Par monads";
27572771 license = stdenv.lib.licenses.bsd3;
27582772 }) {};
2759− "monad-unlift" = callPackage
2760− ({ mkDerivation, base, constraints, monad-control, transformers
2761− , transformers-base
2773+ "monad-peel" = callPackage
2774+ ({ mkDerivation, base, extensible-exceptions, HUnit, test-framework
2775+ , test-framework-hunit, transformers
27622776 }:
27632777 mkDerivation {
2764− pname = "monad-unlift";
2765− version = "0.2.0";
2766− sha256 = "03zf2nd00ds12rrbp3qn7pr9vaw1npzswrzcnhc1k0p436366pjb";
2778+ pname = "monad-peel";
2779+ version = "0.2.1.2";
2780+ sha256 = "1x1kr5pk8ksw8xcm19c50jx8m0crf3m3qp73k31dnl9r1w4ykm9d";
27672781 libraryHaskellDepends = [
2768− base constraints monad-control transformers transformers-base
2782+ base extensible-exceptions transformers
27692783 ];
2770− doHaddock = false;
2771− doCheck = false;
2772− homepage = "https://github.com/fpco/monad-unlift";
2773− description = "Typeclasses for representing monad transformer unlifting";
2774− license = stdenv.lib.licenses.mit;
2775− }) {};
2776− "monad-unlift-ref" = callPackage
2777− ({ mkDerivation, base, constraints, exceptions, monad-control
2778− , monad-unlift, mtl, mutable-containers, resourcet, stm
2779− , transformers, transformers-base
2780− }:
2781− mkDerivation {
2782− pname = "monad-unlift-ref";
2783− version = "0.2.1";
2784− sha256 = "078xjz3a6rgqqgf8zg9ngspixf9pgch845l6gs5ssy3l54wra18g";
2785− libraryHaskellDepends = [
2786− base constraints exceptions monad-control monad-unlift mtl
2787− mutable-containers resourcet stm transformers transformers-base
2784+ testHaskellDepends = [
2785+ base extensible-exceptions HUnit test-framework
2786+ test-framework-hunit transformers
27882787 ];
2789− doHaddock = false;
2790− doCheck = false;
2791− homepage = "https://github.com/fpco/monad-unlift";
2792− description = "Typeclasses for representing monad transformer unlifting";
2793− license = stdenv.lib.licenses.mit;
2794− }) {};
2795− "monads-tf" = callPackage
2796− ({ mkDerivation, base, transformers }:
2797− mkDerivation {
2798− pname = "monads-tf";
2799− version = "0.1.0.3";
2800− sha256 = "1wdhskwa6dw8qljbvwpyxj8ca6y95q2np7z4y4q6bpf4anmd5794";
2801− libraryHaskellDepends = [ base transformers ];
2802− doHaddock = false;
2803− doCheck = false;
2804− description = "Monad classes, using type families";
2788+ homepage = "http://andersk.mit.edu/haskell/monad-peel/";
2789+ description = "Lift control operations like exception catching through monad transformers";
28052790 license = stdenv.lib.licenses.bsd3;
28062791 }) {};
28072792 "mono-traversable" = callPackage
2808− ({ mkDerivation, base, bytestring, containers, foldl, hashable
2809− , hspec, HUnit, QuickCheck, semigroups, split, text, transformers
2810− , unordered-containers, vector, vector-algorithms
2793+ ({ mkDerivation, base, bytestring, containers, foldl, gauge
2794+ , hashable, hspec, HUnit, mwc-random, QuickCheck, semigroups, split
2795+ , text, transformers, unordered-containers, vector
2796+ , vector-algorithms
28112797 }:
28122798 mkDerivation {
28132799 pname = "mono-traversable";
2814− version = "1.0.4.0";
2815− sha256 = "0qwmzjf25gradzajr4f9zw3a48m4hw26qvqnb134daqkyxpkzf13";
2800+ version = "1.0.8.1";
2801+ sha256 = "0d9r6z3a8gkhl1j5yq8hjg5wcndi5yixxm9xwbrf4z6pgdwr04lr";
28162802 libraryHaskellDepends = [
28172803 base bytestring containers hashable split text transformers
28182804 unordered-containers vector vector-algorithms
@@ -2821,9 +2807,8 @@ self: {
28212807 base bytestring containers foldl hspec HUnit QuickCheck semigroups
28222808 text transformers unordered-containers vector
28232809 ];
2824− doHaddock = false;
2825− doCheck = false;
2826− homepage = "https://github.com/snoyberg/mono-traversable";
2810+ benchmarkHaskellDepends = [ base gauge mwc-random vector ];
2811+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
28272812 description = "Type classes for mapping, folding, and traversing monomorphic containers";
28282813 license = stdenv.lib.licenses.mit;
28292814 }) {};
@@ -2840,8 +2825,6 @@ self: {
28402825 base comonad containers dlist dlist-instances mono-traversable
28412826 semigroupoids semigroups transformers vector-instances
28422827 ];
2843− doHaddock = false;
2844− doCheck = false;
28452828 homepage = "https://github.com/snoyberg/mono-traversable#readme";
28462829 description = "Extra typeclass instances for mono-traversable";
28472830 license = stdenv.lib.licenses.mit;
@@ -2850,55 +2833,41 @@ self: {
28502833 ({ mkDerivation, base, transformers }:
28512834 mkDerivation {
28522835 pname = "mtl";
2853− version = "2.2.1";
2854− sha256 = "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa";
2855− revision = "1";
2856− editedCabalFile = "0fsa965g9h23mlfjzghmmhcb9dmaq8zpm374gby6iwgdx47q0njb";
2836+ version = "2.2.2";
2837+ sha256 = "1xmy5741h8cyy0d91ahvqdz2hykkk20l8br7lg1rccnkis5g80w8";
28572838 libraryHaskellDepends = [ base transformers ];
2858− doHaddock = false;
2859− doCheck = false;
2860− homepage = "http://github.com/ekmett/mtl";
2839+ homepage = "http://github.com/haskell/mtl";
28612840 description = "Monad classes, using functional dependencies";
28622841 license = stdenv.lib.licenses.bsd3;
28632842 }) {};
28642843 "mutable-containers" = callPackage
2865− ({ mkDerivation, base, containers, ghc-prim, hspec
2844+ ({ mkDerivation, base, containers, gauge, ghc-prim, hspec
28662845 , mono-traversable, primitive, QuickCheck, vector
28672846 }:
28682847 mkDerivation {
28692848 pname = "mutable-containers";
2870− version = "0.3.3";
2871− sha256 = "1svwa54prfdmhdlmv118lnkwv3jx3rx7v5x30wbdsy39n75kjyks";
2849+ version = "0.3.4";
2850+ sha256 = "0zhkhlvg9yw45fg3srvzx7j81547djpkfw7higdvlj7fmph6c6b4";
28722851 libraryHaskellDepends = [
28732852 base containers ghc-prim mono-traversable primitive vector
28742853 ];
28752854 testHaskellDepends = [
28762855 base containers hspec primitive QuickCheck vector
28772856 ];
2878− doHaddock = false;
2879− doCheck = false;
2880− homepage = "https://github.com/snoyberg/mono-traversable";
2857+ benchmarkHaskellDepends = [ base containers gauge vector ];
2858+ homepage = "https://github.com/snoyberg/mono-traversable#readme";
28812859 description = "Abstactions and concrete implementations of mutable containers";
28822860 license = stdenv.lib.licenses.mit;
28832861 }) {};
28842862 "mwc-random" = callPackage
2885− ({ mkDerivation, base, HUnit, math-functions, primitive, QuickCheck
2886− , statistics, test-framework, test-framework-hunit
2887− , test-framework-quickcheck2, time, vector
2888− }:
2863+ ({ mkDerivation, base, math-functions, primitive, time, vector }:
28892864 mkDerivation {
28902865 pname = "mwc-random";
28912866 version = "0.13.6.0";
28922867 sha256 = "05j7yh0hh9nxic3dijmzv44kc6gzclvamdph7sq7w19wq57k6pq6";
2893− libraryHaskellDepends = [
2894− base math-functions primitive time vector
2895− ];
2896− testHaskellDepends = [
2897− base HUnit QuickCheck statistics test-framework
2898− test-framework-hunit test-framework-quickcheck2 vector
2868+ libraryHaskellDepends = [
2869+ base math-functions primitive time vector
28992870 ];
2900− doHaddock = false;
2901− doCheck = false;
29022871 homepage = "https://github.com/bos/mwc-random";
29032872 description = "Fast, high quality pseudo random number generation";
29042873 license = stdenv.lib.licenses.bsd3;
@@ -2907,12 +2876,11 @@ self: {
29072876 ({ mkDerivation, base, hspec, silently }:
29082877 mkDerivation {
29092878 pname = "nanospec";
2910− version = "0.2.1";
2911− sha256 = "0jq2l1lmy4hcl6r975xcg86xr1y7jfxr3qn27ibsmjbzlnxdkjyv";
2879+ version = "0.2.2";
2880+ sha256 = "1rcmhl9bhyfvanalnf1r86wkx6rq6wdvagnw1h011jcnnb1cq56g";
29122881 libraryHaskellDepends = [ base ];
29132882 testHaskellDepends = [ base hspec silently ];
2914− doHaddock = false;
2915− doCheck = false;
2883+ homepage = "https://github.com/hspec/nanospec#readme";
29162884 description = "A lightweight implementation of a subset of Hspec's API";
29172885 license = stdenv.lib.licenses.mit;
29182886 }) {};
@@ -2920,29 +2888,23 @@ self: {
29202888 ({ mkDerivation }:
29212889 mkDerivation {
29222890 pname = "nats";
2923− version = "1.1.1";
2924− sha256 = "1kfl2yy97nb7q0j17v96rl73xvi3z4db9bk0xychc76dax41n78k";
2891+ version = "1.1.2";
2892+ sha256 = "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr";
2893+ revision = "1";
2894+ editedCabalFile = "1jzyysf758lfindlclqpzqcd0lrgrdv0rnz2lg8g1rvv07x2n7zh";
29252895 doHaddock = false;
2926− doCheck = false;
29272896 homepage = "http://github.com/ekmett/nats/";
29282897 description = "Natural numbers";
29292898 license = stdenv.lib.licenses.bsd3;
29302899 }) {};
29312900 "network" = callPackage
2932− ({ mkDerivation, base, bytestring, doctest, HUnit, test-framework
2933− , test-framework-hunit, unix
2934− }:
2901+ ({ mkDerivation, base, bytestring, doctest, hspec, HUnit, unix }:
29352902 mkDerivation {
29362903 pname = "network";
2937− version = "2.6.3.2";
2938− sha256 = "1dn092zfqmxfbzln6d0khka4gizzjivf2yja9w9hwb5g9q3pfi1m";
2939− revision = "1";
2940− editedCabalFile = "17234sy0vqic8g9wg8gmfmc0by50scjwbdk8bkcl9kjf3fvs4nyx";
2904+ version = "2.6.3.6";
2905+ sha256 = "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv";
29412906 libraryHaskellDepends = [ base bytestring unix ];
2942− testHaskellDepends = [
2943− base bytestring doctest HUnit test-framework test-framework-hunit
2944− ];
2945− doHaddock = false;
2907+ testHaskellDepends = [ base bytestring doctest hspec HUnit ];
29462908 doCheck = false;
29472909 homepage = "https://github.com/haskell/network";
29482910 description = "Low-level networking interface";
@@ -2963,8 +2925,6 @@ self: {
29632925 base HUnit test-framework test-framework-hunit
29642926 test-framework-quickcheck2
29652927 ];
2966− doHaddock = false;
2967− doCheck = false;
29682928 homepage = "https://github.com/haskell/network-uri";
29692929 description = "URI manipulation";
29702930 license = stdenv.lib.licenses.bsd3;
@@ -2978,8 +2938,6 @@ self: {
29782938 revision = "2";
29792939 editedCabalFile = "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs";
29802940 libraryHaskellDepends = [ base ];
2981− doHaddock = false;
2982− doCheck = false;
29832941 description = "locale library";
29842942 license = stdenv.lib.licenses.bsd3;
29852943 }) {};
@@ -2992,95 +2950,78 @@ self: {
29922950 revision = "2";
29932951 editedCabalFile = "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9";
29942952 libraryHaskellDepends = [ base old-locale ];
2995− doHaddock = false;
2996− doCheck = false;
29972953 description = "Time library";
29982954 license = stdenv.lib.licenses.bsd3;
29992955 }) {};
3000− "options" = callPackage
3001− ({ mkDerivation, base, containers, monads-tf, transformers }:
3002− mkDerivation {
3003− pname = "options";
3004− version = "1.2.1.1";
3005− sha256 = "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8";
3006− libraryHaskellDepends = [ base containers monads-tf transformers ];
3007− doHaddock = false;
3008− doCheck = false;
3009− homepage = "https://john-millikin.com/software/haskell-options/";
3010− description = "A powerful and easy-to-use command-line option parser";
3011− license = stdenv.lib.licenses.mit;
3012− }) {};
30132956 "optparse-applicative" = callPackage
3014− ({ mkDerivation, ansi-wl-pprint, base, process, QuickCheck
3015− , transformers, transformers-compat
2957+ ({ mkDerivation, ansi-wl-pprint, base, bytestring, process
2958+ , QuickCheck, transformers, transformers-compat
30162959 }:
30172960 mkDerivation {
30182961 pname = "optparse-applicative";
3019− version = "0.13.2.0";
3020− sha256 = "18kcjldpzay3k3309rvb9vqrp5b1gqp0hgymynqx7x2kgv7cz0sw";
2962+ version = "0.14.2.0";
2963+ sha256 = "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71";
30212964 libraryHaskellDepends = [
30222965 ansi-wl-pprint base process transformers transformers-compat
30232966 ];
3024− testHaskellDepends = [ base QuickCheck ];
3025− doHaddock = false;
3026− doCheck = false;
2967+ testHaskellDepends = [ base bytestring QuickCheck ];
30272968 homepage = "https://github.com/pcapriotti/optparse-applicative";
30282969 description = "Utilities and combinators for parsing command line options";
30292970 license = stdenv.lib.licenses.bsd3;
30302971 }) {};
30312972 "optparse-simple" = callPackage
3032− ({ mkDerivation, base, bytestring, directory, either, gitrev
2973+ ({ mkDerivation, base, bytestring, directory, gitrev
30332974 , optparse-applicative, template-haskell, transformers
30342975 }:
30352976 mkDerivation {
30362977 pname = "optparse-simple";
3037− version = "0.0.4";
3038− sha256 = "1md24dlz6949rqv6y2x9d5r07lrqw42c21kdy09nk5y8r3mq43x0";
2978+ version = "0.1.0";
2979+ sha256 = "1g2cf4pcf1fa001z77g8gwnx0cxdpqs1iw9xp0kb9qrxm9gpk3c3";
30392980 libraryHaskellDepends = [
3040− base either gitrev optparse-applicative template-haskell
3041− transformers
2981+ base gitrev optparse-applicative template-haskell transformers
30422982 ];
30432983 testHaskellDepends = [ base bytestring directory ];
3044− doHaddock = false;
3045− doCheck = false;
2984+ homepage = "https://github.com/fpco/optparse-simple#readme";
30462985 description = "Simple interface to optparse-applicative";
30472986 license = stdenv.lib.licenses.bsd3;
30482987 }) {};
30492988 "parallel" = callPackage
3050− ({ mkDerivation, array, base, containers, deepseq }:
2989+ ({ mkDerivation, array, base, containers, deepseq, ghc-prim }:
30512990 mkDerivation {
30522991 pname = "parallel";
3053− version = "3.2.1.1";
3054− sha256 = "05rw8zhpqhx31zi6vg7zpyciaarh24j7g2p613xrpyrnksybjfrj";
3055− libraryHaskellDepends = [ array base containers deepseq ];
3056− doHaddock = false;
3057− doCheck = false;
2992+ version = "3.2.2.0";
2993+ sha256 = "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p";
2994+ libraryHaskellDepends = [ array base containers deepseq ghc-prim ];
30582995 description = "Parallel programming library";
30592996 license = stdenv.lib.licenses.bsd3;
30602997 }) {};
30612998 "parsec" = callPackage
3062− ({ mkDerivation, base, bytestring, mtl, text }:
2999+ ({ mkDerivation, base, bytestring, HUnit, mtl, test-framework
3000+ , test-framework-hunit, text
3001+ }:
30633002 mkDerivation {
30643003 pname = "parsec";
3065− version = "3.1.11";
3066− sha256 = "0vk7q9j2128q191zf1sg0ylj9s9djwayqk9747k0a5fin4f2b1vg";
3004+ version = "3.1.13.0";
3005+ sha256 = "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq";
3006+ revision = "1";
3007+ editedCabalFile = "1dpr1wfpykkl6kayp4wnyn0n1zv7pvqksax2i54dhdgjijj8qynd";
30673008 libraryHaskellDepends = [ base bytestring mtl text ];
3068− doHaddock = false;
3069− doCheck = false;
3070− homepage = "https://github.com/aslatter/parsec";
3009+ testHaskellDepends = [
3010+ base HUnit mtl test-framework test-framework-hunit
3011+ ];
3012+ homepage = "https://github.com/hvr/parsec";
30713013 description = "Monadic parser combinators";
30723014 license = stdenv.lib.licenses.bsd3;
30733015 }) {};
3074− "patience" = callPackage
3075− ({ mkDerivation, base, containers }:
3016+ "parser-combinators" = callPackage
3017+ ({ mkDerivation, base }:
30763018 mkDerivation {
3077− pname = "patience";
3078− version = "0.1.1";
3079− sha256 = "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm";
3080− libraryHaskellDepends = [ base containers ];
3081− doHaddock = false;
3082− doCheck = false;
3083− description = "Patience diff and longest increasing subsequence";
3019+ pname = "parser-combinators";
3020+ version = "1.0.0";
3021+ sha256 = "1pwfdsklqwvaynwpdzmx1bs35mp6dpsyaqdnzxnqcrxwf5h8sk75";
3022+ libraryHaskellDepends = [ base ];
3023+ homepage = "https://github.com/mrkkrp/parser-combinators";
3024+ description = "Lightweight package providing commonly useful parser combinators";
30843025 license = stdenv.lib.licenses.bsd3;
30853026 }) {};
30863027 "pcre-light" = callPackage
@@ -3091,29 +3032,24 @@ self: {
30913032 sha256 = "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82";
30923033 libraryHaskellDepends = [ base bytestring ];
30933034 libraryPkgconfigDepends = [ pcre ];
3094− doHaddock = false;
3095− doCheck = false;
30963035 homepage = "https://github.com/Daniel-Diaz/pcre-light";
30973036 description = "Portable regex library for Perl 5 compatible regular expressions";
30983037 license = stdenv.lib.licenses.bsd3;
30993038 }) {inherit (pkgs) pcre;};
31003039 "pem" = callPackage
3101− ({ mkDerivation, base, base64-bytestring, bytestring, HUnit, mtl
3040+ ({ mkDerivation, base, basement, bytestring, HUnit, memory
31023041 , QuickCheck, test-framework, test-framework-hunit
31033042 , test-framework-quickcheck2
31043043 }:
31053044 mkDerivation {
31063045 pname = "pem";
3107− version = "0.2.2";
3108− sha256 = "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p";
3109− enableSeparateDataOutput = true;
3110− libraryHaskellDepends = [ base base64-bytestring bytestring mtl ];
3046+ version = "0.2.4";
3047+ sha256 = "1m7qjsxrd8m88cvkqmr8kscril500j2a9y0iynvksjyjkhdlq33p";
3048+ libraryHaskellDepends = [ base basement bytestring memory ];
31113049 testHaskellDepends = [
31123050 base bytestring HUnit QuickCheck test-framework
31133051 test-framework-hunit test-framework-quickcheck2
31143052 ];
3115− doHaddock = false;
3116− doCheck = false;
31173053 homepage = "http://github.com/vincenthz/hs-pem";
31183054 description = "Privacy Enhanced Mail (PEM) format reader and writer";
31193055 license = stdenv.lib.licenses.bsd3;
@@ -3125,17 +3061,15 @@ self: {
31253061 }:
31263062 mkDerivation {
31273063 pname = "pointed";
3128− version = "5";
3129− sha256 = "05sxac90xv4j8glmf2mxs0smmv6vhia0qaaag5v37ar5a6pvh1l9";
3064+ version = "5.0.1";
3065+ sha256 = "1p91a762xglckscnhpflxzav8byf49a02mli3983i4kpr2jkaimr";
31303066 revision = "1";
3131− editedCabalFile = "170gqax34qch77zzqwq95z2lzq9da8gmfxg1vcll4aphhafwgzzp";
3067+ editedCabalFile = "1ccjmzz3jf5ybrzv7qdwm3qb8rz0yskvi4ackrixyhdk8bg5f3nc";
31323068 libraryHaskellDepends = [
31333069 base comonad containers data-default-class hashable kan-extensions
31343070 semigroupoids semigroups stm tagged transformers
31353071 transformers-compat unordered-containers
31363072 ];
3137− doHaddock = false;
3138− doCheck = false;
31393073 homepage = "http://github.com/ekmett/pointed/";
31403074 description = "Pointed and copointed data";
31413075 license = stdenv.lib.licenses.bsd3;
@@ -3147,43 +3081,36 @@ self: {
31473081 version = "1.12";
31483082 sha256 = "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m";
31493083 libraryHaskellDepends = [ base bytestring text ];
3150− doHaddock = false;
3151− doCheck = false;
31523084 homepage = "http://code.haskell.org/~malcolm/polyparse/";
31533085 description = "A variety of alternative parser combinator libraries";
31543086 license = "LGPL";
31553087 }) {};
3156− "prelude-extras" = callPackage
3157− ({ mkDerivation, base }:
3088+ "pretty-hex" = callPackage
3089+ ({ mkDerivation, base, bytestring }:
31583090 mkDerivation {
3159− pname = "prelude-extras";
3160− version = "0.4.0.3";
3161− sha256 = "0xzqdf3nl2h0ra4gnslm1m1nsxlsgc0hh6ky3vn578vh11zhifq9";
3162− libraryHaskellDepends = [ base ];
3163− doHaddock = false;
3164− doCheck = false;
3165− homepage = "http://github.com/ekmett/prelude-extras";
3166− description = "Higher order versions of Prelude classes";
3091+ pname = "pretty-hex";
3092+ version = "1.0";
3093+ sha256 = "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz";
3094+ libraryHaskellDepends = [ base bytestring ];
3095+ description = "A library for hex dumps of ByteStrings";
31673096 license = stdenv.lib.licenses.bsd3;
31683097 }) {};
31693098 "pretty-show" = callPackage
31703099 ({ mkDerivation, array, base, filepath, ghc-prim, happy
3171− , haskell-lexer, pretty
3100+ , haskell-lexer, pretty, text
31723101 }:
31733102 mkDerivation {
31743103 pname = "pretty-show";
3175− version = "1.6.13";
3176− sha256 = "1kbx72ybrpw0kh5zsd2kdw143qykbmd9lgmsvj57659y0k5l7fjm";
3104+ version = "1.7";
3105+ sha256 = "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq";
31773106 isLibrary = true;
31783107 isExecutable = true;
31793108 enableSeparateDataOutput = true;
31803109 libraryHaskellDepends = [
3181− array base filepath ghc-prim haskell-lexer pretty
3110+ array base filepath ghc-prim haskell-lexer pretty text
31823111 ];
31833112 libraryToolDepends = [ happy ];
31843113 executableHaskellDepends = [ base ];
3185− doHaddock = false;
3186− doCheck = false;
31873114 homepage = "http://wiki.github.com/yav/pretty-show";
31883115 description = "Tools for working with derived `Show` instances and generic inspection of values";
31893116 license = stdenv.lib.licenses.mit;
@@ -3192,32 +3119,28 @@ self: {
31923119 ({ mkDerivation, base, ghc-prim, transformers }:
31933120 mkDerivation {
31943121 pname = "primitive";
3195− version = "0.6.2.0";
3196− sha256 = "1q9a537av81c0lvcdzc8i5hqjx3209f5448d1smkyaz22c1dgs5q";
3197− revision = "1";
3198− editedCabalFile = "0d61g8ppsdajdqykl2kc46kq00aamsf12v60ilgrf58dbji9sz56";
3122+ version = "0.6.3.0";
3123+ sha256 = "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd";
31993124 libraryHaskellDepends = [ base ghc-prim transformers ];
32003125 testHaskellDepends = [ base ghc-prim ];
3201− doHaddock = false;
3202− doCheck = false;
32033126 homepage = "https://github.com/haskell/primitive";
32043127 description = "Primitive memory-related operations";
32053128 license = stdenv.lib.licenses.bsd3;
32063129 }) {};
32073130 "profunctors" = callPackage
32083131 ({ mkDerivation, base, base-orphans, bifunctors, comonad
3209− , contravariant, distributive, tagged, transformers
3132+ , contravariant, distributive, semigroups, tagged, transformers
32103133 }:
32113134 mkDerivation {
32123135 pname = "profunctors";
3213− version = "5.2.1";
3214− sha256 = "0pcwjp813d3mrzb7qf7dzkspf85xnfj1m2snhjgnvwx6vw07w877";
3136+ version = "5.2.2";
3137+ sha256 = "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9";
3138+ revision = "2";
3139+ editedCabalFile = "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq";
32153140 libraryHaskellDepends = [
32163141 base base-orphans bifunctors comonad contravariant distributive
3217− tagged transformers
3142+ semigroups tagged transformers
32183143 ];
3219− doHaddock = false;
3220− doCheck = false;
32213144 homepage = "http://github.com/ekmett/profunctors/";
32223145 description = "Profunctors";
32233146 license = stdenv.lib.licenses.bsd3;
@@ -3229,36 +3152,57 @@ self: {
32293152 }:
32303153 mkDerivation {
32313154 pname = "psqueues";
3232− version = "0.2.4.0";
3233− sha256 = "1lbjm6mnw91qg1ik73mwh48cq79k4kkaj4l380ilqp0p05a386j9";
3155+ version = "0.2.7.0";
3156+ sha256 = "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc";
32343157 libraryHaskellDepends = [ base deepseq ghc-prim hashable ];
32353158 testHaskellDepends = [
32363159 array base deepseq ghc-prim hashable HUnit QuickCheck tagged
32373160 test-framework test-framework-hunit test-framework-quickcheck2
32383161 ];
3239− doHaddock = false;
3240− doCheck = false;
32413162 description = "Pure priority search queues";
32423163 license = stdenv.lib.licenses.bsd3;
32433164 }) {};
3165+ "pureMD5" = callPackage
3166+ ({ mkDerivation, base, binary, bytestring, cereal, crypto-api
3167+ , crypto-api-tests, pretty-hex, QuickCheck, tagged, test-framework
3168+ , test-framework-quickcheck2
3169+ }:
3170+ mkDerivation {
3171+ pname = "pureMD5";
3172+ version = "2.1.3";
3173+ sha256 = "0zdilz41cla2ck7mcw1a9702gyg2abq94mqahr4vci9sbs53bwxy";
3174+ libraryHaskellDepends = [
3175+ base binary bytestring cereal crypto-api tagged
3176+ ];
3177+ testHaskellDepends = [
3178+ base binary bytestring cereal crypto-api-tests pretty-hex
3179+ QuickCheck test-framework test-framework-quickcheck2
3180+ ];
3181+ description = "A Haskell-only implementation of the MD5 digest (hash) algorithm";
3182+ license = stdenv.lib.licenses.bsd3;
3183+ }) {};
32443184 "quickcheck-instances" = callPackage
3245− ({ mkDerivation, array, base, bytestring, containers, hashable
3246− , old-time, QuickCheck, scientific, text, time
3247− , unordered-containers, vector
3185+ ({ mkDerivation, array, base, base-compat, bytestring
3186+ , case-insensitive, containers, hashable, old-time, QuickCheck
3187+ , scientific, tagged, text, time, transformers, transformers-compat
3188+ , unordered-containers, uuid-types, vector
32483189 }:
32493190 mkDerivation {
32503191 pname = "quickcheck-instances";
3251− version = "0.3.12";
3252− sha256 = "1wwvkzpams7i0j7nk5qj8vvhj8x5zcbgbgrpczszgvshva4bkmfx";
3253− revision = "2";
3254− editedCabalFile = "1v1r7gidkjc2v4dw1id57raqnjqv4rc10pa2l6xhhg0dzrnw28a3";
3192+ version = "0.3.18";
3193+ sha256 = "1bh1pzz5fdcqvzdcirqxna6fnjms02min5md716299g5niz46w55";
3194+ revision = "1";
3195+ editedCabalFile = "1sngfq3v71bvgjsl8cj5kh65m3fziwy8dkvwjzs0kxfrzr87faly";
32553196 libraryHaskellDepends = [
3256− array base bytestring containers hashable old-time QuickCheck
3257− scientific text time unordered-containers vector
3197+ array base base-compat bytestring case-insensitive containers
3198+ hashable old-time QuickCheck scientific tagged text time
3199+ transformers transformers-compat unordered-containers uuid-types
3200+ vector
32583201 ];
3259− doHaddock = false;
3260− doCheck = false;
3261− homepage = "https://github.com/aslatter/qc-instances";
3202+ testHaskellDepends = [
3203+ base containers QuickCheck tagged uuid-types
3204+ ];
3205+ homepage = "https://github.com/phadej/qc-instances";
32623206 description = "Common quickcheck instances";
32633207 license = stdenv.lib.licenses.bsd3;
32643208 }) {};
@@ -3269,8 +3213,6 @@ self: {
32693213 version = "0.2.0";
32703214 sha256 = "08k4v7pkgjf30pv5j2dfv1gqv6hclxlniyq2sps8zq4zswcr2xzv";
32713215 libraryHaskellDepends = [ base HUnit QuickCheck ];
3272− doHaddock = false;
3273− doCheck = false;
32743216 homepage = "https://github.com/hspec/quickcheck-io#readme";
32753217 description = "Use HUnit assertions as QuickCheck properties";
32763218 license = stdenv.lib.licenses.mit;
@@ -3282,8 +3224,6 @@ self: {
32823224 version = "1.0.1.0";
32833225 sha256 = "0s43s1bzbg3gwsjgm7fpyksd1339f0m26dlw2famxwyzgvm0a80k";
32843226 libraryHaskellDepends = [ base QuickCheck ];
3285− doHaddock = false;
3286− doCheck = false;
32873227 homepage = "https://github.com/bos/quickcheck-unicode";
32883228 description = "Generator and shrink functions for testing Unicode-related software";
32893229 license = stdenv.lib.licenses.bsd2;
@@ -3298,8 +3238,6 @@ self: {
32983238 editedCabalFile = "1pv5d7bm2rgap7llp5vjsplrg048gvf0226y0v19gpvdsx7n4rvv";
32993239 libraryHaskellDepends = [ base time ];
33003240 testHaskellDepends = [ base ];
3301− doHaddock = false;
3302− doCheck = false;
33033241 description = "random number library";
33043242 license = stdenv.lib.licenses.bsd3;
33053243 }) {};
@@ -3307,11 +3245,9 @@ self: {
33073245 ({ mkDerivation, base, template-haskell }:
33083246 mkDerivation {
33093247 pname = "reflection";
3310− version = "2.1.2";
3311− sha256 = "0f9w0akbm6p8h7kzgcd2f6nnpw1wy84pqn45vfz1ch5j0hn8h2d9";
3248+ version = "2.1.4";
3249+ sha256 = "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj";
33123250 libraryHaskellDepends = [ base template-haskell ];
3313− doHaddock = false;
3314− doCheck = false;
33153251 homepage = "http://github.com/ekmett/reflection";
33163252 description = "Reifies arbitrary terms into types that can be reflected back into terms";
33173253 license = stdenv.lib.licenses.bsd3;
@@ -3323,8 +3259,6 @@ self: {
33233259 version = "0.93.2";
33243260 sha256 = "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10";
33253261 libraryHaskellDepends = [ array base bytestring containers mtl ];
3326− doHaddock = false;
3327− doCheck = false;
33283262 homepage = "http://sourceforge.net/projects/lazy-regex";
33293263 description = "Replaces/Enhances Text.Regex";
33303264 license = stdenv.lib.licenses.bsd3;
@@ -3338,66 +3272,42 @@ self: {
33383272 libraryHaskellDepends = [
33393273 array base bytestring containers regex-base
33403274 ];
3341− doHaddock = false;
3342− doCheck = false;
33433275 homepage = "http://sourceforge.net/projects/lazy-regex";
33443276 description = "Replaces/Enhances Text.Regex";
33453277 license = stdenv.lib.licenses.bsd3;
33463278 }) {};
3347− "regex-tdfa" = callPackage
3348− ({ mkDerivation, array, base, bytestring, containers, ghc-prim, mtl
3349− , parsec, regex-base
3350− }:
3351− mkDerivation {
3352− pname = "regex-tdfa";
3353− version = "1.2.2";
3354− sha256 = "0f8x8wyr6m21g8dnxvnvalz5bsq37l125l6qhs0fscbvprsxc4nb";
3355− libraryHaskellDepends = [
3356− array base bytestring containers ghc-prim mtl parsec regex-base
3357− ];
3358− doHaddock = false;
3359− doCheck = false;
3360− homepage = "https://github.com/ChrisKuklewicz/regex-tdfa";
3361− description = "Replaces/Enhances Text.Regex";
3362− license = stdenv.lib.licenses.bsd3;
3363− }) {};
33643279 "resourcet" = callPackage
3365− ({ mkDerivation, base, containers, exceptions, hspec, lifted-base
3366− , mmorph, monad-control, mtl, transformers, transformers-base
3367− , transformers-compat
3280+ ({ mkDerivation, base, containers, exceptions, hspec, mtl
3281+ , primitive, transformers, unliftio-core
33683282 }:
33693283 mkDerivation {
33703284 pname = "resourcet";
3371− version = "1.1.9";
3372− sha256 = "1x9f2qz57agl3xljp1wi0ab51p13czrpf6qjp3506rl9dg99j6as";
3285+ version = "1.2.1";
3286+ sha256 = "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7";
33733287 libraryHaskellDepends = [
3374− base containers exceptions lifted-base mmorph monad-control mtl
3375− transformers transformers-base transformers-compat
3288+ base containers exceptions mtl primitive transformers unliftio-core
33763289 ];
3377− testHaskellDepends = [ base hspec lifted-base transformers ];
3378− doHaddock = false;
3379− doCheck = false;
3290+ testHaskellDepends = [ base exceptions hspec transformers ];
33803291 homepage = "http://github.com/snoyberg/conduit";
33813292 description = "Deterministic allocation and freeing of scarce resources";
33823293 license = stdenv.lib.licenses.bsd3;
33833294 }) {};
33843295 "retry" = callPackage
33853296 ({ mkDerivation, base, data-default-class, exceptions, ghc-prim
3386− , hspec, HUnit, mtl, QuickCheck, random, stm, time, transformers
3297+ , hedgehog, HUnit, mtl, random, stm, tasty, tasty-hedgehog
3298+ , tasty-hunit, time, transformers
33873299 }:
33883300 mkDerivation {
33893301 pname = "retry";
3390− version = "0.7.4.3";
3391− sha256 = "0i47gmlljz00fwf2qwkrh24hgsyw5sz2npaighx4wxvykf00d390";
3302+ version = "0.7.6.2";
3303+ sha256 = "0bmrp2h6pf43hr7sd6562qixw755h2xgszj700157pk2hxcz16ad";
33923304 libraryHaskellDepends = [
33933305 base data-default-class exceptions ghc-prim random transformers
33943306 ];
33953307 testHaskellDepends = [
3396− base data-default-class exceptions ghc-prim hspec HUnit mtl
3397− QuickCheck random stm time transformers
3308+ base data-default-class exceptions ghc-prim hedgehog HUnit mtl
3309+ random stm tasty tasty-hedgehog tasty-hunit time transformers
33983310 ];
3399− doHaddock = false;
3400− doCheck = false;
34013311 homepage = "http://github.com/Soostone/retry";
34023312 description = "Retry combinators for monadic actions that may fail";
34033313 license = stdenv.lib.licenses.bsd3;
@@ -3406,35 +3316,17 @@ self: {
34063316 ({ mkDerivation, base, deepseq, QuickCheck }:
34073317 mkDerivation {
34083318 pname = "safe";
3409− version = "0.3.15";
3410− sha256 = "0bbalr2n92akwcgdyl5ff45h8d4waamj1lp7ly6mdgda17k4lpm3";
3319+ version = "0.3.17";
3320+ sha256 = "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr";
34113321 libraryHaskellDepends = [ base ];
34123322 testHaskellDepends = [ base deepseq QuickCheck ];
3413− doHaddock = false;
3414− doCheck = false;
34153323 homepage = "https://github.com/ndmitchell/safe#readme";
34163324 description = "Library of safe (exception free) functions";
34173325 license = stdenv.lib.licenses.bsd3;
34183326 }) {};
3419− "safe-exceptions" = callPackage
3420− ({ mkDerivation, base, deepseq, exceptions, hspec, transformers
3421− , void
3422− }:
3423− mkDerivation {
3424− pname = "safe-exceptions";
3425− version = "0.1.6.0";
3426− sha256 = "074dy2f9fbhnh59clpz8c1ljplm1wwqjj7r3i4nv0rcl0khprm3i";
3427− libraryHaskellDepends = [ base deepseq exceptions transformers ];
3428− testHaskellDepends = [ base hspec void ];
3429− doHaddock = false;
3430− doCheck = false;
3431− homepage = "https://github.com/fpco/safe-exceptions#readme";
3432− description = "Safe, consistent, and easy exception handling";
3433− license = stdenv.lib.licenses.mit;
3434− }) {};
34353327 "say" = callPackage
3436− ({ mkDerivation, base, bytestring, hspec, temporary, text
3437− , transformers
3328+ ({ mkDerivation, base, bytestring, criterion, hspec, temporary
3329+ , text, transformers
34383330 }:
34393331 mkDerivation {
34403332 pname = "say";
@@ -3442,24 +3334,23 @@ self: {
34423334 sha256 = "0h7w49v9manw7yml2bms11sf6znsfkmdr87c7d8ax8l1xnadnvzj";
34433335 libraryHaskellDepends = [ base bytestring text transformers ];
34443336 testHaskellDepends = [ base bytestring hspec temporary text ];
3445− doHaddock = false;
3446− doCheck = false;
3337+ benchmarkHaskellDepends = [
3338+ base bytestring criterion temporary text
3339+ ];
34473340 homepage = "https://github.com/fpco/say#readme";
34483341 description = "Initial project template from stack";
34493342 license = stdenv.lib.licenses.mit;
34503343 }) {};
34513344 "scientific" = callPackage
3452− ({ mkDerivation, base, binary, bytestring, containers, deepseq
3453− , hashable, integer-gmp, integer-logarithms, primitive, QuickCheck
3454− , smallcheck, tasty, tasty-ant-xml, tasty-hunit, tasty-quickcheck
3455− , tasty-smallcheck, text
3345+ ({ mkDerivation, base, binary, bytestring, containers, criterion
3346+ , deepseq, hashable, integer-gmp, integer-logarithms, primitive
3347+ , QuickCheck, smallcheck, tasty, tasty-ant-xml, tasty-hunit
3348+ , tasty-quickcheck, tasty-smallcheck, text
34563349 }:
34573350 mkDerivation {
34583351 pname = "scientific";
3459− version = "0.3.5.2";
3460− sha256 = "0msnjz7ml0zycw9bssslxbg0nigziw7vs5km4q3vjbs8jpzpkr2w";
3461− revision = "1";
3462− editedCabalFile = "1gnz52yrd9bnq4qvd4v9kd00clx0sfbh64phafdq5g2hbk9yrg0v";
3352+ version = "0.3.6.2";
3353+ sha256 = "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397";
34633354 libraryHaskellDepends = [
34643355 base binary bytestring containers deepseq hashable integer-gmp
34653356 integer-logarithms primitive text
@@ -3468,8 +3359,7 @@ self: {
34683359 base binary bytestring QuickCheck smallcheck tasty tasty-ant-xml
34693360 tasty-hunit tasty-quickcheck tasty-smallcheck text
34703361 ];
3471− doHaddock = false;
3472− doCheck = false;
3362+ benchmarkHaskellDepends = [ base criterion ];
34733363 homepage = "https://github.com/basvandijk/scientific";
34743364 description = "Numbers represented using scientific notation";
34753365 license = stdenv.lib.licenses.bsd3;
@@ -3477,24 +3367,22 @@ self: {
34773367 "semigroupoids" = callPackage
34783368 ({ mkDerivation, base, base-orphans, bifunctors, Cabal
34793369 , cabal-doctest, comonad, containers, contravariant, distributive
3480− , doctest, hashable, semigroups, tagged, transformers
3481− , transformers-compat, unordered-containers
3370+ , doctest, hashable, semigroups, tagged, template-haskell
3371+ , transformers, transformers-compat, unordered-containers
34823372 }:
34833373 mkDerivation {
34843374 pname = "semigroupoids";
3485− version = "5.2.1";
3486− sha256 = "006jys6kvckkmbnhf4jc51sh64hamkz464mr8ciiakybrfvixr3r";
3487− revision = "2";
3488− editedCabalFile = "049j2jl6f5mxqnavi1aadx37j4bk5xksvkxsl43hp4rg7n53p11z";
3375+ version = "5.2.2";
3376+ sha256 = "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4";
3377+ revision = "4";
3378+ editedCabalFile = "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij";
34893379 setupHaskellDepends = [ base Cabal cabal-doctest ];
34903380 libraryHaskellDepends = [
34913381 base base-orphans bifunctors comonad containers contravariant
3492− distributive hashable semigroups tagged transformers
3493− transformers-compat unordered-containers
3382+ distributive hashable semigroups tagged template-haskell
3383+ transformers transformers-compat unordered-containers
34943384 ];
34953385 testHaskellDepends = [ base doctest ];
3496− doHaddock = false;
3497− doCheck = false;
34983386 homepage = "http://github.com/ekmett/semigroupoids";
34993387 description = "Semigroupoids: Category sans id";
35003388 license = stdenv.lib.licenses.bsd3;
@@ -3503,11 +3391,9 @@ self: {
35033391 ({ mkDerivation, base }:
35043392 mkDerivation {
35053393 pname = "semigroups";
3506− version = "0.18.3";
3507− sha256 = "1jm9wnb5jmwdk4i9qbwfay69ydi76xi0qqi9zqp6wh3jd2c7qa9m";
3394+ version = "0.18.5";
3395+ sha256 = "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb";
35083396 libraryHaskellDepends = [ base ];
3509− doHaddock = false;
3510− doCheck = false;
35113397 homepage = "http://github.com/ekmett/semigroups/";
35123398 description = "Anything that associates";
35133399 license = stdenv.lib.licenses.bsd3;
@@ -3521,8 +3407,6 @@ self: {
35213407 revision = "1";
35223408 editedCabalFile = "0ny4g3kjys0hqg41mnwrsymy1bwhl8l169kis4y4fa58sb06m4f5";
35233409 libraryHaskellDepends = [ base unix ];
3524− doHaddock = false;
3525− doCheck = false;
35263410 description = "A cross-platform library for setting environment variables";
35273411 license = stdenv.lib.licenses.mit;
35283412 }) {};
@@ -3534,8 +3418,8 @@ self: {
35343418 }:
35353419 mkDerivation {
35363420 pname = "shakespeare";
3537− version = "2.0.14.1";
3538− sha256 = "02pahbvibll4jmbq6p5vxr2r4mmrfx3h0c8v6qbj4rlq96lc6a23";
3421+ version = "2.0.15";
3422+ sha256 = "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23";
35393423 libraryHaskellDepends = [
35403424 aeson base blaze-html blaze-markup bytestring containers directory
35413425 exceptions ghc-prim parsec process scientific template-haskell text
@@ -3546,8 +3430,6 @@ self: {
35463430 exceptions ghc-prim hspec HUnit parsec process template-haskell
35473431 text time transformers
35483432 ];
3549− doHaddock = false;
3550− doCheck = false;
35513433 homepage = "http://www.yesodweb.com/book/shakespearean-templates";
35523434 description = "A toolkit for making compile-time interpolated templates";
35533435 license = stdenv.lib.licenses.mit;
@@ -3560,8 +3442,6 @@ self: {
35603442 sha256 = "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf";
35613443 libraryHaskellDepends = [ base deepseq directory ];
35623444 testHaskellDepends = [ base deepseq directory nanospec temporary ];
3563− doHaddock = false;
3564− doCheck = false;
35653445 homepage = "https://github.com/hspec/silently";
35663446 description = "Prevent or capture writing to stdout and other handles";
35673447 license = stdenv.lib.licenses.bsd3;
@@ -3570,11 +3450,9 @@ self: {
35703450 ({ mkDerivation, base }:
35713451 mkDerivation {
35723452 pname = "simple-reflect";
3573− version = "0.3.2";
3574− sha256 = "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq";
3453+ version = "0.3.3";
3454+ sha256 = "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7";
35753455 libraryHaskellDepends = [ base ];
3576− doHaddock = false;
3577− doCheck = false;
35783456 homepage = "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions";
35793457 description = "Simple reflection of expressions containing variables";
35803458 license = stdenv.lib.licenses.bsd3;
@@ -3585,29 +3463,43 @@ self: {
35853463 }:
35863464 mkDerivation {
35873465 pname = "simple-sendfile";
3588− version = "0.2.25";
3589− sha256 = "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha";
3590− revision = "1";
3591− editedCabalFile = "1axghvn2iz0gzlc0ics4q8abl15ggwvcwcmly5cxhmc32hqv8y5c";
3466+ version = "0.2.27";
3467+ sha256 = "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn";
35923468 libraryHaskellDepends = [ base bytestring network unix ];
35933469 testHaskellDepends = [
35943470 base bytestring conduit conduit-extra directory hspec HUnit network
35953471 process resourcet unix
35963472 ];
3597− doHaddock = false;
3598− doCheck = false;
35993473 description = "Cross platform library for the sendfile system call";
36003474 license = stdenv.lib.licenses.bsd3;
36013475 }) {};
3476+ "siphash" = callPackage
3477+ ({ mkDerivation, base, bytestring, cpu, QuickCheck, test-framework
3478+ , test-framework-quickcheck2
3479+ }:
3480+ mkDerivation {
3481+ pname = "siphash";
3482+ version = "1.0.3";
3483+ sha256 = "1wq5dan30ggjgmravy92ylqjvjv1q7mxrmddr7zc8h6aqr0wx0fg";
3484+ revision = "1";
3485+ editedCabalFile = "1q2dy0ywngm9iv7k6d9gnf860m9hpf62q5qvdzmxw5s629gk4afn";
3486+ enableSeparateDataOutput = true;
3487+ libraryHaskellDepends = [ base bytestring cpu ];
3488+ testHaskellDepends = [
3489+ base bytestring QuickCheck test-framework
3490+ test-framework-quickcheck2
3491+ ];
3492+ homepage = "http://github.com/vincenthz/hs-siphash";
3493+ description = "siphash: a fast short input PRF";
3494+ license = stdenv.lib.licenses.bsd3;
3495+ }) {};
36023496 "smallcheck" = callPackage
36033497 ({ mkDerivation, base, ghc-prim, logict, mtl, pretty }:
36043498 mkDerivation {
36053499 pname = "smallcheck";
3606− version = "1.1.2";
3607− sha256 = "14690ahl3iq99hw638qk0bpmkmspghjz2yh8p1nyccli92y23xjm";
3500+ version = "1.1.5";
3501+ sha256 = "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h";
36083502 libraryHaskellDepends = [ base ghc-prim logict mtl pretty ];
3609− doHaddock = false;
3610− doCheck = false;
36113503 homepage = "https://github.com/feuerbach/smallcheck";
36123504 description = "A property-based testing library";
36133505 license = stdenv.lib.licenses.bsd3;
@@ -3616,225 +3508,175 @@ self: {
36163508 ({ mkDerivation, base, bytestring, cereal, network }:
36173509 mkDerivation {
36183510 pname = "socks";
3619− version = "0.5.5";
3620− sha256 = "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6";
3621− revision = "1";
3622− editedCabalFile = "0nz8q0xvd8y6f42bd1w3q8d8bg1qzl8ggx0a23kb3jb60g36dmvw";
3511+ version = "0.5.6";
3512+ sha256 = "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs";
36233513 libraryHaskellDepends = [ base bytestring cereal network ];
3624− doHaddock = false;
3625− doCheck = false;
36263514 homepage = "http://github.com/vincenthz/hs-socks";
3627− description = "Socks proxy (version 5) implementation";
3515+ description = "Socks proxy (ver 5)";
36283516 license = stdenv.lib.licenses.bsd3;
36293517 }) {};
36303518 "split" = callPackage
36313519 ({ mkDerivation, base, QuickCheck }:
36323520 mkDerivation {
36333521 pname = "split";
3634− version = "0.2.3.2";
3635− sha256 = "0fmnkvq1ky4dgyh1z2mvdal5pw103irvkf4p9d5x8wyl1nnylhs9";
3522+ version = "0.2.3.3";
3523+ sha256 = "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x";
36363524 libraryHaskellDepends = [ base ];
36373525 testHaskellDepends = [ base QuickCheck ];
3638− doHaddock = false;
3639− doCheck = false;
36403526 description = "Combinator library for splitting lists";
36413527 license = stdenv.lib.licenses.bsd3;
36423528 }) {};
3643− "stackage-curator" = callPackage
3644− ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3, async
3645− , base, base16-bytestring, blaze-html, byteable, bytestring, Cabal
3646− , classy-prelude-conduit, conduit, conduit-extra, containers
3647− , cryptohash, cryptohash-conduit, data-default-class, directory
3648− , exceptions, filepath, hashable, hspec, html-conduit, http-client
3649− , http-client-tls, http-conduit, lucid, mime-types, monad-unlift
3650− , monad-unlift-ref, mono-traversable, mtl, old-locale
3651− , optparse-applicative, optparse-simple, process, QuickCheck
3652− , resourcet, safe, semigroups, stm, store, streaming-commons, syb
3653− , system-fileio, system-filepath, tar, temporary, text, time
3654− , transformers, unix-compat, unordered-containers, utf8-string
3655− , vector, xml-conduit, xml-types, yaml, zlib
3656− }:
3657− mkDerivation {
3658− pname = "stackage-curator";
3659− version = "0.14.5";
3660− sha256 = "11ccjjv6lvivjnkwcgr565hlxgs1sispx561fl1hkxw0mwp1q0hi";
3661− isLibrary = true;
3662− isExecutable = true;
3663− libraryHaskellDepends = [
3664− aeson amazonka amazonka-core amazonka-s3 async base
3665− base16-bytestring blaze-html byteable bytestring Cabal
3666− classy-prelude-conduit conduit conduit-extra containers cryptohash
3667− cryptohash-conduit data-default-class directory exceptions filepath
3668− hashable html-conduit http-client http-client-tls http-conduit
3669− lucid mime-types monad-unlift monad-unlift-ref mono-traversable mtl
3670− old-locale process resourcet safe semigroups stm store
3671− streaming-commons syb system-fileio system-filepath tar temporary
3672− text time transformers unix-compat unordered-containers utf8-string
3673− vector xml-conduit xml-types yaml zlib
3674− ];
3675− executableHaskellDepends = [
3676− aeson base http-client http-client-tls optparse-applicative
3677− optparse-simple system-filepath text
3678− ];
3679− testHaskellDepends = [
3680− base Cabal classy-prelude-conduit containers directory hspec
3681− http-client http-client-tls QuickCheck text yaml
3682− ];
3683− doHaddock = false;
3684− doCheck = false;
3685− homepage = "https://github.com/fpco/stackage-curator";
3686− description = "Tools for curating Stackage bundles";
3687− license = stdenv.lib.licenses.mit;
3688− }) {};
36893529 "statistics" = callPackage
3690− ({ mkDerivation, aeson, base, binary, deepseq, erf, HUnit, ieee754
3691− , math-functions, monad-par, mwc-random, primitive, QuickCheck
3692− , test-framework, test-framework-hunit, test-framework-quickcheck2
3693− , vector, vector-algorithms, vector-binary-instances
3530+ ({ mkDerivation, aeson, base, base-orphans, binary, deepseq, erf
3531+ , HUnit, ieee754, math-functions, monad-par, mwc-random, primitive
3532+ , QuickCheck, test-framework, test-framework-hunit
3533+ , test-framework-quickcheck2, vector, vector-algorithms
3534+ , vector-binary-instances, vector-th-unbox
36943535 }:
36953536 mkDerivation {
36963537 pname = "statistics";
3697− version = "0.13.3.0";
3698− sha256 = "1vc12c3mnpspbycwkl0b22jqrdbg9fpmr1fxdxlmqwl603qy0zvf";
3538+ version = "0.14.0.2";
3539+ sha256 = "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l";
3540+ revision = "2";
3541+ editedCabalFile = "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3";
36993542 libraryHaskellDepends = [
3700− aeson base binary deepseq erf math-functions monad-par mwc-random
3701− primitive vector vector-algorithms vector-binary-instances
3543+ aeson base base-orphans binary deepseq erf math-functions monad-par
3544+ mwc-random primitive vector vector-algorithms
3545+ vector-binary-instances vector-th-unbox
37023546 ];
37033547 testHaskellDepends = [
3704− base binary erf HUnit ieee754 math-functions mwc-random primitive
3705− QuickCheck test-framework test-framework-hunit
3548+ aeson base binary erf HUnit ieee754 math-functions mwc-random
3549+ primitive QuickCheck test-framework test-framework-hunit
37063550 test-framework-quickcheck2 vector vector-algorithms
37073551 ];
3708− doHaddock = false;
37093552 doCheck = false;
37103553 homepage = "https://github.com/bos/statistics";
37113554 description = "A library of statistical types, data, and functions";
3712− license = stdenv.lib.licenses.bsd3;
3555+ license = stdenv.lib.licenses.bsd2;
37133556 }) {};
37143557 "stm" = callPackage
37153558 ({ mkDerivation, array, base }:
37163559 mkDerivation {
37173560 pname = "stm";
3718− version = "2.4.4.1";
3719− sha256 = "111kpy1d6f5c0bggh6hyfm86q5p8bq1qbqf6dw2x4l4dxnar16cg";
3720− revision = "1";
3721− editedCabalFile = "0kzw4rw9fgmc4qyxmm1lwifdyrx5r1356150xm14vy4mp86diks9";
3561+ version = "2.4.5.0";
3562+ sha256 = "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri";
37223563 libraryHaskellDepends = [ array base ];
3723− doHaddock = false;
3724− doCheck = false;
3564+ homepage = "https://wiki.haskell.org/Software_transactional_memory";
37253565 description = "Software Transactional Memory";
37263566 license = stdenv.lib.licenses.bsd3;
37273567 }) {};
37283568 "stm-chans" = callPackage
3729− ({ mkDerivation, base, stm }:
3569+ ({ mkDerivation, base, Cabal, stm }:
37303570 mkDerivation {
37313571 pname = "stm-chans";
37323572 version = "3.0.0.4";
37333573 sha256 = "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13";
3574+ revision = "1";
3575+ editedCabalFile = "0v9axxcfszqdmf3dhjxy34ybh22x3r5c48mdnbvjh5i5lp7g7vp2";
3576+ setupHaskellDepends = [ base Cabal ];
37343577 libraryHaskellDepends = [ base stm ];
3735− doHaddock = false;
3736− doCheck = false;
37373578 homepage = "http://code.haskell.org/~wren/";
37383579 description = "Additional types of channels for STM";
37393580 license = stdenv.lib.licenses.bsd3;
37403581 }) {};
37413582 "stm-conduit" = callPackage
37423583 ({ mkDerivation, async, base, cereal, cereal-conduit, conduit
3743− , conduit-combinators, conduit-extra, directory, doctest, ghc-prim
3744− , HUnit, lifted-async, lifted-base, monad-control, monad-loops
3584+ , conduit-extra, directory, doctest, exceptions, HUnit, monad-loops
37453585 , QuickCheck, resourcet, stm, stm-chans, test-framework
37463586 , test-framework-hunit, test-framework-quickcheck2, transformers
3747− , void
3587+ , unliftio
37483588 }:
37493589 mkDerivation {
37503590 pname = "stm-conduit";
3751− version = "3.0.0";
3752− sha256 = "02d83mji1rlijdn315q7fik6jy5q49fjwygd64c9kf4z0qy6cvyg";
3753− revision = "1";
3754− editedCabalFile = "0wmjqypqjw9irmpsmra6zbj1sa4l14xnx5xpaz2zvfsk4x90qyyg";
3591+ version = "4.0.0";
3592+ sha256 = "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z";
37553593 libraryHaskellDepends = [
3756− async base cereal cereal-conduit conduit conduit-combinators
3757− conduit-extra directory ghc-prim lifted-async lifted-base
3758− monad-control monad-loops resourcet stm stm-chans transformers void
3594+ async base cereal cereal-conduit conduit conduit-extra directory
3595+ exceptions monad-loops resourcet stm stm-chans transformers
3596+ unliftio
37593597 ];
37603598 testHaskellDepends = [
3761− base conduit conduit-combinators directory doctest HUnit QuickCheck
3762− resourcet stm stm-chans test-framework test-framework-hunit
3763− test-framework-quickcheck2 transformers
3599+ base conduit directory doctest HUnit QuickCheck resourcet stm
3600+ stm-chans test-framework test-framework-hunit
3601+ test-framework-quickcheck2 transformers unliftio
37643602 ];
3765− doHaddock = false;
3766− doCheck = false;
37673603 homepage = "https://github.com/cgaebel/stm-conduit";
37683604 description = "Introduces conduits to channels, and promotes using conduits concurrently";
37693605 license = stdenv.lib.licenses.bsd3;
37703606 }) {};
37713607 "store" = callPackage
37723608 ({ mkDerivation, array, async, base, base-orphans
3773− , base64-bytestring, bytestring, conduit, containers, contravariant
3774− , cryptohash, deepseq, directory, filepath, free, ghc-prim
3775− , hashable, hspec, hspec-smallcheck, integer-gmp, lifted-base
3776− , monad-control, mono-traversable, network, primitive, resourcet
3777− , safe, semigroups, smallcheck, store-core, streaming-commons, syb
3778− , template-haskell, text, th-lift, th-lift-instances, th-orphans
3779− , th-reify-many, th-utilities, time, transformers
3780− , unordered-containers, vector, void
3609+ , base64-bytestring, bifunctors, bytestring, containers
3610+ , contravariant, criterion, cryptohash, deepseq, directory
3611+ , filepath, free, ghc-prim, hashable, hspec, hspec-smallcheck
3612+ , integer-gmp, lifted-base, monad-control, mono-traversable
3613+ , network, primitive, resourcet, safe, semigroups, smallcheck
3614+ , store-core, syb, template-haskell, text, th-lift
3615+ , th-lift-instances, th-orphans, th-reify-many, th-utilities, time
3616+ , transformers, unordered-containers, vector, void
37813617 }:
37823618 mkDerivation {
37833619 pname = "store";
3784− version = "0.4.3.2";
3785− sha256 = "13ihh1n42j9lq2dhkcgisds7bzm7nm4a02abk8vadracn4a7r97c";
3786− libraryHaskellDepends = [
3787− array async base base-orphans base64-bytestring bytestring conduit
3788− containers contravariant cryptohash deepseq directory filepath free
3789− ghc-prim hashable hspec hspec-smallcheck integer-gmp lifted-base
3790− monad-control mono-traversable network primitive resourcet safe
3791− semigroups smallcheck store-core streaming-commons syb
3620+ version = "0.5.0";
3621+ sha256 = "1ivr2pvfja2plhp625wjv9lbd47vmydp33f31ljwdyzqik2j7vij";
3622+ libraryHaskellDepends = [
3623+ array async base base-orphans base64-bytestring bifunctors
3624+ bytestring containers contravariant cryptohash deepseq directory
3625+ filepath free ghc-prim hashable hspec hspec-smallcheck integer-gmp
3626+ lifted-base monad-control mono-traversable network primitive
3627+ resourcet safe semigroups smallcheck store-core syb
3628+ template-haskell text th-lift th-lift-instances th-orphans
3629+ th-reify-many th-utilities time transformers unordered-containers
3630+ vector void
3631+ ];
3632+ benchmarkHaskellDepends = [
3633+ array async base base-orphans base64-bytestring bifunctors
3634+ bytestring containers contravariant criterion cryptohash deepseq
3635+ directory filepath free ghc-prim hashable hspec hspec-smallcheck
3636+ integer-gmp lifted-base monad-control mono-traversable network
3637+ primitive resourcet safe semigroups smallcheck store-core syb
37923638 template-haskell text th-lift th-lift-instances th-orphans
37933639 th-reify-many th-utilities time transformers unordered-containers
37943640 vector void
37953641 ];
3796− doHaddock = false;
37973642 doCheck = false;
37983643 homepage = "https://github.com/fpco/store#readme";
37993644 description = "Fast binary serialization";
38003645 license = stdenv.lib.licenses.mit;
38013646 }) {};
38023647 "store-core" = callPackage
3803− ({ mkDerivation, base, bytestring, fail, ghc-prim, primitive, text
3648+ ({ mkDerivation, base, bytestring, ghc-prim, primitive, text
38043649 , transformers
38053650 }:
38063651 mkDerivation {
38073652 pname = "store-core";
3808− version = "0.4.1";
3809− sha256 = "1d34n2n9vjngxndkbxcqm07sg4cnaq6rlx013rhyjr3aybwqalhl";
3653+ version = "0.4.4";
3654+ sha256 = "1489ydwmq3vd9lz193m5w277wvb9g74ssc1ncfjdry2g0y6czbjv";
38103655 libraryHaskellDepends = [
3811− base bytestring fail ghc-prim primitive text transformers
3656+ base bytestring ghc-prim primitive text transformers
38123657 ];
3813− doHaddock = false;
3814− doCheck = false;
38153658 homepage = "https://github.com/fpco/store#readme";
38163659 description = "Fast and lightweight binary serialization";
38173660 license = stdenv.lib.licenses.mit;
38183661 }) {};
38193662 "streaming-commons" = callPackage
3820− ({ mkDerivation, array, async, base, blaze-builder, bytestring
3821− , deepseq, directory, hspec, network, process, QuickCheck, random
3822− , stm, text, transformers, unix, zlib
3663+ ({ mkDerivation, array, async, base, bytestring, deepseq, directory
3664+ , gauge, hspec, network, process, QuickCheck, random, stm, text
3665+ , transformers, unix, zlib
38233666 }:
38243667 mkDerivation {
38253668 pname = "streaming-commons";
3826− version = "0.1.17";
3827− sha256 = "1abxyjkn8xc8d33yhqxy1ki01kpzf4hy55f167qg4vk2ig5kh2p5";
3669+ version = "0.2.1.0";
3670+ sha256 = "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq";
38283671 libraryHaskellDepends = [
3829− array async base blaze-builder bytestring directory network process
3830− random stm text transformers unix zlib
3672+ array async base bytestring directory network process random stm
3673+ text transformers unix zlib
38313674 ];
38323675 testHaskellDepends = [
3833− array async base blaze-builder bytestring deepseq hspec network
3834− QuickCheck text unix zlib
3676+ array async base bytestring deepseq hspec network QuickCheck text
3677+ unix zlib
38353678 ];
3836− doHaddock = false;
3837− doCheck = false;
3679+ benchmarkHaskellDepends = [ base bytestring deepseq gauge text ];
38383680 homepage = "https://github.com/fpco/streaming-commons";
38393681 description = "Common lower-level functions needed by various streaming data libraries";
38403682 license = stdenv.lib.licenses.mit;
@@ -3843,12 +3685,10 @@ self: {
38433685 ({ mkDerivation, base, hspec, QuickCheck }:
38443686 mkDerivation {
38453687 pname = "stringbuilder";
3846− version = "0.5.0";
3847− sha256 = "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9";
3688+ version = "0.5.1";
3689+ sha256 = "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q";
38483690 libraryHaskellDepends = [ base ];
38493691 testHaskellDepends = [ base hspec QuickCheck ];
3850− doHaddock = false;
3851− doCheck = false;
38523692 description = "A writer monad for multi-line string literals";
38533693 license = stdenv.lib.licenses.mit;
38543694 }) {};
@@ -3860,46 +3700,10 @@ self: {
38603700 sha256 = "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq";
38613701 libraryHaskellDepends = [ base ];
38623702 testHaskellDepends = [ base containers HUnit mtl ];
3863− doHaddock = false;
3864− doCheck = false;
38653703 homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
38663704 description = "Scrap Your Boilerplate";
38673705 license = stdenv.lib.licenses.bsd3;
38683706 }) {};
3869− "system-fileio" = callPackage
3870− ({ mkDerivation, base, bytestring, chell, system-filepath
3871− , temporary, text, time, transformers, unix
3872− }:
3873− mkDerivation {
3874− pname = "system-fileio";
3875− version = "0.3.16.3";
3876− sha256 = "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i";
3877− libraryHaskellDepends = [
3878− base bytestring system-filepath text time unix
3879− ];
3880− testHaskellDepends = [
3881− base bytestring chell system-filepath temporary text time
3882− transformers unix
3883− ];
3884− doHaddock = false;
3885− doCheck = false;
3886− homepage = "https://github.com/fpco/haskell-filesystem";
3887− description = "Consistent filesystem interaction across GHC versions (deprecated)";
3888− license = stdenv.lib.licenses.mit;
3889− }) {};
3890− "system-filepath" = callPackage
3891− ({ mkDerivation, base, bytestring, deepseq, text }:
3892− mkDerivation {
3893− pname = "system-filepath";
3894− version = "0.4.13.4";
3895− sha256 = "1yy5zsmmimhg6iaw9fmpwrxvxrgi5s6bfyqfihdsnx4bjvn7sp9l";
3896− libraryHaskellDepends = [ base bytestring deepseq text ];
3897− doHaddock = false;
3898− doCheck = false;
3899− homepage = "https://github.com/fpco/haskell-filesystem";
3900− description = "High-level, byte-based file and directory path manipulations (deprecated)";
3901− license = stdenv.lib.licenses.mit;
3902− }) {};
39033707 "tagged" = callPackage
39043708 ({ mkDerivation, base, deepseq, template-haskell, transformers
39053709 , transformers-compat
@@ -3908,76 +3712,48 @@ self: {
39083712 pname = "tagged";
39093713 version = "0.8.5";
39103714 sha256 = "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74";
3911− revision = "1";
3912− editedCabalFile = "15mqdimbgrq5brqljjl7dbxkyrxppap06q53cp7ml7w3l08v5mx8";
3913− libraryHaskellDepends = [
3914− base deepseq template-haskell transformers transformers-compat
3915− ];
3916− doHaddock = false;
3917− doCheck = false;
3918− homepage = "http://github.com/ekmett/tagged";
3919− description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
3920− license = stdenv.lib.licenses.bsd3;
3921− }) {};
3922− "tagstream-conduit" = callPackage
3923− ({ mkDerivation, attoparsec, base, blaze-builder, bytestring
3924− , case-insensitive, conduit, conduit-extra, data-default, hspec
3925− , HUnit, QuickCheck, resourcet, text, transformers, xml-conduit
3926− }:
3927− mkDerivation {
3928− pname = "tagstream-conduit";
3929− version = "0.5.5.3";
3930− sha256 = "1arlf7qil9bzcqykda8yyrnncm29jsfjvz5kbcdrbbhqpbqfi5mj";
3715+ revision = "2";
3716+ editedCabalFile = "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5";
39313717 libraryHaskellDepends = [
3932− attoparsec base blaze-builder bytestring case-insensitive conduit
3933− conduit-extra data-default resourcet text transformers xml-conduit
3934− ];
3935− testHaskellDepends = [
3936− base bytestring conduit hspec HUnit QuickCheck resourcet text
3718+ base deepseq template-haskell transformers transformers-compat
39373719 ];
3938− doHaddock = false;
3939− doCheck = false;
3940− homepage = "http://github.com/yihuang/tagstream-conduit";
3941− description = "streamlined html tag parser";
3720+ homepage = "http://github.com/ekmett/tagged";
3721+ description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
39423722 license = stdenv.lib.licenses.bsd3;
39433723 }) {};
39443724 "tar" = callPackage
3945− ({ mkDerivation, array, base, bytestring, bytestring-handle
3946− , containers, deepseq, directory, filepath, QuickCheck, tasty
3947− , tasty-quickcheck, time
3725+ ({ mkDerivation, array, base, bytestring, containers, criterion
3726+ , deepseq, directory, filepath, time
39483727 }:
39493728 mkDerivation {
39503729 pname = "tar";
3951− version = "0.5.0.3";
3952− sha256 = "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq";
3730+ version = "0.5.1.0";
3731+ sha256 = "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8";
39533732 configureFlags = [ "-f-old-time" ];
39543733 libraryHaskellDepends = [
39553734 array base bytestring containers deepseq directory filepath time
39563735 ];
3957− testHaskellDepends = [
3958− array base bytestring bytestring-handle containers deepseq
3959− directory filepath QuickCheck tasty tasty-quickcheck time
3736+ benchmarkHaskellDepends = [
3737+ array base bytestring containers criterion deepseq directory
3738+ filepath time
39603739 ];
3961− doHaddock = false;
39623740 doCheck = false;
39633741 description = "Reading, writing and manipulating \".tar\" archive files.";
39643742 license = stdenv.lib.licenses.bsd3;
39653743 }) {};
39663744 "tasty" = callPackage
3967− ({ mkDerivation, ansi-terminal, async, base, clock, containers
3968− , deepseq, mtl, optparse-applicative, regex-tdfa, stm, tagged
3969− , unbounded-delays, unix
3745+ ({ mkDerivation, ansi-terminal, async, base, clock, containers, mtl
3746+ , optparse-applicative, stm, tagged, unbounded-delays, unix
3747+ , wcwidth
39703748 }:
39713749 mkDerivation {
39723750 pname = "tasty";
3973− version = "0.11.3";
3974− sha256 = "1g5394akq4j7y93b7cqwqf9lacqh2k21rrj6srbnh2sg97ng7j1b";
3751+ version = "1.1.0.2";
3752+ sha256 = "1q3hsy1a6q8xng3m04hp1m10bwamihani30zi25cjhkhmyl4ads7";
39753753 libraryHaskellDepends = [
3976− ansi-terminal async base clock containers deepseq mtl
3977− optparse-applicative regex-tdfa stm tagged unbounded-delays unix
3754+ ansi-terminal async base clock containers mtl optparse-applicative
3755+ stm tagged unbounded-delays unix wcwidth
39783756 ];
3979− doHaddock = false;
3980− doCheck = false;
39813757 homepage = "https://github.com/feuerbach/tasty";
39823758 description = "Modern and extensible testing framework";
39833759 license = stdenv.lib.licenses.mit;
@@ -3989,18 +3765,27 @@ self: {
39893765 }:
39903766 mkDerivation {
39913767 pname = "tasty-ant-xml";
3992− version = "1.1.1";
3993− sha256 = "0asvz2jjk1zf3ylps1277kf4yy6bifascblsd3vjfk9k9rh52w3j";
3768+ version = "1.1.4";
3769+ sha256 = "0v0gsb90kh6hwlgxbclzawsskywc6yf7n8xhiifia97l4y0yx2m8";
39943770 libraryHaskellDepends = [
39953771 base containers directory filepath generic-deriving ghc-prim mtl
39963772 stm tagged tasty transformers xml
39973773 ];
3998− doHaddock = false;
3999− doCheck = false;
40003774 homepage = "http://github.com/ocharles/tasty-ant-xml";
40013775 description = "Render tasty output to XML for Jenkins";
40023776 license = stdenv.lib.licenses.bsd3;
40033777 }) {};
3778+ "tasty-expected-failure" = callPackage
3779+ ({ mkDerivation, base, tagged, tasty }:
3780+ mkDerivation {
3781+ pname = "tasty-expected-failure";
3782+ version = "0.11.1.1";
3783+ sha256 = "1i2s809m644b7hgiblqay9j364r3fjj1rwbrahsn1pgr5q6mr6ji";
3784+ libraryHaskellDepends = [ base tagged tasty ];
3785+ homepage = "http://github.com/nomeata/tasty-expected-failure";
3786+ description = "Mark tasty tests as failure expected";
3787+ license = stdenv.lib.licenses.mit;
3788+ }) {};
40043789 "tasty-golden" = callPackage
40053790 ({ mkDerivation, async, base, bytestring, containers, deepseq
40063791 , directory, filepath, mtl, optparse-applicative, process, tagged
@@ -4008,8 +3793,8 @@ self: {
40083793 }:
40093794 mkDerivation {
40103795 pname = "tasty-golden";
4011− version = "2.3.1.1";
4012− sha256 = "0pcf5hsyp5mmbqn7krdm49jxpkjm6rb4j83j28f76h7q55dzm1wy";
3796+ version = "2.3.2";
3797+ sha256 = "0k3ibjhjc9vcwzrjnl4rnwvfm8l81q347nb7dgvcib6n5wm3s404";
40133798 libraryHaskellDepends = [
40143799 async base bytestring containers deepseq directory filepath mtl
40153800 optparse-applicative process tagged tasty temporary
@@ -4017,22 +3802,36 @@ self: {
40173802 testHaskellDepends = [
40183803 base directory filepath process tasty tasty-hunit temporary-rc
40193804 ];
4020− doHaddock = false;
4021− doCheck = false;
40223805 homepage = "https://github.com/feuerbach/tasty-golden";
40233806 description = "Golden tests support for tasty";
40243807 license = stdenv.lib.licenses.mit;
40253808 }) {};
3809+ "tasty-hedgehog" = callPackage
3810+ ({ mkDerivation, base, hedgehog, tagged, tasty
3811+ , tasty-expected-failure
3812+ }:
3813+ mkDerivation {
3814+ pname = "tasty-hedgehog";
3815+ version = "0.2.0.0";
3816+ sha256 = "10m1akbiblnjq9ljk469725k30b254d36d267rk51z2f171py42s";
3817+ revision = "4";
3818+ editedCabalFile = "04d7lhn0dlqna0pqz7wxmz2y6vq7qar2m2g432z38cvm5na9w4y0";
3819+ libraryHaskellDepends = [ base hedgehog tagged tasty ];
3820+ testHaskellDepends = [
3821+ base hedgehog tasty tasty-expected-failure
3822+ ];
3823+ homepage = "https://github.com/qfpl/tasty-hedgehog";
3824+ description = "Integration for tasty and hedgehog";
3825+ license = stdenv.lib.licenses.bsd3;
3826+ }) {};
40263827 "tasty-hunit" = callPackage
4027− ({ mkDerivation, base, tasty }:
3828+ ({ mkDerivation, base, call-stack, tasty }:
40283829 mkDerivation {
40293830 pname = "tasty-hunit";
4030− version = "0.9.2";
4031− sha256 = "08qnxaw34wfnzi9irs1jd4d0zczqm3k5ffkd4zwhkz0dflmgq7mf";
4032− libraryHaskellDepends = [ base tasty ];
4033− doHaddock = false;
4034− doCheck = false;
4035− homepage = "http://documentup.com/feuerbach/tasty";
3831+ version = "0.10.0.1";
3832+ sha256 = "0j3hgga6c3s8h5snzivb8a75h96207ia2rlbxzj07xbf4zpkp44g";
3833+ libraryHaskellDepends = [ base call-stack tasty ];
3834+ homepage = "https://github.com/feuerbach/tasty";
40363835 description = "HUnit support for the Tasty test framework";
40373836 license = stdenv.lib.licenses.mit;
40383837 }) {};
@@ -4048,25 +3847,25 @@ self: {
40483847 testHaskellDepends = [
40493848 base bytestring mtl tasty tasty-hunit tasty-quickcheck
40503849 ];
4051− doHaddock = false;
4052− doCheck = false;
40533850 homepage = "https://github.com/vincenthz/tasty-kat";
40543851 description = "Known Answer Tests (KAT) framework for tasty";
40553852 license = stdenv.lib.licenses.mit;
40563853 }) {};
40573854 "tasty-quickcheck" = callPackage
4058− ({ mkDerivation, base, pcre-light, QuickCheck, tagged, tasty
4059− , tasty-hunit
3855+ ({ mkDerivation, base, optparse-applicative, pcre-light, QuickCheck
3856+ , random, tagged, tasty, tasty-hunit
40603857 }:
40613858 mkDerivation {
40623859 pname = "tasty-quickcheck";
4063− version = "0.8.4";
4064− sha256 = "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn";
4065− libraryHaskellDepends = [ base QuickCheck tagged tasty ];
3860+ version = "0.10";
3861+ sha256 = "0vr6szbbz3s5461i0zr8zpq347zfvidfzv5gf3xwxhm0yk731z8h";
3862+ revision = "1";
3863+ editedCabalFile = "1ndkkywcqgb2wj339vgckjv5915da5kd4ixlkaww9fsba3qsrnwx";
3864+ libraryHaskellDepends = [
3865+ base optparse-applicative QuickCheck random tagged tasty
3866+ ];
40663867 testHaskellDepends = [ base pcre-light tasty tasty-hunit ];
4067− doHaddock = false;
4068− doCheck = false;
4069− homepage = "http://documentup.com/feuerbach/tasty";
3868+ homepage = "https://github.com/feuerbach/tasty";
40703869 description = "QuickCheck support for the Tasty test framework";
40713870 license = stdenv.lib.licenses.mit;
40723871 }) {};
@@ -4077,8 +3876,6 @@ self: {
40773876 version = "0.8.1";
40783877 sha256 = "1n66ngzllf3xrlqykwszlkwsi96n5nkm7xbpfq7774vpvfnafjri";
40793878 libraryHaskellDepends = [ async base smallcheck tagged tasty ];
4080− doHaddock = false;
4081− doCheck = false;
40823879 homepage = "http://documentup.com/feuerbach/tasty";
40833880 description = "SmallCheck support for the Tasty test framework";
40843881 license = stdenv.lib.licenses.mit;
@@ -4095,28 +3892,24 @@ self: {
40953892 base haskell-src-exts tasty template-haskell
40963893 ];
40973894 testHaskellDepends = [ base tasty-hunit ];
4098− doHaddock = false;
4099− doCheck = false;
41003895 homepage = "http://github.com/bennofs/tasty-th";
41013896 description = "Automatic tasty test case discovery using TH";
41023897 license = stdenv.lib.licenses.bsd3;
41033898 }) {};
41043899 "temporary" = callPackage
41053900 ({ mkDerivation, base, base-compat, directory, exceptions, filepath
4106− , tasty, tasty-hunit, transformers, unix
3901+ , random, tasty, tasty-hunit, transformers, unix
41073902 }:
41083903 mkDerivation {
41093904 pname = "temporary";
4110− version = "1.2.1.1";
4111− sha256 = "1wq0rc71mp0lw7pkpcbhglf636ni46xnlpsmx6yz8acmwmqj8xsm";
3905+ version = "1.3";
3906+ sha256 = "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c";
41123907 libraryHaskellDepends = [
4113− base directory exceptions filepath transformers unix
3908+ base directory exceptions filepath random transformers unix
41143909 ];
41153910 testHaskellDepends = [
41163911 base base-compat directory filepath tasty tasty-hunit unix
41173912 ];
4118− doHaddock = false;
4119− doCheck = false;
41203913 homepage = "https://github.com/feuerbach/temporary";
41213914 description = "Portable temporary file and directory support";
41223915 license = stdenv.lib.licenses.bsd3;
@@ -4132,31 +3925,34 @@ self: {
41323925 libraryHaskellDepends = [
41333926 base directory exceptions filepath transformers unix
41343927 ];
4135− doHaddock = false;
4136− doCheck = false;
41373928 homepage = "http://www.github.com/feuerbach/temporary";
41383929 description = "Portable temporary file and directory support for Windows and Unix, based on code from Cabal";
41393930 license = stdenv.lib.licenses.bsd3;
41403931 }) {};
3932+ "terminal-size" = callPackage
3933+ ({ mkDerivation, base }:
3934+ mkDerivation {
3935+ pname = "terminal-size";
3936+ version = "0.3.2.1";
3937+ sha256 = "0n4nvj3dbj9gxfnprgish45asn9z4dipv9j98s8i7g2n8yb3xhmm";
3938+ libraryHaskellDepends = [ base ];
3939+ description = "Get terminal window height and width";
3940+ license = stdenv.lib.licenses.bsd3;
3941+ }) {};
41413942 "test-framework" = callPackage
41423943 ({ mkDerivation, ansi-terminal, ansi-wl-pprint, base, containers
41433944 , hostname, old-locale, random, regex-posix, time, xml
41443945 }:
41453946 mkDerivation {
41463947 pname = "test-framework";
4147− version = "0.8.1.1";
4148− sha256 = "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq";
4149− revision = "2";
4150− editedCabalFile = "1mp1h0fzwxa3xxnbw33lp8hj0rb8vwkd712r5ak8ny5nmawh2c9y";
4151− isLibrary = true;
4152− isExecutable = true;
3948+ version = "0.8.2.0";
3949+ sha256 = "1hhacrzam6b8f10hyldmjw8pb7frdxh04rfg3farxcxwbnhwgbpm";
41533950 libraryHaskellDepends = [
41543951 ansi-terminal ansi-wl-pprint base containers hostname old-locale
41553952 random regex-posix time xml
41563953 ];
4157− doHaddock = false;
41583954 doCheck = false;
4159− homepage = "https://batterseapower.github.io/test-framework/";
3955+ homepage = "http://haskell.github.io/test-framework/";
41603956 description = "Framework for running and organising tests, with HUnit and QuickCheck support";
41613957 license = stdenv.lib.licenses.bsd3;
41623958 }) {};
@@ -4172,8 +3968,6 @@ self: {
41723968 libraryHaskellDepends = [
41733969 base extensible-exceptions HUnit test-framework
41743970 ];
4175− doHaddock = false;
4176− doCheck = false;
41773971 homepage = "https://batterseapower.github.io/test-framework/";
41783972 description = "HUnit support for the test-framework package";
41793973 license = stdenv.lib.licenses.bsd3;
@@ -4186,11 +3980,11 @@ self: {
41863980 pname = "test-framework-quickcheck2";
41873981 version = "0.3.0.4";
41883982 sha256 = "0vj834337r6jzr3258cv68ly2sv5999mklpsrfngyk51kywsyqyp";
3983+ revision = "1";
3984+ editedCabalFile = "147ngmfdkskyg7mwsp5w73a4dbx3rp5s38bci3z03kn1m093lxff";
41893985 libraryHaskellDepends = [
41903986 base extensible-exceptions QuickCheck random test-framework
41913987 ];
4192− doHaddock = false;
4193− doCheck = false;
41943988 homepage = "http://haskell.github.io/test-framework/";
41953989 description = "QuickCheck-2 support for the test-framework package";
41963990 license = stdenv.lib.licenses.bsd3;
@@ -4207,34 +4001,24 @@ self: {
42074001 base haskell-src-exts language-haskell-extract regex-posix
42084002 template-haskell test-framework
42094003 ];
4210− doHaddock = false;
4211− doCheck = false;
42124004 homepage = "http://github.com/finnsson/test-generator";
42134005 description = "Automagically generate the HUnit- and Quickcheck-bulk-code using Template Haskell";
42144006 license = stdenv.lib.licenses.bsd3;
42154007 }) {};
42164008 "text" = callPackage
4217− ({ mkDerivation, array, base, binary, bytestring, deepseq
4218− , directory, ghc-prim, HUnit, integer-gmp, QuickCheck
4219− , quickcheck-unicode, random, test-framework, test-framework-hunit
4220− , test-framework-quickcheck2
4009+ ({ mkDerivation, array, base, binary, bytestring, deepseq, ghc-prim
4010+ , integer-gmp
42214011 }:
42224012 mkDerivation {
42234013 pname = "text";
4224− version = "1.2.2.2";
4225− sha256 = "1y9d0zjs2ls0c574mr5xw7y3y49s62sd3wcn9lhpwz8a6q352iii";
4014+ version = "1.2.3.0";
4015+ sha256 = "06iir7q99rnffzxi8gagn8w1k9m49368sbidgz634fv1gxib3q10";
42264016 configureFlags = [ "-f-integer-simple" ];
42274017 libraryHaskellDepends = [
42284018 array base binary bytestring deepseq ghc-prim integer-gmp
42294019 ];
4230− testHaskellDepends = [
4231− array base binary bytestring deepseq directory ghc-prim HUnit
4232− integer-gmp QuickCheck quickcheck-unicode random test-framework
4233− test-framework-hunit test-framework-quickcheck2
4234− ];
4235− doHaddock = false;
42364020 doCheck = false;
4237− homepage = "https://github.com/bos/text";
4021+ homepage = "https://github.com/haskell/text";
42384022 description = "An efficient packed Unicode text type";
42394023 license = stdenv.lib.licenses.bsd2;
42404024 }) {};
@@ -4254,12 +4038,26 @@ self: {
42544038 random test-framework test-framework-hunit
42554039 test-framework-quickcheck2 text
42564040 ];
4257− doHaddock = false;
42584041 doCheck = false;
42594042 homepage = "https://github.com/bos/text-icu";
42604043 description = "Bindings to the ICU library";
42614044 license = stdenv.lib.licenses.bsd3;
42624045 }) {inherit (pkgs) icu;};
4046+ "text-short" = callPackage
4047+ ({ mkDerivation, base, binary, bytestring, deepseq, ghc-prim
4048+ , hashable, text
4049+ }:
4050+ mkDerivation {
4051+ pname = "text-short";
4052+ version = "0.1.2";
4053+ sha256 = "0rqiwgjkgyfy8596swl0s0x2jqk6ddh2h02qxa32az2cs5kviwmk";
4054+ libraryHaskellDepends = [
4055+ base binary bytestring deepseq ghc-prim hashable text
4056+ ];
4057+ doCheck = false;
4058+ description = "Memory-efficient representation of Unicode text strings";
4059+ license = stdenv.lib.licenses.bsd3;
4060+ }) {};
42634061 "tf-random" = callPackage
42644062 ({ mkDerivation, base, primitive, random, time }:
42654063 mkDerivation {
@@ -4267,8 +4065,6 @@ self: {
42674065 version = "0.5";
42684066 sha256 = "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f";
42694067 libraryHaskellDepends = [ base primitive random time ];
4270− doHaddock = false;
4271− doCheck = false;
42724068 description = "High-quality splittable pseudorandom number generator";
42734069 license = stdenv.lib.licenses.bsd3;
42744070 }) {};
@@ -4276,14 +4072,14 @@ self: {
42764072 ({ mkDerivation, base, containers, ghc-prim, template-haskell }:
42774073 mkDerivation {
42784074 pname = "th-abstraction";
4279− version = "0.2.6.0";
4280− sha256 = "0g42h6wnj2awc5ryhbvx009wd8w75pn66bjzsq1z4s3xajd2hbp5";
4075+ version = "0.2.8.0";
4076+ sha256 = "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya";
4077+ revision = "1";
4078+ editedCabalFile = "0yr4bj9ypbls0ysmwrgn2nsjb1xpsb12bjaiwbkzp6nf3kljwnnv";
42814079 libraryHaskellDepends = [
42824080 base containers ghc-prim template-haskell
42834081 ];
42844082 testHaskellDepends = [ base containers template-haskell ];
4285− doHaddock = false;
4286− doCheck = false;
42874083 homepage = "https://github.com/glguy/th-abstraction";
42884084 description = "Nicer interface for reified information about data types";
42894085 license = stdenv.lib.licenses.isc;
@@ -4292,26 +4088,25 @@ self: {
42924088 ({ mkDerivation, base, containers, syb, template-haskell }:
42934089 mkDerivation {
42944090 pname = "th-expand-syns";
4295− version = "0.4.3.0";
4296− sha256 = "17b73q0d5r8xixhvdp0hv4ap96l7s3f2y0j5cknp81b1hyinivlz";
4091+ version = "0.4.4.0";
4092+ sha256 = "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc";
42974093 libraryHaskellDepends = [ base containers syb template-haskell ];
42984094 testHaskellDepends = [ base template-haskell ];
4299− doHaddock = false;
4300− doCheck = false;
43014095 homepage = "https://github.com/DanielSchuessler/th-expand-syns";
43024096 description = "Expands type synonyms in Template Haskell ASTs";
43034097 license = stdenv.lib.licenses.bsd3;
43044098 }) {};
43054099 "th-lift" = callPackage
4306− ({ mkDerivation, base, ghc-prim, template-haskell }:
4100+ ({ mkDerivation, base, ghc-prim, template-haskell, th-abstraction
4101+ }:
43074102 mkDerivation {
43084103 pname = "th-lift";
4309− version = "0.7.7";
4310− sha256 = "1dfb0z42vrmdx579lkam07ic03d3v5y19339a3ca0bwpprpzmihn";
4311− libraryHaskellDepends = [ base ghc-prim template-haskell ];
4104+ version = "0.7.10";
4105+ sha256 = "13c89mr9g4jwrmqxx882ygr1lkvj1chw29p80qv2f3g5wnhlgkmr";
4106+ libraryHaskellDepends = [
4107+ base ghc-prim template-haskell th-abstraction
4108+ ];
43124109 testHaskellDepends = [ base ghc-prim template-haskell ];
4313− doHaddock = false;
4314− doCheck = false;
43154110 homepage = "http://github.com/mboes/th-lift";
43164111 description = "Derive Template Haskell's Lift class for datatypes";
43174112 license = stdenv.lib.licenses.bsd3;
@@ -4330,26 +4125,23 @@ self: {
43304125 testHaskellDepends = [
43314126 base bytestring containers QuickCheck template-haskell text vector
43324127 ];
4333− doHaddock = false;
4334− doCheck = false;
43354128 homepage = "http://github.com/bennofs/th-lift-instances/";
43364129 description = "Lift instances for template-haskell for common data types";
43374130 license = stdenv.lib.licenses.bsd3;
43384131 }) {};
43394132 "th-orphans" = callPackage
4340− ({ mkDerivation, base, hspec, mtl, template-haskell, th-lift
4341− , th-lift-instances, th-reify-many
4133+ ({ mkDerivation, base, hspec, hspec-discover, mtl, template-haskell
4134+ , th-lift, th-lift-instances, th-reify-many
43424135 }:
43434136 mkDerivation {
43444137 pname = "th-orphans";
4345− version = "0.13.4";
4346− sha256 = "0cab6hmyii42p157jhm0sd5jzdlxms4ip2ncrmcmc47dl3pxk5gk";
4138+ version = "0.13.6";
4139+ sha256 = "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp";
43474140 libraryHaskellDepends = [
43484141 base mtl template-haskell th-lift th-lift-instances th-reify-many
43494142 ];
43504143 testHaskellDepends = [ base hspec template-haskell ];
4351− doHaddock = false;
4352− doCheck = false;
4144+ testToolDepends = [ hspec-discover ];
43534145 description = "Orphan instances for TH datatypes";
43544146 license = stdenv.lib.licenses.bsd3;
43554147 }) {};
@@ -4365,8 +4157,6 @@ self: {
43654157 base containers mtl safe template-haskell th-expand-syns
43664158 ];
43674159 testHaskellDepends = [ base template-haskell ];
4368− doHaddock = false;
4369− doCheck = false;
43704160 homepage = "http://github.com/mgsloan/th-reify-many";
43714161 description = "Recurseively reify template haskell datatype info";
43724162 license = stdenv.lib.licenses.bsd3;
@@ -4387,8 +4177,6 @@ self: {
43874177 base bytestring containers directory filepath hspec primitive syb
43884178 template-haskell text th-orphans vector
43894179 ];
4390− doHaddock = false;
4391− doCheck = false;
43924180 homepage = "https://github.com/fpco/th-utilities#readme";
43934181 description = "Collection of useful functions for use with Template Haskell";
43944182 license = stdenv.lib.licenses.mit;
@@ -4397,36 +4185,38 @@ self: {
43974185 ({ mkDerivation, base, time }:
43984186 mkDerivation {
43994187 pname = "time-locale-compat";
4400− version = "0.1.1.3";
4401− sha256 = "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i";
4188+ version = "0.1.1.4";
4189+ sha256 = "0qmyxf8nz0q6brvplc4s2wsb1bbpq7kb65b69m503g9bgranblgj";
44024190 configureFlags = [ "-f-old-locale" ];
44034191 libraryHaskellDepends = [ base time ];
4404− doHaddock = false;
4405− doCheck = false;
44064192 homepage = "https://github.com/khibino/haskell-time-locale-compat";
4407− description = "Compatibility of TimeLocale between old-locale and time-1.5";
4193+ description = "Compatibile module for time-format locale";
44084194 license = stdenv.lib.licenses.bsd3;
44094195 }) {};
44104196 "tls" = callPackage
44114197 ({ mkDerivation, asn1-encoding, asn1-types, async, base, bytestring
4412− , cereal, cryptonite, data-default-class, hourglass, memory, mtl
4413− , network, QuickCheck, tasty, tasty-quickcheck, transformers, x509
4414− , x509-store, x509-validation
4198+ , cereal, criterion, cryptonite, data-default-class, hourglass
4199+ , memory, mtl, network, QuickCheck, tasty, tasty-quickcheck
4200+ , transformers, x509, x509-store, x509-validation
44154201 }:
44164202 mkDerivation {
44174203 pname = "tls";
4418− version = "1.3.11";
4419− sha256 = "00r7zfkdzy7hi6nhzkirp8jjims4kikgjcm3z4a82kw78awqw01z";
4204+ version = "1.4.1";
4205+ sha256 = "1y083724mym28n6xfaz7pcc7zqxdhjpaxpbvzxfbs25qq2px3smv";
44204206 libraryHaskellDepends = [
44214207 asn1-encoding asn1-types async base bytestring cereal cryptonite
44224208 data-default-class memory mtl network transformers x509 x509-store
44234209 x509-validation
44244210 ];
44254211 testHaskellDepends = [
4426− base bytestring cereal cryptonite data-default-class hourglass mtl
4427− QuickCheck tasty tasty-quickcheck x509 x509-validation
4212+ asn1-types base bytestring cereal cryptonite data-default-class
4213+ hourglass mtl QuickCheck tasty tasty-quickcheck x509
4214+ x509-validation
4215+ ];
4216+ benchmarkHaskellDepends = [
4217+ asn1-types base bytestring criterion cryptonite data-default-class
4218+ hourglass mtl QuickCheck tasty-quickcheck x509 x509-validation
44284219 ];
4429− doHaddock = false;
44304220 doCheck = false;
44314221 homepage = "http://github.com/vincenthz/hs-tls";
44324222 description = "TLS/SSL protocol native implementation (Server and Client)";
@@ -4436,29 +4226,23 @@ self: {
44364226 ({ mkDerivation, auto-update, base, clock, psqueues, tls }:
44374227 mkDerivation {
44384228 pname = "tls-session-manager";
4439− version = "0.0.0.1";
4440− sha256 = "0bqv6wh771j7n8qqsh02v8c4byybfkr1027k6cz03mszvnz1q9k8";
4441− revision = "1";
4442− editedCabalFile = "0hnhxfqmvkkhf37rr2ir52xyd59070jjm6s6al0alsanid2m4p01";
4229+ version = "0.0.0.2";
4230+ sha256 = "0rvmln545vghsx8zhxp44f0f6pzma8cylarmfhhysy55ipywr1n5";
44434231 libraryHaskellDepends = [ auto-update base clock psqueues tls ];
4444− doHaddock = false;
4445− doCheck = false;
44464232 description = "In-memory TLS session manager";
44474233 license = stdenv.lib.licenses.bsd3;
44484234 }) {};
44494235 "transformers-base" = callPackage
4450− ({ mkDerivation, base, stm, transformers, transformers-compat }:
4236+ ({ mkDerivation, base, base-orphans, stm, transformers
4237+ , transformers-compat
4238+ }:
44514239 mkDerivation {
44524240 pname = "transformers-base";
4453− version = "0.4.4";
4454− sha256 = "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va";
4455− revision = "1";
4456− editedCabalFile = "196pr3a4lhgklyw6nq6rv1j9djwzmvx7xrpp58carxnb55gk06pv";
4241+ version = "0.4.5.2";
4242+ sha256 = "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h";
44574243 libraryHaskellDepends = [
4458− base stm transformers transformers-compat
4244+ base base-orphans stm transformers transformers-compat
44594245 ];
4460− doHaddock = false;
4461− doCheck = false;
44624246 homepage = "https://github.com/mvv/transformers-base";
44634247 description = "Lift computations from the bottom of a transformer stack";
44644248 license = stdenv.lib.licenses.bsd3;
@@ -4467,15 +4251,33 @@ self: {
44674251 ({ mkDerivation, base, ghc-prim, transformers }:
44684252 mkDerivation {
44694253 pname = "transformers-compat";
4470− version = "0.5.1.4";
4471− sha256 = "17yam0199fh9ndsn9n69jx9nvbsmymzzwbi23dck3dk4q57fz0fq";
4254+ version = "0.6.2";
4255+ sha256 = "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw";
4256+ configureFlags = [ "-ffive-three" ];
44724257 libraryHaskellDepends = [ base ghc-prim transformers ];
4473− doHaddock = false;
4474− doCheck = false;
44754258 homepage = "http://github.com/ekmett/transformers-compat/";
4476− description = "A small compatibility shim exposing the new types from transformers 0.3 and 0.4 to older Haskell platforms.";
4259+ description = "A small compatibility shim for the transformers library";
44774260 license = stdenv.lib.licenses.bsd3;
44784261 }) {};
4262+ "typed-process" = callPackage
4263+ ({ mkDerivation, async, base, base64-bytestring, bytestring, hspec
4264+ , process, stm, temporary, transformers
4265+ }:
4266+ mkDerivation {
4267+ pname = "typed-process";
4268+ version = "0.2.2.0";
4269+ sha256 = "0c6gvgvjyncbni9a5bvpbglknd4yclr3d3hfg9bhgahmkj40dva2";
4270+ libraryHaskellDepends = [
4271+ async base bytestring process stm transformers
4272+ ];
4273+ testHaskellDepends = [
4274+ async base base64-bytestring bytestring hspec process stm temporary
4275+ transformers
4276+ ];
4277+ homepage = "https://haskell-lang.org/library/typed-process";
4278+ description = "Run external processes, with strong typing of streams";
4279+ license = stdenv.lib.licenses.mit;
4280+ }) {};
44794281 "unbounded-delays" = callPackage
44804282 ({ mkDerivation, base }:
44814283 mkDerivation {
@@ -4483,8 +4285,6 @@ self: {
44834285 version = "0.1.1.0";
44844286 sha256 = "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa";
44854287 libraryHaskellDepends = [ base ];
4486− doHaddock = false;
4487− doCheck = false;
44884288 homepage = "https://github.com/basvandijk/unbounded-delays";
44894289 description = "Unbounded thread delays and timeouts";
44904290 license = stdenv.lib.licenses.bsd3;
@@ -4493,13 +4293,9 @@ self: {
44934293 ({ mkDerivation, base, unix }:
44944294 mkDerivation {
44954295 pname = "unix-compat";
4496− version = "0.4.3.1";
4497− sha256 = "09vykw89x981fywy0w1pci2v8zy3ajyjwh9z2n610vjacmd1v03j";
4498− revision = "2";
4499− editedCabalFile = "0b5jicn8nm53yxxzwlvfcv4xp5rrqp98x5wwqh234wn9x44z54d2";
4296+ version = "0.5.0.1";
4297+ sha256 = "1gdf3h2knbymkivm784vq51mbcyj5y91r480awyxj5cw8gh9kwn2";
45004298 libraryHaskellDepends = [ base unix ];
4501− doHaddock = false;
4502− doCheck = false;
45034299 homepage = "http://github.com/jystic/unix-compat";
45044300 description = "Portable POSIX-compatibility layer";
45054301 license = stdenv.lib.licenses.bsd3;
@@ -4510,26 +4306,62 @@ self: {
45104306 }:
45114307 mkDerivation {
45124308 pname = "unix-time";
4513− version = "0.3.7";
4514− sha256 = "1qdlc9raih8s0m3x8x3n7q3ngh4faw2alv9l78sp6gnx648k0c8i";
4309+ version = "0.3.8";
4310+ sha256 = "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw";
45154311 libraryHaskellDepends = [ base binary bytestring old-time ];
45164312 testHaskellDepends = [
45174313 base bytestring doctest hspec old-locale old-time QuickCheck time
45184314 ];
4519− doHaddock = false;
4520− doCheck = false;
45214315 description = "Unix time parser/formatter and utilities";
45224316 license = stdenv.lib.licenses.bsd3;
45234317 }) {};
4318+ "unliftio" = callPackage
4319+ ({ mkDerivation, async, base, deepseq, directory, filepath, hspec
4320+ , process, stm, time, transformers, unix, unliftio-core
4321+ }:
4322+ mkDerivation {
4323+ pname = "unliftio";
4324+ version = "0.2.7.0";
4325+ sha256 = "0qql93lq5w7qghl454cc3s1i8v1jb4h08n82fqkw0kli4g3g9njs";
4326+ libraryHaskellDepends = [
4327+ async base deepseq directory filepath process stm time transformers
4328+ unix unliftio-core
4329+ ];
4330+ testHaskellDepends = [
4331+ async base deepseq directory filepath hspec process stm time
4332+ transformers unix unliftio-core
4333+ ];
4334+ homepage = "https://github.com/fpco/unliftio/tree/master/unliftio#readme";
4335+ description = "The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)";
4336+ license = stdenv.lib.licenses.mit;
4337+ }) {};
4338+ "unliftio-core" = callPackage
4339+ ({ mkDerivation, base, transformers }:
4340+ mkDerivation {
4341+ pname = "unliftio-core";
4342+ version = "0.1.1.0";
4343+ sha256 = "1193fplsjm1lcr05xwvkj1rsyzx74i755f6kw3ikmxbsv0bv0l3m";
4344+ revision = "1";
4345+ editedCabalFile = "16bjwcsaghqqmyi69rq65dn3ydifyfaabq3ns37apdm00mwqbcj2";
4346+ libraryHaskellDepends = [ base transformers ];
4347+ homepage = "https://github.com/fpco/unliftio/tree/master/unliftio-core#readme";
4348+ description = "The MonadUnliftIO typeclass for unlifting monads to IO";
4349+ license = stdenv.lib.licenses.mit;
4350+ }) {};
45244351 "unordered-containers" = callPackage
4525− ({ mkDerivation, base, deepseq, hashable }:
4352+ ({ mkDerivation, base, ChasingBottoms, containers, deepseq
4353+ , hashable, HUnit, QuickCheck, test-framework, test-framework-hunit
4354+ , test-framework-quickcheck2
4355+ }:
45264356 mkDerivation {
45274357 pname = "unordered-containers";
4528− version = "0.2.8.0";
4529− sha256 = "1a7flszhhgyjn0nm9w7cm26jbf6vyx9ij1iij4sl11pjkwsqi8d4";
4358+ version = "0.2.9.0";
4359+ sha256 = "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37";
45304360 libraryHaskellDepends = [ base deepseq hashable ];
4531− doHaddock = false;
4532− doCheck = false;
4361+ testHaskellDepends = [
4362+ base ChasingBottoms containers hashable HUnit QuickCheck
4363+ test-framework test-framework-hunit test-framework-quickcheck2
4364+ ];
45334365 homepage = "https://github.com/tibbe/unordered-containers";
45344366 description = "Efficient hashing-based container types";
45354367 license = stdenv.lib.licenses.bsd3;
@@ -4540,11 +4372,9 @@ self: {
45404372 pname = "utf8-string";
45414373 version = "1.0.1.1";
45424374 sha256 = "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv";
4543− revision = "2";
4544− editedCabalFile = "1b97s9picjl689hcz8scinv7c8k5iaal1livqr0l1l8yc4h0imhr";
4375+ revision = "3";
4376+ editedCabalFile = "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38";
45454377 libraryHaskellDepends = [ base bytestring ];
4546− doHaddock = false;
4547− doCheck = false;
45484378 homepage = "http://github.com/glguy/utf8-string/";
45494379 description = "Support for reading and writing UTF8 Strings";
45504380 license = stdenv.lib.licenses.bsd3;
@@ -4562,53 +4392,43 @@ self: {
45624392 libraryHaskellDepends = [
45634393 base binary bytestring deepseq hashable random text
45644394 ];
4565− doHaddock = false;
45664395 doCheck = false;
45674396 homepage = "https://github.com/aslatter/uuid";
45684397 description = "Type definitions for Universally Unique Identifiers";
45694398 license = stdenv.lib.licenses.bsd3;
45704399 }) {};
45714400 "vault" = callPackage
4572− ({ mkDerivation, base, containers, hashable, unordered-containers
4401+ ({ mkDerivation, base, containers, hashable, semigroups
4402+ , unordered-containers
45734403 }:
45744404 mkDerivation {
45754405 pname = "vault";
4576− version = "0.3.0.7";
4577− sha256 = "1w36ldr5iv0yiqbvibm7b1c66hf1ps5rbassz348zmi113d8k4cy";
4406+ version = "0.3.1.1";
4407+ sha256 = "0a1fir7gvbj2w894daac5c4c3gy36r6c74yci78lb2nvk431b95j";
45784408 libraryHaskellDepends = [
4579− base containers hashable unordered-containers
4409+ base containers hashable semigroups unordered-containers
45804410 ];
4581− doHaddock = false;
4582− doCheck = false;
45834411 homepage = "https://github.com/HeinrichApfelmus/vault";
45844412 description = "a persistent store for values of arbitrary types";
45854413 license = stdenv.lib.licenses.bsd3;
45864414 }) {};
45874415 "vector" = callPackage
4588− ({ mkDerivation, base, deepseq, ghc-prim, HUnit, primitive
4589− , QuickCheck, random, template-haskell, test-framework
4590− , test-framework-hunit, test-framework-quickcheck2, transformers
4591− }:
4416+ ({ mkDerivation, base, deepseq, ghc-prim, primitive }:
45924417 mkDerivation {
45934418 pname = "vector";
45944419 version = "0.12.0.1";
45954420 sha256 = "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i";
4596− revision = "1";
4597− editedCabalFile = "1xjv8876kx9vh86w718vdaaai40pwnsiw8368c5h88ch8iqq10qb";
4421+ revision = "3";
4422+ editedCabalFile = "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x";
45984423 libraryHaskellDepends = [ base deepseq ghc-prim primitive ];
4599− testHaskellDepends = [
4600− base HUnit QuickCheck random template-haskell test-framework
4601− test-framework-hunit test-framework-quickcheck2 transformers
4602− ];
4603− doHaddock = false;
46044424 doCheck = false;
46054425 homepage = "https://github.com/haskell/vector";
46064426 description = "Efficient Arrays";
46074427 license = stdenv.lib.licenses.bsd3;
46084428 }) {};
46094429 "vector-algorithms" = callPackage
4610− ({ mkDerivation, base, bytestring, containers, mtl, mwc-random
4611− , primitive, QuickCheck, vector
4430+ ({ mkDerivation, base, bytestring, containers, primitive
4431+ , QuickCheck, vector
46124432 }:
46134433 mkDerivation {
46144434 pname = "vector-algorithms";
@@ -4619,32 +4439,45 @@ self: {
46194439 isLibrary = true;
46204440 isExecutable = true;
46214441 libraryHaskellDepends = [ base bytestring primitive vector ];
4622− executableHaskellDepends = [ base mtl mwc-random vector ];
46234442 testHaskellDepends = [
46244443 base bytestring containers QuickCheck vector
46254444 ];
4626− doHaddock = false;
46274445 doCheck = false;
46284446 homepage = "http://code.haskell.org/~dolio/";
46294447 description = "Efficient algorithms for vector arrays";
46304448 license = stdenv.lib.licenses.bsd3;
46314449 }) {};
46324450 "vector-binary-instances" = callPackage
4633− ({ mkDerivation, base, binary, tasty, tasty-quickcheck, vector }:
4451+ ({ mkDerivation, base, binary, bytestring, criterion, deepseq
4452+ , tasty, tasty-quickcheck, vector
4453+ }:
46344454 mkDerivation {
46354455 pname = "vector-binary-instances";
4636− version = "0.2.3.5";
4637− sha256 = "0niad09lbxz3cj20qllyj92lwbc013ihw4lby8fv07x5xjx5a4p1";
4456+ version = "0.2.4";
4457+ sha256 = "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb";
46384458 revision = "1";
4639− editedCabalFile = "0yk61mifvcc31vancsfsd0vskqh5k3a3znx1rbz8wzcs4ijjzh48";
4459+ editedCabalFile = "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i";
46404460 libraryHaskellDepends = [ base binary vector ];
46414461 testHaskellDepends = [ base binary tasty tasty-quickcheck vector ];
4642− doHaddock = false;
4643− doCheck = false;
4462+ benchmarkHaskellDepends = [
4463+ base binary bytestring criterion deepseq vector
4464+ ];
46444465 homepage = "https://github.com/bos/vector-binary-instances";
46454466 description = "Instances of Data.Binary and Data.Serialize for vector";
46464467 license = stdenv.lib.licenses.bsd3;
46474468 }) {};
4469+ "vector-builder" = callPackage
4470+ ({ mkDerivation, base, base-prelude, semigroups, vector }:
4471+ mkDerivation {
4472+ pname = "vector-builder";
4473+ version = "0.3.4.1";
4474+ sha256 = "1dzbcm6br9cay28hz804n15bwdhbzhysd4hj0fa6ijfwmfb90r6i";
4475+ libraryHaskellDepends = [ base base-prelude semigroups vector ];
4476+ doCheck = false;
4477+ homepage = "https://github.com/nikita-volkov/vector-builder";
4478+ description = "Vector builder";
4479+ license = stdenv.lib.licenses.mit;
4480+ }) {};
46484481 "vector-instances" = callPackage
46494482 ({ mkDerivation, base, comonad, hashable, keys, pointed
46504483 , semigroupoids, semigroups, vector
@@ -4656,8 +4489,6 @@ self: {
46564489 libraryHaskellDepends = [
46574490 base comonad hashable keys pointed semigroupoids semigroups vector
46584491 ];
4659− doHaddock = false;
4660− doCheck = false;
46614492 homepage = "http://github.com/ekmett/vector-instances";
46624493 description = "Orphan Instances for 'Data.Vector'";
46634494 license = stdenv.lib.licenses.bsd3;
@@ -4670,8 +4501,6 @@ self: {
46704501 sha256 = "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy";
46714502 libraryHaskellDepends = [ base template-haskell vector ];
46724503 testHaskellDepends = [ base data-default vector ];
4673− doHaddock = false;
4674− doCheck = false;
46754504 description = "Deriver for Data.Vector.Unboxed using Template Haskell";
46764505 license = stdenv.lib.licenses.bsd3;
46774506 }) {};
@@ -4682,77 +4511,72 @@ self: {
46824511 version = "0.7.2";
46834512 sha256 = "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk";
46844513 libraryHaskellDepends = [ base ];
4685− doHaddock = false;
4686− doCheck = false;
46874514 homepage = "http://github.com/ekmett/void";
46884515 description = "A Haskell 98 logically uninhabited data type";
46894516 license = stdenv.lib.licenses.bsd3;
46904517 }) {};
46914518 "wai" = callPackage
4692− ({ mkDerivation, base, blaze-builder, bytestring
4693− , bytestring-builder, hspec, http-types, network, text
4694− , transformers, vault
4519+ ({ mkDerivation, base, bytestring, hspec, hspec-discover
4520+ , http-types, network, text, transformers, vault
46954521 }:
46964522 mkDerivation {
46974523 pname = "wai";
4698− version = "3.2.1.1";
4699− sha256 = "08afasnirja21vr0bmzcywz4w29x736dmdv7h8nnh1l8bn7sd02x";
4524+ version = "3.2.1.2";
4525+ sha256 = "0jr3b2789wa4m6mxkz12ynz4lfsqmgbrcy0am8karyqr3x3528r8";
47004526 libraryHaskellDepends = [
4701− base blaze-builder bytestring bytestring-builder http-types network
4702− text transformers vault
4527+ base bytestring http-types network text transformers vault
47034528 ];
4704− testHaskellDepends = [ base blaze-builder bytestring hspec ];
4705− doHaddock = false;
4706− doCheck = false;
4529+ testHaskellDepends = [ base bytestring hspec ];
4530+ testToolDepends = [ hspec-discover ];
47074531 homepage = "https://github.com/yesodweb/wai";
47084532 description = "Web Application Interface";
47094533 license = stdenv.lib.licenses.mit;
47104534 }) {};
47114535 "wai-conduit" = callPackage
4712− ({ mkDerivation, base, blaze-builder, bytestring, conduit
4713− , http-types, transformers, wai
4536+ ({ mkDerivation, base, bytestring, conduit, http-types
4537+ , transformers, wai
47144538 }:
47154539 mkDerivation {
47164540 pname = "wai-conduit";
4717− version = "3.0.0.3";
4718− sha256 = "1zvsiwjq2mvkb9sjgp3ly9m968m7a2jjzr4id6jpi3mmqykj15z4";
4541+ version = "3.0.0.4";
4542+ sha256 = "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417";
47194543 libraryHaskellDepends = [
4720− base blaze-builder bytestring conduit http-types transformers wai
4544+ base bytestring conduit http-types transformers wai
47214545 ];
4722− doHaddock = false;
4723− doCheck = false;
47244546 homepage = "https://github.com/yesodweb/wai";
47254547 description = "conduit wrappers for WAI";
47264548 license = stdenv.lib.licenses.mit;
47274549 }) {};
47284550 "warp" = callPackage
4729− ({ mkDerivation, array, async, auto-update, base, blaze-builder
4730− , bytestring, bytestring-builder, case-insensitive, containers
4731− , directory, doctest, ghc-prim, hashable, hspec, HTTP, http-date
4551+ ({ mkDerivation, array, async, auto-update, base, bsb-http-chunked
4552+ , bytestring, case-insensitive, containers, directory, doctest
4553+ , gauge, ghc-prim, hashable, hspec, http-client, http-date
47324554 , http-types, http2, HUnit, iproute, lifted-base, network, process
47334555 , QuickCheck, silently, simple-sendfile, stm, streaming-commons
47344556 , text, time, transformers, unix, unix-compat, vault, wai, word8
47354557 }:
47364558 mkDerivation {
47374559 pname = "warp";
4738− version = "3.2.13";
4739− sha256 = "0964l8xcbdqnrz0mnk0b732n66i7q8grwzzax96mqbh15ps5nfcj";
4560+ version = "3.2.23";
4561+ sha256 = "12v9qhi4hyp0sb90yddsax16jj7x47nmqwn53sv7b5nszcxgzam0";
47404562 libraryHaskellDepends = [
4741− array async auto-update base blaze-builder bytestring
4742− bytestring-builder case-insensitive containers ghc-prim hashable
4743− http-date http-types http2 iproute network simple-sendfile stm
4744− streaming-commons text unix unix-compat vault wai word8
4563+ array async auto-update base bsb-http-chunked bytestring
4564+ case-insensitive containers ghc-prim hashable http-date http-types
4565+ http2 iproute network simple-sendfile stm streaming-commons text
4566+ unix unix-compat vault wai word8
47454567 ];
47464568 testHaskellDepends = [
4747− array async auto-update base blaze-builder bytestring
4748− bytestring-builder case-insensitive containers directory doctest
4749− ghc-prim hashable hspec HTTP http-date http-types http2 HUnit
4750− iproute lifted-base network process QuickCheck silently
4751− simple-sendfile stm streaming-commons text time transformers unix
4752− unix-compat vault wai word8
4569+ array async auto-update base bsb-http-chunked bytestring
4570+ case-insensitive containers directory doctest ghc-prim hashable
4571+ hspec http-client http-date http-types http2 HUnit iproute
4572+ lifted-base network process QuickCheck silently simple-sendfile stm
4573+ streaming-commons text time transformers unix unix-compat vault wai
4574+ word8
4575+ ];
4576+ benchmarkHaskellDepends = [
4577+ auto-update base bytestring containers gauge hashable http-date
4578+ http-types network unix unix-compat
47534579 ];
4754− doHaddock = false;
4755− doCheck = false;
47564580 homepage = "http://github.com/yesodweb/wai";
47574581 description = "A fast, light-weight web server for WAI applications";
47584582 license = stdenv.lib.licenses.mit;
@@ -4763,18 +4587,43 @@ self: {
47634587 }:
47644588 mkDerivation {
47654589 pname = "warp-tls";
4766− version = "3.2.4";
4767− sha256 = "05vfjlgi574nnydfmfpyp3q6mf389iyj9mv94djnm8d1izasml85";
4590+ version = "3.2.4.3";
4591+ sha256 = "17gj295fr98l7mkz2gdz6kahdnmja0sql3kvy2zab6q168g53kc4";
47684592 libraryHaskellDepends = [
47694593 base bytestring cryptonite data-default-class network
47704594 streaming-commons tls tls-session-manager wai warp
47714595 ];
4772− doHaddock = false;
4773− doCheck = false;
47744596 homepage = "http://github.com/yesodweb/wai";
47754597 description = "HTTP over TLS support for Warp via the TLS package";
47764598 license = stdenv.lib.licenses.mit;
47774599 }) {};
4600+ "wcwidth" = callPackage
4601+ ({ mkDerivation, base, containers }:
4602+ mkDerivation {
4603+ pname = "wcwidth";
4604+ version = "0.0.2";
4605+ sha256 = "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz";
4606+ isLibrary = true;
4607+ isExecutable = true;
4608+ libraryHaskellDepends = [ base containers ];
4609+ homepage = "http://github.com/solidsnack/wcwidth/";
4610+ description = "Native wcwidth";
4611+ license = stdenv.lib.licenses.bsd3;
4612+ }) {};
4613+ "weigh" = callPackage
4614+ ({ mkDerivation, base, deepseq, mtl, process, split, temporary }:
4615+ mkDerivation {
4616+ pname = "weigh";
4617+ version = "0.0.12";
4618+ sha256 = "0zw2a997gxgdzqmd7j730kxgynzmjvvlkw84dajmfzf1v9pbij7x";
4619+ libraryHaskellDepends = [
4620+ base deepseq mtl process split temporary
4621+ ];
4622+ testHaskellDepends = [ base deepseq ];
4623+ homepage = "https://github.com/fpco/weigh#readme";
4624+ description = "Measure allocations of a Haskell functions/values";
4625+ license = stdenv.lib.licenses.bsd3;
4626+ }) {};
47784627 "with-location" = callPackage
47794628 ({ mkDerivation, base, hspec }:
47804629 mkDerivation {
@@ -4783,22 +4632,35 @@ self: {
47834632 sha256 = "1rzxvsyh8x3ql3zh7gyw9hjx9bl4v73h0y5kzgaxcfcdn86dg49c";
47844633 libraryHaskellDepends = [ base ];
47854634 testHaskellDepends = [ base hspec ];
4786− doHaddock = false;
4787− doCheck = false;
47884635 homepage = "https://github.com/sol/with-location#readme";
47894636 description = "Use ImplicitParams-based source locations in a backward compatible way";
47904637 license = stdenv.lib.licenses.mit;
47914638 }) {};
4639+ "wl-pprint-annotated" = callPackage
4640+ ({ mkDerivation, base, containers, deepseq, tasty, tasty-hunit
4641+ , text
4642+ }:
4643+ mkDerivation {
4644+ pname = "wl-pprint-annotated";
4645+ version = "0.1.0.0";
4646+ sha256 = "0c2996x5gdrif1l0lfwlqnka7xp5diac74rckv0jasv2i0333kmp";
4647+ libraryHaskellDepends = [ base containers deepseq text ];
4648+ testHaskellDepends = [
4649+ base containers deepseq tasty tasty-hunit text
4650+ ];
4651+ homepage = "https://github.com/minad/wl-pprint-annotated#readme";
4652+ description = "Wadler/Leijen pretty printer with annotations and slightly modernized API";
4653+ license = stdenv.lib.licenses.bsd3;
4654+ }) {};
47924655 "word8" = callPackage
4793− ({ mkDerivation, base, hspec }:
4656+ ({ mkDerivation, base, bytestring, criterion, hspec }:
47944657 mkDerivation {
47954658 pname = "word8";
47964659 version = "0.1.3";
47974660 sha256 = "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16";
47984661 libraryHaskellDepends = [ base ];
47994662 testHaskellDepends = [ base hspec ];
4800− doHaddock = false;
4801− doCheck = false;
4663+ benchmarkHaskellDepends = [ base bytestring criterion ];
48024664 description = "Word8 library";
48034665 license = stdenv.lib.licenses.bsd3;
48044666 }) {};
@@ -4809,10 +4671,10 @@ self: {
48094671 }:
48104672 mkDerivation {
48114673 pname = "x509";
4812− version = "1.7.2";
4813− sha256 = "0yyfw07bw73gkh93z653lnncc30wj3g3rf26cwxjpyxvwalia0yw";
4674+ version = "1.7.3";
4675+ sha256 = "0mkk29g32fs70bqkikg83v45h9jig9c8aail3mrdqwxpkfa0yx21";
48144676 revision = "1";
4815− editedCabalFile = "07mphpmj4zk5mzhp5x50a7q6w134kgymf557dcgbp643cbkcmc66";
4677+ editedCabalFile = "06zzirygvzp0ssdg9blipdwmd0b41p4gxh3ldai7ngjyjsdclwsx";
48164678 libraryHaskellDepends = [
48174679 asn1-encoding asn1-parse asn1-types base bytestring containers
48184680 cryptonite hourglass memory mtl pem
@@ -4821,8 +4683,6 @@ self: {
48214683 asn1-types base bytestring cryptonite hourglass mtl tasty
48224684 tasty-quickcheck
48234685 ];
4824− doHaddock = false;
4825− doCheck = false;
48264686 homepage = "http://github.com/vincenthz/hs-certificate";
48274687 description = "X509 reader and writer";
48284688 license = stdenv.lib.licenses.bsd3;
@@ -4834,15 +4694,13 @@ self: {
48344694 }:
48354695 mkDerivation {
48364696 pname = "x509-store";
4837− version = "1.6.5";
4838− sha256 = "1lg9gy0bmzjmlk4gfnzx2prfar1qha4hfjsw8yvjg33zm0fv3ahs";
4697+ version = "1.6.6";
4698+ sha256 = "0dbndqmnmyixxc7308nyq3zlkhz9dff4rbcw2a49c77rbicny9va";
48394699 libraryHaskellDepends = [
48404700 asn1-encoding asn1-types base bytestring containers cryptonite
48414701 directory filepath mtl pem x509
48424702 ];
48434703 testHaskellDepends = [ base bytestring tasty tasty-hunit x509 ];
4844− doHaddock = false;
4845− doCheck = false;
48464704 homepage = "http://github.com/vincenthz/hs-certificate";
48474705 description = "X.509 collection accessing and storing methods";
48484706 license = stdenv.lib.licenses.bsd3;
@@ -4859,34 +4717,29 @@ self: {
48594717 base bytestring containers directory filepath mtl pem process x509
48604718 x509-store
48614719 ];
4862− doHaddock = false;
4863− doCheck = false;
48644720 homepage = "http://github.com/vincenthz/hs-certificate";
48654721 description = "Handle per-operating-system X.509 accessors and storage";
48664722 license = stdenv.lib.licenses.bsd3;
48674723 }) {};
48684724 "x509-validation" = callPackage
4869− ({ mkDerivation, asn1-encoding, asn1-types, base, byteable
4870− , bytestring, containers, cryptonite, data-default-class, hourglass
4871− , memory, mtl, pem, tasty, tasty-hunit, x509, x509-store
4725+ ({ mkDerivation, asn1-encoding, asn1-types, base, bytestring
4726+ , containers, cryptonite, data-default-class, hourglass, memory
4727+ , mtl, pem, tasty, tasty-hunit, x509, x509-store
48724728 }:
48734729 mkDerivation {
48744730 pname = "x509-validation";
4875− version = "1.6.9";
4876− sha256 = "005m5jxjz5cx3lriayv4a17xa19qc2qxw7kz2f9wvj7hgjnwww44";
4731+ version = "1.6.10";
4732+ sha256 = "1ms51scawldgyfcim5a2qlgyn3rnrclyh205d6djaa1569vrs73n";
48774733 revision = "1";
4878− editedCabalFile = "02n9s0wizi4wivs6is4cyapqjjnbrx3zdk34q0cnlfsvbbvyhjax";
4734+ editedCabalFile = "1isap8v1gh31q4pj3gn155ya8nd1da0a5a3cryqh4yhf0ivbwl0w";
48794735 libraryHaskellDepends = [
4880− asn1-encoding asn1-types base byteable bytestring containers
4881− cryptonite data-default-class hourglass memory mtl pem x509
4882− x509-store
4736+ asn1-encoding asn1-types base bytestring containers cryptonite
4737+ data-default-class hourglass memory mtl pem x509 x509-store
48834738 ];
48844739 testHaskellDepends = [
48854740 asn1-encoding asn1-types base bytestring cryptonite
48864741 data-default-class hourglass tasty tasty-hunit x509 x509-store
48874742 ];
4888− doHaddock = false;
4889− doCheck = false;
48904743 homepage = "http://github.com/vincenthz/hs-certificate";
48914744 description = "X.509 Certificate and CRL validation";
48924745 license = stdenv.lib.licenses.bsd3;
@@ -4898,33 +4751,29 @@ self: {
48984751 version = "1.3.14";
48994752 sha256 = "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j";
49004753 libraryHaskellDepends = [ base bytestring text ];
4901− doHaddock = false;
4902− doCheck = false;
49034754 homepage = "http://code.galois.com";
49044755 description = "A simple XML library";
49054756 license = stdenv.lib.licenses.bsd3;
49064757 }) {};
49074758 "xml-conduit" = callPackage
4908− ({ mkDerivation, attoparsec, base, blaze-builder, blaze-html
4909− , blaze-markup, bytestring, conduit, conduit-extra, containers
4910− , data-default, deepseq, hspec, HUnit, monad-control, resourcet
4911− , text, transformers, xml-types
4759+ ({ mkDerivation, attoparsec, base, blaze-html, blaze-markup
4760+ , bytestring, conduit, conduit-extra, containers
4761+ , data-default-class, deepseq, hspec, HUnit, monad-control
4762+ , resourcet, text, transformers, xml-types
49124763 }:
49134764 mkDerivation {
49144765 pname = "xml-conduit";
4915− version = "1.5.1";
4916− sha256 = "0d4pb9d0mdz9djh8aiy5r8088rqh7w34mbqmg8mmaq1i7vx2dzks";
4766+ version = "1.8.0";
4767+ sha256 = "0di0ll2p4ykqnlipf2jrlalirxdf9wkli292245rgr3vcb9vz0h3";
49174768 libraryHaskellDepends = [
4918− attoparsec base blaze-builder blaze-html blaze-markup bytestring
4919− conduit conduit-extra containers data-default deepseq monad-control
4769+ attoparsec base blaze-html blaze-markup bytestring conduit
4770+ conduit-extra containers data-default-class deepseq monad-control
49204771 resourcet text transformers xml-types
49214772 ];
49224773 testHaskellDepends = [
49234774 base blaze-markup bytestring conduit containers hspec HUnit
49244775 resourcet text transformers xml-types
49254776 ];
4926− doHaddock = false;
4927− doCheck = false;
49284777 homepage = "http://github.com/snoyberg/xml";
49294778 description = "Pure-Haskell utilities for dealing with XML with the conduit package";
49304779 license = stdenv.lib.licenses.mit;
@@ -4936,23 +4785,20 @@ self: {
49364785 version = "0.3.6";
49374786 sha256 = "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr";
49384787 libraryHaskellDepends = [ base deepseq text ];
4939− doHaddock = false;
4940− doCheck = false;
49414788 homepage = "https://john-millikin.com/software/haskell-xml/";
49424789 description = "Basic types for representing XML";
49434790 license = stdenv.lib.licenses.mit;
49444791 }) {};
49454792 "yaml" = callPackage
4946− ({ mkDerivation, aeson, aeson-qq, attoparsec, base, base-compat
4947− , bytestring, conduit, containers, directory, filepath, hspec
4948− , HUnit, mockery, resourcet, scientific, semigroups
4949− , template-haskell, temporary, text, transformers
4950− , unordered-containers, vector
4793+ ({ mkDerivation, aeson, attoparsec, base, base-compat, bytestring
4794+ , conduit, containers, directory, filepath, hspec, HUnit, mockery
4795+ , resourcet, scientific, semigroups, template-haskell, temporary
4796+ , text, transformers, unordered-containers, vector
49514797 }:
49524798 mkDerivation {
49534799 pname = "yaml";
4954− version = "0.8.25";
4955− sha256 = "16bx7vkj455796wdklh8h13zm98h5m81dl8np0sjbx9hcsrfdbyp";
4800+ version = "0.8.32";
4801+ sha256 = "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w";
49564802 isLibrary = true;
49574803 isExecutable = true;
49584804 libraryHaskellDepends = [
@@ -4960,51 +4806,27 @@ self: {
49604806 filepath resourcet scientific semigroups template-haskell text
49614807 transformers unordered-containers vector
49624808 ];
4963− executableHaskellDepends = [ aeson base bytestring ];
49644809 testHaskellDepends = [
4965− aeson aeson-qq base base-compat bytestring conduit directory hspec
4966− HUnit mockery resourcet temporary text transformers
4810+ aeson attoparsec base base-compat bytestring conduit containers
4811+ directory filepath hspec HUnit mockery resourcet scientific
4812+ semigroups template-haskell temporary text transformers
49674813 unordered-containers vector
49684814 ];
4969− doHaddock = false;
4970− doCheck = false;
4971− homepage = "http://github.com/snoyberg/yaml/";
4815+ homepage = "https://github.com/snoyberg/yaml#readme";
49724816 description = "Support for parsing and rendering YAML documents";
49734817 license = stdenv.lib.licenses.bsd3;
49744818 }) {};
49754819 "zlib" = callPackage
4976− ({ mkDerivation, base, bytestring, QuickCheck, tasty, tasty-hunit
4977− , tasty-quickcheck, zlib
4978− }:
4820+ ({ mkDerivation, base, bytestring, zlib }:
49794821 mkDerivation {
49804822 pname = "zlib";
4981− version = "0.6.1.2";
4982− sha256 = "1fx2k2qmgm2dj3fkxx2ry945fpdn02d4dkihjxma21xgdiilxsz4";
4823+ version = "0.6.2";
4824+ sha256 = "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d";
49834825 libraryHaskellDepends = [ base bytestring ];
49844826 librarySystemDepends = [ zlib ];
4985− testHaskellDepends = [
4986− base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck
4987− ];
4988− doHaddock = false;
49894827 doCheck = false;
49904828 description = "Compression and decompression in the gzip and zlib formats";
49914829 license = stdenv.lib.licenses.bsd3;
49924830 }) {inherit (pkgs) zlib;};
4993− "zlib-bindings" = callPackage
4994− ({ mkDerivation, base, bytestring, hspec, QuickCheck, zlib }:
4995− mkDerivation {
4996− pname = "zlib-bindings";
4997− version = "0.1.1.5";
4998− sha256 = "02ciywlz4wdlymgc3jsnicz9kzvymjw1www2163gxidnz4wb8fy8";
4999− revision = "2";
5000− editedCabalFile = "0fq49694gqkab8m0vq4i879blswczwd66n7xh4r4gwiahf0ryvqc";
5001− libraryHaskellDepends = [ base bytestring zlib ];
5002− testHaskellDepends = [ base bytestring hspec QuickCheck zlib ];
5003− doHaddock = false;
5004− doCheck = false;
5005− homepage = "http://github.com/snapframework/zlib-bindings";
5006− description = "Low-level bindings to the zlib package";
5007− license = stdenv.lib.licenses.bsd3;
5008− }) {};
50094831
50104832}
nix/lib.nix+1−1
@@ -23,7 +23,7 @@ rec {
2323 buildInputs = [ git ];
2424 installPhase = ''
2525 mkdir -p $out
26− git clone --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git $out
26+ git clone --bare --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git $out
2727 '';
2828 SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
2929 };
nix/stackage/default.nixdeleted−24
@@ -1,24 +0,0 @@
1−{ nixpkgs ? import <nixpkgs> {}
2−, lts ? "lts-9.0" }:
3−
4−with nixpkgs;
5−let
6− lib = callPackage ../lib.nix {};
7− stackage2nix = import ../stackage2nix { inherit nixpkgs; };
8−in stdenv.mkDerivation {
9− name = "stackage";
10− phases = [ "installPhase" ];
11− buildInputs = [ stackage2nix ];
12−
13− installPhase = ''
14− export HOME=$TMP
15− mkdir -p $out
16− pushd $out
17− stackage2nix --resolver ${lts}
18− popd
19− '';
20−
21− LANG="en_US.UTF-8";
22− SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
23− NIX_PATH="nixpkgs=${nixpkgs.path}";
24−}
src/AllCabalHashes.hs+27−21
@@ -3,14 +3,14 @@ module AllCabalHashes where
33import Control.Lens hiding ((<.>))
44import Data.Aeson as A
55import Data.ByteString as BS
6−import Data.ByteString.Lazy as BSL
6+import Data.ByteString.Char8 as B8
77import Data.Map as M
8+import Data.Tagged (Tagged(..))
89import Data.Text as T
9−import Data.Text.Encoding as T
1010import Distribution.Nixpkgs.Hashes as NH
1111import Distribution.Package
1212import Distribution.PackageDescription
13−import Distribution.PackageDescription.Parse
13+import Distribution.PackageDescription.Parsec
1414import Distribution.Text ( display )
1515import Git
1616import Git.Libgit2 as Libgit2
@@ -41,28 +41,34 @@ readPackageByHash repoDir sha1Hash = do
4141 let repoOpts = defaultRepositoryOptions { repoPath = repoDir }
4242 repo <- openLgRepository repoOpts
4343 buf <- runLgRepository repo $ do
44− BlobObj (Blob _ contents) <- lookupObject =<< parseOid sha1Hash
45− case contents of
46− BlobString bs -> return bs
47− BlobStringLazy bsl -> return $ BSL.toStrict bsl
48− _ -> fail $ "Git SHA1 " ++ show sha1Hash ++ ": expected single Blob"
49− cabal <- case parseGenericPackageDescription (T.unpack $ T.decodeUtf8 buf) of
50− ParseOk _ a -> return a
51− ParseFailed err -> fail ("Git SHA1 " ++ show sha1Hash ++ ": " ++ show err)
52− let
53− hash = printSHA256 (digest (digestByName "sha256") buf)
54− pkg = setCabalFileHash hash cabal
55− return (pkg, hash)
44+ oid <- parseOid sha1Hash
45+ catBlob (Tagged oid)
46+ parseCabal ("Git SHA1 " ++ show sha1Hash) buf
5647
5748readPackageByName :: FilePath -> PackageIdentifier -> IO (GenericPackageDescription, SHA256Hash)
5849readPackageByName repoDir (PackageIdentifier name version) = do
59− let cabalFile = repoDir </> unPackageName name </> display version </> unPackageName name <.> "cabal"
60− buf <- BS.readFile cabalFile
61− cabal <- case parseGenericPackageDescription (T.unpack $ T.decodeUtf8 buf) of
62− ParseOk _ a -> return a
63− ParseFailed err -> fail (cabalFile ++ ": " ++ show err)
50+ let cabalFile = unPackageName name </> display version </> unPackageName name <.> "cabal"
51+ let repoOpts = defaultRepositoryOptions { repoPath = repoDir }
52+ repo <- openLgRepository repoOpts
53+ buf <- runLgRepository repo $ do
54+ headCommit <- resolveReference "HEAD" >>= \case
55+ Nothing -> fail "Failed to parse HEAD ref"
56+ Just oid -> lookupCommit $ Tagged oid
57+ blobOid <- commitTreeEntry headCommit (B8.pack cabalFile) >>= \case
58+ Nothing -> fail (cabalFile ++ ": no such file at HEAD")
59+ Just (BlobEntry oid PlainBlob) -> pure oid
60+ Just (BlobEntry _ _) -> fail (cabalFile ++ " is not a plain blob")
61+ _ -> fail (cabalFile ++ " points to a non-blob!")
62+ catBlob blobOid
63+ parseCabal cabalFile buf
64+
65+parseCabal :: String -> BS.ByteString -> IO (GenericPackageDescription, SHA256Hash)
66+parseCabal what blob = do
67+ cabal <- let (_, res) = runParseResult (parseGenericPackageDescription blob)
68+ in case res of Right a -> return a
69+ Left (_, err) -> fail (what ++ ": " ++ show err)
6470 let
65− hash = NH.printSHA256 (SSL.digest (SSL.digestByName "sha256") buf)
71+ hash = NH.printSHA256 (SSL.digest (SSL.digestByName "sha256") blob)
6672 pkg = setCabalFileHash hash cabal
6773 return (pkg, hash)
6874
src/Distribution/Nixpkgs/Haskell/FromStack.hs+3−2
@@ -68,14 +68,14 @@ fromPackage conf pconf plan pkg =
6868 (haskellResolver conf)
6969 (targetPlatform conf)
7070 (targetCompiler conf)
71− flags
71+ (mkFlagAssignment flags)
7272 (planDependencies plan)
7373 (configureBenches . configureTests $ pkgCabal pkg)
7474 genericDrv = fromPackageDescription
7575 (haskellResolver conf)
7676 (nixpkgsResolver conf)
7777 missingDeps
78− flags
78+ (mkFlagAssignment flags)
7979 descr
8080 depName (Dependency name _) = name
8181 testDeps = setOf
@@ -97,4 +97,5 @@ finalizePackage :: Package -> PackageConfig -> Derivation -> Derivation
9797finalizePackage pkg pconf drv = drv
9898 & src .~ pkgSource pkg
9999 & doCheck &&~ enableCheck pconf
100+ & testDepends %~ (if enableCheck pconf then id else const mempty)
100101 & runHaddock &&~ enableHaddock pconf
src/Distribution/Nixpkgs/Haskell/FromStack/Package.hs−1
@@ -5,7 +5,6 @@ import Data.Foldable as F
55import Data.Function (on)
66import Data.Graph (Graph, Vertex)
77import Data.Maybe
8−import Data.Monoid
98import Data.Ord as O
109import Distribution.Text (display, disp)
1110import Distribution.Package (unPackageName, packageName)
src/Distribution/Nixpkgs/Haskell/Packages/PrettyPrinting.hs+2
@@ -2,6 +2,8 @@ module Distribution.Nixpkgs.Haskell.Packages.PrettyPrinting where
22
33import Language.Nix.PrettyPrinting
44
5+import Prelude hiding ((<>))
6+
57compilerConfig :: Doc -> Doc
68compilerConfig body =
79 funargsCurried ["self", "super"] <+> body
src/Distribution/Nixpkgs/Haskell/Stack.hs+15−33
@@ -1,4 +1,3 @@
1−{-# LANGUAGE CPP #-}
21module Distribution.Nixpkgs.Haskell.Stack where
32
43import Control.Lens
@@ -9,6 +8,7 @@ import Distribution.Nixpkgs.Fetch
98import Distribution.Nixpkgs.Haskell.Derivation
109import Distribution.Nixpkgs.Haskell.FromCabal as FromCabal
1110import Distribution.Nixpkgs.Haskell.FromStack as FromStack
11+import Distribution.Nixpkgs.Haskell.Hackage as DB
1212import Distribution.Nixpkgs.Haskell.PackageSourceSpec as PackageSourceSpec
1313import Distribution.PackageDescription as PackageDescription
1414import Distribution.System as System
@@ -16,13 +16,6 @@ import Network.URI as URI
1616import Stack.Config
1717
1818
19−newtype HackageDb = HackageDb { fromHackageDB :: T.Text }
20− deriving (Eq, Ord, Show)
21−
22−makePrisms ''HackageDb
23−
24−unHackageDb :: HackageDb -> String
25−unHackageDb = T.unpack . fromHackageDB
2619
2720data StackPackagesConfig = StackPackagesConfig
2821 { _spcHaskellResolver :: HaskellResolver
@@ -36,22 +29,12 @@ data StackPackagesConfig = StackPackagesConfig
3629
3730makeLenses ''StackPackagesConfig
3831
39−getStackPackageFromDb
40− :: Maybe HackageDb
41− -> StackPackage
42− -> IO Package
43−getStackPackageFromDb optHackageDb stackPackage =
44−#if MIN_VERSION_cabal2nix(2,6,0)
45− PackageSourceSpec.getPackage
32+getStackPackageFromDb :: DB.HackageDB -> StackPackage -> IO Package
33+getStackPackageFromDb hackageDb stackPackage = do
34+ PackageSourceSpec.getPackage'
4635 False
47− (unHackageDb <$> optHackageDb)
48− Nothing
49− (stackLocationToSource (stackPackage ^. spLocation) (stackPackage ^. spDir))
50−#else
51− PackageSourceSpec.getPackage
52− (unHackageDb <$> optHackageDb)
36+ (pure hackageDb)
5337 (stackLocationToSource (stackPackage ^. spLocation) (stackPackage ^. spDir))
54−#endif
5538
5639stackLocationToSource
5740 :: PackageLocation
@@ -59,22 +42,22 @@ stackLocationToSource
5942 -> Maybe FilePath
6043 -> Source
6144stackLocationToSource pl mCabalDir = case pl of
62− HackagePackage p -> Source
63− { sourceUrl = "cabal://" ++ T.unpack p
45+ PlIndex p -> Source
46+ { sourceUrl = "cabal://" ++ T.unpack (p ^. piNameVersion)
6447 , sourceRevision = mempty
6548 , sourceHash = UnknownHash
6649 , sourceCabalDir = cabalDir }
67− StackFilePath p -> Source
50+ PlFilePath p -> Source
6851 { sourceUrl = p
6952 , sourceRevision = mempty
7053 , sourceHash = UnknownHash
7154 , sourceCabalDir = cabalDir }
72− StackUri uri -> Source
55+ PlUri uri -> Source
7356 { sourceUrl = URI.uriToString id uri mempty
7457 , sourceRevision = mempty
7558 , sourceHash = UnknownHash
7659 , sourceCabalDir = cabalDir }
77− StackRepo r -> Source
60+ PlRepo r -> Source
7861 { sourceUrl = T.unpack $ r ^. rUri
7962 , sourceRevision = T.unpack $ r ^. rCommit
8063 , sourceHash = UnknownHash
@@ -84,18 +67,17 @@ stackLocationToSource pl mCabalDir = case pl of
8467
8568packageDerivation
8669 :: StackPackagesConfig
87− -> Maybe HackageDb
70+ -> DB.HackageDB
8871 -> StackPackage
8972 -> IO Derivation
90−packageDerivation conf optHackageDb stackPackage = do
91− pkg <- getStackPackageFromDb optHackageDb stackPackage
73+packageDerivation conf hackageDb stackPackage = do
74+ pkg <- getStackPackageFromDb hackageDb stackPackage
9275 let
9376 drv = genericPackageDerivation conf pkg
9477 & subpath %~ flip fromMaybe (stackPackage ^. spDir)
95− isExtraDep = stackPackage ^. spExtraDep
9678 pconf = PackageConfig
97− { enableCheck = isExtraDep || conf ^. spcDoCheckPackages
98− , enableHaddock = isExtraDep || conf ^. spcDoHaddockPackages }
79+ { enableCheck = conf ^. spcDoCheckPackages
80+ , enableHaddock = conf ^. spcDoHaddockPackages }
9981 return $ finalizePackage pkg pconf drv
10082
10183genericPackageDerivation
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+51−24
@@ -17,12 +17,14 @@ import qualified Language.Nix.FilePath as Nix
1717import Language.Nix.PrettyPrinting as PP
1818import Stack.Config (StackResolver, unStackResolver)
1919
20+import Prelude hiding ((<>))
21+
2022
2123data OverrideConfig = OverrideConfig
22− { _ocGhc :: !Version
23− , _ocStackagePackages :: !FilePath
24− , _ocStackageConfig :: !FilePath
25− , _ocNixpkgs :: !FilePath
24+ { _ocGhc :: Version
25+ , _ocStackagePackages :: FilePath
26+ , _ocStackageConfig :: FilePath
27+ , _ocNixpkgs :: FilePath
2628 }
2729
2830makeLenses ''OverrideConfig
@@ -75,11 +77,11 @@ overrideHaskellPackages oc packages = vcat
7577 , nest 2 "inherit pkgs stdenv;"
7678 , nest 2 "inherit (self) callPackage;"
7779 , "};"
78− , ""
79− ]
80+ ]
8081 , "in callPackage (nixpkgs.path + \"/pkgs/development/haskell-modules\") {"
8182 , nest 2 $ vcat
82− [ attr "ghc" ("pkgs.haskell.compiler." <> toNixGhcVersion (oc ^. ocGhc))
83+ [ attr "ghc" ("pkgs.haskell.compiler." <> nixGhc)
84+ , attr "buildHaskellPackages" ("buildPackages.haskell.packages." <> nixGhc)
8385 , attr "compilerConfig" "self: extends pkgOverrides (stackageConfig self)"
8486 , attr "initialPackages" "stackagePackages"
8587 , attr "configurationCommon" "args: self: super: {}"
@@ -87,6 +89,8 @@ overrideHaskellPackages oc packages = vcat
8789 ]
8890 , "}"
8991 ]
92+ where
93+ nixGhc = toNixGhcVersion (oc ^. ocGhc)
9094
9195overrideStackage :: StackResolver -> FilePath -> NonEmpty Derivation -> Doc
9296overrideStackage stackResolver nixpkgsPath packages = vcat
@@ -106,31 +110,54 @@ overrideStackage stackResolver nixpkgsPath packages = vcat
106110 ]
107111
108112pPrintHaskellPackages :: OverrideConfig -> Doc
109−pPrintHaskellPackages oc =
110− let
111− nixpkgs = if oc ^. ocNixpkgs . to fromString == systemNixpkgs
112− then systemNixpkgs
113− else (disp . (fromString :: FilePath -> Nix.FilePath)) (oc ^. ocNixpkgs)
114− in vcat
113+pPrintHaskellPackages oc = vcat
115114 [ funargs
116− [ "nixpkgs ? import " <> nixpkgs <> " {}"
115+ [ "callPackage"
116+ , "buildPackages"
117+ , "pkgs"
118+ , "stdenv"
119+ , "lib"
120+ , "overrides ? (self: super: {})"
121+ , "packageSetConfig ? (self: super: {})"
117122 ]
118123 , ""
119− , "with nixpkgs; let"
120− , nest 2 $ vcat
121− [ attr "haskellLib" "callPackage (nixpkgs.path + /pkgs/development/haskell-modules/lib.nix) {}"
122− ]
123− , "in callPackage (nixpkgs.path + /pkgs/development/haskell-modules) {"
124+ , "let"
124125 , nest 2 $ vcat
125− [ attr "ghc" ("pkgs.haskell.compiler." <> toNixGhcVersion (oc ^. ocGhc))
126+ [ "inherit (lib) extends makeExtensible;"
127+ , attr "haskellLib" "pkgs.haskell.lib"
128+ , "inherit (haskellLib) makePackageSet;"
129+ , ""
130+ , attr "haskellPackages" $ vcat
131+ [ "pkgs.callPackage makePackageSet {"
132+ , nest 2 $ vcat
133+ [ attr "ghc" ("buildPackages.haskell.compiler." <> toNixGhcVersion (oc ^. ocGhc))
134+ , attr "buildHaskellPackages" ("buildPackages.haskell.packages." <> toNixGhcVersion (oc ^. ocGhc))
135+ , attr "package-set" . importStackagePackages $ oc ^. ocStackagePackages
136+ , "inherit stdenv haskellLib extensible-self;"
137+ ]
138+ , "}"
139+ ]
140+ , ""
126141 , attr "compilerConfig" . importStackageConfig $ oc ^. ocStackageConfig
127− , attr "initialPackages" . importStackagePackages $ oc ^. ocStackagePackages
128− , attr "configurationCommon" "if builtins.pathExists ./configuration-common.nix then import ./configuration-common.nix else args: self: super: {}"
129− , "inherit haskellLib;"
142+ , ""
143+ , attr "configurationCommon" "if builtins.pathExists ./configuration-common.nix then import ./configuration-common.nix { inherit pkgs haskellLib; } else self: super: {}"
144+ , attr "configurationNix" "import (pkgs.path + \"/pkgs/development/haskell-modules/configuration-nix.nix\") { inherit pkgs haskellLib; }"
145+ , ""
146+ , attr "extensible-self" "makeExtensible (extends overrides (extends configurationCommon (extends packageSetConfig (extends compilerConfig (extends configurationNix haskellPackages)))))"
130147 ]
131− , "}"
148+ , ""
149+ , "in extensible-self"
132150 ]
133151
152+stackYamlPackages :: NonEmpty Derivation -> Doc
153+stackYamlPackages packages = hcat
154+ [ "self: { "
155+ , "inherit (self) "
156+ , text . intercalate " " $ NE.toList packageNames
157+ , "; }" ]
158+ where
159+ packageNames = unPackageName . pkgName . packageId <$> packages
160+
134161toNixGhcVersion :: Version -> Doc
135162toNixGhcVersion = (<>) "ghc" . toNixVersion . show . disp
136163
src/LtsHaskell.hs+11−15
@@ -1,4 +1,3 @@
1−{-# LANGUAGE CPP #-}
21module LtsHaskell where
32
43import AllCabalHashes
@@ -24,6 +23,7 @@ import Stackage.BuildPlan
2423import Stackage.Types (SystemInfo(..))
2524import System.FilePath as Path
2625
26+import qualified Distribution.Nixpkgs.Haskell.Hackage as DB
2727import qualified Data.Yaml as Yaml
2828import qualified Data.Map as Map
2929import qualified Data.Set as Set
@@ -47,21 +47,17 @@ getPackageFromRepo allCabalHashesPath mSha1Hash pkgId = do
4747 (error (display pkgId ++ ": meta data has no SHA256 hash for the tarball"))
4848 (view (mHashes . at "SHA256") meta)
4949 source = DerivationSource "url" ("mirror://hackage/" ++ display pkgId ++ ".tar.gz") "" tarballSHA256
50−#if MIN_VERSION_cabal2nix(2,6,0)
5150 return $ Package source False pkgDesc
52−#else
53− return $ Package source pkgDesc
54−#endif
5551
56−getPackageFromDb :: Maybe HackageDb -> PackageIdentifier -> IO Package
57−getPackageFromDb mHackageDb pkgId =
58− getStackPackageFromDb mHackageDb
59− $ StackPackage (HackagePackage (T.pack $ Text.display pkgId)) True Nothing
52+getPackageFromDb :: DB.HackageDB -> PackageIdentifier -> IO Package
53+getPackageFromDb hackageDb pkgId =
54+ getStackPackageFromDb hackageDb
55+ $ StackPackage (PlIndex $ PackageIndex (T.pack $ Text.display pkgId) Nothing) True Nothing
6056
61−loadPackage :: Maybe HackageDb -> FilePath -> Maybe SHA1Hash -> PackageIdentifier -> IO Package
62−loadPackage mHackageDb allCabalHashesPath mSha1Hash pkgId =
57+loadPackage :: DB.HackageDB -> FilePath -> Maybe SHA1Hash -> PackageIdentifier -> IO Package
58+loadPackage hackageDb allCabalHashesPath mSha1Hash pkgId =
6359 getPackageFromRepo allCabalHashesPath mSha1Hash pkgId
64− `catchIOError` const (getPackageFromDb mHackageDb pkgId)
60+ `catchIOError` const (getPackageFromDb hackageDb pkgId)
6561
6662ghcCompilerInfo :: Version -> CompilerInfo
6763ghcCompilerInfo v = CompilerInfo
@@ -77,18 +73,18 @@ buildPlanContainsDependency packageVersions (Dependency depName versionRange) =
7773 maybe False (`withinRange` versionRange) $ Map.lookup depName packageVersions
7874
7975buildPackageSetConfig
80− :: Maybe HackageDb
76+ :: DB.HackageDB
8177 -> FilePath
8278 -> FilePath
8379 -> BuildPlan
8480 -> IO PackageSetConfig
85−buildPackageSetConfig mHackageDb optAllCabalHashes optNixpkgsRepository buildPlan = do
81+buildPackageSetConfig hackageDb optAllCabalHashes optNixpkgsRepository buildPlan = do
8682 nixpkgs <- readNixpkgPackageMap optNixpkgsRepository Nothing
8783 let
8884 systemInfo = bpSystemInfo buildPlan
8985 packageVersions = fmap ppVersion (bpPackages buildPlan) `Map.union` siCorePackages systemInfo
9086 return PackageSetConfig
91− { packageLoader = loadPackage mHackageDb optAllCabalHashes
87+ { packageLoader = loadPackage hackageDb optAllCabalHashes
9288 , targetPlatform = Platform (siArch systemInfo) (siOS systemInfo)
9389 , targetCompiler = ghcCompilerInfo (siGhcVersion systemInfo)
9490 , nixpkgsResolver = resolve (Map.map (Set.map (over path ("pkgs":))) nixpkgs)
src/Runner.hs+107−52
@@ -3,13 +3,17 @@ module Runner ( run ) where
33import Control.Lens
44import Data.Foldable as F
55import Data.List as L
6+import Data.Maybe (fromMaybe)
7+import Data.Semigroup ((<>))
68import Distribution.Nixpkgs.Haskell.FromStack
79import Distribution.Nixpkgs.Haskell.FromStack.Package
10+import Distribution.Nixpkgs.Haskell.Hackage as DB
11+import Distribution.Nixpkgs.Haskell.PackageSourceSpec (loadHackageDB)
812import Distribution.Nixpkgs.Haskell.Stack
913import Distribution.Nixpkgs.Haskell.Stack.PrettyPrinting as PP
1014import Distribution.Version (Version)
1115import Distribution.Compiler (AbiTag(..), unknownCompilerInfo)
12−import Distribution.Package (mkPackageName, pkgName)
16+import Distribution.Package (PackageName, mkPackageName, pkgName)
1317import Distribution.Text as Text (display)
1418import Language.Nix as Nix
1519import Options.Applicative
@@ -21,49 +25,53 @@ import Stackage.Types
2125import System.IO (withFile, IOMode(..), hPutStrLn)
2226import Text.PrettyPrint.HughesPJClass (Doc, render)
2327
24−import qualified Data.Set as Set
28+import qualified Data.List.NonEmpty as NE
2529import qualified Data.Map as Map
30+import qualified Data.Set as Set
2631import qualified LtsHaskell as LH
2732
28−
2933run :: IO ()
3034run = do
3135 opts <- execParser pinfo
36+ hackageDb <- loadHackageDB (opts ^. optHackageDb) Nothing
37+ let
38+ -- With optparse-applicative it seems there's no way to make
39+ -- 'StackageOptions' optional for Stackage override and required in
40+ -- other cases
41+ missingErr = error . ("Missing required parameter: " <>)
42+ sopts = StackageOptions
43+ (fromMaybe (missingErr "--all-cabal-hashes") (opts ^. optAllCabalHashesRepo) )
44+ (fromMaybe (missingErr "--lts-haskell") (opts ^. optLtsHaskellRepo))
45+
3246 case opts ^. optConfigOrigin of
33− -- Generate build derivation from stack.yaml file
34− OriginStackYaml stackYaml -> do
47+ -- Generate Stackage packages from stack.yaml resolver
48+ OriginStackYaml stackYaml buildTarget -> do
3549 stackConf <- either fail pure =<< readStackConfig stackYaml
3650 let
37− generateStackage = opts ^. optWithStackage || opts ^. optWithStackageClosure
51+ stackResolver = stackConf ^. scResolver
3852 stackPackagesConfig = mkStackPackagesConfig opts
39− stackConfPackages <- traverse (packageDerivation stackPackagesConfig (opts ^. optHackageDb)) $ stackConf ^. scPackages
53+ stackExtraDepsConfig = stackPackagesConfig
54+ & spcDoCheckPackages .~ False
55+ & spcDoHaddockPackages .~ False
56+ stackConfPackages <- traverse (fmap mkNode . packageDerivation stackPackagesConfig hackageDb)
57+ $ stackConf ^. scPackages
58+ stackConfExtraDeps <- traverse (fmap mkNode . packageDerivation stackExtraDepsConfig hackageDb)
59+ $ stackConf ^. scExtraDeps
60+ let
61+ stackConfAllPackages = maybe stackConfPackages ((<>) stackConfPackages)
62+ $ NE.nonEmpty stackConfExtraDeps
4063
41− case generateStackage of
42− -- Generate Stackage packages from stack.yaml resolver
43− True -> do
44− let buildPlanFile = LH.buildPlanFilePath (opts ^. optLtsHaskellRepo) (stackConf ^. scResolver)
45− buildPlan <- LH.loadBuildPlan buildPlanFile
46− packageSetConfig <- LH.buildPackageSetConfig
47− (opts ^. optHackageDb)
48− (opts ^. optAllCabalHashesRepo)
49− (opts ^. optNixpkgsRepository)
50− buildPlan
64+ case buildTarget of
65+ TargetStackageClosure -> do
66+ (buildPlanFile, buildPlan, packageSetConfig) <- loadStackageBuildPlan hackageDb stackResolver opts sopts
5167 let
5268 overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
53− reachable = Set.map mkPackageName
54− $ F.foldr1 Set.union
55− $ nodeDepends . mkNode <$> stackConfPackages
56− s2nLoader mHash pkgId =
57− if pkgName pkgId `Set.member` reachable
58− then packageLoader packageSetConfig Nothing pkgId
59− else packageLoader packageSetConfig mHash pkgId
60− s2nPackageSetConfig = packageSetConfig { packageLoader = s2nLoader }
61− s2nPackageConfig = PackageConfig
62− { enableCheck = True
63− , enableHaddock = True }
64− stackagePackages <- traverse (uncurry (buildNode s2nPackageSetConfig s2nPackageConfig))
65− $ Map.toAscList (bpPackages buildPlan)
69+ stackageSetConfig = if opts ^. optTweaks . tExtraDepsRevisionLatest
70+ then extraDepsLatestConfig stackConfAllPackages packageSetConfig
71+ else packageSetConfig
72+ stackagePackages <- buildStackagePackages stackageSetConfig buildPlan
6673 let
74+ reachable = reachableDeps stackConfAllPackages
6775 -- Nixpkgs generic-builder puts hscolour on path for all libraries
6876 withHscolour pkgs =
6977 let hscolour = F.find ((== "hscolour") . nodeName) stackagePackages
@@ -75,42 +83,52 @@ run = do
7583 -- does: pruning only after generating full set of packages allows
7684 -- us to make sure all those extra dependencies are explicitly
7785 -- listed as well.
78− nodes = case opts ^. optWithStackageClosure of
79− True -> Set.toAscList
86+ nodes = Set.toAscList
8087 $ withHscolour
8188 $ flip reachableDependencies stackagePackages
8289 -- Originally reachable nodes are root nodes
8390 $ L.filter (\n -> mkPackageName (nodeName n) `Set.member` reachable) stackagePackages
84− False -> stackagePackages
8591 writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
8692 $ pPrintOutPackages (view nodeDerivation <$> nodes)
8793 writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
8894 $ pPrintOutConfig (bpSystemInfo buildPlan) nodes
8995 writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
90− $ PP.overrideHaskellPackages overrideConfig stackConfPackages
96+ $ PP.overrideHaskellPackages overrideConfig (view nodeDerivation <$> stackConfAllPackages)
9197
92− -- Generate Stackage override only
93− False ->
98+ TargetStackagePackages -> do
99+ (buildPlanFile, buildPlan, packageSetConfig) <- loadStackageBuildPlan hackageDb stackResolver opts sopts
100+ let
101+ overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
102+ stackageSetConfig = if opts ^. optTweaks . tExtraDepsRevisionLatest
103+ then extraDepsLatestConfig stackConfAllPackages packageSetConfig
104+ else packageSetConfig
105+ -- stackageLoader mHash pkgId =
106+ -- if pkgName pkgId `Set.member` reachable
107+ -- then packageLoader packageSetConfig Nothing pkgId
108+ -- else packageLoader packageSetConfig mHash pkgId
109+ -- stackageSetConfig = packageSetConfig { packageLoader = stackageLoader }
110+ nodes <- buildStackagePackages stackageSetConfig buildPlan
111+ writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
112+ $ pPrintOutPackages (view nodeDerivation <$> nodes)
113+ writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
114+ $ pPrintOutConfig (bpSystemInfo buildPlan) nodes
94115 writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
95− $ PP.overrideStackage (stackConf ^. scResolver) (opts ^. optNixpkgsRepository) stackConfPackages
116+ $ PP.overrideHaskellPackages overrideConfig (view nodeDerivation <$> stackConfAllPackages)
117+
118+ TargetStackageOverride -> do
119+ writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
120+ $ PP.overrideStackage
121+ (stackConf ^. scResolver)
122+ (opts ^. optNixpkgsRepository)
123+ (view nodeDerivation <$> stackConfAllPackages)
124+ writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutStackYamlPackages)
125+ $ PP.stackYamlPackages (view nodeDerivation <$> stackConfPackages)
96126
97127 -- Generate Stackage packages from resolver
98128 OriginResolver stackResolver -> do
99− let
100− buildPlanFile = LH.buildPlanFilePath (opts ^. optLtsHaskellRepo) stackResolver
101− packageConfig = PackageConfig
102− { enableCheck = True
103− , enableHaddock = True }
104− buildPlan <- LH.loadBuildPlan buildPlanFile
105− packageSetConfig <- LH.buildPackageSetConfig
106− (opts ^. optHackageDb)
107− (opts ^. optAllCabalHashesRepo)
108− (opts ^. optNixpkgsRepository)
109− buildPlan
110− nodes <- traverse (uncurry (buildNode packageSetConfig packageConfig))
111− $ Map.toAscList (bpPackages buildPlan)
129+ (buildPlanFile, buildPlan, packageSetConfig) <- loadStackageBuildPlan hackageDb stackResolver opts sopts
130+ nodes <- buildStackagePackages packageSetConfig buildPlan
112131 let overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
113−
114132 writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
115133 $ pPrintOutPackages (view nodeDerivation <$> nodes)
116134 writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
@@ -118,6 +136,43 @@ run = do
118136 writeOutFile buildPlanFile (opts ^. optOutDerivation)
119137 $ PP.pPrintHaskellPackages overrideConfig
120138
139+loadStackageBuildPlan :: DB.HackageDB -> StackResolver -> Options -> StackageOptions -> IO (FilePath, BuildPlan, PackageSetConfig)
140+loadStackageBuildPlan hackageDb stackResolver opts sopts = do
141+ let buildPlanFile = LH.buildPlanFilePath (sopts ^. soptLtsHaskellRepo) stackResolver
142+ buildPlan <- LH.loadBuildPlan buildPlanFile
143+ packageSetConfig <- LH.buildPackageSetConfig
144+ hackageDb
145+ (sopts ^. soptAllCabalHashesRepo)
146+ (opts ^. optNixpkgsRepository)
147+ buildPlan
148+ return (buildPlanFile, buildPlan, packageSetConfig)
149+
150+buildStackagePackages :: PackageSetConfig -> BuildPlan -> IO [Node]
151+buildStackagePackages packageSetConfig buildPlan = do
152+ let
153+ stackagePackageConfig = PackageConfig
154+ { enableCheck = True
155+ , enableHaddock = True }
156+ traverse (uncurry (buildNode packageSetConfig stackagePackageConfig))
157+ $ Map.toAscList (bpPackages buildPlan)
158+
159+reachableDeps :: Traversable t => t Node -> Set.Set PackageName
160+reachableDeps = Set.map mkPackageName
161+ . F.foldr1 Set.union
162+ . fmap nodeDepends
163+
164+-- Return 'PackageSetConfig' with package loader that loads latest Hackage
165+-- revison for direct (reachable) dependencies of input packages
166+extraDepsLatestConfig :: Traversable t => t Node -> PackageSetConfig -> PackageSetConfig
167+extraDepsLatestConfig packages packageSetConfig =
168+ let
169+ reachable = reachableDeps packages
170+ stackageLoader mHash pkgId =
171+ if pkgName pkgId `Set.member` reachable
172+ then packageLoader packageSetConfig Nothing pkgId
173+ else packageLoader packageSetConfig mHash pkgId
174+ in packageSetConfig { packageLoader = stackageLoader }
175+
121176writeOutFile :: Show source => source -> FilePath -> Doc -> IO ()
122177writeOutFile source filePath contents =
123178 withFile filePath WriteMode $ \h -> do
@@ -137,6 +192,6 @@ mkStackPackagesConfig opts = StackPackagesConfig
137192 , _spcNixpkgsResolver = \i -> Just (Nix.binding # (i, Nix.path # [i]))
138193 , _spcTargetPlatform = opts ^. optPlatform
139194 , _spcTargetCompiler = unknownCompilerInfo (opts ^. optCompilerId) NoAbiTag
140− , _spcFlagAssignment = []
195+ , _spcFlagAssignment = mempty
141196 , _spcDoCheckPackages = opts ^. optDoCheckPackages
142197 , _spcDoHaddockPackages = opts ^. optDoHaddockPackages }
src/Runner/Cli.hs+80−39
@@ -5,67 +5,86 @@ import Data.Monoid ( (<>) )
55import Data.Text as T
66import qualified Distribution.Compat.ReadP as P
77import Distribution.Compiler as Compiler
8−import Distribution.Nixpkgs.Haskell.Stack
98import Distribution.System as System
109import qualified Distribution.Text as Text
1110import Options.Applicative as Opts
1211import Paths_stackage2nix ( version )
1312import Stack.Config
1413import Stack.Types
15−import System.Environment
1614import System.FilePath
1715
16+data Tweaks = Tweaks
17+ { _tExtraDepsRevisionLatest :: Bool
18+ } deriving (Show)
19+
20+makeLenses ''Tweaks
21+
22+-- | What will be generated
23+data Target
24+ = TargetStackagePackages
25+ | TargetStackageClosure
26+ | TargetStackageOverride
27+ deriving (Show)
28+
29+makePrisms ''Target
30+
1831-- | Source that would be used to produce target derivation
1932data ConfigOrigin
2033 = OriginResolver StackResolver
2134 -- ^ Resolver to generate Stackage LTS
22− | OriginStackYaml StackYaml
35+ | OriginStackYaml StackYaml Target
2336 -- ^ Stack config to generate build derivation
2437 deriving (Show)
2538
2639makePrisms ''ConfigOrigin
2740
41+data StackageOptions = StackageOptions
42+ { _soptAllCabalHashesRepo :: FilePath
43+ , _soptLtsHaskellRepo :: FilePath
44+ } deriving (Show)
45+
46+makeLenses ''StackageOptions
47+
2848data Options = Options
29− { _optAllCabalHashesRepo :: FilePath
30− , _optLtsHaskellRepo :: FilePath
31− , _optOutStackagePackages :: FilePath
32− , _optOutStackageConfig :: FilePath
33− , _optOutDerivation :: FilePath
34− , _optDoCheckPackages :: Bool
35− , _optDoHaddockPackages :: Bool
36− , _optWithStackage :: Bool
37− , _optWithStackageClosure :: Bool
38− , _optHackageDb :: Maybe HackageDb
39− , _optNixpkgsRepository :: FilePath
40− , _optCompilerId :: CompilerId
41− , _optPlatform :: Platform
42− , _optConfigOrigin :: ConfigOrigin
49+ { _optAllCabalHashesRepo :: Maybe FilePath
50+ , _optLtsHaskellRepo :: Maybe FilePath
51+ , _optOutStackagePackages :: FilePath
52+ , _optOutStackageConfig :: FilePath
53+ , _optOutDerivation :: FilePath
54+ , _optOutStackYamlPackages :: FilePath
55+ , _optDoCheckPackages :: Bool
56+ , _optDoHaddockPackages :: Bool
57+ , _optTweaks :: Tweaks
58+ , _optHackageDb :: Maybe FilePath
59+ , _optNixpkgsRepository :: FilePath
60+ , _optCompilerId :: CompilerId
61+ , _optPlatform :: Platform
62+ , _optConfigOrigin :: ConfigOrigin
4363 } deriving (Show)
4464
4565makeLenses ''Options
4666
47−envStackYaml :: IO (Maybe StackYaml)
48−envStackYaml = fmap mkStackYaml <$> lookupEnv "STACK_YAML"
49−
5067mkStackYaml :: FilePath -> StackYaml
5168mkStackYaml p = case splitFileName p of
5269 (dir, "") -> StackYaml dir "stack.yaml"
5370 (dir, ".") -> StackYaml dir "stack.yaml"
5471 (_ , "..") -> StackYaml p "stack.yaml"
55− (dir, file) -> StackYaml dir file
72+ (dir, file) -> case splitExtension file of
73+ (_, "") -> StackYaml p "stack.yaml"
74+ _ -> StackYaml dir file
5675
5776options :: Parser Options
5877options = Options
59− <$> allCabalHashesRepo
60− <*> ltsHaskellRepo
78+ <$> optional allCabalHashesRepo
79+ <*> optional ltsHaskellRepo
6180 <*> outStackagePackages
6281 <*> outStackageConfig
6382 <*> outDerivation
83+ <*> outStackYamlPackages
6484 <*> doCheckPackages
6585 <*> doHaddockPackages
66− <*> withStackage
67− <*> withStackageClosure
68− <*> optional hackageDb
86+ <*> tweaks
87+ <*> optional optionHackageDb
6988 <*> nixpkgsRepository
7089 <*> compilerId
7190 <*> platform
@@ -123,6 +142,14 @@ outDerivation = option str
123142 <> value "default.nix"
124143 <> showDefaultWith id )
125144
145+outStackYamlPackages :: Parser FilePath
146+outStackYamlPackages = option str
147+ ( long "out-stack-yaml-packages"
148+ <> metavar "NIX_FILE"
149+ <> help "path to output stackage.yaml packages list"
150+ <> value "stack-yaml-packages.nix"
151+ <> showDefaultWith id )
152+
126153doCheckPackages :: Parser Bool
127154doCheckPackages = flag True False
128155 ( long "no-check"
@@ -133,16 +160,24 @@ doHaddockPackages = flag True False
133160 ( long "no-haddock"
134161 <> help "disable haddock for project packages")
135162
136−withStackage :: Parser Bool
137−withStackage = switch
163+withStackage :: Parser ()
164+withStackage = flag' ()
138165 ( long "with-stackage"
139166 <> help "generate full Stackage" )
140167
141−withStackageClosure :: Parser Bool
142−withStackageClosure = switch
168+withStackageClosure :: Parser ()
169+withStackageClosure = flag' ()
143170 ( long "with-stackage-closure"
144171 <> help "generate Stackage subset containing only build dependencies" )
145172
173+extraDepsRevisionLatest :: Parser Bool
174+extraDepsRevisionLatest = switch
175+ ( long "extra-deps-revision-latest"
176+ <> help "Changes algorithm for the dependencies generation of the stack.yaml extra-deps. Default one is to generate exact revision defined in the Stackage config. With this flag enabled, direct dependencies of the stack.yaml extra-deps will be generated with the latest revision available on Hackage. This may help when Cabal fails to resolve dependencies of extra-deps, and dependences are fixed in the latest revision" )
177+
178+tweaks :: Parser Tweaks
179+tweaks = Tweaks <$> extraDepsRevisionLatest
180+
146181resolver :: Parser StackResolver
147182resolver = StackResolver <$> option text
148183 ( long "resolver"
@@ -153,18 +188,24 @@ stackYamlArg = mkStackYaml <$> Opts.argument str
153188 ( metavar "STACK_YAML"
154189 <> help "path to stack.yaml file or directory" )
155190
191+target :: Parser Target
192+target =
193+ withStackage *> pure TargetStackagePackages <|>
194+ withStackageClosure *> pure TargetStackageClosure <|>
195+ pure TargetStackageOverride
196+
156197configOrigin :: Parser ConfigOrigin
157−configOrigin = OriginResolver <$> resolver
158− <|> OriginStackYaml <$> stackYamlArg
198+configOrigin =
199+ OriginStackYaml <$> stackYamlArg <*> target <|>
200+ OriginResolver <$> resolver
159201
160−-- inherited from cabal2nix
202+-- required for cabal2nix
161203
162−hackageDb :: Parser HackageDb
163−hackageDb = HackageDb <$>
164− option text
165− ( long "hackage-db"
166− <> metavar "HACKAGE_DB"
167− <> help "path to the local hackage db in tar format" )
204+optionHackageDb :: Parser FilePath
205+optionHackageDb = option str
206+ ( long "hackage-db"
207+ <> metavar "HACKAGE_DB"
208+ <> help "path to the local hackage db in tar format" )
168209
169210cabalFlag :: Parser CabalFlag
170211cabalFlag = CabalFlag <$>
src/Stack/Config.hs+118−49
@@ -3,19 +3,17 @@
33module Stack.Config where
44
55import Control.Lens
6−import Data.Bifunctor
76import Data.ByteString as BS
87import Data.Coerce
9−import Data.Foldable as F
8+import Data.List as L
109import Data.List.NonEmpty as NE
1110import Data.Maybe
12−import Data.Semigroup (sconcat)
1311import Data.Text as T
1412import Data.Yaml
1513import Network.URI
1614import Stack.Config.Yaml as Yaml
1715import Stack.Types
18−import System.FilePath
16+import System.FilePath as FilePath
1917
2018
2119newtype StackResolver = StackResolver { fromStackResolver :: Text }
@@ -30,95 +28,166 @@ newtype Vcs = Vcs { fromVcs :: Text }
3028 deriving (Eq, Ord, Show)
3129
3230data Repo = Repo
33− { _rVcs :: !Vcs
34− , _rUri :: !Text
35− , _rCommit :: !Text
31+ { _rVcs :: Vcs
32+ , _rUri :: Text
33+ , _rCommit :: Text
3634 } deriving (Eq, Ord, Show)
3735
3836makeLenses ''Repo
3937
38+data PackageRevision
39+ = PrSha256 Text
40+ | PrRev Text
41+ deriving (Eq, Ord, Show)
42+
43+makePrisms ''PackageRevision
44+
45+data PackageIndex = PackageIndex
46+ { _piNameVersion :: Text
47+ , _piRevision :: Maybe PackageRevision
48+ } deriving (Eq, Ord, Show)
49+
50+makeLenses ''PackageIndex
51+
4052data PackageLocation
41− = HackagePackage Text
42− | StackFilePath FilePath
43− | StackUri URI
44− | StackRepo Repo
53+ = PlIndex PackageIndex
54+ | PlFilePath FilePath
55+ | PlUri URI
56+ | PlRepo Repo
4557 deriving (Eq, Ord, Show)
4658
4759makePrisms ''PackageLocation
4860
4961data StackPackage = StackPackage
50− { _spLocation :: !PackageLocation
51− , _spExtraDep :: !Bool
62+ { _spLocation :: PackageLocation
63+ , _spExtraDep :: Bool
5264 -- | Subdirectory containing the cabal file if any specified.
53− , _spDir :: !(Maybe FilePath)
65+ , _spDir :: Maybe FilePath
5466 } deriving (Eq, Ord, Show)
5567
5668makeLenses ''StackPackage
5769
5870data StackConfig = StackConfig
59− { _scResolver :: !StackResolver
60− , _scPackages :: !(NonEmpty StackPackage)
71+ { _scResolver :: StackResolver
72+ , _scPackages :: NonEmpty StackPackage
73+ , _scExtraDeps :: [StackPackage]
6174 } deriving (Eq, Ord, Show)
6275
6376makeLenses ''StackConfig
6477
78+scAllPackages :: Getter StackConfig (NonEmpty StackPackage)
79+scAllPackages = to allPs
80+ where
81+ allPs sc = maybe ps ((<>) ps) (NE.nonEmpty ed)
82+ where
83+ ps = sc ^. scPackages
84+ ed = sc ^. scExtraDeps
85+
6586fromYamlConfig :: Yaml.Config -> StackConfig
6687fromYamlConfig c = StackConfig{..}
6788 where
6889 _scResolver = coerce $ c ^. cResolver
69− _scPackages = F.foldr (NE.<|) neYamlPackages yamlExtraDeps
70− neYamlPackages = fromMaybe (pure defaultPackage)
71− . fmap sconcat $ NE.nonEmpty yamlPackages
72− yamlPackages = fromYamlPackage <$> (fromMaybe mempty (c ^. cPackages))
73− yamlExtraDeps = fromYamlExtraDep <$> fromMaybe mempty (c ^. cExtraDeps)
74− defaultPackage = StackPackage (StackFilePath ".") False Nothing
90+ -- 'nub' replicates Stack behavior of having a Set of packages rather than list
91+ _scPackages = NE.nub nePackages
92+ _scExtraDeps = L.nub $ extraDeps ++ yamlExtraDeps
93+ nePackages = fromMaybe (pure defaultPackage)
94+ $ NE.nonEmpty packages
95+ -- yaml packages section can contain extra-deps
96+ (extraDeps, packages) = L.partition (view spExtraDep) yamlPackages
97+ yamlPackages = L.concatMap NE.toList
98+ $ fromYamlPackage packagesSimplePath False
99+ <$> fromMaybe mempty (c ^. cPackages)
100+ yamlExtraDeps = L.concatMap NE.toList
101+ $ fromYamlPackage extraDepsSimplePath True
102+ <$> fromMaybe mempty (c ^. cExtraDeps)
103+ defaultPackage = StackPackage (PlFilePath ".") False Nothing
104+
105+-- | Simple string in a packages section can be an URI or FilePath location
106+packagesSimplePath :: Text -> StackPackage
107+packagesSimplePath t = StackPackage (parseSimplePath t) False Nothing
108+
109+-- | Parse location as URI or a FilePath
110+parseSimplePath :: Text -> PackageLocation
111+parseSimplePath (T.unpack -> p) = maybe (PlFilePath p) PlUri $ parseURI p
112+
113+-- | Simple string in an extra-deps section can be an URI or FilePath or PackageIndex name-version
114+extraDepsSimplePath :: Text -> StackPackage
115+extraDepsSimplePath t = StackPackage loc True Nothing
116+ where
117+ loc = maybe (parsePackageIndex t) PlUri $ parseURI (T.unpack t)
118+
119+-- TODO: support new package index format with hash and revision
120+parsePackageIndex :: Text -> PackageLocation
121+parsePackageIndex t = if isFilePath t
122+ then PlFilePath (T.unpack t)
123+ else PlIndex $ PackageIndex t Nothing
75124
125+-- Determine wether package is file path
126+isFilePath :: Text -> Bool
127+isFilePath = T.any (== FilePath.pathSeparator)
76128
129+-- | A single 'Yaml.Package' can result in multiple actual
130+-- packages if it has multiple subdirs specified.
77131fromYamlPackage
78− :: Yaml.Package
79− -- ^ A single 'Yaml.Package' can result in multiple actual
80− -- packages if it has multiple subdirs specified.
132+ :: (Text -> StackPackage)
133+ -> Bool
134+ -> Yaml.Package
81135 -> NonEmpty StackPackage
82−fromYamlPackage = \case
83− Yaml.Simple p ->
84− unroll Nothing $ StackPackage (parseSimplePath p) False
85− Yaml.LocationSimple (Location p extraDep ms) ->
136+fromYamlPackage fromSimple isExtraDep = \case
137+ Yaml.PSimple p ->
138+ pure (fromSimple p)
139+ Yaml.PLocationSimple (Location p extraDep ms) ->
86140 unroll ms $ StackPackage (parseSimplePath p) (fromMaybe False extraDep)
87− Yaml.LocationGit (Location git extraDep ms) ->
88− unroll ms $ StackPackage (StackRepo $ fromYamlGit git) (fromMaybe False extraDep)
89− Yaml.LocationHg (Location hg extraDep ms) ->
90− unroll ms $ StackPackage (StackRepo $ fromYamlHg hg) (fromMaybe False extraDep)
141+ Yaml.PLocationGit loc ->
142+ mkStackPackageRepo fromYamlGit loc
143+ Yaml.PLocationHg loc ->
144+ mkStackPackageRepo fromYamlHg loc
145+ Yaml.PArchive a ->
146+ unroll (a ^. aSubdirs) $ StackPackage (a ^. aArchive . to parseSimplePath) isExtraDep
147+ Yaml.PNewGit ng -> unroll (ng ^. ngSubdirs)
148+ $ StackPackage (PlRepo $ fromYamlNewGit ng) isExtraDep
149+ Yaml.PNewHg nh -> unroll (nh ^. nhSubdirs)
150+ $ StackPackage (PlRepo $ fromYamlNewHg nh) isExtraDep
91151 where
92− parseSimplePath (T.unpack -> p) = maybe (StackFilePath p) StackUri $ parseURI p
152+ mkStackPackageRepo f loc = unroll (loc ^. lSubdirs)
153+ $ StackPackage (PlRepo (loc ^. lLocation . to f)) (fromMaybe isExtraDep $ loc ^. lExtraDep)
93154 -- Each package gets a single directory with cabal file in it. If
94155 -- it's not specified, path is empty.
95156 unroll subs p = case subs of
96157 Just (x : xs) -> NE.map (p . Just) (x :| xs)
97158 _ -> p Nothing :| []
98159
99−fromYamlExtraDep :: Text -> StackPackage
100−fromYamlExtraDep t = StackPackage (HackagePackage t) True Nothing
101−
102160fromYamlGit :: Yaml.Git -> Repo
103−fromYamlGit yg = Repo{..}
104− where
105− _rVcs = Vcs "git"
106− _rUri = yg ^. gGit
107− _rCommit = yg ^. gCommit
161+fromYamlGit yg = Repo
162+ { _rVcs = Vcs "git"
163+ , _rUri = yg ^. gGit
164+ , _rCommit = yg ^. gCommit }
108165
109166fromYamlHg :: Yaml.Hg -> Repo
110−fromYamlHg yh = Repo{..}
111− where
112− _rVcs = Vcs "hg"
113− _rUri = yh ^. hHg
114− _rCommit = yh ^. hCommit
167+fromYamlHg yh = Repo
168+ { _rVcs = Vcs "hg"
169+ , _rUri = yh ^. hHg
170+ , _rCommit = yh ^. hCommit }
171+
172+fromYamlNewGit :: NewGit -> Repo
173+fromYamlNewGit ng = Repo
174+ { _rVcs = Vcs "git"
175+ , _rUri = ng ^. ngGit
176+ , _rCommit = ng ^. ngCommit }
177+
178+fromYamlNewHg :: NewHg -> Repo
179+fromYamlNewHg nh = Repo
180+ { _rVcs = Vcs "hg"
181+ , _rUri = nh ^. nhHg
182+ , _rCommit = nh ^. nhCommit }
115183
116184readStackConfig :: StackYaml -> IO (Either String StackConfig)
117185readStackConfig stackYaml = do
118186 let
119187 relativeToStackYaml = \case
120− StackFilePath p -> StackFilePath $ stackYaml ^. syDirName </> p
188+ PlFilePath p -> PlFilePath $ stackYaml ^. syDirName </> p
121189 packageLocation -> packageLocation
122190 mkStackConfig = over (scPackages . traversed . spLocation) relativeToStackYaml
191+ . over (scExtraDeps . traversed . spLocation) relativeToStackYaml
123192 . fromYamlConfig
124− second mkStackConfig . decodeEither <$> BS.readFile (stackYaml ^. syFilePath)
193+ bimap show mkStackConfig . decodeEither' <$> BS.readFile (stackYaml ^. syFilePath)
src/Stack/Config/Yaml.hs+63−26
@@ -8,60 +8,97 @@ import Data.Text as T
88import Stack.Config.TH
99
1010data Location a = Location
11− { _lLocation :: !a
12− , _lExtraDep :: !(Maybe Bool)
13− , _lSubdirs :: !(Maybe [FilePath])
11+ { _lLocation :: a
12+ , _lExtraDep :: Maybe Bool
13+ , _lSubdirs :: Maybe [FilePath]
1414 } deriving (Eq, Show)
1515
1616makeLenses ''Location
17−
1817deriveJSON jsonOpts ''Location
1918
19+data Archive = Archive
20+ { _aArchive :: Text
21+ , _aSha256 :: Maybe Text
22+ , _aSubdirs :: Maybe [FilePath]
23+ } deriving (Eq, Show)
24+
25+makeLenses ''Archive
26+deriveJSON jsonOpts ''Archive
27+
2028data Git = Git
21− { _gGit :: !Text
22− , _gCommit :: !Text
29+ { _gGit :: Text
30+ , _gCommit :: Text
2331 } deriving (Eq, Show)
2432
2533makeLenses ''Git
26−
2734deriveJSON jsonOpts ''Git
2835
2936data Hg = Hg
30− { _hHg :: !Text
31− , _hCommit :: !Text
37+ { _hHg :: Text
38+ , _hCommit :: Text
3239 } deriving (Eq, Show)
3340
3441makeLenses ''Hg
35−
3642deriveJSON jsonOpts ''Hg
3743
44+-- New syntax
45+
46+data NewGit = NewGit
47+ { _ngGit :: Text
48+ , _ngCommit :: Text
49+ , _ngSubdirs :: Maybe [FilePath]
50+ } deriving (Eq, Show)
51+
52+makeLenses ''NewGit
53+deriveJSON jsonOpts ''NewGit
54+
55+data NewHg = NewHg
56+ { _nhHg :: Text
57+ , _nhCommit :: Text
58+ , _nhSubdirs :: Maybe [FilePath]
59+ } deriving (Eq, Show)
60+
61+makeLenses ''NewHg
62+deriveJSON jsonOpts ''NewHg
63+
3864data Package
39− = Simple Text
40− | LocationSimple (Location Text)
41− | LocationGit (Location Git)
42− | LocationHg (Location Hg)
65+ = PSimple Text
66+ | PLocationSimple (Location Text)
67+ | PLocationGit (Location Git)
68+ | PLocationHg (Location Hg)
69+ | PArchive Archive
70+ | PNewGit NewGit
71+ | PNewHg NewHg
4372 deriving (Eq, Show)
4473
4574makePrisms ''Package
4675
4776instance FromJSON Package where
4877 parseJSON v =
49− (Simple <$> parseJSON v) <|>
50− (LocationSimple <$> parseJSON v) <|>
51− (LocationGit <$> parseJSON v) <|>
52− (LocationHg <$> parseJSON v)
78+ (PSimple <$> parseJSON v) <|>
79+ (PLocationSimple <$> parseJSON v) <|>
80+ (PLocationGit <$> parseJSON v) <|>
81+ (PLocationHg <$> parseJSON v) <|>
82+ (PArchive <$> parseJSON v) <|>
83+ (PNewGit <$> parseJSON v) <|>
84+ (PNewHg <$> parseJSON v)
5385
5486instance ToJSON Package where
5587 toJSON = \case
56− Simple t -> toJSON t
57− LocationSimple t -> toJSON t
58− LocationGit t -> toJSON t
59− LocationHg t -> toJSON t
60−
88+ PSimple t -> toJSON t
89+ PLocationSimple t -> toJSON t
90+ PLocationGit t -> toJSON t
91+ PLocationHg t -> toJSON t
92+ PArchive t -> toJSON t
93+ PNewGit t -> toJSON t
94+ PNewHg t -> toJSON t
95+
96+-- To support both old and new syntax, we allow all variants of package
97+-- definitions in "packages" and "extra-deps" sections
6198data Config = Config
62− { _cResolver :: !Text
63− , _cPackages :: !(Maybe [Package])
64− , _cExtraDeps :: !(Maybe [Text])
99+ { _cResolver :: Text
100+ , _cPackages :: Maybe [Package]
101+ , _cExtraDeps :: Maybe [Package]
65102 } deriving (Eq, Show)
66103
67104makeLenses ''Config
src/Stack/Types.hs+2−4
@@ -1,5 +1,3 @@
1−{-# LANGUAGE TemplateHaskell #-}
2−
31module Stack.Types where
42
53import Control.Lens
@@ -8,8 +6,8 @@ import System.FilePath
86
97
108data StackYaml = StackYaml
11− { _syDirName :: !FilePath
12− , _syFileName :: !FilePath }
9+ { _syDirName :: FilePath
10+ , _syFileName :: FilePath }
1311 deriving (Ord, Eq, Show)
1412
1513makeLenses ''StackYaml
stack-ghc-7103.yamldeleted−26
@@ -1,26 +0,0 @@
1−resolver: lts-6.35
2−extra-deps:
3− - aeson-1.2.3.0
4− - amazonka-1.4.5
5− - amazonka-core-1.4.5
6− - amazonka-s3-1.4.5
7− - Cabal-2.0.0.2
8− - cabal2nix-2.5
9− - chunked-data-0.3.0
10− - classy-prelude-1.2.0.1
11− - classy-prelude-conduit-1.2.0
12− - conduit-combinators-1.1.1
13− - distribution-nixpkgs-1.1
14− - hopenssl-2.2.1
15− - http-client-0.5.7.1
16− - http-client-tls-0.3.5.1
17− - http-conduit-2.2.3.2
18− - inflections-0.3.0.0
19− - megaparsec-5.3.1
20− - mono-traversable-1.0.4.0
21− - mono-traversable-instances-0.1.0.0
22− - stackage-curator-0.15.1.0
23− - store-0.4.3.2
24− - store-core-0.4.1
25− - th-abstraction-0.2.6.0
26− - th-utilities-0.2.0.1
stack-ghc-802.yamldeleted−7
@@ -1,7 +0,0 @@
1−resolver: lts-9.17
2−extra-deps:
3−- Cabal-2.0.0.2
4−- cabal2nix-2.5
5−- stackage-curator-0.15.0.0
6−nix:
7− packages: [icu openssl zlib]
stack-ghc-821.yamldeleted−4
@@ -1,4 +0,0 @@
1−resolver: nightly-2017-11-24
2−extra-deps:
3− - cabal2nix-2.5
4− - hackage-db-1.22
stack-ghc-822.yamldeleted−1
@@ -1 +0,0 @@
1−resolver: lts-10.0
stack.yamlmode 120000 → 100644+11−1
@@ -1 +0,0 @@
1−stack-ghc-822.yaml
@@ -0,0 +1,11 @@
1+resolver: lts-12.2
2+extra-deps:
3+ - yaml-0.8.31.1
4+ - git: https://github.com/fpco/stackage-curator.git
5+ commit: 73c5ed06602990c33d3fec1711e27875f283b6bf
6+ - git: https://github.com/jwiegley/gitlib.git
7+ commit: 70c99759b8b9377f67492fe29afb32f05882409d
8+ subdirs:
9+ - gitlib
10+ - gitlib-libgit2
11+
stackage2nix.cabal+6−3
@@ -1,5 +1,5 @@
11name: stackage2nix
2−version: 0.5.0
2+version: 0.7.2
33synopsis: Convert Stack files into Nix build instructions.
44homepage: https://github.com/typeable/stackage2nix#readme
55license: BSD3
@@ -31,11 +31,11 @@ library
3131 , LtsHaskell
3232 , Paths_stackage2nix
3333 build-depends: base > 4.7 && < 5
34− , Cabal > 1.24
34+ , Cabal > 2.2
3535 , QuickCheck
3636 , aeson
3737 , bytestring
38− , cabal2nix >= 2.5
38+ , cabal2nix >= 2.7.2
3939 , containers
4040 , deepseq
4141 , distribution-nixpkgs >= 1.1
@@ -51,6 +51,7 @@ library
5151 , optparse-applicative
5252 , pretty
5353 , stackage-curator >= 0.15
54+ , tagged
5455 , text
5556 , unordered-containers
5657 , yaml
@@ -77,6 +78,7 @@ test-suite spec
7778 , Cabal
7879 , bytestring
7980 , hspec
81+ , network-uri
8082 , pretty
8183 , shakespeare
8284 , stackage2nix
@@ -86,6 +88,7 @@ test-suite spec
8688 other-modules: Language.Nix.FilePathSpec
8789 , PrettyPrintingSpec
8890 , Stack.Config.YamlSpec
91+ , Stack.ConfigSpec
8992 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
9093 default-language: Haskell2010
9194
test/Stack/Config/YamlSpec.hs+97−13
@@ -1,7 +1,7 @@
11{-# LANGUAGE OverloadedStrings #-}
22{-# LANGUAGE QuasiQuotes #-}
33
4−module Stack.Config.YamlSpec where
4+module Stack.Config.YamlSpec (spec) where
55
66import Data.ByteString
77import Data.Text.Encoding as T
@@ -39,10 +39,48 @@ extra-deps:
3939- acme-missiles-0.3
4040|]
4141
42+-- | New yaml config support all package definitions in "extra-deps" section
43+configNewYaml :: ByteString
44+configNewYaml = T.encodeUtf8 [st|
45+resolver: lts-3.7
46+packages:
47+ - .
48+ - location: dir1/dir2
49+ - location: https://example.com/foo/bar/baz-0.0.2.tar.gz
50+ extra-dep: true
51+ - location:
52+ git: git@github.com:commercialhaskell/stack.git
53+ commit: 6a86ee32e5b869a877151f74064572225e1a0398
54+ - location:
55+ git: git@github.com:example/mega-repo
56+ commit: 6a86ee32e5b869a877151f74064572225e1a0000
57+ subdirs:
58+ - subdir1
59+ - subdir2
60+# Comment
61+extra-deps:
62+ - acme-missiles-0.3
63+ - acme-missiles-hash-0.4@sha256:2ba66a092a32593880a87fb00f3213762d7bca65a687d45965778deb8694c5d1
64+ - acme-missiles-rev-0.5@rev:0
65+ - git: git@github.com:commercialhaskell/stack.git
66+ commit: 6a86ee32e5b869a877151f74064572225e1a0398
67+ - git: git@github.com:example/mega-repo
68+ commit: 6a86ee32e5b869a877151f74064572225e1a0000
69+ subdirs:
70+ - subdir1
71+ - subdir2
72+ - archive: http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip
73+ subdirs:
74+ - wai
75+ - warp
76+ - archive: ../acme-missiles-0.3.tar.gz
77+ sha256: e563d8b524017a06b32768c4db8eff1f822f3fb22a90320b7e414402647b735b
78+|]
79+
4280configMinimal :: Config
4381configMinimal = Config
4482 { _cResolver = "lts-8.15"
45− , _cPackages = Just [ Simple "." ]
83+ , _cPackages = Just [ PSimple "." ]
4684 , _cExtraDeps = Nothing
4785 }
4886
@@ -50,27 +88,73 @@ config :: Config
5088config = Config
5189 { _cResolver = "lts-3.7"
5290 , _cPackages = Just
53− [ Simple "."
54− , LocationSimple (Location "dir1/dir2" Nothing Nothing)
55− , LocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
56− , LocationGit $ Location
91+ [ PSimple "."
92+ , PLocationSimple (Location "dir1/dir2" Nothing Nothing)
93+ , PLocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
94+ , PLocationGit $ Location
5795 (Git
5896 "git@github.com:commercialhaskell/stack.git"
5997 "6a86ee32e5b869a877151f74064572225e1a0398")
6098 Nothing Nothing
61− , LocationGit (Location
99+ , PLocationGit (Location
62100 (Git
63101 "git@github.com:example/mega-repo"
64102 "6a86ee32e5b869a877151f74064572225e1a0000")
65103 Nothing (Just ["subdir1", "subdir2"]))
66104 ]
67105 , _cExtraDeps = Just
68− ["acme-missiles-0.3"]
106+ [PSimple "acme-missiles-0.3"]
107+ }
108+
109+configNew :: Config
110+configNew = Config
111+ { _cResolver = "lts-3.7"
112+ , _cPackages = Just
113+ [ PSimple "."
114+ , PLocationSimple (Location "dir1/dir2" Nothing Nothing)
115+ , PLocationSimple (Location "https://example.com/foo/bar/baz-0.0.2.tar.gz" (Just True) Nothing)
116+ , PLocationGit $ Location
117+ (Git
118+ "git@github.com:commercialhaskell/stack.git"
119+ "6a86ee32e5b869a877151f74064572225e1a0398")
120+ Nothing Nothing
121+ , PLocationGit (Location
122+ (Git
123+ "git@github.com:example/mega-repo"
124+ "6a86ee32e5b869a877151f74064572225e1a0000")
125+ Nothing (Just ["subdir1", "subdir2"]))
126+ ]
127+ , _cExtraDeps = Just
128+ [ PSimple "acme-missiles-0.3"
129+ , PSimple "acme-missiles-hash-0.4@sha256:2ba66a092a32593880a87fb00f3213762d7bca65a687d45965778deb8694c5d1"
130+ , PSimple "acme-missiles-rev-0.5@rev:0"
131+ , PNewGit $ NewGit
132+ "git@github.com:commercialhaskell/stack.git"
133+ "6a86ee32e5b869a877151f74064572225e1a0398"
134+ Nothing
135+ , PNewGit $ NewGit
136+ "git@github.com:example/mega-repo"
137+ "6a86ee32e5b869a877151f74064572225e1a0000"
138+ (Just ["subdir1", "subdir2"])
139+ , PArchive $ Archive
140+ "http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip"
141+ Nothing
142+ (Just ["wai", "warp"])
143+ , PArchive $ Archive
144+ "../acme-missiles-0.3.tar.gz"
145+ (Just "e563d8b524017a06b32768c4db8eff1f822f3fb22a90320b7e414402647b735b")
146+ Nothing
147+ ]
69148 }
70149
71150spec :: Spec
72−spec = describe "Parse" $ do
73− specify "config-minimal" $
74− (Y.decode configYamlMinimal :: Maybe Config) `shouldBe` Just configMinimal
75− specify "config-full" $
76− (Y.decode configYaml :: Maybe Config) `shouldBe` Just config
151+spec = describe "Config" $ do
152+ specify "minimal" $
153+ (decodeMaybe configYamlMinimal :: Maybe Config) `shouldBe` Just configMinimal
154+ specify "full" $
155+ (decodeMaybe configYaml :: Maybe Config) `shouldBe` Just config
156+ specify "new" $
157+ (decodeMaybe configNewYaml :: Maybe Config) `shouldBe` Just configNew
158+
159+decodeMaybe :: ByteString -> Maybe Config
160+decodeMaybe = either (const Nothing) id . Y.decodeEither'
test/Stack/ConfigSpec.hsnew file+191
@@ -0,0 +1,191 @@
1+{-# LANGUAGE OverloadedStrings #-}
2+{-# LANGUAGE QuasiQuotes #-}
3+
4+module Stack.ConfigSpec (spec) where
5+
6+import Data.ByteString
7+import Data.List.NonEmpty as NE
8+import Data.Text.Encoding as T
9+import Data.Yaml as Y
10+import Network.URI as URI
11+import Stack.Config
12+import Test.Hspec
13+import Text.Shakespeare.Text
14+
15+
16+spec :: Spec
17+spec = describe "StackConfig" $ do
18+ specify "minimal"
19+ $ checkYamlConfig minimalBs minimalConf
20+ specify "packageDefault"
21+ $ checkYamlConfig packageDefaultBs packageDefaultConf
22+ specify "packageSimpleList"
23+ $ checkYamlConfig packageSimpleListBs packageSimpleListConf
24+ specify "packageLocations"
25+ $ checkYamlConfig packageLocationsBs packageLocationsConf
26+ specify "packageExtraDeps"
27+ $ checkYamlConfig packageExtraDepsBs packageExtraDepsConf
28+ specify "packageMixed"
29+ $ checkYamlConfig packageMixedBs packageMixedConf
30+ specify "packageExtraDepsNew"
31+ $ checkYamlConfig packageExtraDepsNewBs packageExtraDepsNewConf
32+
33+parseYamlConfig :: ByteString -> Maybe StackConfig
34+parseYamlConfig = either (const Nothing) (Just . fromYamlConfig) . Y.decodeEither'
35+
36+checkYamlConfig :: ByteString -> StackConfig -> Expectation
37+checkYamlConfig bs sc = parseYamlConfig bs `shouldBe` Just sc
38+
39+stUri :: String -> URI
40+stUri s =
41+ let Just uri = parseURI s
42+ in uri
43+
44+minimalBs :: ByteString
45+minimalBs = T.encodeUtf8 [st|
46+resolver: lts-10.0
47+|]
48+
49+minimalConf :: StackConfig
50+minimalConf = StackConfig
51+ { _scResolver = StackResolver "lts-10.0"
52+ , _scPackages = NE.fromList
53+ [ StackPackage (PlFilePath ".") False Nothing]
54+ , _scExtraDeps = []
55+ }
56+
57+packageDefaultBs :: ByteString
58+packageDefaultBs = T.encodeUtf8 [st|
59+resolver: lts-10.0
60+packages:
61+ - .
62+|]
63+
64+packageDefaultConf :: StackConfig
65+packageDefaultConf = minimalConf
66+
67+packageSimpleListBs :: ByteString
68+packageSimpleListBs = T.encodeUtf8 [st|
69+resolver: lts-10.0
70+packages:
71+ - client
72+ - server
73+|]
74+
75+packageSimpleListConf :: StackConfig
76+packageSimpleListConf = StackConfig
77+ { _scResolver = StackResolver "lts-10.0"
78+ , _scPackages = NE.fromList
79+ [ StackPackage (PlFilePath "client") False Nothing
80+ , StackPackage (PlFilePath "server") False Nothing ]
81+ , _scExtraDeps = []
82+ }
83+
84+packageLocationsBs :: ByteString
85+packageLocationsBs = T.encodeUtf8 [st|
86+resolver: lts-10.0
87+packages:
88+ - location: humble/package
89+ subdirs:
90+ - client
91+ - server
92+ - location: https://example.com/foo/bar/baz-0.0.2.tar.gz
93+ extra-dep: true
94+ subdirs:
95+ - extra
96+ - location:
97+ git: git@github.com:example/mega-repo
98+ commit: 6a86ee32e5b869a877151f74064572225e1a0000
99+ subdirs:
100+ - subdir1
101+ - subdir2
102+ extra-dep: true
103+|]
104+
105+packageLocationsConf :: StackConfig
106+packageLocationsConf = StackConfig
107+ { _scResolver = StackResolver "lts-10.0"
108+ , _scPackages = NE.fromList
109+ [ StackPackage (PlFilePath "humble/package") False (Just "client")
110+ , StackPackage (PlFilePath "humble/package") False (Just "server") ]
111+ , _scExtraDeps =
112+ [ StackPackage (PlUri $ stUri "https://example.com/foo/bar/baz-0.0.2.tar.gz") True (Just "extra")
113+ , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir1")
114+ , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:example/mega-repo" "6a86ee32e5b869a877151f74064572225e1a0000") True (Just "subdir2")
115+ ]
116+ }
117+
118+packageExtraDepsBs :: ByteString
119+packageExtraDepsBs = T.encodeUtf8 [st|
120+resolver: lts-10.0
121+extra-deps:
122+ - acme-missiles-0.3
123+ - humble-package-1
124+|]
125+
126+packageExtraDepsConf :: StackConfig
127+packageExtraDepsConf = StackConfig
128+ { _scResolver = StackResolver "lts-10.0"
129+ , _scPackages = NE.fromList [ StackPackage (PlFilePath ".") False Nothing ]
130+ , _scExtraDeps =
131+ [ StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
132+ , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
133+ }
134+
135+packageMixedBs :: ByteString
136+packageMixedBs = T.encodeUtf8 [st|
137+resolver: lts-10.0
138+packages:
139+ - client
140+ - server
141+extra-deps:
142+ - acme-missiles-0.3
143+ - humble-package-1
144+|]
145+
146+packageMixedConf :: StackConfig
147+packageMixedConf = StackConfig
148+ { _scResolver = StackResolver "lts-10.0"
149+ , _scPackages = NE.fromList
150+ [ StackPackage (PlFilePath "client") False Nothing
151+ , StackPackage (PlFilePath "server") False Nothing ]
152+ , _scExtraDeps =
153+ [ StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
154+ , StackPackage (PlIndex $ PackageIndex "humble-package-1" Nothing) True Nothing ]
155+ }
156+
157+packageExtraDepsNewBs :: ByteString
158+packageExtraDepsNewBs = T.encodeUtf8 [st|
159+resolver: lts-10.0
160+extra-deps:
161+ - vendor/lib
162+ - acme-missiles-0.3
163+ - git: git@github.com:yesodweb/wai
164+ commit: 2f8a8e1b771829f4a8a77c0111352ce45a14c30f
165+ subdirs:
166+ - auto-update
167+ - wai
168+ - https://example.com/foo/bar/baz-0.0.2.tar.gz
169+ - archive: http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip
170+ subdirs:
171+ - wai
172+ - warp
173+ - archive: ../acme-missiles-0.3.tar.gz
174+ sha256: e563d8b524017a06b32768c4db8eff1f822f3fb22a90320b7e414402647b735b
175+|]
176+
177+packageExtraDepsNewConf :: StackConfig
178+packageExtraDepsNewConf = StackConfig
179+ { _scResolver = StackResolver "lts-10.0"
180+ , _scPackages = NE.fromList [ StackPackage (PlFilePath ".") False Nothing ]
181+ , _scExtraDeps =
182+ [ StackPackage (PlFilePath "vendor/lib") True Nothing
183+ , StackPackage (PlIndex $ PackageIndex "acme-missiles-0.3" Nothing) True Nothing
184+ , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "auto-update")
185+ , StackPackage (PlRepo $ Repo (Vcs "git") "git@github.com:yesodweb/wai" "2f8a8e1b771829f4a8a77c0111352ce45a14c30f") True (Just "wai")
186+ , StackPackage (PlUri $ stUri "https://example.com/foo/bar/baz-0.0.2.tar.gz") True Nothing
187+ , StackPackage (PlUri $ stUri "http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip") True (Just "wai")
188+ , StackPackage (PlUri $ stUri "http://github.com/yesodweb/wai/archive/2f8a8e1b771829f4a8a77c0111352ce45a14c30f.zip") True (Just "warp")
189+ , StackPackage (PlFilePath "../acme-missiles-0.3.tar.gz") True Nothing
190+ ]
191+ }