git.iko.soy/typeable/stackage2nix
on 2aa69ef help sign in
30 files changed+2436−2759
since splitsnapshots
unifiedsplit
.travis.yml+7−5 CHANGELOG.md+10−41 README.md+44−50 ci-stackage2nix+7−8 nix/README.md+18−2 nix/haskell-packages/configuration-packages.nix+11−7 nix/haskell-packages/default.nix+107−132 nix/haskell-packages/packages.nix+1839−1661 nix/lib.nix+1−1 nix/stackage/default.nix+24 src/AllCabalHashes.hs+21−27 src/Distribution/Nixpkgs/Haskell/FromStack.hs+2−3 src/Distribution/Nixpkgs/Haskell/FromStack/Package.hs+1 src/Distribution/Nixpkgs/Haskell/Packages/PrettyPrinting.hs−2 src/Distribution/Nixpkgs/Haskell/Stack.hs+42−22 src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+32−82 src/LtsHaskell.hs+15−11 src/Runner.hs+70−132 src/Runner/Cli.hs+50−84 src/Stack/Config.hs+49−118 src/Stack/Config/Yaml.hs+26−63 src/Stack/Types.hs+4−2 stack-ghc-7103.yaml+26 stack-ghc-802.yaml+7 stack-ghc-821.yaml+4 stack-ghc-822.yaml+1 stack.yaml+1−11 stackage2nix.cabal+4−7 test/Stack/Config/YamlSpec.hs+13−97 test/Stack/ConfigSpec.hs−191
.travis.yml+7−5
@@ -12,10 +12,15 @@ 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+
1520jobs:
1621 include:
17− - stage: build
1822 - stage: bootstrap
23+ env: STACK_YAML=stack-ghc-802.yaml
1924 install:
2025 # Install Nix
2126 - mkdir -p ~/.nix
@@ -24,11 +29,8 @@ jobs:
2429 - sudo mount --bind ~/.nix /nix
2530 - curl https://nixos.org/nix/install | sh
2631 - 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
3032 script:
31− - nix-env -i cabal-install nix-prefetch-scripts
33+ - nix-env -i cabal-install
3234 - cabal update
3335 - nix-build nix/stackage2nix --dry-run
3436 - ./ci-stackage2nix --dry-run
CHANGELOG.md+10−41
@@ -1,42 +1,7 @@
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
5−
6−# 0.7.1
7−- Generate stack packages `stack-yaml-packages.nix`
8−
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
1+# 0.3.0
222
23−# 0.5.0
24−- Add `--with-stackage` and `--with-stackage-closure` flag generates stackage
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
36−- Remove `--do-check-stackage` flag (enabled by default)
37−- Remove `--do-haddock-stackage` flag (enabled by default)
38−- Remove `--no-packages-closure` flag (use `--with-stackage-closure`)
39−- Remove `cabal2nix < 2.7.2` support #45
3+- Initial Hackage release
4+- Add CHANGELOG.md
405
416# 0.4.0
427- Add `--resolver` option to generate full stackage packages set
@@ -44,6 +9,10 @@
449- Upd support cabal2nix >2.5
4510- Fix honor `--hackage-db` flag
4611
47−# 0.3.0
48−- Initial Hackage release
49−- Add CHANGELOG.md
12+# 0.5.0
13+- 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
16+- Remove `--do-check-stackage` flag (enabled by default)
17+- Remove `--do-haddock-stackage` flag (enabled by default)
18+- Remove `--no-packages-closure` flag (use `--with-stackage-closure`)
README.md+44−50
@@ -1,81 +1,75 @@
1−# stackage2nix (DEPRECATED)
1+# stackage2nix
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.
67
7−# Create build derivation from stack.yaml
8+## Install
89
9−## Generate targets from stack.yaml only
10+You can install `stackage2nix` from the Nix expression:
1011
1112```
12−stack exec -- stackage2nix .
13+nix-env -i -f ./nix/stackage2nix
1314```
1415
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.
16+It provides pre-configured wrapper around the raw executable with runtime
17+`PATH` and all auxiliary flags set up.
1918
20−Build package with overlay installed:
19+## Build project
2120
22−```
23−nix-build -A stackage2nix
21+Generate derivations from `stack.yaml` config using Nix wrapper:
22+
23+``` bash
24+stackage2nix ./stack.yaml
2425```
2526
26−## Generate Stackage packages for the build
27+if you're using the raw executable, you should supply additional flags. See
28+section 'Flags' below for details.
2729
28−If you don't want to use Stackage overlay, stackage2nix can generate required
29−packages with `--with-stackage-closure` flag.
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:
3033
3134``` bash
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
35+nix-build -A my-package
3736```
3837
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).
38+## Build stackage
4539
46−### stackage2nix wrapper
40+Generate complete Stackage packages set from resolver:
4741
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
42+``` bash
43+stackage2nix --resolver lts-9.0
5344```
5445
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`
46+## Flags
6247
6348```
64−nix-env -i -f ./nix/stackage2nix
65−stackage2nix --with-stackage ./stack.yaml
49+stackage2nix \
50+ --lts-haskell "$LTS_HASKELL_REPO" \
51+ --all-cabal-hashes "$ALL_CABAL_HASHES_REPO" \
52+ .
6653```
6754
68−## Generate Stackage from LTS resolver
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
6964
70−You can also generate only Stackage packages set from the resolver:
65+A particular package from result Haskell packages set can be built with:
7166
7267```
73−nix-env -i -f ./nix/stackage2nix
74−stackage2nix --resolver lts-10.0
68+nix-build -A <package-name>
7569```
7670
77−This command will produce Stackage packages `packages.nix`, packages config
78−`configuration-packages.nix` and a Haskell packages set `default.nix`.
71+See also the [blog post](https://blog.typeable.io/posts/2017-08-24-stackage2nix.html)
72+about history and motivation behind the project.
7973
8074## Runtime dependencies
8175
@@ -91,9 +85,9 @@ Complex projects may require some extra customization.
9185Snippet `override.nix` below shows a minimal example of how to apply additional
9286overrides on top of Haskell packages set produced by `stackage2nix`.
9387
94−``` nix
88+```
9589with import <nixpkgs> {};
96−with haskell.lib;
90+with pkgs.haskell.lib;
9791let haskellPackages = import ./. {};
9892in haskellPackages.override {
9993 overrides = self: super: {
@@ -110,9 +104,9 @@ For more complex overrides and detailed information on how to work with Haskell
110104
111105## Tests
112106
113−Integration tests that build stackage2nix form different yaml configs:
107+Integration tests that build stackage2nix form different stack configs:
114108
115−``` bash
109+```
116110STACKAGE_REPO=<path/to/stackage/repo> \
117111ALL_CABAL_HASHES=<path/to/all-cabal-hashes/repo> \
118112STACK_FILE=stack-ghc-7103.yaml \
ci-stackage2nix+7−8
@@ -4,23 +4,22 @@ set -e
44
55STACKAGE2NIX_WORK_DIR=${STACKAGE2NIX_WORK_DIR:-$HOME}
66STACKAGE_REPO=${STACKAGE_REPO:-$STACKAGE2NIX_WORK_DIR/lts-haskell}
7−ALL_CABAL_HASHES_REPO=${ALL_CABAL_HASHES_REPO:-$STACKAGE2NIX_WORK_DIR/all-cabal-hashes}
8−STACK_FILE=${STACK_YAML:-stack.yaml}
7+ALL_CABAL_HASHES_DIR=${ALL_CABAL_HASHES_DIR:-$STACKAGE2NIX_WORK_DIR/all-cabal-hashes}
8+STACK_FILE=${STACK_FILE:-.}
99
1010if [ ! -d "$STACKAGE_REPO" ]; then
11− git clone --depth 1 https://github.com/commercialhaskell/lts-haskell.git "$STACKAGE_REPO"
11+ git clone --depth 1 https://github.com/fpco/lts-haskell.git "$STACKAGE_REPO"
1212fi
1313
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"
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"
1616fi
1717
1818set -x
19−time stackage2nix \
19+time stack exec -- stackage2nix \
2020 --lts-haskell "$STACKAGE_REPO" \
21− --all-cabal-hashes "$ALL_CABAL_HASHES_REPO" \
21+ --all-cabal-hashes "$ALL_CABAL_HASHES_DIR" \
2222 --hackage-db "$HOME/.cabal/packages/hackage.haskell.org/01-index.tar" \
23− --with-stackage-closure \
2423 "$STACK_FILE"
2524
2625nix-build -o "result-$(basename $STACK_FILE)" -A stackage2nix "$@"
nix/README.md+18−2
@@ -4,7 +4,7 @@ Nix infrastructure.
44
55## stackage2nix
66
7−Provides ready-to-use `stackage2nix` wrapper with
7+Directory contains 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,9 +12,25 @@ 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
1531```
1632
17−## haskell-packages
33+## haskellPackages
1834
1935Directory contains Stackage LTS packages generated by `stackage2nix` from this
2036project's `stack.yaml`.
nix/haskell-packages/configuration-packages.nix+11−7
@@ -1,7 +1,7 @@
1−# Generated by stackage2nix 0.7.1 from "/home/dbushev/projects/commercialhaskell/lts-haskell/lts-12.2.yaml"
2−{ pkgs, haskellLib }:
1+# Generated by stackage2nix 0.4.0 from "/home/dbushev/projects/fpco/lts-haskell/lts-9.17.yaml"
2+{ pkgs }:
33
4−with haskellLib; self: super: {
4+with pkgs.haskell.lib; self: super: {
55
66 # core packages
77 "array" = null;
@@ -16,25 +16,29 @@ with haskellLib; self: super: {
1616 "ghc-boot-th" = null;
1717 "ghc-prim" = null;
1818 "ghci" = null;
19+ "hoopl" = null;
1920 "hpc" = null;
2021 "integer-gmp" = null;
2122 "pretty" = null;
2223 "process" = null;
2324 "rts" = null;
2425 "template-haskell" = null;
25− "terminfo" = null;
2626 "time" = null;
2727 "transformers" = null;
2828 "unix" = null;
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
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
3030 "stringbuilder" = dontCheck super.stringbuilder;
3131 "hspec-discover" = dontCheck super.hspec-discover;
32+ "optparse-applicative" = dontCheck super.optparse-applicative;
33+ "clock" = dontCheck super.clock;
3234 "exceptions" = dontCheck super.exceptions;
35+ "base-compat" = dontCheck super.base-compat;
3336 "temporary" = dontCheck super.temporary;
3437 "silently" = dontCheck super.silently;
35− "hashable" = dontCheck super.hashable;
3638 "async" = dontCheck super.async;
37− "clock" = dontCheck super.clock;
39+ "text" = dontCheck super.text;
3840 "nanospec" = dontCheck super.nanospec;
41+ # break cycle: statistics monad-par mwc-random vector-algorithms
42+ "mwc-random" = dontCheck super.mwc-random;
3943
4044}
nix/haskell-packages/default.nix+107−132
@@ -1,187 +1,162 @@
1−# Generated by stackage2nix 0.7.1 from "../../stack.yaml"
1+# Generated by stackage2nix 0.4.0 from "./stack-ghc-802.yaml"
22{ nixpkgs ? import <nixpkgs> {} }:
33
44with nixpkgs;
55let
66 inherit (stdenv.lib) extends;
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; };
7+ stackagePackages = self: import ./packages.nix { inherit pkgs stdenv; inherit (self) callPackage; };
8+ stackageConfig = callPackage ./configuration-packages.nix {};
109 stackPackages =
1110 { pkgs, stdenv, callPackage }:
12−
11+
1312 self: {
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
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
2117 }:
2218 mkDerivation {
23− pname = "stackage2nix";
24− version = "0.7.1";
25− src = ../../.;
26− isLibrary = true;
27− isExecutable = true;
19+ pname = "Cabal";
20+ version = "2.0.0.2";
21+ sha256 = "0chhl2113jbahd5gychx9rdqj1aw22h7dyj6z44871hzqxngx6bc";
2822 libraryHaskellDepends = [
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
23+ array base binary bytestring containers deepseq directory filepath
24+ pretty process time unix
3425 ];
35− executableHaskellDepends = [ base ];
3626 testHaskellDepends = [
37− base bytestring Cabal hspec network-uri pretty shakespeare text
38− yaml
27+ array base bytestring containers directory filepath pretty
28+ QuickCheck tagged tar tasty tasty-hunit tasty-quickcheck
3929 ];
40− homepage = "https://github.com/typeable/stackage2nix#readme";
41− description = "Convert Stack files into Nix build instructions";
30+ doHaddock = false;
31+ doCheck = false;
32+ homepage = "http://www.haskell.org/cabal/";
33+ description = "A framework for packaging Haskell software";
4234 license = stdenv.lib.licenses.bsd3;
4335 }) {};
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
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
4943 }:
5044 mkDerivation {
51− pname = "yaml";
52− version = "0.8.31.1";
53− sha256 = "1ba1451917e6cb1df6081e2e14c2e4dcec6969b9b25a5d72db96942c3e6d8b53";
45+ pname = "cabal2nix";
46+ version = "2.5";
47+ sha256 = "19ywslwarwk84anfq78y249krqnddi2yyh66l78a88xfsh002abp";
5448 isLibrary = true;
5549 isExecutable = true;
50+ setupHaskellDepends = [ base Cabal cabal-doctest ];
5651 libraryHaskellDepends = [
57− aeson attoparsec base bytestring conduit containers directory
58− filepath resourcet scientific semigroups template-haskell text
59− transformers unordered-containers vector
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
6069 ];
6170 doHaddock = false;
6271 doCheck = false;
63− homepage = "http://github.com/snoyberg/yaml/";
64− description = "Support for parsing and rendering YAML documents";
72+ homepage = "https://github.com/nixos/cabal2nix#readme";
73+ description = "Convert Cabal files into Nix build instructions";
6574 license = stdenv.lib.licenses.bsd3;
6675 }) {};
6776 "stackage-curator" = callPackage
6877 ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3, async
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
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
7989 }:
8090 mkDerivation {
8191 pname = "stackage-curator";
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− };
92+ version = "0.15.0.0";
93+ sha256 = "0z84ywxh4zb996b0ir8hjl9pwdcb0ds0pgq6i8sfxmj5nrw5yjn5";
8894 isLibrary = true;
8995 isExecutable = true;
9096 libraryHaskellDepends = [
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
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
100107 ];
101108 executableHaskellDepends = [
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
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
112115 ];
113116 doHaddock = false;
114117 doCheck = false;
115− homepage = "https://github.com/fpco/stackage-curator#readme";
118+ homepage = "https://github.com/fpco/stackage-curator";
116119 description = "Tools for curating Stackage bundles";
117120 license = stdenv.lib.licenses.mit;
118121 }) {};
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
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
125129 }:
126130 mkDerivation {
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";
131+ pname = "stackage2nix";
132+ version = "0.4.0";
133+ src = ../../.;
134+ isLibrary = true;
135+ isExecutable = true;
135136 libraryHaskellDepends = [
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
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
140142 ];
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
143+ executableHaskellDepends = [ base ];
144+ testHaskellDepends = [
145+ base bytestring Cabal hspec pretty shakespeare text yaml
168146 ];
169− doHaddock = false;
170− doCheck = false;
171− description = "Libgit2 backend for gitlib";
172− license = stdenv.lib.licenses.mit;
147+ homepage = "https://github.com/4e6/stackage2nix#readme";
148+ description = "Convert Stack files into Nix build instructions";
149+ license = stdenv.lib.licenses.bsd3;
173150 }) {};
174151 };
175−
152+
176153 pkgOverrides = self: stackPackages {
177154 inherit pkgs stdenv;
178155 inherit (self) callPackage;
179156 };
157+
180158in callPackage (nixpkgs.path + "/pkgs/development/haskell-modules") {
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;
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") {};
187162}
nix/haskell-packages/packages.nix+1839−1661
@@ -1,83 +1,57 @@
1−# Generated by stackage2nix 0.7.1 from "/home/dbushev/projects/commercialhaskell/lts-haskell/lts-12.2.yaml"
1+# Generated by stackage2nix 0.4.0 from "/home/dbushev/projects/fpco/lts-haskell/lts-9.17.yaml"
22{ pkgs, stdenv, callPackage }:
33
44self: {
55 "Cabal" = callPackage
66 ({ mkDerivation, array, base, binary, bytestring, containers
7− , deepseq, directory, filepath, mtl, parsec, pretty, process, text
8− , time, transformers, unix
7+ , deepseq, directory, filepath, pretty, process, time, unix
98 }:
109 mkDerivation {
1110 pname = "Cabal";
12− version = "2.2.0.1";
13− sha256 = "0yqa6fm9jvr0ka6b1mf17bf43092dc1bai6mqyiwwwyz0h9k1d82";
14− setupHaskellDepends = [ mtl parsec ];
11+ version = "1.24.2.0";
12+ sha256 = "0h33v1716wkqh9wvq2wynvhwzkjjhg4aav0a1i3cmyq36n7fpl5p";
13+ revision = "2";
14+ editedCabalFile = "15ncrm7x2lg4hn0m5mhc8hy769bzhmajsm6l9i6536plfs2bbbdj";
1515 libraryHaskellDepends = [
1616 array base binary bytestring containers deepseq directory filepath
17− mtl parsec pretty process text time transformers unix
17+ pretty process time unix
1818 ];
19+ doHaddock = false;
1920 doCheck = false;
2021 homepage = "http://www.haskell.org/cabal/";
2122 description = "A framework for packaging Haskell software";
2223 license = stdenv.lib.licenses.bsd3;
2324 }) {};
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− }) {};
4125 "Glob" = callPackage
4226 ({ mkDerivation, base, containers, directory, dlist, filepath
43− , HUnit, QuickCheck, test-framework, test-framework-hunit
44− , test-framework-quickcheck2, transformers, transformers-compat
27+ , transformers, transformers-compat
4528 }:
4629 mkDerivation {
4730 pname = "Glob";
48− version = "0.9.2";
49− sha256 = "1rbwcq9w9951qsnp13vqcm9r01yax2yh1wk8s4zxa3ckk9717iwg";
31+ version = "0.8.0";
32+ sha256 = "15p8nbi19mhl3iisngbawmdpvk8paaqq4248fqgan63q1sz13w1q";
5033 libraryHaskellDepends = [
5134 base containers directory dlist filepath transformers
5235 transformers-compat
5336 ];
54− testHaskellDepends = [
55− base containers directory dlist filepath HUnit QuickCheck
56− test-framework test-framework-hunit test-framework-quickcheck2
57− transformers transformers-compat
58− ];
37+ doHaddock = false;
38+ doCheck = false;
5939 homepage = "http://iki.fi/matti.niemenmaa/glob/";
6040 description = "Globbing library";
6141 license = stdenv.lib.licenses.bsd3;
6242 }) {};
6343 "HTTP" = callPackage
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
44+ ({ mkDerivation, array, base, bytestring, mtl, network, network-uri
45+ , parsec, time
6846 }:
6947 mkDerivation {
7048 pname = "HTTP";
71− version = "4000.3.12";
72− sha256 = "140r6qy1ay25piv0z3hih11zhigyi08nkwc32097j43pjff6mzx3";
49+ version = "4000.3.8";
50+ sha256 = "1w6d17xn58f55xw84rql48ad8npzw93k7b46ibx8x4xsl6q5jfk0";
7351 libraryHaskellDepends = [
7452 array base bytestring mtl network network-uri parsec time
7553 ];
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− ];
54+ doHaddock = false;
8155 doCheck = false;
8256 homepage = "https://github.com/haskell/HTTP";
8357 description = "A library for client-side HTTP";
@@ -87,50 +61,77 @@ self: {
8761 ({ mkDerivation, base, call-stack, deepseq, filepath }:
8862 mkDerivation {
8963 pname = "HUnit";
90− version = "1.6.0.0";
91− sha256 = "1pnhwqq5v8h48gbp3ibv3skfj25mf4zs5svxcavq93p9cswycj3l";
64+ version = "1.5.0.0";
65+ sha256 = "186ykl7vxlfgkd2k8k1rq7yzcryzjpqwmn4ci1nn9h6irqbivib5";
9266 libraryHaskellDepends = [ base call-stack deepseq ];
9367 testHaskellDepends = [ base call-stack deepseq filepath ];
68+ doHaddock = false;
69+ doCheck = false;
9470 homepage = "https://github.com/hspec/HUnit#readme";
9571 description = "A unit testing framework for Haskell";
9672 license = stdenv.lib.licenses.bsd3;
9773 }) {};
98− "Only" = callPackage
99− ({ mkDerivation, base, deepseq }:
74+ "MonadRandom" = callPackage
75+ ({ mkDerivation, base, fail, mtl, primitive, random, transformers
76+ , transformers-compat
77+ }:
10078 mkDerivation {
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\"";
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";
10888 license = stdenv.lib.licenses.bsd3;
10989 }) {};
11090 "QuickCheck" = callPackage
111− ({ mkDerivation, base, containers, deepseq, random
112− , template-haskell, tf-random, transformers
91+ ({ mkDerivation, base, containers, random, template-haskell
92+ , test-framework, tf-random, transformers
11393 }:
11494 mkDerivation {
11595 pname = "QuickCheck";
116− version = "2.11.3";
117− sha256 = "0xhqk35fkzlbjcqbabg6962jkv8d688nzmz7ng4bm84x2d95d328";
96+ version = "2.9.2";
97+ sha256 = "119np67qvx8hyp9vkg4gr2wv3lj3j6ay2vl4hxspkg43ymb1cp0m";
11898 libraryHaskellDepends = [
119− base containers deepseq random template-haskell tf-random
120− transformers
99+ base containers random template-haskell tf-random transformers
121100 ];
122− testHaskellDepends = [ base ];
101+ testHaskellDepends = [
102+ base containers template-haskell test-framework
103+ ];
104+ doHaddock = false;
105+ doCheck = false;
123106 homepage = "https://github.com/nick8325/quickcheck";
124107 description = "Automatic testing of Haskell programs";
125108 license = stdenv.lib.licenses.bsd3;
126109 }) {};
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+ }) {};
127126 "StateVar" = callPackage
128127 ({ mkDerivation, base, stm, transformers }:
129128 mkDerivation {
130129 pname = "StateVar";
131− version = "1.1.1.0";
132− sha256 = "102f4x240zj3jwa7gx6vp813j76cjhlc3zbi9i5kiz6268kcv28s";
130+ version = "1.1.0.4";
131+ sha256 = "1dzz9l0haswgag9x56q7n57kw18v7nhmzkjyr61nz9y9npn8vmks";
133132 libraryHaskellDepends = [ base stm transformers ];
133+ doHaddock = false;
134+ doCheck = false;
134135 homepage = "https://github.com/haskell-opengl/StateVar";
135136 description = "State variables";
136137 license = stdenv.lib.licenses.bsd3;
@@ -142,6 +143,8 @@ self: {
142143 version = "0.3";
143144 sha256 = "18jwswjxwzc9bjiy4ds6hw2a74ki797jmfcifxd2ga4kh7ri1ah9";
144145 libraryHaskellDepends = [ array base containers random time ];
146+ doHaddock = false;
147+ doCheck = false;
145148 homepage = "https://github.com/rrnewton/haskell-lockfree/wiki";
146149 description = "Abstract, parameterized interface to mutable Deques";
147150 license = stdenv.lib.licenses.bsd3;
@@ -153,49 +156,64 @@ self: {
153156 version = "0.3.3";
154157 sha256 = "0q6qsniw4wks2pw6wzncb1p1j3k6al5njnvm2v5n494hplwqg2i4";
155158 libraryHaskellDepends = [ base deepseq ];
159+ doHaddock = false;
160+ doCheck = false;
156161 homepage = "https://github.com/simonmar/monad-par";
157162 description = "Type classes generalizing the functionality of the 'monad-par' library";
158163 license = stdenv.lib.licenses.bsd3;
159164 }) {};
160165 "adjunctions" = callPackage
161166 ({ mkDerivation, array, base, comonad, containers, contravariant
162− , distributive, free, generic-deriving, hspec, hspec-discover, mtl
163− , profunctors, semigroupoids, semigroups, tagged, transformers
164− , transformers-compat, void
167+ , distributive, free, mtl, profunctors, semigroupoids, semigroups
168+ , tagged, transformers, transformers-compat, void
165169 }:
166170 mkDerivation {
167171 pname = "adjunctions";
168− version = "4.4";
169− sha256 = "1sbal7cbhm12crfnfhkk322jnzgx7lhw3jzq0p463bipagsjwz2h";
172+ version = "4.3";
173+ sha256 = "1k1ykisf96i4g2zm47c45md7p42c4vsp9r73392pz1g8mx7s2j5r";
170174 revision = "1";
171− editedCabalFile = "0582nnn3fab63nd7ng8smk2c8j7pciiyzfj1na34wqid2hs675as";
175+ editedCabalFile = "1079l9szyr7ybi9wcvv1vjsjfrqirkn9z3j7dann8vbk81a4z37q";
172176 libraryHaskellDepends = [
173177 array base comonad containers contravariant distributive free mtl
174178 profunctors semigroupoids semigroups tagged transformers
175179 transformers-compat void
176180 ];
177− testHaskellDepends = [ base distributive generic-deriving hspec ];
178− testToolDepends = [ hspec-discover ];
181+ doHaddock = false;
182+ doCheck = false;
179183 homepage = "http://github.com/ekmett/adjunctions/";
180184 description = "Adjunctions and representable functors";
181185 license = stdenv.lib.licenses.bsd3;
182186 }) {};
183187 "aeson" = callPackage
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
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
188196 }:
189197 mkDerivation {
190198 pname = "aeson";
191− version = "1.3.1.1";
192− sha256 = "1i1ig840fvsb1lnklcv32zsc0zscirc301lw1mpfxhc6h4pk0gw4";
199+ version = "1.1.2.0";
200+ sha256 = "1zy5z8pzvh53qkjm0nm3f4rwqfqg3867ck8ncd6mrxpcyvxqqj1p";
201+ revision = "1";
202+ editedCabalFile = "06acsik1qcn5r1z1y3n7iw5h8x0h3hdcjii0bq9nf9ncvc71h1d4";
193203 libraryHaskellDepends = [
194204 attoparsec base base-compat bytestring containers deepseq dlist
195− ghc-prim hashable scientific tagged template-haskell text
196− th-abstraction time time-locale-compat unordered-containers
197− uuid-types vector
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
198215 ];
216+ doHaddock = false;
199217 doCheck = false;
200218 homepage = "https://github.com/bos/aeson";
201219 description = "Fast JSON parsing and encoding";
@@ -207,8 +225,8 @@ self: {
207225 }:
208226 mkDerivation {
209227 pname = "aeson-pretty";
210− version = "0.8.7";
211− sha256 = "1m977gs0s9gf3lwzlbs5y7bl6ansc5pywmn2qjk09l5bwg2yrhf1";
228+ version = "0.8.5";
229+ sha256 = "1yd98972srlbkn0f2jhrb3f443j9wnq2fnw5gbxjxzmkcinfh5yx";
212230 isLibrary = true;
213231 isExecutable = true;
214232 libraryHaskellDepends = [
@@ -218,62 +236,87 @@ self: {
218236 executableHaskellDepends = [
219237 aeson attoparsec base bytestring cmdargs
220238 ];
239+ doHaddock = false;
240+ doCheck = false;
221241 homepage = "http://github.com/informatikr/aeson-pretty";
222242 description = "JSON pretty-printing library and command-line tool";
223243 license = stdenv.lib.licenses.bsd3;
224244 }) {};
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+ }) {};
225268 "amazonka" = callPackage
226269 ({ mkDerivation, amazonka-core, base, bytestring, conduit
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
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
231273 }:
232274 mkDerivation {
233275 pname = "amazonka";
234− version = "1.6.0";
235− sha256 = "07647x7lq9kaq6bqh38rvdiajji4ks6s7nvxv2xi4v4lhwn8j89p";
276+ version = "1.4.5";
277+ sha256 = "0p48ra5hns9kpnsgr40imj0zgnd311ww2kk4lz4nnjpa1ppvgrw6";
236278 libraryHaskellDepends = [
237279 amazonka-core base bytestring conduit conduit-extra directory
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
280+ exceptions http-conduit ini mmorph monad-control mtl resourcet
281+ retry text time transformers transformers-base transformers-compat
241282 ];
242283 testHaskellDepends = [ base tasty tasty-hunit ];
284+ doHaddock = false;
285+ doCheck = false;
243286 homepage = "https://github.com/brendanhay/amazonka";
244287 description = "Comprehensive Amazon Web Services SDK";
245− license = stdenv.lib.licenses.mpl20;
288+ license = "unknown";
246289 }) {};
247290 "amazonka-core" = callPackage
248291 ({ mkDerivation, aeson, attoparsec, base, bifunctors, bytestring
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
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
256298 }:
257299 mkDerivation {
258300 pname = "amazonka-core";
259− version = "1.6.0";
260− sha256 = "1j9x17zhyxrg4ds5pdxfjdb4z7hpzn42cydx34j25h5d9avwbqdg";
301+ version = "1.4.5";
302+ sha256 = "0zzfrn4m7ixs7dxw2n7d6ajfb9h8bnbk8pw1hw8w48nprv8f24yv";
261303 libraryHaskellDepends = [
262304 aeson attoparsec base bifunctors bytestring case-insensitive
263305 conduit conduit-extra cryptonite deepseq exceptions hashable
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
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
267309 ];
268310 testHaskellDepends = [
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
311+ aeson base bytestring case-insensitive http-types QuickCheck
312+ quickcheck-unicode tasty tasty-hunit tasty-quickcheck
313+ template-haskell text time
272314 ];
315+ doHaddock = false;
273316 doCheck = false;
274317 homepage = "https://github.com/brendanhay/amazonka";
275318 description = "Core data types and functionality for Amazonka libraries";
276− license = stdenv.lib.licenses.mpl20;
319+ license = "unknown";
277320 }) {};
278321 "amazonka-s3" = callPackage
279322 ({ mkDerivation, amazonka-core, amazonka-test, base, bytestring
@@ -281,16 +324,18 @@ self: {
281324 }:
282325 mkDerivation {
283326 pname = "amazonka-s3";
284− version = "1.6.0";
285− sha256 = "0irz8vyklapjy3w3qasidpvq4hk2qwkmhrnrd23sf4yzs2xqx8gc";
327+ version = "1.4.5";
328+ sha256 = "1bg45wxcvizdi7j5jggvblxwhd3f7sfy1j0jaq2ajfxcdsb7wabq";
286329 libraryHaskellDepends = [ amazonka-core base lens text ];
287330 testHaskellDepends = [
288331 amazonka-core amazonka-test base bytestring tasty tasty-hunit text
289332 time unordered-containers
290333 ];
334+ doHaddock = false;
335+ doCheck = false;
291336 homepage = "https://github.com/brendanhay/amazonka";
292337 description = "Amazon Simple Storage Service SDK";
293− license = stdenv.lib.licenses.mpl20;
338+ license = "unknown";
294339 }) {};
295340 "amazonka-test" = callPackage
296341 ({ mkDerivation, aeson, amazonka-core, base, bifunctors, bytestring
@@ -301,27 +346,32 @@ self: {
301346 }:
302347 mkDerivation {
303348 pname = "amazonka-test";
304− version = "1.6.0";
305− sha256 = "0a6xfp97hijhqmhj9nv4aqax08ry8y809jpjhyj2819p01wvga26";
349+ version = "1.4.5";
350+ sha256 = "0fjynyb85px3mbf85jf1xvs7n21622w60lasshgjy42brp5p524q";
306351 libraryHaskellDepends = [
307352 aeson amazonka-core base bifunctors bytestring case-insensitive
308353 conduit conduit-extra groom http-client http-types process
309354 resourcet tasty tasty-hunit template-haskell temporary text time
310355 unordered-containers yaml
311356 ];
357+ doHaddock = false;
358+ doCheck = false;
312359 homepage = "https://github.com/brendanhay/amazonka";
313360 description = "Common functionality for Amazonka library test-suites";
314− license = stdenv.lib.licenses.mpl20;
361+ license = "unknown";
315362 }) {};
316363 "ansi-terminal" = callPackage
317− ({ mkDerivation, base, colour }:
364+ ({ mkDerivation, base }:
318365 mkDerivation {
319366 pname = "ansi-terminal";
320− version = "0.8.0.4";
321− sha256 = "0428gq8m3fdnb7ldcsyk97qcch76hcxbgh2666p6f76fs2qbhg7b";
367+ version = "0.6.3.1";
368+ sha256 = "15c0c0vb66y3mr11kcvgjf4h0f7dqg7k1xq7zzq9fy11r7h9i3s5";
322369 isLibrary = true;
323370 isExecutable = true;
324− libraryHaskellDepends = [ base colour ];
371+ libraryHaskellDepends = [ base ];
372+ executableHaskellDepends = [ base ];
373+ doHaddock = false;
374+ doCheck = false;
325375 homepage = "https://github.com/feuerbach/ansi-terminal";
326376 description = "Simple ANSI terminal support, with Windows compatibility";
327377 license = stdenv.lib.licenses.bsd3;
@@ -330,11 +380,14 @@ self: {
330380 ({ mkDerivation, ansi-terminal, base }:
331381 mkDerivation {
332382 pname = "ansi-wl-pprint";
333− version = "0.6.8.2";
334− sha256 = "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56";
383+ version = "0.6.7.3";
384+ sha256 = "025pyphsjf0dnbrmj5nscbi6gzyigwgp3ifxb3psn7kji6mfr29p";
335385 isLibrary = true;
336386 isExecutable = true;
337387 libraryHaskellDepends = [ ansi-terminal base ];
388+ executableHaskellDepends = [ ansi-terminal base ];
389+ doHaddock = false;
390+ doCheck = false;
338391 homepage = "http://github.com/ekmett/ansi-wl-pprint";
339392 description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
340393 license = stdenv.lib.licenses.bsd3;
@@ -346,6 +399,8 @@ self: {
346399 version = "0.1.4";
347400 sha256 = "09jb9ij78fdkz2qk66rw99q19qnm504dpv0yq0pjsl6xwjmndsjq";
348401 libraryHaskellDepends = [ base bytestring ];
402+ doHaddock = false;
403+ doCheck = false;
349404 description = "A simple applicative parser";
350405 license = stdenv.lib.licenses.bsd3;
351406 }) {};
@@ -362,6 +417,8 @@ self: {
362417 asn1-types base bytestring hourglass mtl tasty tasty-quickcheck
363418 text
364419 ];
420+ doHaddock = false;
421+ doCheck = false;
365422 homepage = "http://github.com/vincenthz/hs-asn1";
366423 description = "ASN1 data reader and writer in RAW, BER and DER forms";
367424 license = stdenv.lib.licenses.bsd3;
@@ -375,6 +432,8 @@ self: {
375432 libraryHaskellDepends = [
376433 asn1-encoding asn1-types base bytestring
377434 ];
435+ doHaddock = false;
436+ doCheck = false;
378437 homepage = "https://github.com/vincenthz/hs-asn1";
379438 description = "Simple monadic parser for ASN1 stream types";
380439 license = stdenv.lib.licenses.bsd3;
@@ -386,47 +445,48 @@ self: {
386445 version = "0.3.2";
387446 sha256 = "05vjchyqiy9n275cygffhn0ma7fz7jx52j0dcdm9qm8h9bziymqc";
388447 libraryHaskellDepends = [ base bytestring hourglass memory ];
448+ doHaddock = false;
449+ doCheck = false;
389450 homepage = "http://github.com/vincenthz/hs-asn1-types";
390451 description = "ASN.1 types";
391452 license = stdenv.lib.licenses.bsd3;
392453 }) {};
393454 "async" = callPackage
394− ({ mkDerivation, base, hashable, HUnit, stm, test-framework
455+ ({ mkDerivation, base, HUnit, stm, test-framework
395456 , test-framework-hunit
396457 }:
397458 mkDerivation {
398459 pname = "async";
399− version = "2.2.1";
400− sha256 = "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg";
401− isLibrary = true;
402− isExecutable = true;
403− libraryHaskellDepends = [ base hashable stm ];
460+ version = "2.1.1.1";
461+ sha256 = "1qj4fp1ynwg0l453gmm27vgkzb5k5m2hzdlg5rdqi9kf8rqy90yd";
462+ libraryHaskellDepends = [ base stm ];
404463 testHaskellDepends = [
405− base HUnit stm test-framework test-framework-hunit
464+ base HUnit test-framework test-framework-hunit
406465 ];
466+ doHaddock = false;
467+ doCheck = false;
407468 homepage = "https://github.com/simonmar/async";
408469 description = "Run IO operations asynchronously and wait for their results";
409470 license = stdenv.lib.licenses.bsd3;
410471 }) {};
411472 "attoparsec" = callPackage
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
473+ ({ mkDerivation, array, base, bytestring, containers, deepseq
474+ , QuickCheck, quickcheck-unicode, scientific, tasty
475+ , tasty-quickcheck, text, transformers, vector
416476 }:
417477 mkDerivation {
418478 pname = "attoparsec";
419− version = "0.13.2.2";
420− sha256 = "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx";
479+ version = "0.13.1.0";
480+ sha256 = "0r1zrrkbqv8w4pb459fj5izd1h85p9nrsp3gyzj7qiayjpa79p2j";
421481 libraryHaskellDepends = [
422482 array base bytestring containers deepseq scientific text
423483 transformers
424484 ];
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
485+ testHaskellDepends = [
486+ array base bytestring deepseq QuickCheck quickcheck-unicode
487+ scientific tasty tasty-quickcheck text transformers vector
429488 ];
489+ doHaddock = false;
430490 doCheck = false;
431491 homepage = "https://github.com/bos/attoparsec";
432492 description = "Fast combinator parsing for bytestrings and text";
@@ -439,60 +499,39 @@ self: {
439499 version = "0.1.4";
440500 sha256 = "09dlh2alsx2mw5kvj931yhbj0aw7jmly2cm9xbscm2sf098w35jy";
441501 libraryHaskellDepends = [ base ];
502+ doHaddock = false;
503+ doCheck = false;
442504 homepage = "https://github.com/yesodweb/wai";
443505 description = "Efficiently run periodic, on-demand actions";
444506 license = stdenv.lib.licenses.mit;
445507 }) {};
446508 "base-compat" = callPackage
447− ({ mkDerivation, base, unix }:
509+ ({ mkDerivation, base, hspec, QuickCheck, unix }:
448510 mkDerivation {
449511 pname = "base-compat";
450− version = "0.10.4";
451− sha256 = "0ksp990gxs731mq19rzbxrbs43nazfljjc8krlx5bjqblw3kfs8d";
512+ version = "0.9.3";
513+ sha256 = "0452l6zf6fjhy4kxqwv6i6hhg6yfx4wcg450k3axpyj30l7jnq3x";
452514 libraryHaskellDepends = [ base unix ];
453− description = "A compatibility layer for base";
454− license = stdenv.lib.licenses.mit;
455− }) {};
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 ];
465515 testHaskellDepends = [ base hspec QuickCheck ];
466− testToolDepends = [ hspec-discover ];
467− description = "base-compat with extra batteries";
516+ doHaddock = false;
517+ doCheck = false;
518+ description = "A compatibility layer for base";
468519 license = stdenv.lib.licenses.mit;
469520 }) {};
470521 "base-orphans" = callPackage
471− ({ mkDerivation, base, ghc-prim, hspec, hspec-discover, QuickCheck
472− }:
522+ ({ mkDerivation, base, ghc-prim, hspec, QuickCheck }:
473523 mkDerivation {
474524 pname = "base-orphans";
475− version = "0.7";
476− sha256 = "057f9npnqk71ccfh95djfkpd54dzazphj06grwxa3fyhwcwxrb8a";
525+ version = "0.6";
526+ sha256 = "03mdww5j0gwai7aqlx3m71ldmjcr99jzpkcclzjfclk6a6kjla67";
477527 libraryHaskellDepends = [ base ghc-prim ];
478528 testHaskellDepends = [ base hspec QuickCheck ];
479− testToolDepends = [ hspec-discover ];
529+ doHaddock = false;
530+ doCheck = false;
480531 homepage = "https://github.com/haskell-compat/base-orphans#readme";
481532 description = "Backwards-compatible orphan instances for base";
482533 license = stdenv.lib.licenses.mit;
483534 }) {};
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− }) {};
496535 "base16-bytestring" = callPackage
497536 ({ mkDerivation, base, bytestring, ghc-prim }:
498537 mkDerivation {
@@ -500,6 +539,8 @@ self: {
500539 version = "0.1.1.6";
501540 sha256 = "0jf40m3yijqw6wd1rwwvviww46fasphaay9m9rgqyhf5aahnbzjs";
502541 libraryHaskellDepends = [ base bytestring ghc-prim ];
542+ doHaddock = false;
543+ doCheck = false;
503544 homepage = "http://github.com/bos/base16-bytestring";
504545 description = "Fast base16 (hex) encoding and decoding for ByteStrings";
505546 license = stdenv.lib.licenses.bsd3;
@@ -517,6 +558,8 @@ self: {
517558 base bytestring containers HUnit QuickCheck test-framework
518559 test-framework-hunit test-framework-quickcheck2
519560 ];
561+ doHaddock = false;
562+ doCheck = false;
520563 homepage = "https://github.com/bos/base64-bytestring";
521564 description = "Fast base64 encoding and decoding for ByteStrings";
522565 license = stdenv.lib.licenses.bsd3;
@@ -525,47 +568,53 @@ self: {
525568 ({ mkDerivation, base, ghc-prim }:
526569 mkDerivation {
527570 pname = "basement";
528− version = "0.0.8";
529− sha256 = "194jw567di4q2758943q9rrwkbf9gl261my7qc21i9xhyabipx67";
571+ version = "0.0.4";
572+ sha256 = "1zdqv8dbzv8jx6z8fcghinbnxdc5fb97i7sdfswdr1fcp8jq6i38";
530573 libraryHaskellDepends = [ base ghc-prim ];
531− homepage = "https://github.com/haskell-foundation/foundation#readme";
574+ doHaddock = false;
575+ doCheck = false;
576+ homepage = "https://github.com/haskell-foundation/foundation";
532577 description = "Foundation scrap box of array & string";
533578 license = stdenv.lib.licenses.bsd3;
534579 }) {};
535580 "basic-prelude" = callPackage
536581 ({ mkDerivation, base, bytestring, containers, filepath, hashable
537− , text, transformers, unordered-containers, vector
582+ , lifted-base, ReadArgs, safe, text, transformers
583+ , unordered-containers, vector
538584 }:
539585 mkDerivation {
540586 pname = "basic-prelude";
541− version = "0.7.0";
542− sha256 = "0yckmnvm6i4vw0mykj4fzl4ldsf67v8d2h0vp1bakyj84n4myx8h";
587+ version = "0.6.1.1";
588+ sha256 = "1irfz57w4966y1vxkgh6bqxdlw3jijwz1pmq3qz9748linnpicgp";
543589 libraryHaskellDepends = [
544− base bytestring containers filepath hashable text transformers
545− unordered-containers vector
590+ base bytestring containers filepath hashable lifted-base ReadArgs
591+ safe text transformers unordered-containers vector
546592 ];
547− homepage = "https://github.com/snoyberg/basic-prelude#readme";
593+ doHaddock = false;
594+ doCheck = false;
595+ homepage = "https://github.com/snoyberg/basic-prelude";
548596 description = "An enhanced core prelude; a common foundation for alternate preludes";
549597 license = stdenv.lib.licenses.mit;
550598 }) {};
551599 "bifunctors" = callPackage
552600 ({ mkDerivation, base, base-orphans, comonad, containers, hspec
553− , hspec-discover, QuickCheck, semigroups, tagged, template-haskell
554− , th-abstraction, transformers, transformers-compat
601+ , QuickCheck, semigroups, tagged, template-haskell, transformers
602+ , transformers-compat
555603 }:
556604 mkDerivation {
557605 pname = "bifunctors";
558− version = "5.5.3";
559− sha256 = "1jn9rxg643xnlhrknmjz88nblcpsr45xwjkwwnn5nxpasa7m4d6l";
606+ version = "5.4.2";
607+ sha256 = "13fwvw1102ik96pgi85i34kisz1h237vgw88ywsgifsah9kh4qiq";
560608 libraryHaskellDepends = [
561609 base base-orphans comonad containers semigroups tagged
562− template-haskell th-abstraction transformers
610+ template-haskell transformers transformers-compat
563611 ];
564612 testHaskellDepends = [
565613 base hspec QuickCheck template-haskell transformers
566614 transformers-compat
567615 ];
568− testToolDepends = [ hspec-discover ];
616+ doHaddock = false;
617+ doCheck = false;
569618 homepage = "http://github.com/ekmett/bifunctors/";
570619 description = "Bifunctors";
571620 license = stdenv.lib.licenses.bsd3;
@@ -574,9 +623,11 @@ self: {
574623 ({ mkDerivation, base }:
575624 mkDerivation {
576625 pname = "bindings-DSL";
577− version = "1.0.25";
578− sha256 = "0kqrd78nspl3lk4a0fqn47d8dirjg3b24dkvkigcrlb81hw35pk3";
626+ version = "1.0.23";
627+ sha256 = "1rqhkk8hn1xjl3705dvakxx93q89vp0fw22v2cbrlapbir27cv7b";
579628 libraryHaskellDepends = [ base ];
629+ doHaddock = false;
630+ doCheck = false;
580631 homepage = "https://github.com/jwiegley/bindings-dsl/wiki";
581632 description = "FFI domain specific language, on top of hsc2hs";
582633 license = stdenv.lib.licenses.bsd3;
@@ -588,56 +639,62 @@ self: {
588639 }:
589640 mkDerivation {
590641 pname = "blaze-builder";
591− version = "0.4.1.0";
592− sha256 = "05681dih2d8s96an945wkbwl05w8ddbcfx8n3r3ck79ydyb8pz4i";
642+ version = "0.4.0.2";
643+ sha256 = "1m33y6p5xldni8p4fzg8fmsyqvkfmnimdamr1xjnsmgm3dkf9lws";
593644 libraryHaskellDepends = [ base bytestring deepseq text ];
594645 testHaskellDepends = [
595646 base bytestring HUnit QuickCheck test-framework
596647 test-framework-hunit test-framework-quickcheck2 text utf8-string
597648 ];
649+ doHaddock = false;
650+ doCheck = false;
598651 homepage = "http://github.com/lpsmith/blaze-builder";
599652 description = "Efficient buffered output";
600653 license = stdenv.lib.licenses.bsd3;
601654 }) {};
602655 "blaze-html" = callPackage
603656 ({ mkDerivation, base, blaze-builder, blaze-markup, bytestring
604− , text
657+ , containers, HUnit, QuickCheck, test-framework
658+ , test-framework-hunit, test-framework-quickcheck2, text
605659 }:
606660 mkDerivation {
607661 pname = "blaze-html";
608− version = "0.9.1.1";
609− sha256 = "06xv8fqhclfjj61z74cgggn4lmx1s7diakxg84mnkgfvk11983pa";
662+ version = "0.9.0.1";
663+ sha256 = "0r0acv47nh75bmf7kjyfvhcwz8f02rn9x0a1l80pzgyczfrsmkmf";
610664 libraryHaskellDepends = [
611665 base blaze-builder blaze-markup bytestring text
612666 ];
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;
613673 doCheck = false;
614674 homepage = "http://jaspervdj.be/blaze";
615675 description = "A blazingly fast HTML combinator library for Haskell";
616676 license = stdenv.lib.licenses.bsd3;
617677 }) {};
618678 "blaze-markup" = callPackage
619− ({ mkDerivation, base, blaze-builder, bytestring, text }:
679+ ({ mkDerivation, base, blaze-builder, bytestring, containers, HUnit
680+ , QuickCheck, test-framework, test-framework-hunit
681+ , test-framework-quickcheck2, text
682+ }:
620683 mkDerivation {
621684 pname = "blaze-markup";
622− version = "0.8.2.1";
623− sha256 = "0ih1c3qahkdgzbqihdhny5s313l2m66fbb88w8jbx7yz56y7rawh";
685+ version = "0.8.0.0";
686+ sha256 = "03sl7xs6vk4zxbjszgyjpsppi1cknswg7z7rswz2f0rq62wwpq8r";
624687 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;
625693 doCheck = false;
626694 homepage = "http://jaspervdj.be/blaze";
627695 description = "A blazingly fast markup combinator library for Haskell";
628696 license = stdenv.lib.licenses.bsd3;
629697 }) {};
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− }) {};
641698 "byteable" = callPackage
642699 ({ mkDerivation, base, bytestring }:
643700 mkDerivation {
@@ -646,10 +703,28 @@ self: {
646703 sha256 = "1qizg0kxxjqnd3cbrjhhidk5pbbciz0pb3z5kzikjjxnnnhk8fr4";
647704 enableSeparateDataOutput = true;
648705 libraryHaskellDepends = [ base bytestring ];
706+ doHaddock = false;
707+ doCheck = false;
649708 homepage = "http://github.com/vincenthz/hs-byteable";
650709 description = "Type class for sequence of bytes";
651710 license = stdenv.lib.licenses.bsd3;
652711 }) {};
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+ }) {};
653728 "byteorder" = callPackage
654729 ({ mkDerivation, base }:
655730 mkDerivation {
@@ -657,6 +732,8 @@ self: {
657732 version = "1.0.4";
658733 sha256 = "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x";
659734 libraryHaskellDepends = [ base ];
735+ doHaddock = false;
736+ doCheck = false;
660737 homepage = "http://community.haskell.org/~aslatter/code/byteorder";
661738 description = "Exposes the native endianness or byte ordering of the system";
662739 license = stdenv.lib.licenses.bsd3;
@@ -669,50 +746,59 @@ self: {
669746 sha256 = "1hnvjac28y44yn78c9vdp1zvrknvlw98ky3g4n5vivr16rvh8x3d";
670747 libraryHaskellDepends = [ base bytestring deepseq ];
671748 doHaddock = false;
749+ doCheck = false;
672750 description = "The new bytestring builder, packaged outside of GHC";
673751 license = stdenv.lib.licenses.bsd3;
674752 }) {};
675− "cabal-doctest" = callPackage
676− ({ mkDerivation, base, Cabal, directory, filepath }:
753+ "bytestring-handle" = callPackage
754+ ({ mkDerivation, base, bytestring }:
677755 mkDerivation {
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";
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";
686764 license = stdenv.lib.licenses.bsd3;
687765 }) {};
688766 "cabal2nix" = callPackage
689767 ({ mkDerivation, aeson, ansi-wl-pprint, base, bytestring, Cabal
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
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
694773 }:
695774 mkDerivation {
696775 pname = "cabal2nix";
697− version = "2.9.3";
698− sha256 = "10l1k8rilf032v6pchwhxaq53mr0d08h6xkllidc3c7wfkzcx7qj";
776+ version = "2.3.1";
777+ sha256 = "0xi4mj8gyb2k9a43dp49wc84sbxpv9sfa8cmzfp0mkak0alwqahj";
699778 isLibrary = true;
700779 isExecutable = true;
780+ setupHaskellDepends = [ base Cabal cabal-doctest ];
701781 libraryHaskellDepends = [
702782 aeson ansi-wl-pprint base bytestring Cabal containers deepseq
703− directory distribution-nixpkgs filepath hackage-db hopenssl hpack
783+ directory distribution-nixpkgs filepath hackage-db hopenssl
704784 language-nix lens optparse-applicative pretty process split text
705− time transformers yaml
785+ transformers yaml
706786 ];
707787 executableHaskellDepends = [
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
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
711793 ];
712794 testHaskellDepends = [
713− base Cabal containers directory filepath language-nix lens pretty
714− process tasty tasty-golden
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
715799 ];
800+ doHaddock = false;
801+ doCheck = false;
716802 homepage = "https://github.com/nixos/cabal2nix#readme";
717803 description = "Convert Cabal files into Nix build instructions";
718804 license = stdenv.lib.licenses.bsd3;
@@ -725,54 +811,33 @@ self: {
725811 sha256 = "1qmihf5jafmc79sk52l6gpx75f5bnla2lp62kh3p34x3j84mwpzj";
726812 libraryHaskellDepends = [ base ];
727813 testHaskellDepends = [ base nanospec ];
814+ doHaddock = false;
815+ doCheck = false;
728816 homepage = "https://github.com/sol/call-stack#readme";
729817 description = "Use GHC call-stacks in a backward compatible way";
730818 license = stdenv.lib.licenses.mit;
731819 }) {};
732820 "case-insensitive" = callPackage
733− ({ mkDerivation, base, bytestring, criterion, deepseq, hashable
734− , HUnit, test-framework, test-framework-hunit, text
735− }:
821+ ({ mkDerivation, base, bytestring, deepseq, hashable, text }:
736822 mkDerivation {
737823 pname = "case-insensitive";
738− version = "1.2.0.11";
739− sha256 = "1qrpxfirsxckg7jv28f5ah2qc8lh95hp7rnqkbqs1ahcwlbnvkm7";
824+ version = "1.2.0.10";
825+ sha256 = "0v1hclvv0516fnlj5j2izd9xmakl7dshi9cb32iz6dgvzx01qck6";
740826 libraryHaskellDepends = [ base bytestring deepseq hashable text ];
741− testHaskellDepends = [
742− base bytestring HUnit test-framework test-framework-hunit text
743− ];
744− benchmarkHaskellDepends = [ base bytestring criterion deepseq ];
827+ doHaddock = false;
828+ doCheck = false;
745829 homepage = "https://github.com/basvandijk/case-insensitive";
746830 description = "Case insensitive string comparison";
747831 license = stdenv.lib.licenses.bsd3;
748832 }) {};
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− }) {};
768833 "cereal" = callPackage
769834 ({ mkDerivation, array, base, bytestring, containers, ghc-prim
770835 , QuickCheck, test-framework, test-framework-quickcheck2
771836 }:
772837 mkDerivation {
773838 pname = "cereal";
774− version = "0.5.5.0";
775− sha256 = "08k8y6nf3n8h8gzw4a44mssy7rhgpmfj28lhczjz4vgszc7k55qb";
839+ version = "0.5.4.0";
840+ sha256 = "1rzyr8r9pjlgas5pc8n776r22i0ficanq05ypqrs477jxxd6rjns";
776841 libraryHaskellDepends = [
777842 array base bytestring containers ghc-prim
778843 ];
@@ -780,6 +845,8 @@ self: {
780845 base bytestring QuickCheck test-framework
781846 test-framework-quickcheck2
782847 ];
848+ doHaddock = false;
849+ doCheck = false;
783850 homepage = "https://github.com/GaloisInc/cereal";
784851 description = "A binary serialization library";
785852 license = stdenv.lib.licenses.bsd3;
@@ -790,77 +857,106 @@ self: {
790857 }:
791858 mkDerivation {
792859 pname = "cereal-conduit";
793− version = "0.8.0";
794− sha256 = "1srr7agvgfw78q5s1npjq5sgynvhjgllpihiv37ylkwqm4c4ap6r";
795− revision = "1";
796− editedCabalFile = "1imyl3g2bni8bc6kajr857xh94fscphksj3286pxfpa8yp9vqqpc";
860+ version = "0.7.3";
861+ sha256 = "18h09j16m4yc4fcp80x7m1p2c87q6f628z36y8bnxbcjc9m95gq5";
797862 libraryHaskellDepends = [
798863 base bytestring cereal conduit resourcet transformers
799864 ];
800865 testHaskellDepends = [
801− base bytestring cereal conduit HUnit mtl transformers
866+ base bytestring cereal conduit HUnit mtl resourcet transformers
802867 ];
868+ doHaddock = false;
869+ doCheck = false;
803870 homepage = "https://github.com/snoyberg/conduit";
804871 description = "Turn Data.Serialize Gets and Puts into Sources, Sinks, and Conduits";
805872 license = stdenv.lib.licenses.bsd3;
806873 }) {};
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+ }) {};
807892 "chunked-data" = callPackage
808893 ({ mkDerivation, base, bytestring, containers, semigroups, text
809894 , transformers, vector
810895 }:
811896 mkDerivation {
812897 pname = "chunked-data";
813− version = "0.3.1";
814− sha256 = "16m7y7fwrirbjbqqcsfmr4yxa9qvfax6r7pw0zl9ky71ms0wa47p";
898+ version = "0.3.0";
899+ sha256 = "0bszq6fijnr4pmadzz89smj7kfmzx0ca3wd9ga8gv0in9jk9vgp1";
815900 libraryHaskellDepends = [
816901 base bytestring containers semigroups text transformers vector
817902 ];
818− homepage = "https://github.com/snoyberg/mono-traversable#readme";
903+ doHaddock = false;
904+ doCheck = false;
905+ homepage = "https://github.com/snoyberg/mono-traversable";
819906 description = "Typeclasses for dealing with various chunked data representations";
820907 license = stdenv.lib.licenses.mit;
821908 }) {};
822909 "classy-prelude" = callPackage
823910 ({ mkDerivation, async, base, basic-prelude, bifunctors, bytestring
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
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
829918 }:
830919 mkDerivation {
831920 pname = "classy-prelude";
832− version = "1.4.0";
833− sha256 = "1q7r4lnrxjsh7rj5nr0cs22ddp9m6maa7bzbkarxw3xbfrb2afrb";
921+ version = "1.2.0.1";
922+ sha256 = "0d7s3z4vbp2pq696m0yc1ccd51d3qvz7f50ya7xijfx7771y0zm4";
834923 libraryHaskellDepends = [
835924 async base basic-prelude bifunctors bytestring chunked-data
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
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
839930 unordered-containers vector vector-instances
840931 ];
841932 testHaskellDepends = [
842933 base containers hspec QuickCheck transformers unordered-containers
843934 ];
844− homepage = "https://github.com/snoyberg/mono-traversable#readme";
935+ doHaddock = false;
936+ doCheck = false;
937+ homepage = "https://github.com/snoyberg/mono-traversable";
845938 description = "A typeclass-based Prelude";
846939 license = stdenv.lib.licenses.mit;
847940 }) {};
848941 "classy-prelude-conduit" = callPackage
849− ({ mkDerivation, base, bytestring, classy-prelude, conduit, hspec
850− , monad-control, QuickCheck, resourcet, transformers, void
942+ ({ mkDerivation, base, bytestring, classy-prelude, conduit
943+ , conduit-combinators, hspec, monad-control, QuickCheck, resourcet
944+ , transformers, void
851945 }:
852946 mkDerivation {
853947 pname = "classy-prelude-conduit";
854− version = "1.4.0";
855− sha256 = "096466cyyxxmg3jpq705xjjc4r7v9b607hgbys8vybjlldkjbvrr";
948+ version = "1.2.0";
949+ sha256 = "0zzc6095205qf58qnnagfnb90svlc0m4hw2q79kd4x6d8b80s294";
856950 libraryHaskellDepends = [
857− base bytestring classy-prelude conduit monad-control resourcet
858− transformers void
951+ base bytestring classy-prelude conduit conduit-combinators
952+ monad-control resourcet transformers void
859953 ];
860954 testHaskellDepends = [
861955 base bytestring conduit hspec QuickCheck transformers
862956 ];
863− homepage = "https://github.com/snoyberg/mono-traversable#readme";
957+ doHaddock = false;
958+ doCheck = false;
959+ homepage = "https://github.com/snoyberg/mono-traversable";
864960 description = "classy-prelude together with conduit functions";
865961 license = stdenv.lib.licenses.mit;
866962 }) {};
@@ -872,6 +968,8 @@ self: {
872968 sha256 = "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8";
873969 libraryHaskellDepends = [ base ];
874970 testHaskellDepends = [ base tasty tasty-quickcheck ];
971+ doHaddock = false;
972+ doCheck = false;
875973 homepage = "https://github.com/corsis/clock";
876974 description = "High-resolution clock functions: monotonic, realtime, cputime";
877975 license = stdenv.lib.licenses.bsd3;
@@ -882,13 +980,18 @@ self: {
882980 }:
883981 mkDerivation {
884982 pname = "cmdargs";
885− version = "0.10.20";
886− sha256 = "0cbkmgrcnwgigg6z88y3c09gm7g6dwm7gzbgr53h8k1xik29s9hf";
983+ version = "0.10.18";
984+ sha256 = "1lnmcsf6p9yrwwz1zvrw5lbc32xpff7b70yz4ylawaflnlz6wrlh";
887985 isLibrary = true;
888986 isExecutable = true;
889987 libraryHaskellDepends = [
890988 base filepath process template-haskell transformers
891989 ];
990+ executableHaskellDepends = [
991+ base filepath process template-haskell transformers
992+ ];
993+ doHaddock = false;
994+ doCheck = false;
892995 homepage = "https://github.com/ndmitchell/cmdargs#readme";
893996 description = "Command line argument processing";
894997 license = stdenv.lib.licenses.bsd3;
@@ -901,23 +1004,12 @@ self: {
9011004 sha256 = "1491frk4jx6dlhifky9dvcxbsbcfssrz979a5hp5zn061rh8cp76";
9021005 libraryHaskellDepends = [ base ];
9031006 testHaskellDepends = [ base ];
1007+ doHaddock = false;
1008+ doCheck = false;
9041009 homepage = "https://github.com/RyanGlScott/code-page";
9051010 description = "Windows code page library for Haskell";
9061011 license = stdenv.lib.licenses.bsd3;
9071012 }) {};
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− }) {};
9211013 "comonad" = callPackage
9221014 ({ mkDerivation, base, Cabal, cabal-doctest, containers
9231015 , contravariant, distributive, doctest, semigroups, tagged
@@ -925,97 +1017,97 @@ self: {
9251017 }:
9261018 mkDerivation {
9271019 pname = "comonad";
928− version = "5.0.4";
929− sha256 = "09g870c4flp4k3fgbibsd0mmfjani1qcpbcl685v8x89kxzrva3q";
1020+ version = "5.0.2";
1021+ sha256 = "115pai560rllsmym76bj787kwz5xx19y8bl6262005nddqwzxc0v";
1022+ revision = "1";
1023+ editedCabalFile = "1lnsnx8p3wlfhd1xfc68za3b00vq77z2m6b0vqiw2laqmpj9akcw";
9301024 setupHaskellDepends = [ base Cabal cabal-doctest ];
9311025 libraryHaskellDepends = [
9321026 base containers contravariant distributive semigroups tagged
9331027 transformers transformers-compat
9341028 ];
9351029 testHaskellDepends = [ base doctest ];
1030+ doHaddock = false;
1031+ doCheck = false;
9361032 homepage = "http://github.com/ekmett/comonad/";
9371033 description = "Comonads";
9381034 license = stdenv.lib.licenses.bsd3;
9391035 }) {};
940− "concurrent-output" = callPackage
941− ({ mkDerivation, ansi-terminal, async, base, directory, exceptions
942− , process, stm, terminal-size, text, transformers, unix
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
9431040 }:
9441041 mkDerivation {
945− pname = "concurrent-output";
946− version = "1.10.6";
947− sha256 = "1qlp1vij4qgcrkw8ym5xdc0pgfwklbhsfh56sgayy3cvpvcac093";
1042+ pname = "conduit";
1043+ version = "1.2.12.1";
1044+ sha256 = "0zl6gflh7y36y2vypjhqx13nhkk5y3h12c1zj7kjfclrmwnvnwh0";
9481045 libraryHaskellDepends = [
949− ansi-terminal async base directory exceptions process stm
950− terminal-size text transformers unix
951− ];
952− description = "Ungarble output from several threads or commands";
953− license = stdenv.lib.licenses.bsd2;
954− }) {};
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
961− }:
962− mkDerivation {
963− pname = "conduit";
964− version = "1.3.0.3";
965− sha256 = "1sangm0qqi9dzlq95746a3kl14k8b09592a423shxjf2a0b1yx5v";
966− libraryHaskellDepends = [
967− base bytestring directory exceptions filepath mono-traversable mtl
968− primitive resourcet text transformers unix unliftio-core vector
1046+ base exceptions lifted-base mmorph monad-control mtl primitive
1047+ resourcet transformers transformers-base transformers-compat
9691048 ];
9701049 testHaskellDepends = [
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
1050+ base containers exceptions hspec mtl QuickCheck resourcet safe
1051+ split transformers
9781052 ];
1053+ doHaddock = false;
1054+ doCheck = false;
9791055 homepage = "http://github.com/snoyberg/conduit";
9801056 description = "Streaming data processing library";
9811057 license = stdenv.lib.licenses.mit;
9821058 }) {};
9831059 "conduit-combinators" = callPackage
984− ({ mkDerivation, base }:
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
1066+ }:
9851067 mkDerivation {
9861068 pname = "conduit-combinators";
987− version = "1.3.0";
988− sha256 = "1lz70vwp4y4lpsivxl0cshq7aq3968rh48r6rjvpyaj2l0bdj5wp";
989− libraryHaskellDepends = [ base ];
1069+ version = "1.1.1";
1070+ sha256 = "0609miq03lq9visfb2dqqsxghmvgzm24pq39mqby1jnnah6yh8m0";
1071+ 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
1076+ ];
1077+ 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
1081+ ];
9901082 doHaddock = false;
991− homepage = "https://github.com/snoyberg/mono-traversable#readme";
992− description = "DEPRECATED Functionality merged into the conduit package itself";
1083+ doCheck = false;
1084+ homepage = "https://github.com/snoyberg/mono-traversable";
1085+ description = "Commonly used conduit functions, for both chunked and unchunked data";
9931086 license = stdenv.lib.licenses.mit;
9941087 }) {};
9951088 "conduit-extra" = callPackage
996− ({ mkDerivation, async, attoparsec, base, bytestring
1089+ ({ mkDerivation, async, attoparsec, base, blaze-builder, bytestring
9971090 , bytestring-builder, conduit, directory, exceptions, filepath
998− , gauge, hspec, network, primitive, process, QuickCheck, resourcet
999− , stm, streaming-commons, text, transformers, transformers-base
1000− , typed-process, unliftio-core
1091+ , hspec, monad-control, network, primitive, process, QuickCheck
1092+ , resourcet, stm, streaming-commons, text, transformers
1093+ , transformers-base
10011094 }:
10021095 mkDerivation {
10031096 pname = "conduit-extra";
1004− version = "1.3.0";
1005− sha256 = "1bi2b6kdzy5f9glq46jzsk02has95jkxqz0cchpbmnakzhjwjh9c";
1097+ version = "1.1.17";
1098+ sha256 = "01haq94kf4jsqrhs6j2kkvxrw4iqhvhnd9rcrqpkdbp1dil493kn";
10061099 libraryHaskellDepends = [
1007− async attoparsec base bytestring conduit directory filepath network
1008− primitive process resourcet stm streaming-commons text transformers
1009− typed-process unliftio-core
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
10101103 ];
10111104 testHaskellDepends = [
1012− async attoparsec base bytestring bytestring-builder conduit
1013− directory exceptions hspec process QuickCheck resourcet stm
1105+ async attoparsec base blaze-builder bytestring bytestring-builder
1106+ conduit directory exceptions hspec process QuickCheck resourcet stm
10141107 streaming-commons text transformers transformers-base
10151108 ];
1016− benchmarkHaskellDepends = [
1017− base bytestring bytestring-builder conduit gauge transformers
1018− ];
1109+ doHaddock = false;
1110+ doCheck = false;
10191111 homepage = "http://github.com/snoyberg/conduit";
10201112 description = "Batteries included conduit: adapters for common libraries";
10211113 license = stdenv.lib.licenses.mit;
@@ -1033,61 +1125,66 @@ self: {
10331125 base byteable bytestring containers data-default-class network
10341126 socks tls x509 x509-store x509-system x509-validation
10351127 ];
1128+ doHaddock = false;
1129+ doCheck = false;
10361130 homepage = "http://github.com/vincenthz/hs-connection";
10371131 description = "Simple and easy network connections API";
10381132 license = stdenv.lib.licenses.bsd3;
10391133 }) {};
10401134 "constraints" = callPackage
1041− ({ mkDerivation, base, binary, deepseq, ghc-prim, hashable, hspec
1042− , hspec-discover, mtl, semigroups, transformers
1043− , transformers-compat
1135+ ({ mkDerivation, base, binary, deepseq, ghc-prim, hashable, mtl
1136+ , transformers, transformers-compat
10441137 }:
10451138 mkDerivation {
10461139 pname = "constraints";
1047− version = "0.10.1";
1048− sha256 = "1xy3vv78jxc17hm0z7qqspxjwv7l2jbcbj670yrl2f053qkfr02q";
1140+ version = "0.9.1";
1141+ sha256 = "11d76051i2a335bvack04dqvsz4zhgcms1jxlvy4a4c670l02vi7";
10491142 libraryHaskellDepends = [
1050− base binary deepseq ghc-prim hashable mtl semigroups transformers
1143+ base binary deepseq ghc-prim hashable mtl transformers
10511144 transformers-compat
10521145 ];
1053− testHaskellDepends = [ base hspec ];
1054− testToolDepends = [ hspec-discover ];
1146+ doHaddock = false;
1147+ doCheck = false;
10551148 homepage = "http://github.com/ekmett/constraints/";
10561149 description = "Constraint manipulation";
10571150 license = stdenv.lib.licenses.bsd2;
10581151 }) {};
10591152 "contravariant" = callPackage
1060− ({ mkDerivation, base, StateVar, transformers, transformers-compat
1153+ ({ mkDerivation, base, semigroups, StateVar, transformers
1154+ , transformers-compat, void
10611155 }:
10621156 mkDerivation {
10631157 pname = "contravariant";
1064− version = "1.4.1";
1065− sha256 = "1vfhk8c5cxmmakx7rflap1ipkx5q0j5vnlrcz7yz6y53kxhksgf9";
1066− revision = "1";
1067− editedCabalFile = "0qj5nymccrb9p0cd6hffsy90jidjng14g9yv95z8v6h4q84sbzvx";
1158+ version = "1.4";
1159+ sha256 = "117fff8kkrvlmr8cb2jpj71z7lf2pdiyks6ilyx89mry6zqnsrp1";
10681160 libraryHaskellDepends = [
1069− base StateVar transformers transformers-compat
1161+ base semigroups StateVar transformers transformers-compat void
10701162 ];
1163+ doHaddock = false;
1164+ doCheck = false;
10711165 homepage = "http://github.com/ekmett/contravariant/";
10721166 description = "Contravariant functors";
10731167 license = stdenv.lib.licenses.bsd3;
10741168 }) {};
10751169 "cookie" = callPackage
1076− ({ mkDerivation, base, bytestring, data-default-class, deepseq
1077− , HUnit, QuickCheck, tasty, tasty-hunit, tasty-quickcheck, text
1078− , time
1170+ ({ mkDerivation, base, blaze-builder, bytestring
1171+ , data-default-class, deepseq, HUnit, old-locale, QuickCheck, tasty
1172+ , tasty-hunit, tasty-quickcheck, text, time
10791173 }:
10801174 mkDerivation {
10811175 pname = "cookie";
1082− version = "0.4.4";
1083− sha256 = "1qy09i0jh2z9i9avy2khf8a8afq4fqgnv0fyrszgfg4kmq2fsi9j";
1176+ version = "0.4.3";
1177+ sha256 = "0qpdydhb9gw590ffabqg70x7xvjpg8l74idqnrfbhv5yrr7hryzv";
10841178 libraryHaskellDepends = [
1085− base bytestring data-default-class deepseq text time
1179+ base blaze-builder bytestring data-default-class deepseq old-locale
1180+ text time
10861181 ];
10871182 testHaskellDepends = [
1088− base bytestring HUnit QuickCheck tasty tasty-hunit tasty-quickcheck
1089− text time
1183+ base blaze-builder bytestring HUnit QuickCheck tasty tasty-hunit
1184+ tasty-quickcheck text time
10901185 ];
1186+ doHaddock = false;
1187+ doCheck = false;
10911188 homepage = "http://github.com/snoyberg/cookie";
10921189 description = "HTTP cookie parsing and rendering";
10931190 license = stdenv.lib.licenses.mit;
@@ -1107,99 +1204,15 @@ self: {
11071204 executableHaskellDepends = [
11081205 base directory old-locale old-time polyparse
11091206 ];
1207+ doHaddock = false;
1208+ doCheck = false;
11101209 homepage = "http://projects.haskell.org/cpphs/";
11111210 description = "A liberalised re-implementation of cpp, the C pre-processor";
11121211 license = "LGPL";
11131212 }) {};
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− }) {};
11991213 "cryptohash" = callPackage
1200− ({ mkDerivation, base, byteable, bytestring, criterion, cryptonite
1201− , ghc-prim, HUnit, memory, QuickCheck, tasty, tasty-hunit
1202− , tasty-quickcheck
1214+ ({ mkDerivation, base, byteable, bytestring, cryptonite, ghc-prim
1215+ , HUnit, memory, QuickCheck, tasty, tasty-hunit, tasty-quickcheck
12031216 }:
12041217 mkDerivation {
12051218 pname = "cryptohash";
@@ -1212,54 +1225,49 @@ self: {
12121225 base byteable bytestring HUnit QuickCheck tasty tasty-hunit
12131226 tasty-quickcheck
12141227 ];
1215− benchmarkHaskellDepends = [ base byteable bytestring criterion ];
1228+ doHaddock = false;
1229+ doCheck = false;
12161230 homepage = "http://github.com/vincenthz/hs-cryptohash";
12171231 description = "collection of crypto hashes, fast, pure and practical";
12181232 license = stdenv.lib.licenses.bsd3;
12191233 }) {};
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
1234+ "cryptohash-conduit" = callPackage
1235+ ({ mkDerivation, base, bytestring, conduit, conduit-extra
1236+ , cryptohash, resourcet, transformers
12241237 }:
12251238 mkDerivation {
1226− pname = "cryptonite";
1227− version = "0.25";
1228− sha256 = "131wbbdr5yavs5k1ah9sz6fqx1ffyvaxf66pwjzsfc47mwc1mgl9";
1239+ pname = "cryptohash-conduit";
1240+ version = "0.1.1";
1241+ sha256 = "1kmlskgb0jx8hkzdncr24aqir9k1kyfcb2rypvkdld1yin4nslga";
12291242 libraryHaskellDepends = [
1230− base basement bytestring deepseq ghc-prim integer-gmp memory
1231− ];
1232− testHaskellDepends = [
1233− base bytestring memory tasty tasty-hunit tasty-kat tasty-quickcheck
1234− ];
1235− benchmarkHaskellDepends = [
1236− base bytestring deepseq gauge memory random
1243+ base bytestring conduit conduit-extra cryptohash resourcet
1244+ transformers
12371245 ];
1238− homepage = "https://github.com/haskell-crypto/cryptonite";
1239− description = "Cryptography Primitives sink";
1246+ doHaddock = false;
1247+ doCheck = false;
1248+ homepage = "http://github.com/vincenthz/hs-cryptohash-conduit";
1249+ description = "cryptohash conduit";
12401250 license = stdenv.lib.licenses.bsd3;
12411251 }) {};
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
1252+ "cryptonite" = callPackage
1253+ ({ mkDerivation, base, bytestring, deepseq, foundation, ghc-prim
1254+ , integer-gmp, memory, tasty, tasty-hunit, tasty-kat
1255+ , tasty-quickcheck
12461256 }:
12471257 mkDerivation {
1248− pname = "cryptonite-conduit";
1249− version = "0.2.2";
1250− sha256 = "1bldcmda4xh52mw1wfrjljv8crhw3al7v7kv1j0vidvr7ymnjpbh";
1251− revision = "1";
1252− editedCabalFile = "1hh2nzfz4qpxgivfilgk4ll416lph8b2fdkzpzrmqfjglivydfmz";
1258+ pname = "cryptonite";
1259+ version = "0.23";
1260+ sha256 = "1680dxgmnjgj083jhsw3rlljwaw0zqi5099m59x6kwqkxhn1qjpf";
12531261 libraryHaskellDepends = [
1254− base bytestring conduit conduit-extra cryptonite exceptions memory
1255− resourcet transformers
1262+ base bytestring deepseq foundation ghc-prim integer-gmp memory
12561263 ];
12571264 testHaskellDepends = [
1258− base bytestring conduit conduit-combinators cryptonite memory tasty
1259− tasty-hunit tasty-quickcheck
1265+ base bytestring memory tasty tasty-hunit tasty-kat tasty-quickcheck
12601266 ];
1261− homepage = "https://github.com/haskell-crypto/cryptonite-conduit";
1262− description = "cryptonite conduit";
1267+ doHaddock = false;
1268+ doCheck = false;
1269+ homepage = "https://github.com/haskell-crypto/cryptonite";
1270+ description = "Cryptography Primitives sink";
12631271 license = stdenv.lib.licenses.bsd3;
12641272 }) {};
12651273 "data-default" = callPackage
@@ -1275,6 +1283,8 @@ self: {
12751283 base data-default-class data-default-instances-containers
12761284 data-default-instances-dlist data-default-instances-old-locale
12771285 ];
1286+ doHaddock = false;
1287+ doCheck = false;
12781288 description = "A class for types with a default value";
12791289 license = stdenv.lib.licenses.bsd3;
12801290 }) {};
@@ -1285,6 +1295,8 @@ self: {
12851295 version = "0.1.2.0";
12861296 sha256 = "0miyjz8d4jyvqf2vp60lyfbnflx6cj2k8apmm9ly1hq0y0iv80ag";
12871297 libraryHaskellDepends = [ base ];
1298+ doHaddock = false;
1299+ doCheck = false;
12881300 description = "A class for types with a default value";
12891301 license = stdenv.lib.licenses.bsd3;
12901302 }) {};
@@ -1295,6 +1307,8 @@ self: {
12951307 version = "0.0.1";
12961308 sha256 = "06h8xka031w752a7cjlzghvr8adqbl95xj9z5zc1b62w02phfpm5";
12971309 libraryHaskellDepends = [ base containers data-default-class ];
1310+ doHaddock = false;
1311+ doCheck = false;
12981312 description = "Default instances for types in containers";
12991313 license = stdenv.lib.licenses.bsd3;
13001314 }) {};
@@ -1305,6 +1319,8 @@ self: {
13051319 version = "0.0.1";
13061320 sha256 = "0narkdqiprhgayjiawrr4390h4rq4pl2pb6mvixbv2phrc8kfs3x";
13071321 libraryHaskellDepends = [ base data-default-class dlist ];
1322+ doHaddock = false;
1323+ doCheck = false;
13081324 description = "Default instances for types in dlist";
13091325 license = stdenv.lib.licenses.bsd3;
13101326 }) {};
@@ -1315,32 +1331,27 @@ self: {
13151331 version = "0.0.1";
13161332 sha256 = "00h81i5phib741yj517p8mbnc48myvfj8axzsw44k34m48lv1lv0";
13171333 libraryHaskellDepends = [ base data-default-class old-locale ];
1334+ doHaddock = false;
1335+ doCheck = false;
13181336 description = "Default instances for types in old-locale";
13191337 license = stdenv.lib.licenses.bsd3;
13201338 }) {};
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− }) {};
13311339 "distribution-nixpkgs" = callPackage
13321340 ({ mkDerivation, aeson, base, bytestring, Cabal, containers
1333− , deepseq, hspec, language-nix, lens, pretty, process, split
1341+ , deepseq, doctest, hspec, language-nix, lens, pretty, process
1342+ , split
13341343 }:
13351344 mkDerivation {
13361345 pname = "distribution-nixpkgs";
1337− version = "1.1.1";
1338− sha256 = "1694crd3l9cyc0c5xvqmx62154519g2cnpzc5qmlypwrk258bssm";
1346+ version = "1.1";
1347+ sha256 = "15m881mrhpqg1xjdjz65ym8pajp1nijrcvb6dx3vv55430cjw1qx";
13391348 libraryHaskellDepends = [
13401349 aeson base bytestring Cabal containers deepseq language-nix lens
13411350 pretty process split
13421351 ];
1343− testHaskellDepends = [ base deepseq hspec lens ];
1352+ testHaskellDepends = [ base deepseq doctest hspec lens ];
1353+ doHaddock = false;
1354+ doCheck = false;
13441355 homepage = "https://github.com/peti/distribution-nixpkgs#readme";
13451356 description = "Types and functions to manipulate the Nixpkgs distribution";
13461357 license = stdenv.lib.licenses.bsd3;
@@ -1354,25 +1365,28 @@ self: {
13541365 pname = "distributive";
13551366 version = "0.5.3";
13561367 sha256 = "0y566r97sfyvhsmd4yxiz4ns2mqgwf5bdbp56wgxl6wlkidq0wwi";
1357− revision = "6";
1358− editedCabalFile = "06bd38rf31yrvvy989r44pm0id3dsxwcp6nxg7wk6ccj3n2b8rzk";
1368+ revision = "1";
1369+ editedCabalFile = "0hsq03i0qa0jvw7kaaqic40zvfkzhkd25dgvbdg6hjzylf1k1gax";
13591370 setupHaskellDepends = [ base Cabal cabal-doctest ];
13601371 libraryHaskellDepends = [
13611372 base base-orphans tagged transformers transformers-compat
13621373 ];
13631374 testHaskellDepends = [ base doctest generic-deriving hspec ];
1375+ doHaddock = false;
1376+ doCheck = false;
13641377 homepage = "http://github.com/ekmett/distributive/";
13651378 description = "Distributive functors -- Dual to Traversable";
13661379 license = stdenv.lib.licenses.bsd3;
13671380 }) {};
13681381 "dlist" = callPackage
1369− ({ mkDerivation, base, Cabal, deepseq, QuickCheck }:
1382+ ({ mkDerivation, base, deepseq }:
13701383 mkDerivation {
13711384 pname = "dlist";
1372− version = "0.8.0.4";
1373− sha256 = "0yirrh0s6acjy9hhvf5fqg2d6q5y6gm9xs04v6w1imndh1xqdwdc";
1385+ version = "0.8.0.3";
1386+ sha256 = "0brgai4vs7xz29p06kd6gzg5bpa8iy3k7yzgcc44izspd74q4rw7";
13741387 libraryHaskellDepends = [ base deepseq ];
1375− testHaskellDepends = [ base Cabal QuickCheck ];
1388+ doHaddock = false;
1389+ doCheck = false;
13761390 homepage = "https://github.com/spl/dlist";
13771391 description = "Difference lists";
13781392 license = stdenv.lib.licenses.bsd3;
@@ -1384,6 +1398,8 @@ self: {
13841398 version = "0.1.1.1";
13851399 sha256 = "0nsgrr25r4qxv2kpn7i20hra8jjkyllxfrhh5hml3ysjdz010jni";
13861400 libraryHaskellDepends = [ base dlist semigroups ];
1401+ doHaddock = false;
1402+ doCheck = false;
13871403 homepage = "https://github.com/gregwebs/dlist-instances";
13881404 description = "Difference lists instances";
13891405 license = stdenv.lib.licenses.bsd3;
@@ -1396,23 +1412,21 @@ self: {
13961412 }:
13971413 mkDerivation {
13981414 pname = "doctest";
1399− version = "0.16.0";
1400− sha256 = "0hkccch65s3kp0b36h7bqhilnpi4bx8kngncm7ma9vbd3dwacjdv";
1415+ version = "0.11.4";
1416+ sha256 = "09a170wr13p2c0w085d7qbf2blrvj1qmg92j61xqi17rwdwkvyjs";
14011417 isLibrary = true;
14021418 isExecutable = true;
14031419 libraryHaskellDepends = [
14041420 base base-compat code-page deepseq directory filepath ghc ghc-paths
14051421 process syb transformers
14061422 ];
1407− executableHaskellDepends = [
1408− base base-compat code-page deepseq directory filepath ghc ghc-paths
1409− process syb transformers
1410− ];
1423+ executableHaskellDepends = [ base ];
14111424 testHaskellDepends = [
14121425 base base-compat code-page deepseq directory filepath ghc ghc-paths
14131426 hspec HUnit mockery process QuickCheck setenv silently
14141427 stringbuilder syb transformers with-location
14151428 ];
1429+ doHaddock = false;
14161430 doCheck = false;
14171431 homepage = "https://github.com/sol/doctest#readme";
14181432 description = "Test interactive Haskell examples";
@@ -1422,25 +1436,35 @@ self: {
14221436 ({ mkDerivation, base, directory, filepath, time, unix }:
14231437 mkDerivation {
14241438 pname = "easy-file";
1425− version = "0.2.2";
1426− sha256 = "0zmlcz723051qpn8l8vi51c5rx1blwrw4094jcshkmj8p9r2xxaj";
1439+ version = "0.2.1";
1440+ sha256 = "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz";
14271441 libraryHaskellDepends = [ base directory filepath time unix ];
1442+ doHaddock = false;
1443+ doCheck = false;
14281444 homepage = "http://github.com/kazu-yamamoto/easy-file";
14291445 description = "Cross-platform File handling";
14301446 license = stdenv.lib.licenses.bsd3;
14311447 }) {};
1432− "entropy" = callPackage
1433− ({ mkDerivation, base, bytestring, Cabal, directory, filepath
1434− , process, unix
1448+ "either" = callPackage
1449+ ({ mkDerivation, base, bifunctors, exceptions, free, mmorph
1450+ , monad-control, MonadRandom, mtl, profunctors, semigroupoids
1451+ , semigroups, transformers, transformers-base
14351452 }:
14361453 mkDerivation {
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";
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";
14441468 license = stdenv.lib.licenses.bsd3;
14451469 }) {};
14461470 "erf" = callPackage
@@ -1450,28 +1474,31 @@ self: {
14501474 version = "2.0.0.0";
14511475 sha256 = "0dxk2r32ajmmc05vaxcp0yw6vgv4lkbmh8jcshncn98xgsfbgw14";
14521476 libraryHaskellDepends = [ base ];
1477+ doHaddock = false;
1478+ doCheck = false;
14531479 description = "The error function, erf, and related functions";
14541480 license = stdenv.lib.licenses.bsd3;
14551481 }) {};
14561482 "exceptions" = callPackage
14571483 ({ mkDerivation, base, mtl, QuickCheck, stm, template-haskell
1458− , test-framework, test-framework-hunit, test-framework-quickcheck2
1459− , transformers, transformers-compat
1484+ , test-framework, test-framework-quickcheck2, transformers
1485+ , transformers-compat
14601486 }:
14611487 mkDerivation {
14621488 pname = "exceptions";
1463− version = "0.10.0";
1464− sha256 = "1ms9zansv0pwzwdjncvx4kf18lnkjy2p61hvjhvxmjx5bqp93p8y";
1465− revision = "1";
1466− editedCabalFile = "1ydvmhi9bj7b1md3wd4l2z2lccgyjgv3ha8milmy2l4lad9xh6xy";
1489+ version = "0.8.3";
1490+ sha256 = "1gl7xzffsqmigam6zg0jsglncgzxqafld2p6kb7ccp9xirzdjsjd";
1491+ revision = "2";
1492+ editedCabalFile = "1vl59j0l7m53hkzlcfmdbqbab8dk4lp9gzwryn7nsr6ylg94wayw";
14671493 libraryHaskellDepends = [
14681494 base mtl stm template-haskell transformers transformers-compat
14691495 ];
14701496 testHaskellDepends = [
14711497 base mtl QuickCheck stm template-haskell test-framework
1472− test-framework-hunit test-framework-quickcheck2 transformers
1473− transformers-compat
1498+ test-framework-quickcheck2 transformers transformers-compat
14741499 ];
1500+ doHaddock = false;
1501+ doCheck = false;
14751502 homepage = "http://github.com/ekmett/exceptions/";
14761503 description = "Extensible optionally-pure exceptions";
14771504 license = stdenv.lib.licenses.bsd3;
@@ -1483,111 +1510,114 @@ self: {
14831510 version = "0.1.1.4";
14841511 sha256 = "1273nqws9ij1rp1bsq5jc7k2jxpqa0svawdbim05lf302y0firbc";
14851512 libraryHaskellDepends = [ base ];
1513+ doHaddock = false;
1514+ doCheck = false;
14861515 description = "Extensible exceptions";
14871516 license = stdenv.lib.licenses.bsd3;
14881517 }) {};
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+ }) {};
14891530 "fast-logger" = callPackage
14901531 ({ mkDerivation, array, auto-update, base, bytestring, directory
14911532 , easy-file, filepath, hspec, text, unix, unix-time
14921533 }:
14931534 mkDerivation {
14941535 pname = "fast-logger";
1495− version = "2.4.11";
1496− sha256 = "1ad2vq4nifdxshqk9yrmghqizhkgybfz134kpr6padglb2mxxrdv";
1536+ version = "2.4.10";
1537+ sha256 = "13b7rrv8dw574k6lbl96nar67fx81058gvilsc42v0lgm38sbi6y";
14971538 libraryHaskellDepends = [
14981539 array auto-update base bytestring directory easy-file filepath text
14991540 unix unix-time
15001541 ];
15011542 testHaskellDepends = [ base bytestring directory hspec ];
1543+ doHaddock = false;
1544+ doCheck = false;
15021545 homepage = "https://github.com/kazu-yamamoto/logger";
15031546 description = "A fast logging system";
15041547 license = stdenv.lib.licenses.bsd3;
15051548 }) {};
15061549 "foldl" = callPackage
15071550 ({ mkDerivation, base, bytestring, comonad, containers
1508− , contravariant, criterion, hashable, mwc-random, primitive
1509− , profunctors, semigroupoids, semigroups, text, transformers
1510− , unordered-containers, vector, vector-builder
1551+ , contravariant, hashable, mwc-random, primitive, profunctors, text
1552+ , transformers, unordered-containers, vector
15111553 }:
15121554 mkDerivation {
15131555 pname = "foldl";
1514− version = "1.4.2";
1515− sha256 = "14ccc2spv63v7vipfrmk8jbbw2x1dkkxsyzqzcpnkzjw0yg4ghc9";
1556+ version = "1.2.5";
1557+ sha256 = "0jzc00dqwkr3kvy40f8f9klh24s8zvhfk2flrlyichc6zcy5qbda";
1558+ revision = "1";
1559+ editedCabalFile = "02lk5838594mi15bylz2kpcm1c4akbsswj73i7k8xw4ns66iaq04";
15161560 libraryHaskellDepends = [
15171561 base bytestring comonad containers contravariant hashable
1518− mwc-random primitive profunctors semigroupoids semigroups text
1519− transformers unordered-containers vector vector-builder
1562+ mwc-random primitive profunctors text transformers
1563+ unordered-containers vector
15201564 ];
1521− benchmarkHaskellDepends = [ base criterion ];
1565+ doHaddock = false;
1566+ doCheck = false;
15221567 description = "Composable, streaming, and efficient left folds";
15231568 license = stdenv.lib.licenses.bsd3;
15241569 }) {};
15251570 "foundation" = callPackage
1526− ({ mkDerivation, base, basement, gauge, ghc-prim }:
1571+ ({ mkDerivation, base, basement, ghc-prim }:
15271572 mkDerivation {
15281573 pname = "foundation";
1529− version = "0.0.21";
1530− sha256 = "1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf";
1574+ version = "0.0.17";
1575+ sha256 = "00f2p47h715fjb3rpsxlf4jskgwk9sz5p692r09gspspqmrs5l84";
1576+ revision = "1";
1577+ editedCabalFile = "15y38y0mj4vc694jwh3cjgnq8xv5vv7954g633f7mw5f0hb3yxkn";
15311578 libraryHaskellDepends = [ base basement ghc-prim ];
15321579 testHaskellDepends = [ base basement ];
1533− benchmarkHaskellDepends = [ base basement gauge ];
1580+ doHaddock = false;
1581+ doCheck = false;
15341582 homepage = "https://github.com/haskell-foundation/foundation";
15351583 description = "Alternative prelude with batteries and no dependencies";
15361584 license = stdenv.lib.licenses.bsd3;
15371585 }) {};
15381586 "free" = callPackage
15391587 ({ mkDerivation, base, bifunctors, comonad, containers
1540− , distributive, exceptions, mtl, profunctors, semigroupoids
1541− , semigroups, template-haskell, transformers, transformers-base
1588+ , distributive, exceptions, mtl, prelude-extras, profunctors
1589+ , semigroupoids, semigroups, template-haskell, transformers
15421590 , transformers-compat
15431591 }:
15441592 mkDerivation {
15451593 pname = "free";
1546− version = "5.0.2";
1547− sha256 = "15m3n9vhz7z3kzv1w3wlfa3x8jp4cbrkwmrcjr7jlx39iqffn1gg";
1594+ version = "4.12.4";
1595+ sha256 = "1147s393442xf4gkpbq0rd1p286vmykgx85mxhk5d1c7wfm4bzn9";
15481596 libraryHaskellDepends = [
15491597 base bifunctors comonad containers distributive exceptions mtl
1550− profunctors semigroupoids semigroups template-haskell transformers
1551− transformers-base transformers-compat
1598+ prelude-extras profunctors semigroupoids semigroups
1599+ template-haskell transformers transformers-compat
15521600 ];
1601+ doHaddock = false;
1602+ doCheck = false;
15531603 homepage = "http://github.com/ekmett/free/";
15541604 description = "Monads for free";
15551605 license = stdenv.lib.licenses.bsd3;
15561606 }) {};
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− }) {};
15761607 "generic-deriving" = callPackage
1577− ({ mkDerivation, base, containers, ghc-prim, hspec, hspec-discover
1578− , template-haskell, th-abstraction
1608+ ({ mkDerivation, base, containers, ghc-prim, hspec
1609+ , template-haskell
15791610 }:
15801611 mkDerivation {
15811612 pname = "generic-deriving";
1582− version = "1.12.2";
1583− sha256 = "1i7d6cpj9yhaqb79zays3nqchhaacacjz9bkc0zlwj73y5gvi22n";
1584− revision = "1";
1585− editedCabalFile = "0gr20ypr6s0183wmrhmia0zvpbn4dmfyr3wksrkrqj4i8nhj42fz";
1613+ version = "1.11.2";
1614+ sha256 = "1y92q4dmbyc24hjjvq02474s9grwabxffn16y31gzaqhm0m0z5i9";
15861615 libraryHaskellDepends = [
1587− base containers ghc-prim template-haskell th-abstraction
1616+ base containers ghc-prim template-haskell
15881617 ];
15891618 testHaskellDepends = [ base hspec template-haskell ];
1590− testToolDepends = [ hspec-discover ];
1619+ doHaddock = false;
1620+ doCheck = false;
15911621 homepage = "https://github.com/dreixel/generic-deriving";
15921622 description = "Generic programming library for generalised deriving";
15931623 license = stdenv.lib.licenses.bsd3;
@@ -1598,13 +1628,111 @@ self: {
15981628 pname = "ghc-paths";
15991629 version = "0.1.0.9";
16001630 sha256 = "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg";
1601− revision = "3";
1602− editedCabalFile = "1gx47xbm3qviqccnbsibzkfnlzljvls33jh1ry4l506yvfnf4j10";
1631+ revision = "2";
1632+ editedCabalFile = "1gs6biqbcabgmrwhc1bq1bdaxdwwh26v4mpvj5c7cfyigc64gwyk";
16031633 setupHaskellDepends = [ base Cabal directory ];
16041634 libraryHaskellDepends = [ base ];
1635+ doHaddock = false;
1636+ doCheck = false;
16051637 description = "Knowledge of GHC's installation directories";
16061638 license = stdenv.lib.licenses.bsd3;
16071639 }) {};
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+ }) {};
16081736 "gitrev" = callPackage
16091737 ({ mkDerivation, base, base-compat, directory, filepath, process
16101738 , template-haskell
@@ -1616,6 +1744,8 @@ self: {
16161744 libraryHaskellDepends = [
16171745 base base-compat directory filepath process template-haskell
16181746 ];
1747+ doHaddock = false;
1748+ doCheck = false;
16191749 homepage = "https://github.com/acfoltzer/gitrev";
16201750 description = "Compile git revision info into Haskell projects";
16211751 license = stdenv.lib.licenses.bsd3;
@@ -1630,25 +1760,28 @@ self: {
16301760 isExecutable = true;
16311761 libraryHaskellDepends = [ base haskell-src-exts ];
16321762 executableHaskellDepends = [ base ];
1763+ doHaddock = false;
1764+ doCheck = false;
16331765 description = "Pretty printing for well-behaved Show instances";
16341766 license = stdenv.lib.licenses.bsd3;
16351767 }) {};
16361768 "hackage-db" = callPackage
1637− ({ mkDerivation, aeson, base, bytestring, Cabal, containers
1638− , directory, filepath, tar, time, utf8-string
1769+ ({ mkDerivation, base, bytestring, Cabal, containers, directory
1770+ , filepath, tar, utf8-string
16391771 }:
16401772 mkDerivation {
16411773 pname = "hackage-db";
1642− version = "2.0.1";
1643− sha256 = "13ggj72i8dxwh3qwznnqxbr00nvsbapyyhzx5zybfacddnpw3aph";
1644− isLibrary = true;
1645− isExecutable = true;
1774+ version = "1.22";
1775+ sha256 = "0rhh7w4929zkwzv10ika952yiw4dkffqd8f79f1bl76lz1la6cjd";
1776+ revision = "1";
1777+ editedCabalFile = "0xj3wwf0wl8qfcz4zsxw0r6f79rg7h010jfv54gsiyzwpf67l9xm";
16461778 libraryHaskellDepends = [
1647− aeson base bytestring Cabal containers directory filepath tar time
1648− utf8-string
1779+ base bytestring Cabal containers directory filepath tar utf8-string
16491780 ];
1650− homepage = "https://github.com/peti/hackage-db#readme";
1651− description = "Access Hackage's package database via Data.Map";
1781+ doHaddock = false;
1782+ doCheck = false;
1783+ homepage = "http://github.com/peti/hackage-db";
1784+ description = "access Hackage's package database via Data.Map";
16521785 license = stdenv.lib.licenses.bsd3;
16531786 }) {};
16541787 "happy" = callPackage
@@ -1657,10 +1790,8 @@ self: {
16571790 }:
16581791 mkDerivation {
16591792 pname = "happy";
1660− version = "1.19.9";
1661− sha256 = "138xpxdb7x62lpmgmb6b3v3vgdqqvqn4273jaap3mjmc2gla709y";
1662− revision = "2";
1663− editedCabalFile = "1zxi8zfwiwxidrhr0yj5srpzp32z66sld9xv0k4yz7046rkl3577";
1793+ version = "1.19.8";
1794+ sha256 = "186ky3bly0i3cc56qk3r7j7pxh2108aackq4n2lli7jmbnb3kxsd";
16641795 isLibrary = false;
16651796 isExecutable = true;
16661797 setupHaskellDepends = [ base Cabal directory filepath ];
@@ -1673,14 +1804,16 @@ self: {
16731804 license = stdenv.lib.licenses.bsd2;
16741805 }) {};
16751806 "hashable" = callPackage
1676− ({ mkDerivation, base, bytestring, criterion, deepseq, ghc-prim
1677− , HUnit, integer-gmp, QuickCheck, random, siphash, test-framework
1807+ ({ mkDerivation, base, bytestring, deepseq, ghc-prim, HUnit
1808+ , integer-gmp, QuickCheck, random, test-framework
16781809 , test-framework-hunit, test-framework-quickcheck2, text, unix
16791810 }:
16801811 mkDerivation {
16811812 pname = "hashable";
1682− version = "1.2.7.0";
1683− sha256 = "1gra8gq3kb7b2sd845h55yxlrfqx3ii004c6vjhga8v0b30fzdgc";
1813+ version = "1.2.6.1";
1814+ sha256 = "0ymv2mcrrgbdc2w39rib171fwnhg7fgp0sy4h8amrh1vw64qgjll";
1815+ revision = "2";
1816+ editedCabalFile = "0w4756sa04nk2bw3vnysb0y9d09zzg3c77aydkjfxz1hnl1dvnjn";
16841817 isLibrary = true;
16851818 isExecutable = true;
16861819 libraryHaskellDepends = [
@@ -1690,24 +1823,22 @@ self: {
16901823 base bytestring ghc-prim HUnit QuickCheck random test-framework
16911824 test-framework-hunit test-framework-quickcheck2 text unix
16921825 ];
1693− benchmarkHaskellDepends = [
1694− base bytestring criterion ghc-prim integer-gmp siphash text
1695− ];
1826+ doHaddock = false;
1827+ doCheck = false;
16961828 homepage = "http://github.com/tibbe/hashable";
16971829 description = "A class for types that can be converted to a hash value";
16981830 license = stdenv.lib.licenses.bsd3;
16991831 }) {};
1700− "hashtables" = callPackage
1701− ({ mkDerivation, base, ghc-prim, hashable, primitive, vector }:
1832+ "hashable-time" = callPackage
1833+ ({ mkDerivation, base, hashable, time }:
17021834 mkDerivation {
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";
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";
17111842 license = stdenv.lib.licenses.bsd3;
17121843 }) {};
17131844 "haskell-lexer" = callPackage
@@ -1717,6 +1848,8 @@ self: {
17171848 version = "1.0.1";
17181849 sha256 = "0rj3r1pk88hh3sk3mj61whp8czz5kpxhbc78xlr04bxwqjrjmm6p";
17191850 libraryHaskellDepends = [ base ];
1851+ doHaddock = false;
1852+ doCheck = false;
17201853 description = "A fully compliant Haskell 98 lexer";
17211854 license = stdenv.lib.licenses.bsd3;
17221855 }) {};
@@ -1727,14 +1860,16 @@ self: {
17271860 }:
17281861 mkDerivation {
17291862 pname = "haskell-src-exts";
1730− version = "1.20.2";
1731− sha256 = "1sm3z4v1p5yffg01ldgavz71s3bvfhjfa13k428rk14bpkl8crlz";
1863+ version = "1.18.2";
1864+ sha256 = "0hq9f6r67gkhad4cc4dhahrwrz9kxfibhk8qrw5j0p7cvh23hn1i";
17321865 libraryHaskellDepends = [ array base cpphs ghc-prim pretty ];
17331866 libraryToolDepends = [ happy ];
17341867 testHaskellDepends = [
17351868 base containers directory filepath mtl pretty-show smallcheck tasty
17361869 tasty-golden tasty-smallcheck
17371870 ];
1871+ doHaddock = false;
1872+ doCheck = false;
17381873 homepage = "https://github.com/haskell-suite/haskell-src-exts";
17391874 description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
17401875 license = stdenv.lib.licenses.bsd3;
@@ -1746,8 +1881,8 @@ self: {
17461881 }:
17471882 mkDerivation {
17481883 pname = "haskell-src-meta";
1749− version = "0.8.0.3";
1750− sha256 = "08jq156zv4m0fjq6712n99c1jwxnpa6kj6sq8ch0r1l0a1ay6ww4";
1884+ version = "0.8.0.1";
1885+ sha256 = "1i5f21mx061k50nl3pvvffjqsbvvldl50y8d4b9b31g63l0jg5q9";
17511886 libraryHaskellDepends = [
17521887 base haskell-src-exts pretty syb template-haskell th-orphans
17531888 ];
@@ -1755,52 +1890,11 @@ self: {
17551890 base haskell-src-exts HUnit pretty template-haskell test-framework
17561891 test-framework-hunit
17571892 ];
1893+ doHaddock = false;
1894+ doCheck = false;
17581895 description = "Parse source to template-haskell abstract syntax";
17591896 license = stdenv.lib.licenses.bsd3;
17601897 }) {};
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
1785− }:
1786− mkDerivation {
1787− pname = "hedgehog";
1788− version = "0.6";
1789− sha256 = "0c3y4gvl1i2r54ayha2kw5i2gdpd8nfzfzjly5vhxm13ylygwvxq";
1790− libraryHaskellDepends = [
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
1796− ];
1797− testHaskellDepends = [
1798− base containers pretty-show semigroups text transformers
1799− ];
1800− homepage = "https://hedgehog.qa";
1801− description = "Hedgehog will eat all your bugs";
1802− license = stdenv.lib.licenses.bsd3;
1803− }) {};
18041898 "hex" = callPackage
18051899 ({ mkDerivation, base, bytestring }:
18061900 mkDerivation {
@@ -1808,6 +1902,8 @@ self: {
18081902 version = "0.1.2";
18091903 sha256 = "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj";
18101904 libraryHaskellDepends = [ base bytestring ];
1905+ doHaddock = false;
1906+ doCheck = false;
18111907 description = "Convert strings into hexadecimal and back";
18121908 license = stdenv.lib.licenses.bsd3;
18131909 }) {};
@@ -1821,6 +1917,8 @@ self: {
18211917 librarySystemDepends = [ openssl ];
18221918 testHaskellDepends = [ base process ];
18231919 testToolDepends = [ git ];
1920+ doHaddock = false;
1921+ doCheck = false;
18241922 description = "Low-level bindings to libgit2";
18251923 license = stdenv.lib.licenses.mit;
18261924 }) {inherit (pkgs) git; inherit (pkgs) openssl;};
@@ -1836,6 +1934,8 @@ self: {
18361934 libraryHaskellDepends = [ base bytestring ];
18371935 librarySystemDepends = [ openssl ];
18381936 testHaskellDepends = [ base doctest HUnit ];
1937+ doHaddock = false;
1938+ doCheck = false;
18391939 homepage = "http://github.com/peti/hopenssl";
18401940 description = "FFI Bindings to OpenSSL's EVP Digest Interface";
18411941 license = stdenv.lib.licenses.bsd3;
@@ -1847,79 +1947,29 @@ self: {
18471947 version = "1.0";
18481948 sha256 = "0p6gm4328946qxc295zb6vhwhf07l1fma82vd0siylnsnsqxlhwv";
18491949 libraryHaskellDepends = [ base ];
1950+ doHaddock = false;
1951+ doCheck = false;
18501952 description = "A very simple package providing a cross-platform means of determining the hostname";
18511953 license = stdenv.lib.licenses.bsd3;
18521954 }) {};
18531955 "hourglass" = callPackage
1854− ({ mkDerivation, base, bytestring, deepseq, gauge, mtl, old-locale
1855− , tasty, tasty-hunit, tasty-quickcheck, time
1956+ ({ mkDerivation, base, deepseq, mtl, old-locale, tasty, tasty-hunit
1957+ , tasty-quickcheck, time
18561958 }:
18571959 mkDerivation {
18581960 pname = "hourglass";
1859− version = "0.2.11";
1860− sha256 = "0lag9sgj7ndrbfmab6jhszlv413agg0zzaj5r9f2fmf07wqbp9hq";
1961+ version = "0.2.10";
1962+ sha256 = "104d1yd84hclprg740nkz60vx589mnm094zriw6zczbgg8nkclym";
18611963 libraryHaskellDepends = [ base deepseq ];
18621964 testHaskellDepends = [
18631965 base deepseq mtl old-locale tasty tasty-hunit tasty-quickcheck time
18641966 ];
1865− benchmarkHaskellDepends = [
1866− base bytestring deepseq gauge mtl old-locale time
1867− ];
1967+ doHaddock = false;
1968+ doCheck = false;
18681969 homepage = "https://github.com/vincenthz/hs-hourglass";
18691970 description = "simple performant time related library";
18701971 license = stdenv.lib.licenses.bsd3;
18711972 }) {};
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− }) {};
19231973 "hspec" = callPackage
19241974 ({ mkDerivation, base, call-stack, directory, hspec-core
19251975 , hspec-discover, hspec-expectations, hspec-meta, HUnit, QuickCheck
@@ -1927,8 +1977,8 @@ self: {
19271977 }:
19281978 mkDerivation {
19291979 pname = "hspec";
1930− version = "2.5.5";
1931− sha256 = "1yv4k5b5kkig2q3waj28587sq28wms7wfav5a3lq4dra6jybimfm";
1980+ version = "2.4.4";
1981+ sha256 = "08fg8w38xbhidw3pfn13ag3mnpp3rb1lzp7xpq47cncwv92k46mh";
19321982 libraryHaskellDepends = [
19331983 base call-stack hspec-core hspec-discover hspec-expectations HUnit
19341984 QuickCheck transformers
@@ -1938,50 +1988,52 @@ self: {
19381988 hspec-expectations hspec-meta HUnit QuickCheck stringbuilder
19391989 transformers
19401990 ];
1991+ doHaddock = false;
1992+ doCheck = false;
19411993 homepage = "http://hspec.github.io/";
19421994 description = "A Testing Framework for Haskell";
19431995 license = stdenv.lib.licenses.mit;
19441996 }) {};
19451997 "hspec-core" = callPackage
1946− ({ mkDerivation, ansi-terminal, array, base, call-stack, clock
1998+ ({ mkDerivation, ansi-terminal, array, async, base, call-stack
19471999 , deepseq, directory, filepath, hspec-expectations, hspec-meta
19482000 , HUnit, process, QuickCheck, quickcheck-io, random, setenv
1949− , silently, stm, temporary, tf-random, transformers
2001+ , silently, temporary, tf-random, time, transformers
19502002 }:
19512003 mkDerivation {
19522004 pname = "hspec-core";
1953− version = "2.5.5";
1954− sha256 = "1vfrqlpn32s9wiykmkxbnrnd5p56yznw20pf8fwzw78ar4wpz55x";
2005+ version = "2.4.4";
2006+ sha256 = "1pxzr3l8b9640mh904n51nwlr2338wak23781s48a9kzvwf347b0";
19552007 libraryHaskellDepends = [
1956− ansi-terminal array base call-stack clock deepseq directory
2008+ ansi-terminal array async base call-stack deepseq directory
19572009 filepath hspec-expectations HUnit QuickCheck quickcheck-io random
1958− setenv stm tf-random transformers
2010+ setenv tf-random time transformers
19592011 ];
19602012 testHaskellDepends = [
1961− ansi-terminal array base call-stack clock deepseq directory
2013+ ansi-terminal array async base call-stack deepseq directory
19622014 filepath hspec-expectations hspec-meta HUnit process QuickCheck
1963− quickcheck-io random setenv silently stm temporary tf-random
2015+ quickcheck-io random setenv silently temporary tf-random time
19642016 transformers
19652017 ];
1966− testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
2018+ doHaddock = false;
2019+ doCheck = false;
19672020 homepage = "http://hspec.github.io/";
19682021 description = "A Testing Framework for Haskell";
19692022 license = stdenv.lib.licenses.mit;
19702023 }) {};
19712024 "hspec-discover" = callPackage
1972− ({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
1973− }:
2025+ ({ mkDerivation, base, directory, filepath, hspec-meta }:
19742026 mkDerivation {
19752027 pname = "hspec-discover";
1976− version = "2.5.5";
1977− sha256 = "04aidzi91ccr9bygmfkjzshz34z9vh8wvqj4zinx2clxq6r7gqfz";
2028+ version = "2.4.4";
2029+ sha256 = "0isx9nc59nw8pkh4r6ynd55dghqnzgrzn9pvrq6ail1y5z3knhkn";
19782030 isLibrary = true;
19792031 isExecutable = true;
19802032 libraryHaskellDepends = [ base directory filepath ];
19812033 executableHaskellDepends = [ base directory filepath ];
1982− testHaskellDepends = [
1983− base directory filepath hspec-meta QuickCheck
1984− ];
2034+ testHaskellDepends = [ base directory filepath hspec-meta ];
2035+ doHaddock = false;
2036+ doCheck = false;
19852037 homepage = "http://hspec.github.io/";
19862038 description = "Automatically discover and run Hspec tests";
19872039 license = stdenv.lib.licenses.mit;
@@ -1994,6 +2046,8 @@ self: {
19942046 sha256 = "1vxl9zazbaapijr6zmcj72j9wf7ka1pirrjbwddwwddg3zm0g5l1";
19952047 libraryHaskellDepends = [ base call-stack HUnit ];
19962048 testHaskellDepends = [ base call-stack HUnit nanospec ];
2049+ doHaddock = false;
2050+ doCheck = false;
19972051 homepage = "https://github.com/hspec/hspec-expectations#readme";
19982052 description = "Catchy combinators for HUnit";
19992053 license = stdenv.lib.licenses.mit;
@@ -2004,12 +2058,16 @@ self: {
20042058 }:
20052059 mkDerivation {
20062060 pname = "hspec-megaparsec";
2007− version = "1.0.0";
2008− sha256 = "1dafrbzjm7rzwvcpjpk3bsg7bd111xfij94n17sh8wfykzhim5hl";
2061+ version = "0.3.1";
2062+ sha256 = "0kaif74f1qq92nvksnq12h0imsrr02q1nawgprbg1s9cpilq2vw2";
20092063 libraryHaskellDepends = [
20102064 base containers hspec-expectations megaparsec
20112065 ];
2012− testHaskellDepends = [ base hspec hspec-expectations megaparsec ];
2066+ testHaskellDepends = [
2067+ base containers hspec hspec-expectations megaparsec
2068+ ];
2069+ doHaddock = false;
2070+ doCheck = false;
20132071 homepage = "https://github.com/mrkkrp/hspec-megaparsec";
20142072 description = "Utility functions for testing Megaparsec parsers with Hspec";
20152073 license = stdenv.lib.licenses.bsd3;
@@ -2021,8 +2079,8 @@ self: {
20212079 }:
20222080 mkDerivation {
20232081 pname = "hspec-meta";
2024− version = "2.4.6";
2025− sha256 = "0qmvk01n79j6skn79r6zalg2pd0x0nqqn9qn8mhg0pgyzcdnfc9b";
2082+ version = "2.4.4";
2083+ sha256 = "117n4j56wfh48xj02mv0wkp10bkr2xkyvwg7n7r2ynp03wrf9ykm";
20262084 isLibrary = true;
20272085 isExecutable = true;
20282086 libraryHaskellDepends = [
@@ -2035,71 +2093,74 @@ self: {
20352093 filepath hspec-expectations HUnit QuickCheck quickcheck-io random
20362094 setenv time transformers
20372095 ];
2096+ doHaddock = false;
2097+ doCheck = false;
20382098 homepage = "http://hspec.github.io/";
20392099 description = "A version of Hspec which is used to test Hspec itself";
20402100 license = stdenv.lib.licenses.mit;
20412101 }) {};
20422102 "hspec-smallcheck" = callPackage
2043− ({ mkDerivation, base, base-orphans, call-stack, hspec, hspec-core
2044− , HUnit, QuickCheck, smallcheck
2045− }:
2103+ ({ mkDerivation, base, hspec, hspec-core, QuickCheck, smallcheck }:
20462104 mkDerivation {
20472105 pname = "hspec-smallcheck";
2048− version = "0.5.2";
2049− sha256 = "06c1ym793zkdwi4bxk5f4l7m1n1bg5jmnm0p68q2pa9rlhk1lc4s";
2050− libraryHaskellDepends = [
2051− base call-stack hspec-core HUnit smallcheck
2052− ];
2106+ version = "0.4.2";
2107+ sha256 = "1lsy71ri0lfvs6w1drwa4p69bcy0nrpb62dah3bg4vqwxfrd82ds";
2108+ libraryHaskellDepends = [ base hspec-core smallcheck ];
20532109 testHaskellDepends = [
2054− base base-orphans call-stack hspec hspec-core HUnit QuickCheck
2055− smallcheck
2110+ base hspec hspec-core QuickCheck smallcheck
20562111 ];
2112+ doHaddock = false;
2113+ doCheck = false;
20572114 homepage = "http://hspec.github.io/";
20582115 description = "SmallCheck support for the Hspec testing framework";
20592116 license = stdenv.lib.licenses.mit;
20602117 }) {};
20612118 "html-conduit" = callPackage
2062− ({ mkDerivation, attoparsec, base, bytestring, conduit
2063− , conduit-extra, containers, deepseq, hspec, HUnit, resourcet, text
2119+ ({ mkDerivation, base, bytestring, conduit, conduit-extra
2120+ , containers, hspec, HUnit, resourcet, tagstream-conduit, text
20642121 , transformers, xml-conduit, xml-types
20652122 }:
20662123 mkDerivation {
20672124 pname = "html-conduit";
2068− version = "1.3.1";
2069− sha256 = "0dg3sblihi93qn6ax1cwha0cng4zlpmic83ckdylq7s7kwa3rhbi";
2125+ version = "1.2.1.2";
2126+ sha256 = "172ip4rkn2y3mpzjrj2h3nrmxrf90gcl8ax6dgdhrdjsyg4h8vjk";
20702127 libraryHaskellDepends = [
2071− attoparsec base bytestring conduit conduit-extra containers
2072− resourcet text transformers xml-conduit xml-types
2128+ base bytestring conduit conduit-extra containers resourcet
2129+ tagstream-conduit text transformers xml-conduit xml-types
20732130 ];
20742131 testHaskellDepends = [
2075− base bytestring containers deepseq hspec HUnit text xml-conduit
2132+ base bytestring containers hspec HUnit xml-conduit
20762133 ];
2134+ doHaddock = false;
2135+ doCheck = false;
20772136 homepage = "https://github.com/snoyberg/xml";
20782137 description = "Parse HTML documents using xml-conduit datatypes";
20792138 license = stdenv.lib.licenses.mit;
20802139 }) {};
20812140 "http-client" = callPackage
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
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
20872146 }:
20882147 mkDerivation {
20892148 pname = "http-client";
2090− version = "0.5.13.1";
2091− sha256 = "0szwbgvkkdz56lgi91armkagmb7nnfwbpp4j7cm9zhmffv3ba8g1";
2149+ version = "0.5.7.1";
2150+ sha256 = "19cvnnfcjj2m3pgs6ivyjs21rw9wx5ynarh6hvb27a76cscai2fy";
20922151 libraryHaskellDepends = [
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
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
20972156 ];
20982157 testHaskellDepends = [
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
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
21022162 ];
2163+ doHaddock = false;
21032164 doCheck = false;
21042165 homepage = "https://github.com/snoyberg/http-client";
21052166 description = "An HTTP client engine";
@@ -2107,23 +2168,21 @@ self: {
21072168 }) {};
21082169 "http-client-tls" = callPackage
21092170 ({ mkDerivation, base, bytestring, case-insensitive, connection
2110− , containers, cryptonite, data-default-class, exceptions, gauge
2111− , hspec, http-client, http-types, memory, network, network-uri
2112− , text, tls, transformers
2171+ , containers, cryptonite, data-default-class, exceptions, hspec
2172+ , http-client, http-types, memory, network, network-uri, text, tls
2173+ , transformers
21132174 }:
21142175 mkDerivation {
21152176 pname = "http-client-tls";
2116− version = "0.3.5.3";
2117− sha256 = "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7";
2177+ version = "0.3.5.1";
2178+ sha256 = "0n4mi8z77qaggfyq17z79cl304nf1f4h6gag60v4wjwghvmj7yn1";
21182179 libraryHaskellDepends = [
21192180 base bytestring case-insensitive connection containers cryptonite
21202181 data-default-class exceptions http-client http-types memory network
21212182 network-uri text tls transformers
21222183 ];
2123− testHaskellDepends = [
2124− base connection hspec http-client http-types
2125− ];
2126− benchmarkHaskellDepends = [ base gauge http-client ];
2184+ testHaskellDepends = [ base hspec http-client http-types ];
2185+ doHaddock = false;
21272186 doCheck = false;
21282187 homepage = "https://github.com/snoyberg/http-client";
21292188 description = "http-client backend using the connection package and tls library";
@@ -2132,28 +2191,29 @@ self: {
21322191 "http-conduit" = callPackage
21332192 ({ mkDerivation, aeson, base, blaze-builder, bytestring
21342193 , case-insensitive, conduit, conduit-extra, connection, cookie
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
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
21392198 }:
21402199 mkDerivation {
21412200 pname = "http-conduit";
2142− version = "2.3.2";
2143− sha256 = "1iay4hr0mj8brkxvgkv1liqa8irl9axfc3qhn8qsvcyq4n1l95km";
2144− revision = "1";
2145− editedCabalFile = "0g6rg8r33q5rmrx5287vjfcqwjacchgzyfc8aqqrhrfz3fq5ll0g";
2201+ version = "2.2.3.2";
2202+ sha256 = "1f0yqka43gp7vhv7yr4q6pqr8qw0qq2yh4y2lnayhc876zpw6ng3";
21462203 libraryHaskellDepends = [
2147− aeson base bytestring conduit conduit-extra http-client
2148− http-client-tls http-types mtl resourcet transformers unliftio-core
2204+ aeson base bytestring conduit conduit-extra exceptions http-client
2205+ http-client-tls http-types lifted-base monad-control mtl resourcet
2206+ transformers
21492207 ];
21502208 testHaskellDepends = [
21512209 aeson base blaze-builder bytestring case-insensitive conduit
21522210 conduit-extra connection cookie data-default-class hspec
2153− http-client http-types HUnit network resourcet streaming-commons
2154− temporary text time transformers unliftio utf8-string wai
2211+ http-client http-types HUnit lifted-base network resourcet
2212+ streaming-commons temporary text time transformers utf8-string wai
21552213 wai-conduit warp warp-tls
21562214 ];
2215+ doHaddock = false;
2216+ doCheck = false;
21572217 homepage = "http://www.yesodweb.com/book/http-conduit";
21582218 description = "HTTP client package with conduit interface and HTTPS support";
21592219 license = stdenv.lib.licenses.bsd3;
@@ -2164,39 +2224,44 @@ self: {
21642224 }:
21652225 mkDerivation {
21662226 pname = "http-date";
2167− version = "0.0.7";
2168− sha256 = "1hpzs646qqzp2g2qy7rx1bf3knf1hw38n82vcq6bs4mm1xzdryff";
2169− libraryHaskellDepends = [ array attoparsec base bytestring time ];
2227+ version = "0.0.6.1";
2228+ sha256 = "0dknh28kyarnzqrsc80ssalxjrq0qbv7ir49247p2grb7rh0dqgj";
2229+ libraryHaskellDepends = [ array attoparsec base bytestring ];
21702230 testHaskellDepends = [
21712231 base bytestring doctest hspec old-locale time
21722232 ];
2233+ doHaddock = false;
2234+ doCheck = false;
21732235 description = "HTTP Date parser/formatter";
21742236 license = stdenv.lib.licenses.bsd3;
21752237 }) {};
21762238 "http-types" = callPackage
2177− ({ mkDerivation, array, base, bytestring, case-insensitive, doctest
2178− , hspec, QuickCheck, quickcheck-instances, text
2239+ ({ mkDerivation, array, base, blaze-builder, bytestring
2240+ , case-insensitive, doctest, hspec, QuickCheck
2241+ , quickcheck-instances, text
21792242 }:
21802243 mkDerivation {
21812244 pname = "http-types";
2182− version = "0.12.1";
2183− sha256 = "1wv9k6nlvkdsxwlr7gaynphvzmvi5211gvwq96mbcxgk51a739rz";
2245+ version = "0.9.1";
2246+ sha256 = "0l7mnvqyppxpnq6ds4a9f395zdbl22z3sxiry1myfs8wvj669vbv";
21842247 libraryHaskellDepends = [
2185− array base bytestring case-insensitive text
2248+ array base blaze-builder bytestring case-insensitive text
21862249 ];
21872250 testHaskellDepends = [
2188− base bytestring doctest hspec QuickCheck quickcheck-instances text
2251+ base blaze-builder bytestring doctest hspec QuickCheck
2252+ quickcheck-instances text
21892253 ];
2254+ doHaddock = false;
2255+ doCheck = false;
21902256 homepage = "https://github.com/aristidb/http-types";
21912257 description = "Generic HTTP types for Haskell (for both client and server code)";
21922258 license = stdenv.lib.licenses.bsd3;
21932259 }) {};
21942260 "http2" = callPackage
21952261 ({ mkDerivation, aeson, aeson-pretty, array, base, bytestring
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
2262+ , bytestring-builder, case-insensitive, containers, directory
2263+ , doctest, filepath, Glob, hex, hspec, psqueues, stm, text
2264+ , unordered-containers, vector, word8
22002265 }:
22012266 mkDerivation {
22022267 pname = "http2";
@@ -2208,33 +2273,22 @@ self: {
22082273 array base bytestring bytestring-builder case-insensitive
22092274 containers psqueues stm
22102275 ];
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+ ];
22112281 testHaskellDepends = [
22122282 aeson aeson-pretty array base bytestring bytestring-builder
22132283 case-insensitive containers directory doctest filepath Glob hex
22142284 hspec psqueues stm text unordered-containers vector word8
22152285 ];
2216− benchmarkHaskellDepends = [
2217− array base bytestring case-insensitive containers criterion
2218− hashtables heaps mwc-random psqueues stm
2219− ];
2286+ doHaddock = false;
2287+ doCheck = false;
22202288 homepage = "https://github.com/kazu-yamamoto/http2";
22212289 description = "HTTP/2 library including frames, priority queues and HPACK";
22222290 license = stdenv.lib.licenses.bsd3;
22232291 }) {};
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− }) {};
22382292 "ieee754" = callPackage
22392293 ({ mkDerivation, base }:
22402294 mkDerivation {
@@ -2242,25 +2296,28 @@ self: {
22422296 version = "0.8.0";
22432297 sha256 = "1lcs521g9lzy9d7337vg4w7q7s8500rfqy7rcifcz6pm6yfgyb8f";
22442298 libraryHaskellDepends = [ base ];
2299+ doHaddock = false;
2300+ doCheck = false;
22452301 homepage = "http://github.com/patperry/hs-ieee754";
22462302 description = "Utilities for dealing with IEEE floating point numbers";
22472303 license = stdenv.lib.licenses.bsd3;
22482304 }) {};
22492305 "inflections" = callPackage
2250− ({ mkDerivation, base, containers, exceptions, hspec
2251− , hspec-megaparsec, megaparsec, QuickCheck, text
2252− , unordered-containers
2306+ ({ mkDerivation, base, exceptions, hspec, hspec-megaparsec
2307+ , megaparsec, QuickCheck, text, unordered-containers
22532308 }:
22542309 mkDerivation {
22552310 pname = "inflections";
2256− version = "0.4.0.3";
2257− sha256 = "028dj9pgs5g6qb9x1hc8r4rn0rznr1ynn79vln48k2llyf2r38dx";
2311+ version = "0.3.0.0";
2312+ sha256 = "1w96i4rnsxxzrjjvqzjs7dqbs4h4nrdw84cxvizb4bq19y0cp483";
22582313 libraryHaskellDepends = [
22592314 base exceptions megaparsec text unordered-containers
22602315 ];
22612316 testHaskellDepends = [
2262− base containers hspec hspec-megaparsec megaparsec QuickCheck text
2317+ base hspec hspec-megaparsec megaparsec QuickCheck text
22632318 ];
2319+ doHaddock = false;
2320+ doCheck = false;
22642321 homepage = "https://github.com/stackbuilders/inflections-hs";
22652322 description = "Inflections library for Haskell";
22662323 license = stdenv.lib.licenses.mit;
@@ -2269,13 +2326,13 @@ self: {
22692326 ({ mkDerivation, attoparsec, base, text, unordered-containers }:
22702327 mkDerivation {
22712328 pname = "ini";
2272− version = "0.3.6";
2273− sha256 = "1n9wsl7nz910bc8jx9ps7pvpql4hlnryjkqbdpfq0phjb9sf7fzw";
2274− revision = "1";
2275− editedCabalFile = "0gfikdal67aws20i5r4wg4r0lgn844glykcn3nnmbmyvwsks049l";
2329+ version = "0.3.5";
2330+ sha256 = "1iicavbjr4qmlcdxh32cgqxlxd80xvzyxxskrs3hji1qzrnq7lxz";
22762331 libraryHaskellDepends = [
22772332 attoparsec base text unordered-containers
22782333 ];
2334+ doHaddock = false;
2335+ doCheck = false;
22792336 homepage = "http://github.com/chrisdone/ini";
22802337 description = "Quick and easy configuration files in the INI format";
22812338 license = stdenv.lib.licenses.bsd3;
@@ -2284,62 +2341,23 @@ self: {
22842341 ({ mkDerivation, array, base, ghc-prim, integer-gmp }:
22852342 mkDerivation {
22862343 pname = "integer-logarithms";
2287− version = "1.0.2.1";
2288− sha256 = "1wj8kgjg5bn2yrs4zh9qfjv85cx6w998j9pi39yrbv305944mb9j";
2344+ version = "1.0.2";
2345+ sha256 = "0w5mhak181zi6qr5h2zbcs9ymaqacisp9jwk99naz6s8zz5rq1ii";
22892346 libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
2347+ doHaddock = false;
22902348 doCheck = false;
22912349 homepage = "https://github.com/phadej/integer-logarithms";
22922350 description = "Integer logarithms";
22932351 license = stdenv.lib.licenses.mit;
22942352 }) {};
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− }) {};
23352353 "iproute" = callPackage
23362354 ({ mkDerivation, appar, base, byteorder, containers, doctest, hspec
23372355 , network, QuickCheck, safe
23382356 }:
23392357 mkDerivation {
23402358 pname = "iproute";
2341− version = "1.7.5";
2342− sha256 = "1vw1nm3s8vz1hqnjnqd3wh5rr4q3m2r4izn5ynhf93h9185qwqzd";
2359+ version = "1.7.1";
2360+ sha256 = "1viyxq3m1aifl05w0hxwrhhhcfpmvwz4ymil2gngi4nfm0yd1f2p";
23432361 libraryHaskellDepends = [
23442362 appar base byteorder containers network
23452363 ];
@@ -2347,68 +2365,48 @@ self: {
23472365 appar base byteorder containers doctest hspec network QuickCheck
23482366 safe
23492367 ];
2368+ doHaddock = false;
2369+ doCheck = false;
23502370 homepage = "http://www.mew.org/~kazu/proj/iproute/";
23512371 description = "IP Routing Table";
23522372 license = stdenv.lib.licenses.bsd3;
23532373 }) {};
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− }) {};
23802374 "kan-extensions" = callPackage
23812375 ({ mkDerivation, adjunctions, array, base, comonad, containers
2382− , contravariant, distributive, free, invariant, mtl, profunctors
2383− , semigroupoids, tagged, transformers, transformers-compat
2376+ , contravariant, distributive, fail, free, mtl, semigroupoids
2377+ , tagged, transformers
23842378 }:
23852379 mkDerivation {
23862380 pname = "kan-extensions";
2387− version = "5.2";
2388− sha256 = "1lyvyiwwh962j2nnnsqzlvp5zq6z8p3spvhmji99cjvldxc7wwkb";
2381+ version = "5.0.2";
2382+ sha256 = "0bj88bgwxlx490f5r979idsm9dpdsb0ldzar9sa0jhj2jn2xx7hw";
23892383 libraryHaskellDepends = [
23902384 adjunctions array base comonad containers contravariant
2391− distributive free invariant mtl profunctors semigroupoids tagged
2392− transformers transformers-compat
2385+ distributive fail free mtl semigroupoids tagged transformers
23932386 ];
2387+ doHaddock = false;
2388+ doCheck = false;
23942389 homepage = "http://github.com/ekmett/kan-extensions/";
2395− description = "Kan extensions, Kan lifts, the Yoneda lemma, and (co)density (co)monads";
2390+ description = "Kan extensions, Kan lifts, various forms of the Yoneda lemma, and (co)density (co)monads";
23962391 license = stdenv.lib.licenses.bsd3;
23972392 }) {};
23982393 "keys" = callPackage
23992394 ({ mkDerivation, array, base, comonad, containers, free, hashable
2400− , semigroupoids, semigroups, tagged, transformers
2401− , transformers-compat, unordered-containers
2395+ , semigroupoids, semigroups, transformers, transformers-compat
2396+ , unordered-containers
24022397 }:
24032398 mkDerivation {
24042399 pname = "keys";
2405− version = "3.12.1";
2406− sha256 = "1yqm4gpshsgswx6w78z64c83gpydh6jhgslx2lnc10nzhy0s9kkz";
2400+ version = "3.11";
2401+ sha256 = "1cn45h27hxwb4ci1iyd2qn0fzyb2y85qq4821a9xm37bwsvrgwqc";
2402+ revision = "1";
2403+ editedCabalFile = "1lyg4wyi7mkqvbfl9lvfln3j4vys47jih56zyjba7nx36kbw185i";
24072404 libraryHaskellDepends = [
24082405 array base comonad containers free hashable semigroupoids
2409− semigroups tagged transformers transformers-compat
2410− unordered-containers
2406+ semigroups transformers transformers-compat unordered-containers
24112407 ];
2408+ doHaddock = false;
2409+ doCheck = false;
24122410 homepage = "http://github.com/ekmett/keys/";
24132411 description = "Keyed functors and containers";
24142412 license = stdenv.lib.licenses.bsd3;
@@ -2420,6 +2418,8 @@ self: {
24202418 version = "0.2.4";
24212419 sha256 = "1nxcs7g8a1sp91bzpy4cj6s31k5pvc3gvig04cbrggv5cvjidnhl";
24222420 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,6 +2440,8 @@ self: {
24402440 testHaskellDepends = [
24412441 base base-compat Cabal deepseq doctest lens pretty QuickCheck
24422442 ];
2443+ doHaddock = false;
2444+ doCheck = false;
24432445 homepage = "https://github.com/peti/language-nix#readme";
24442446 description = "Data types and useful functions to represent and manipulate the Nix language";
24452447 license = stdenv.lib.licenses.bsd3;
@@ -2447,9 +2449,9 @@ self: {
24472449 "lens" = callPackage
24482450 ({ mkDerivation, array, base, base-orphans, bifunctors, bytestring
24492451 , Cabal, cabal-doctest, call-stack, comonad, containers
2450− , contravariant, criterion, deepseq, directory, distributive
2451− , doctest, exceptions, filepath, free, generic-deriving, ghc-prim
2452− , hashable, HUnit, kan-extensions, mtl, nats, parallel, profunctors
2452+ , contravariant, deepseq, directory, distributive, doctest
2453+ , exceptions, filepath, free, generic-deriving, ghc-prim, hashable
2454+ , HUnit, kan-extensions, mtl, nats, parallel, profunctors
24532455 , QuickCheck, reflection, semigroupoids, semigroups, simple-reflect
24542456 , tagged, template-haskell, test-framework, test-framework-hunit
24552457 , test-framework-quickcheck2, test-framework-th, text
@@ -2458,10 +2460,8 @@ self: {
24582460 }:
24592461 mkDerivation {
24602462 pname = "lens";
2461− version = "4.16.1";
2462− sha256 = "1im4drhbydbawd6i0jsrzpqihnmx4ywpkg7yg94ddwsw3mxwkgpm";
2463− revision = "2";
2464− editedCabalFile = "11h83lj5mba4grhz1qx3irz10ysm9c3k7k6i6xv2cr60q8xin3ri";
2463+ version = "4.15.4";
2464+ sha256 = "1lkwlnhgpgnsz046mw4qs0fa7h4l012gilrr3nf3spllsy3pnbkl";
24652465 setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
24662466 libraryHaskellDepends = [
24672467 array base base-orphans bifunctors bytestring call-stack comonad
@@ -2478,52 +2478,43 @@ self: {
24782478 test-framework-quickcheck2 test-framework-th text transformers
24792479 unordered-containers vector
24802480 ];
2481− benchmarkHaskellDepends = [
2482− base bytestring comonad containers criterion deepseq
2483− generic-deriving transformers unordered-containers vector
2484− ];
2481+ doHaddock = false;
2482+ doCheck = false;
24852483 homepage = "http://github.com/ekmett/lens/";
24862484 description = "Lenses, Folds and Traversals";
24872485 license = stdenv.lib.licenses.bsd2;
24882486 }) {};
24892487 "lifted-async" = callPackage
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
2488+ ({ mkDerivation, async, base, constraints, HUnit, lifted-base
2489+ , monad-control, mtl, tasty, tasty-hunit, tasty-th
2490+ , transformers-base
24932491 }:
24942492 mkDerivation {
24952493 pname = "lifted-async";
2496− version = "0.10.0.2";
2497− sha256 = "1073r512c1x2m1v0jar9bwqg656slg7jd1jhsyj6m8awgx1l1mwf";
2494+ version = "0.9.3";
2495+ sha256 = "0qdlc64kf02g97rzpragm4943ppy2cx74kbjcpbv32jcyc3q75wp";
24982496 libraryHaskellDepends = [
24992497 async base constraints lifted-base monad-control transformers-base
25002498 ];
25012499 testHaskellDepends = [
2502− async base HUnit lifted-base monad-control mtl tasty
2503− tasty-expected-failure tasty-hunit tasty-th
2500+ async base HUnit lifted-base monad-control mtl tasty tasty-hunit
2501+ tasty-th
25042502 ];
2505− benchmarkHaskellDepends = [ async base criterion deepseq ];
2503+ doHaddock = false;
2504+ doCheck = false;
25062505 homepage = "https://github.com/maoe/lifted-async";
25072506 description = "Run lifted IO operations asynchronously and wait for their results";
25082507 license = stdenv.lib.licenses.bsd3;
25092508 }) {};
25102509 "lifted-base" = callPackage
2511− ({ mkDerivation, base, criterion, HUnit, monad-control, monad-peel
2512− , test-framework, test-framework-hunit, transformers
2513− , transformers-base, transformers-compat
2514− }:
2510+ ({ mkDerivation, base, monad-control, transformers-base }:
25152511 mkDerivation {
25162512 pname = "lifted-base";
2517− version = "0.2.3.12";
2518− sha256 = "1i8p8d3rkdh21bhgjjh32vd7qqjr7jq7p59qds0aw2kmargsjd61";
2513+ version = "0.2.3.11";
2514+ sha256 = "1ass00wfa91z5xp2xmm97xrvwm7j5hdkxid5cqvr3xbwrsgpmi4f";
25192515 libraryHaskellDepends = [ base monad-control transformers-base ];
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− ];
2516+ doHaddock = false;
2517+ doCheck = false;
25272518 homepage = "https://github.com/basvandijk/lifted-base";
25282519 description = "lifted IO operations from the base library";
25292520 license = stdenv.lib.licenses.bsd3;
@@ -2536,6 +2527,8 @@ self: {
25362527 sha256 = "0d0lwxxgd16is9aw6v3ps4r9prv3dj8xscmm45fvzq3nicjiawcf";
25372528 libraryHaskellDepends = [ base call-stack transformers ];
25382529 testHaskellDepends = [ base hspec ];
2530+ doHaddock = false;
2531+ doCheck = false;
25392532 homepage = "https://github.com/sol/logging-facade#readme";
25402533 description = "Simple logging abstraction that allows multiple back-ends";
25412534 license = stdenv.lib.licenses.mit;
@@ -2547,21 +2540,21 @@ self: {
25472540 version = "0.6.0.2";
25482541 sha256 = "07hnirv6snnym2r7iijlfz00b60jpy2856zvqxh989q0in7bd0hi";
25492542 libraryHaskellDepends = [ base mtl ];
2543+ doHaddock = false;
2544+ doCheck = false;
25502545 homepage = "http://code.haskell.org/~dolio/";
25512546 description = "A backtracking logic-programming monad";
25522547 license = stdenv.lib.licenses.bsd3;
25532548 }) {};
25542549 "lucid" = callPackage
25552550 ({ mkDerivation, base, bifunctors, blaze-builder, bytestring
2556− , containers, criterion, deepseq, hashable, hspec, HUnit, mmorph
2557− , mtl, parsec, text, transformers, unordered-containers
2551+ , containers, hashable, hspec, HUnit, mmorph, mtl, parsec, text
2552+ , transformers, unordered-containers
25582553 }:
25592554 mkDerivation {
25602555 pname = "lucid";
2561− version = "2.9.10";
2562− sha256 = "14238cnrvkbr81hpaqg1r342sryj8k0p6igkwf140s9phfpdzry0";
2563− revision = "1";
2564− editedCabalFile = "0n94x2havrvks85z8azsa4pvz33amhb444cias3kfxmkyvypn5ah";
2556+ version = "2.9.9";
2557+ sha256 = "0cqdlm1kamfn8kv3r3vphz16j2xi9yf15kpb6440rhsyvwddbani";
25652558 libraryHaskellDepends = [
25662559 base blaze-builder bytestring containers hashable mmorph mtl text
25672560 transformers unordered-containers
@@ -2569,9 +2562,8 @@ self: {
25692562 testHaskellDepends = [
25702563 base bifunctors hspec HUnit mtl parsec text
25712564 ];
2572− benchmarkHaskellDepends = [
2573− base blaze-builder bytestring criterion deepseq text transformers
2574− ];
2565+ doHaddock = false;
2566+ doCheck = false;
25752567 homepage = "https://github.com/chrisdone/lucid";
25762568 description = "Clear to write, read and edit DSL for HTML";
25772569 license = stdenv.lib.licenses.bsd3;
@@ -2593,82 +2585,62 @@ self: {
25932585 test-framework-hunit test-framework-quickcheck2 vector
25942586 vector-th-unbox
25952587 ];
2588+ doHaddock = false;
25962589 doCheck = false;
25972590 homepage = "https://github.com/bos/math-functions";
25982591 description = "Special functions and Chebyshev polynomials";
25992592 license = stdenv.lib.licenses.bsd3;
26002593 }) {};
26012594 "megaparsec" = callPackage
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
2595+ ({ mkDerivation, base, bytestring, containers, deepseq, exceptions
2596+ , hspec, hspec-expectations, mtl, QuickCheck, scientific, text
2597+ , transformers
26062598 }:
26072599 mkDerivation {
26082600 pname = "megaparsec";
2609− version = "6.5.0";
2610− sha256 = "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy";
2611− revision = "2";
2612− editedCabalFile = "0ahvqr29ym3g46yv2jxniccyn1ng1yqicqdbamkzm89gjnxd9n25";
2601+ version = "5.3.1";
2602+ sha256 = "06myn8l6jcbd494i3wr6q27npbbxd6c2gfkd2jdzwbjqjqbpv0j8";
26132603 libraryHaskellDepends = [
2614− base bytestring case-insensitive containers deepseq mtl
2615− parser-combinators scientific text transformers
2604+ base bytestring containers deepseq exceptions mtl QuickCheck
2605+ scientific text transformers
26162606 ];
26172607 testHaskellDepends = [
2618− base bytestring containers hspec hspec-expectations mtl QuickCheck
2619− scientific text transformers
2608+ base bytestring containers exceptions hspec hspec-expectations mtl
2609+ QuickCheck scientific text transformers
26202610 ];
2621− testToolDepends = [ hspec-discover ];
2622− benchmarkHaskellDepends = [ base criterion deepseq text weigh ];
2611+ doHaddock = false;
2612+ doCheck = false;
26232613 homepage = "https://github.com/mrkkrp/megaparsec";
26242614 description = "Monadic parser combinators";
26252615 license = stdenv.lib.licenses.bsd2;
26262616 }) {};
26272617 "memory" = callPackage
2628− ({ mkDerivation, base, basement, bytestring, deepseq, foundation
2629− , ghc-prim
2618+ ({ mkDerivation, base, basement, bytestring, deepseq, ghc-prim
2619+ , tasty, tasty-hunit, tasty-quickcheck
26302620 }:
26312621 mkDerivation {
26322622 pname = "memory";
2633− version = "0.14.16";
2634− sha256 = "03rbszi5d4z9rlbfv8ydrl1xf84xsh8z57g07f7j9qccn9587c3v";
2623+ version = "0.14.9";
2624+ sha256 = "1v8fjw0dgnyw6jhrpzfyxf63ky1lyrfapb8x28lj25q2xw6zx8s5";
26352625 libraryHaskellDepends = [
2636− base basement bytestring deepseq foundation ghc-prim
2626+ base basement bytestring deepseq ghc-prim
26372627 ];
2638− testHaskellDepends = [ base basement bytestring foundation ];
2628+ testHaskellDepends = [ base tasty tasty-hunit tasty-quickcheck ];
2629+ doHaddock = false;
2630+ doCheck = false;
26392631 homepage = "https://github.com/vincenthz/hs-memory";
26402632 description = "memory and related abstraction stuff";
26412633 license = stdenv.lib.licenses.bsd3;
26422634 }) {};
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− }) {};
26652635 "mime-types" = callPackage
26662636 ({ mkDerivation, base, bytestring, containers, text }:
26672637 mkDerivation {
26682638 pname = "mime-types";
2669− version = "0.1.0.8";
2670− sha256 = "14ccl2842ya17zyj0bpc7vzklbyqvvydpbypn69h2fmhgji192x8";
2639+ version = "0.1.0.7";
2640+ sha256 = "1fg9cqpp5lswk8ajlq4f41n12c2v2naz179l8dsz6zisjqj4l5l3";
26712641 libraryHaskellDepends = [ base bytestring containers text ];
2642+ doHaddock = false;
2643+ doCheck = false;
26722644 homepage = "https://github.com/yesodweb/wai";
26732645 description = "Basic mime-type handling types and functions";
26742646 license = stdenv.lib.licenses.mit;
@@ -2677,11 +2649,15 @@ self: {
26772649 ({ mkDerivation, base, mtl, transformers, transformers-compat }:
26782650 mkDerivation {
26792651 pname = "mmorph";
2680− version = "1.1.2";
2681− sha256 = "1gjz1ib968lqybma7my1n19qq6cdj6a7nskrlnwy4jy9jrwzs2n9";
2652+ version = "1.0.9";
2653+ sha256 = "0qs5alhy719a14lrs7rnh2qsn1146czg68gvgylf4m5jh4w7vwp1";
2654+ revision = "1";
2655+ editedCabalFile = "1xxf78qi08qsis2q785s0ra29wjxnxw8pyns0dsqp4a6cybd3mjd";
26822656 libraryHaskellDepends = [
26832657 base mtl transformers transformers-compat
26842658 ];
2659+ doHaddock = false;
2660+ doCheck = false;
26852661 description = "Monad morphisms";
26862662 license = stdenv.lib.licenses.bsd3;
26872663 }) {};
@@ -2701,6 +2677,8 @@ self: {
27012677 base base-compat bytestring directory filepath hspec logging-facade
27022678 temporary
27032679 ];
2680+ doHaddock = false;
2681+ doCheck = false;
27042682 description = "Support functions for automated testing";
27052683 license = stdenv.lib.licenses.mit;
27062684 }) {};
@@ -2710,11 +2688,13 @@ self: {
27102688 }:
27112689 mkDerivation {
27122690 pname = "monad-control";
2713− version = "1.0.2.3";
2714− sha256 = "1c92833gr6cadidjdp8mlznkpp8lyxl0w3y7d19y8yi3klc3843c";
2691+ version = "1.0.2.2";
2692+ sha256 = "0cz4ww3vp96crdqrh7w86rzrs7gs8c1z7rq84yxxhbiz28fs4d0y";
27152693 libraryHaskellDepends = [
27162694 base stm transformers transformers-base transformers-compat
27172695 ];
2696+ doHaddock = false;
2697+ doCheck = false;
27182698 homepage = "https://github.com/basvandijk/monad-control";
27192699 description = "Lift control operations, like exception catching, through monad transformers";
27202700 license = stdenv.lib.licenses.bsd3;
@@ -2727,6 +2707,8 @@ self: {
27272707 sha256 = "062c2sn3hc8h50p1mhqkpyv6x8dydz2zh3ridvlfjq9nqimszaky";
27282708 libraryHaskellDepends = [ base ];
27292709 testHaskellDepends = [ base tasty tasty-hunit ];
2710+ doHaddock = false;
2711+ doCheck = false;
27302712 homepage = "https://github.com/mokus0/monad-loops";
27312713 description = "Monadic loops";
27322714 license = stdenv.lib.licenses.publicDomain;
@@ -2751,6 +2733,8 @@ self: {
27512733 test-framework-hunit test-framework-quickcheck2 test-framework-th
27522734 time
27532735 ];
2736+ doHaddock = false;
2737+ doCheck = false;
27542738 homepage = "https://github.com/simonmar/monad-par";
27552739 description = "A library for parallel programming based on a monad";
27562740 license = stdenv.lib.licenses.bsd3;
@@ -2766,39 +2750,69 @@ self: {
27662750 libraryHaskellDepends = [
27672751 abstract-par base cereal deepseq mtl random transformers
27682752 ];
2753+ doHaddock = false;
2754+ doCheck = false;
27692755 homepage = "https://github.com/simonmar/monad-par";
27702756 description = "Combinators and extra features for Par monads";
27712757 license = stdenv.lib.licenses.bsd3;
27722758 }) {};
2773− "monad-peel" = callPackage
2774− ({ mkDerivation, base, extensible-exceptions, HUnit, test-framework
2775− , test-framework-hunit, transformers
2759+ "monad-unlift" = callPackage
2760+ ({ mkDerivation, base, constraints, monad-control, transformers
2761+ , transformers-base
27762762 }:
27772763 mkDerivation {
2778− pname = "monad-peel";
2779− version = "0.2.1.2";
2780− sha256 = "1x1kr5pk8ksw8xcm19c50jx8m0crf3m3qp73k31dnl9r1w4ykm9d";
2764+ pname = "monad-unlift";
2765+ version = "0.2.0";
2766+ sha256 = "03zf2nd00ds12rrbp3qn7pr9vaw1npzswrzcnhc1k0p436366pjb";
27812767 libraryHaskellDepends = [
2782− base extensible-exceptions transformers
2768+ base constraints monad-control transformers transformers-base
27832769 ];
2784− testHaskellDepends = [
2785− base extensible-exceptions HUnit test-framework
2786− test-framework-hunit transformers
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
27872788 ];
2788− homepage = "http://andersk.mit.edu/haskell/monad-peel/";
2789− description = "Lift control operations like exception catching through monad transformers";
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";
27902805 license = stdenv.lib.licenses.bsd3;
27912806 }) {};
27922807 "mono-traversable" = callPackage
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
2808+ ({ mkDerivation, base, bytestring, containers, foldl, hashable
2809+ , hspec, HUnit, QuickCheck, semigroups, split, text, transformers
2810+ , unordered-containers, vector, vector-algorithms
27972811 }:
27982812 mkDerivation {
27992813 pname = "mono-traversable";
2800− version = "1.0.8.1";
2801− sha256 = "0d9r6z3a8gkhl1j5yq8hjg5wcndi5yixxm9xwbrf4z6pgdwr04lr";
2814+ version = "1.0.4.0";
2815+ sha256 = "0qwmzjf25gradzajr4f9zw3a48m4hw26qvqnb134daqkyxpkzf13";
28022816 libraryHaskellDepends = [
28032817 base bytestring containers hashable split text transformers
28042818 unordered-containers vector vector-algorithms
@@ -2807,8 +2821,9 @@ self: {
28072821 base bytestring containers foldl hspec HUnit QuickCheck semigroups
28082822 text transformers unordered-containers vector
28092823 ];
2810− benchmarkHaskellDepends = [ base gauge mwc-random vector ];
2811− homepage = "https://github.com/snoyberg/mono-traversable#readme";
2824+ doHaddock = false;
2825+ doCheck = false;
2826+ homepage = "https://github.com/snoyberg/mono-traversable";
28122827 description = "Type classes for mapping, folding, and traversing monomorphic containers";
28132828 license = stdenv.lib.licenses.mit;
28142829 }) {};
@@ -2825,6 +2840,8 @@ self: {
28252840 base comonad containers dlist dlist-instances mono-traversable
28262841 semigroupoids semigroups transformers vector-instances
28272842 ];
2843+ doHaddock = false;
2844+ doCheck = false;
28282845 homepage = "https://github.com/snoyberg/mono-traversable#readme";
28292846 description = "Extra typeclass instances for mono-traversable";
28302847 license = stdenv.lib.licenses.mit;
@@ -2833,34 +2850,42 @@ self: {
28332850 ({ mkDerivation, base, transformers }:
28342851 mkDerivation {
28352852 pname = "mtl";
2836− version = "2.2.2";
2837− sha256 = "1xmy5741h8cyy0d91ahvqdz2hykkk20l8br7lg1rccnkis5g80w8";
2853+ version = "2.2.1";
2854+ sha256 = "1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa";
2855+ revision = "1";
2856+ editedCabalFile = "0fsa965g9h23mlfjzghmmhcb9dmaq8zpm374gby6iwgdx47q0njb";
28382857 libraryHaskellDepends = [ base transformers ];
2839− homepage = "http://github.com/haskell/mtl";
2858+ doHaddock = false;
2859+ doCheck = false;
2860+ homepage = "http://github.com/ekmett/mtl";
28402861 description = "Monad classes, using functional dependencies";
28412862 license = stdenv.lib.licenses.bsd3;
28422863 }) {};
28432864 "mutable-containers" = callPackage
2844− ({ mkDerivation, base, containers, gauge, ghc-prim, hspec
2865+ ({ mkDerivation, base, containers, ghc-prim, hspec
28452866 , mono-traversable, primitive, QuickCheck, vector
28462867 }:
28472868 mkDerivation {
28482869 pname = "mutable-containers";
2849− version = "0.3.4";
2850− sha256 = "0zhkhlvg9yw45fg3srvzx7j81547djpkfw7higdvlj7fmph6c6b4";
2870+ version = "0.3.3";
2871+ sha256 = "1svwa54prfdmhdlmv118lnkwv3jx3rx7v5x30wbdsy39n75kjyks";
28512872 libraryHaskellDepends = [
28522873 base containers ghc-prim mono-traversable primitive vector
28532874 ];
28542875 testHaskellDepends = [
28552876 base containers hspec primitive QuickCheck vector
28562877 ];
2857− benchmarkHaskellDepends = [ base containers gauge vector ];
2858− homepage = "https://github.com/snoyberg/mono-traversable#readme";
2878+ doHaddock = false;
2879+ doCheck = false;
2880+ homepage = "https://github.com/snoyberg/mono-traversable";
28592881 description = "Abstactions and concrete implementations of mutable containers";
28602882 license = stdenv.lib.licenses.mit;
28612883 }) {};
28622884 "mwc-random" = callPackage
2863− ({ mkDerivation, base, math-functions, primitive, time, vector }:
2885+ ({ mkDerivation, base, HUnit, math-functions, primitive, QuickCheck
2886+ , statistics, test-framework, test-framework-hunit
2887+ , test-framework-quickcheck2, time, vector
2888+ }:
28642889 mkDerivation {
28652890 pname = "mwc-random";
28662891 version = "0.13.6.0";
@@ -2868,6 +2893,12 @@ self: {
28682893 libraryHaskellDepends = [
28692894 base math-functions primitive time vector
28702895 ];
2896+ testHaskellDepends = [
2897+ base HUnit QuickCheck statistics test-framework
2898+ test-framework-hunit test-framework-quickcheck2 vector
2899+ ];
2900+ doHaddock = false;
2901+ doCheck = false;
28712902 homepage = "https://github.com/bos/mwc-random";
28722903 description = "Fast, high quality pseudo random number generation";
28732904 license = stdenv.lib.licenses.bsd3;
@@ -2876,11 +2907,12 @@ self: {
28762907 ({ mkDerivation, base, hspec, silently }:
28772908 mkDerivation {
28782909 pname = "nanospec";
2879− version = "0.2.2";
2880− sha256 = "1rcmhl9bhyfvanalnf1r86wkx6rq6wdvagnw1h011jcnnb1cq56g";
2910+ version = "0.2.1";
2911+ sha256 = "0jq2l1lmy4hcl6r975xcg86xr1y7jfxr3qn27ibsmjbzlnxdkjyv";
28812912 libraryHaskellDepends = [ base ];
28822913 testHaskellDepends = [ base hspec silently ];
2883− homepage = "https://github.com/hspec/nanospec#readme";
2914+ doHaddock = false;
2915+ doCheck = false;
28842916 description = "A lightweight implementation of a subset of Hspec's API";
28852917 license = stdenv.lib.licenses.mit;
28862918 }) {};
@@ -2888,23 +2920,29 @@ self: {
28882920 ({ mkDerivation }:
28892921 mkDerivation {
28902922 pname = "nats";
2891− version = "1.1.2";
2892− sha256 = "1v40drmhixck3pz3mdfghamh73l4rp71mzcviipv1y8jhrfxilmr";
2893− revision = "1";
2894− editedCabalFile = "1jzyysf758lfindlclqpzqcd0lrgrdv0rnz2lg8g1rvv07x2n7zh";
2923+ version = "1.1.1";
2924+ sha256 = "1kfl2yy97nb7q0j17v96rl73xvi3z4db9bk0xychc76dax41n78k";
28952925 doHaddock = false;
2926+ doCheck = false;
28962927 homepage = "http://github.com/ekmett/nats/";
28972928 description = "Natural numbers";
28982929 license = stdenv.lib.licenses.bsd3;
28992930 }) {};
29002931 "network" = callPackage
2901− ({ mkDerivation, base, bytestring, doctest, hspec, HUnit, unix }:
2932+ ({ mkDerivation, base, bytestring, doctest, HUnit, test-framework
2933+ , test-framework-hunit, unix
2934+ }:
29022935 mkDerivation {
29032936 pname = "network";
2904− version = "2.6.3.6";
2905− sha256 = "198mam7ahny48p9fajznbqq16a8ya2gw0xm3gnm1si1rmc4hdplv";
2937+ version = "2.6.3.2";
2938+ sha256 = "1dn092zfqmxfbzln6d0khka4gizzjivf2yja9w9hwb5g9q3pfi1m";
2939+ revision = "1";
2940+ editedCabalFile = "17234sy0vqic8g9wg8gmfmc0by50scjwbdk8bkcl9kjf3fvs4nyx";
29062941 libraryHaskellDepends = [ base bytestring unix ];
2907− testHaskellDepends = [ base bytestring doctest hspec HUnit ];
2942+ testHaskellDepends = [
2943+ base bytestring doctest HUnit test-framework test-framework-hunit
2944+ ];
2945+ doHaddock = false;
29082946 doCheck = false;
29092947 homepage = "https://github.com/haskell/network";
29102948 description = "Low-level networking interface";
@@ -2925,6 +2963,8 @@ self: {
29252963 base HUnit test-framework test-framework-hunit
29262964 test-framework-quickcheck2
29272965 ];
2966+ doHaddock = false;
2967+ doCheck = false;
29282968 homepage = "https://github.com/haskell/network-uri";
29292969 description = "URI manipulation";
29302970 license = stdenv.lib.licenses.bsd3;
@@ -2938,6 +2978,8 @@ self: {
29382978 revision = "2";
29392979 editedCabalFile = "04b9vn007hlvsrx4ksd3r8r3kbyaj2kvwxchdrmd4370qzi8p6gs";
29402980 libraryHaskellDepends = [ base ];
2981+ doHaddock = false;
2982+ doCheck = false;
29412983 description = "locale library";
29422984 license = stdenv.lib.licenses.bsd3;
29432985 }) {};
@@ -2950,78 +2992,95 @@ self: {
29502992 revision = "2";
29512993 editedCabalFile = "1j6ln1dkvhdvnwl33bp0xf9lhc4sybqk0aw42p8cq81xwwzbn7y9";
29522994 libraryHaskellDepends = [ base old-locale ];
2995+ doHaddock = false;
2996+ doCheck = false;
29532997 description = "Time library";
29542998 license = stdenv.lib.licenses.bsd3;
29552999 }) {};
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+ }) {};
29563013 "optparse-applicative" = callPackage
2957− ({ mkDerivation, ansi-wl-pprint, base, bytestring, process
2958− , QuickCheck, transformers, transformers-compat
3014+ ({ mkDerivation, ansi-wl-pprint, base, process, QuickCheck
3015+ , transformers, transformers-compat
29593016 }:
29603017 mkDerivation {
29613018 pname = "optparse-applicative";
2962− version = "0.14.2.0";
2963− sha256 = "0c3z1mvynlyv1garjbdmdd3npm40dabgm75js4r07cf766c1wd71";
3019+ version = "0.13.2.0";
3020+ sha256 = "18kcjldpzay3k3309rvb9vqrp5b1gqp0hgymynqx7x2kgv7cz0sw";
29643021 libraryHaskellDepends = [
29653022 ansi-wl-pprint base process transformers transformers-compat
29663023 ];
2967− testHaskellDepends = [ base bytestring QuickCheck ];
3024+ testHaskellDepends = [ base QuickCheck ];
3025+ doHaddock = false;
3026+ doCheck = false;
29683027 homepage = "https://github.com/pcapriotti/optparse-applicative";
29693028 description = "Utilities and combinators for parsing command line options";
29703029 license = stdenv.lib.licenses.bsd3;
29713030 }) {};
29723031 "optparse-simple" = callPackage
2973− ({ mkDerivation, base, bytestring, directory, gitrev
3032+ ({ mkDerivation, base, bytestring, directory, either, gitrev
29743033 , optparse-applicative, template-haskell, transformers
29753034 }:
29763035 mkDerivation {
29773036 pname = "optparse-simple";
2978− version = "0.1.0";
2979− sha256 = "1g2cf4pcf1fa001z77g8gwnx0cxdpqs1iw9xp0kb9qrxm9gpk3c3";
3037+ version = "0.0.4";
3038+ sha256 = "1md24dlz6949rqv6y2x9d5r07lrqw42c21kdy09nk5y8r3mq43x0";
29803039 libraryHaskellDepends = [
2981− base gitrev optparse-applicative template-haskell transformers
3040+ base either gitrev optparse-applicative template-haskell
3041+ transformers
29823042 ];
29833043 testHaskellDepends = [ base bytestring directory ];
2984− homepage = "https://github.com/fpco/optparse-simple#readme";
3044+ doHaddock = false;
3045+ doCheck = false;
29853046 description = "Simple interface to optparse-applicative";
29863047 license = stdenv.lib.licenses.bsd3;
29873048 }) {};
29883049 "parallel" = callPackage
2989− ({ mkDerivation, array, base, containers, deepseq, ghc-prim }:
3050+ ({ mkDerivation, array, base, containers, deepseq }:
29903051 mkDerivation {
29913052 pname = "parallel";
2992− version = "3.2.2.0";
2993− sha256 = "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p";
2994− libraryHaskellDepends = [ array base containers deepseq ghc-prim ];
3053+ version = "3.2.1.1";
3054+ sha256 = "05rw8zhpqhx31zi6vg7zpyciaarh24j7g2p613xrpyrnksybjfrj";
3055+ libraryHaskellDepends = [ array base containers deepseq ];
3056+ doHaddock = false;
3057+ doCheck = false;
29953058 description = "Parallel programming library";
29963059 license = stdenv.lib.licenses.bsd3;
29973060 }) {};
29983061 "parsec" = callPackage
2999− ({ mkDerivation, base, bytestring, HUnit, mtl, test-framework
3000− , test-framework-hunit, text
3001− }:
3062+ ({ mkDerivation, base, bytestring, mtl, text }:
30023063 mkDerivation {
30033064 pname = "parsec";
3004− version = "3.1.13.0";
3005− sha256 = "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq";
3006− revision = "1";
3007− editedCabalFile = "1dpr1wfpykkl6kayp4wnyn0n1zv7pvqksax2i54dhdgjijj8qynd";
3065+ version = "3.1.11";
3066+ sha256 = "0vk7q9j2128q191zf1sg0ylj9s9djwayqk9747k0a5fin4f2b1vg";
30083067 libraryHaskellDepends = [ base bytestring mtl text ];
3009− testHaskellDepends = [
3010− base HUnit mtl test-framework test-framework-hunit
3011− ];
3012− homepage = "https://github.com/hvr/parsec";
3068+ doHaddock = false;
3069+ doCheck = false;
3070+ homepage = "https://github.com/aslatter/parsec";
30133071 description = "Monadic parser combinators";
30143072 license = stdenv.lib.licenses.bsd3;
30153073 }) {};
3016− "parser-combinators" = callPackage
3017− ({ mkDerivation, base }:
3074+ "patience" = callPackage
3075+ ({ mkDerivation, base, containers }:
30183076 mkDerivation {
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";
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";
30253084 license = stdenv.lib.licenses.bsd3;
30263085 }) {};
30273086 "pcre-light" = callPackage
@@ -3032,24 +3091,29 @@ self: {
30323091 sha256 = "0xcyi1fivwg7a92mch5bcqzmrfxzqj42rmb3m8kgs61x4qwpxj82";
30333092 libraryHaskellDepends = [ base bytestring ];
30343093 libraryPkgconfigDepends = [ pcre ];
3094+ doHaddock = false;
3095+ doCheck = false;
30353096 homepage = "https://github.com/Daniel-Diaz/pcre-light";
30363097 description = "Portable regex library for Perl 5 compatible regular expressions";
30373098 license = stdenv.lib.licenses.bsd3;
30383099 }) {inherit (pkgs) pcre;};
30393100 "pem" = callPackage
3040− ({ mkDerivation, base, basement, bytestring, HUnit, memory
3101+ ({ mkDerivation, base, base64-bytestring, bytestring, HUnit, mtl
30413102 , QuickCheck, test-framework, test-framework-hunit
30423103 , test-framework-quickcheck2
30433104 }:
30443105 mkDerivation {
30453106 pname = "pem";
3046− version = "0.2.4";
3047− sha256 = "1m7qjsxrd8m88cvkqmr8kscril500j2a9y0iynvksjyjkhdlq33p";
3048− libraryHaskellDepends = [ base basement bytestring memory ];
3107+ version = "0.2.2";
3108+ sha256 = "162sk5sg22w21wqz5qv8kx6ibxp99v5p20g3nknhm1kddk3hha1p";
3109+ enableSeparateDataOutput = true;
3110+ libraryHaskellDepends = [ base base64-bytestring bytestring mtl ];
30493111 testHaskellDepends = [
30503112 base bytestring HUnit QuickCheck test-framework
30513113 test-framework-hunit test-framework-quickcheck2
30523114 ];
3115+ doHaddock = false;
3116+ doCheck = false;
30533117 homepage = "http://github.com/vincenthz/hs-pem";
30543118 description = "Privacy Enhanced Mail (PEM) format reader and writer";
30553119 license = stdenv.lib.licenses.bsd3;
@@ -3061,15 +3125,17 @@ self: {
30613125 }:
30623126 mkDerivation {
30633127 pname = "pointed";
3064− version = "5.0.1";
3065− sha256 = "1p91a762xglckscnhpflxzav8byf49a02mli3983i4kpr2jkaimr";
3128+ version = "5";
3129+ sha256 = "05sxac90xv4j8glmf2mxs0smmv6vhia0qaaag5v37ar5a6pvh1l9";
30663130 revision = "1";
3067− editedCabalFile = "1ccjmzz3jf5ybrzv7qdwm3qb8rz0yskvi4ackrixyhdk8bg5f3nc";
3131+ editedCabalFile = "170gqax34qch77zzqwq95z2lzq9da8gmfxg1vcll4aphhafwgzzp";
30683132 libraryHaskellDepends = [
30693133 base comonad containers data-default-class hashable kan-extensions
30703134 semigroupoids semigroups stm tagged transformers
30713135 transformers-compat unordered-containers
30723136 ];
3137+ doHaddock = false;
3138+ doCheck = false;
30733139 homepage = "http://github.com/ekmett/pointed/";
30743140 description = "Pointed and copointed data";
30753141 license = stdenv.lib.licenses.bsd3;
@@ -3081,36 +3147,43 @@ self: {
30813147 version = "1.12";
30823148 sha256 = "05dya1vdvq29hkhkdlsglzhw7bdn51rvs1javs0q75nf99c66k7m";
30833149 libraryHaskellDepends = [ base bytestring text ];
3150+ doHaddock = false;
3151+ doCheck = false;
30843152 homepage = "http://code.haskell.org/~malcolm/polyparse/";
30853153 description = "A variety of alternative parser combinator libraries";
30863154 license = "LGPL";
30873155 }) {};
3088− "pretty-hex" = callPackage
3089− ({ mkDerivation, base, bytestring }:
3156+ "prelude-extras" = callPackage
3157+ ({ mkDerivation, base }:
30903158 mkDerivation {
3091− pname = "pretty-hex";
3092− version = "1.0";
3093− sha256 = "0ylwkvvjvmpprha9nx83xb8gkhyanhk5fffc0r7lb96n4ch5z6pz";
3094− libraryHaskellDepends = [ base bytestring ];
3095− description = "A library for hex dumps of ByteStrings";
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";
30963167 license = stdenv.lib.licenses.bsd3;
30973168 }) {};
30983169 "pretty-show" = callPackage
30993170 ({ mkDerivation, array, base, filepath, ghc-prim, happy
3100− , haskell-lexer, pretty, text
3171+ , haskell-lexer, pretty
31013172 }:
31023173 mkDerivation {
31033174 pname = "pretty-show";
3104− version = "1.7";
3105− sha256 = "0br7pkxqqqhby2j2v1g847lgqsrasx56g1jw3dhmjh4flzs6warq";
3175+ version = "1.6.13";
3176+ sha256 = "1kbx72ybrpw0kh5zsd2kdw143qykbmd9lgmsvj57659y0k5l7fjm";
31063177 isLibrary = true;
31073178 isExecutable = true;
31083179 enableSeparateDataOutput = true;
31093180 libraryHaskellDepends = [
3110− array base filepath ghc-prim haskell-lexer pretty text
3181+ array base filepath ghc-prim haskell-lexer pretty
31113182 ];
31123183 libraryToolDepends = [ happy ];
31133184 executableHaskellDepends = [ base ];
3185+ doHaddock = false;
3186+ doCheck = false;
31143187 homepage = "http://wiki.github.com/yav/pretty-show";
31153188 description = "Tools for working with derived `Show` instances and generic inspection of values";
31163189 license = stdenv.lib.licenses.mit;
@@ -3119,28 +3192,32 @@ self: {
31193192 ({ mkDerivation, base, ghc-prim, transformers }:
31203193 mkDerivation {
31213194 pname = "primitive";
3122− version = "0.6.3.0";
3123− sha256 = "0mcmbnj08wd6zfwn7xk6zf5hy5zwbla5v78pw0dpymqg9s0gzpnd";
3195+ version = "0.6.2.0";
3196+ sha256 = "1q9a537av81c0lvcdzc8i5hqjx3209f5448d1smkyaz22c1dgs5q";
3197+ revision = "1";
3198+ editedCabalFile = "0d61g8ppsdajdqykl2kc46kq00aamsf12v60ilgrf58dbji9sz56";
31243199 libraryHaskellDepends = [ base ghc-prim transformers ];
31253200 testHaskellDepends = [ base ghc-prim ];
3201+ doHaddock = false;
3202+ doCheck = false;
31263203 homepage = "https://github.com/haskell/primitive";
31273204 description = "Primitive memory-related operations";
31283205 license = stdenv.lib.licenses.bsd3;
31293206 }) {};
31303207 "profunctors" = callPackage
31313208 ({ mkDerivation, base, base-orphans, bifunctors, comonad
3132− , contravariant, distributive, semigroups, tagged, transformers
3209+ , contravariant, distributive, tagged, transformers
31333210 }:
31343211 mkDerivation {
31353212 pname = "profunctors";
3136− version = "5.2.2";
3137− sha256 = "0s1pwjidbn761xk43pmzyvn99hm3psdifjd78ylki7f97aiyd0g9";
3138− revision = "2";
3139− editedCabalFile = "1ywlg9z8nlhd2avgb8c6gbkv8zyk7hvc25926bafyg0m0k8y1amq";
3213+ version = "5.2.1";
3214+ sha256 = "0pcwjp813d3mrzb7qf7dzkspf85xnfj1m2snhjgnvwx6vw07w877";
31403215 libraryHaskellDepends = [
31413216 base base-orphans bifunctors comonad contravariant distributive
3142− semigroups tagged transformers
3217+ tagged transformers
31433218 ];
3219+ doHaddock = false;
3220+ doCheck = false;
31443221 homepage = "http://github.com/ekmett/profunctors/";
31453222 description = "Profunctors";
31463223 license = stdenv.lib.licenses.bsd3;
@@ -3152,57 +3229,36 @@ self: {
31523229 }:
31533230 mkDerivation {
31543231 pname = "psqueues";
3155− version = "0.2.7.0";
3156− sha256 = "1sjgc9bxh63kkdp59nbirx3xazr02ia5yhp4f4a0jnq1hj465wsc";
3232+ version = "0.2.4.0";
3233+ sha256 = "1lbjm6mnw91qg1ik73mwh48cq79k4kkaj4l380ilqp0p05a386j9";
31573234 libraryHaskellDepends = [ base deepseq ghc-prim hashable ];
31583235 testHaskellDepends = [
31593236 array base deepseq ghc-prim hashable HUnit QuickCheck tagged
31603237 test-framework test-framework-hunit test-framework-quickcheck2
31613238 ];
3239+ doHaddock = false;
3240+ doCheck = false;
31623241 description = "Pure priority search queues";
31633242 license = stdenv.lib.licenses.bsd3;
31643243 }) {};
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− }) {};
31843244 "quickcheck-instances" = callPackage
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
3245+ ({ mkDerivation, array, base, bytestring, containers, hashable
3246+ , old-time, QuickCheck, scientific, text, time
3247+ , unordered-containers, vector
31893248 }:
31903249 mkDerivation {
31913250 pname = "quickcheck-instances";
3192− version = "0.3.18";
3193− sha256 = "1bh1pzz5fdcqvzdcirqxna6fnjms02min5md716299g5niz46w55";
3194− revision = "1";
3195− editedCabalFile = "1sngfq3v71bvgjsl8cj5kh65m3fziwy8dkvwjzs0kxfrzr87faly";
3251+ version = "0.3.12";
3252+ sha256 = "1wwvkzpams7i0j7nk5qj8vvhj8x5zcbgbgrpczszgvshva4bkmfx";
3253+ revision = "2";
3254+ editedCabalFile = "1v1r7gidkjc2v4dw1id57raqnjqv4rc10pa2l6xhhg0dzrnw28a3";
31963255 libraryHaskellDepends = [
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
3201− ];
3202− testHaskellDepends = [
3203− base containers QuickCheck tagged uuid-types
3256+ array base bytestring containers hashable old-time QuickCheck
3257+ scientific text time unordered-containers vector
32043258 ];
3205− homepage = "https://github.com/phadej/qc-instances";
3259+ doHaddock = false;
3260+ doCheck = false;
3261+ homepage = "https://github.com/aslatter/qc-instances";
32063262 description = "Common quickcheck instances";
32073263 license = stdenv.lib.licenses.bsd3;
32083264 }) {};
@@ -3213,6 +3269,8 @@ self: {
32133269 version = "0.2.0";
32143270 sha256 = "08k4v7pkgjf30pv5j2dfv1gqv6hclxlniyq2sps8zq4zswcr2xzv";
32153271 libraryHaskellDepends = [ base HUnit QuickCheck ];
3272+ doHaddock = false;
3273+ doCheck = false;
32163274 homepage = "https://github.com/hspec/quickcheck-io#readme";
32173275 description = "Use HUnit assertions as QuickCheck properties";
32183276 license = stdenv.lib.licenses.mit;
@@ -3224,6 +3282,8 @@ self: {
32243282 version = "1.0.1.0";
32253283 sha256 = "0s43s1bzbg3gwsjgm7fpyksd1339f0m26dlw2famxwyzgvm0a80k";
32263284 libraryHaskellDepends = [ base QuickCheck ];
3285+ doHaddock = false;
3286+ doCheck = false;
32273287 homepage = "https://github.com/bos/quickcheck-unicode";
32283288 description = "Generator and shrink functions for testing Unicode-related software";
32293289 license = stdenv.lib.licenses.bsd2;
@@ -3238,6 +3298,8 @@ self: {
32383298 editedCabalFile = "1pv5d7bm2rgap7llp5vjsplrg048gvf0226y0v19gpvdsx7n4rvv";
32393299 libraryHaskellDepends = [ base time ];
32403300 testHaskellDepends = [ base ];
3301+ doHaddock = false;
3302+ doCheck = false;
32413303 description = "random number library";
32423304 license = stdenv.lib.licenses.bsd3;
32433305 }) {};
@@ -3245,9 +3307,11 @@ self: {
32453307 ({ mkDerivation, base, template-haskell }:
32463308 mkDerivation {
32473309 pname = "reflection";
3248− version = "2.1.4";
3249− sha256 = "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj";
3310+ version = "2.1.2";
3311+ sha256 = "0f9w0akbm6p8h7kzgcd2f6nnpw1wy84pqn45vfz1ch5j0hn8h2d9";
32503312 libraryHaskellDepends = [ base template-haskell ];
3313+ doHaddock = false;
3314+ doCheck = false;
32513315 homepage = "http://github.com/ekmett/reflection";
32523316 description = "Reifies arbitrary terms into types that can be reflected back into terms";
32533317 license = stdenv.lib.licenses.bsd3;
@@ -3259,6 +3323,8 @@ self: {
32593323 version = "0.93.2";
32603324 sha256 = "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10";
32613325 libraryHaskellDepends = [ array base bytestring containers mtl ];
3326+ doHaddock = false;
3327+ doCheck = false;
32623328 homepage = "http://sourceforge.net/projects/lazy-regex";
32633329 description = "Replaces/Enhances Text.Regex";
32643330 license = stdenv.lib.licenses.bsd3;
@@ -3272,42 +3338,66 @@ self: {
32723338 libraryHaskellDepends = [
32733339 array base bytestring containers regex-base
32743340 ];
3341+ doHaddock = false;
3342+ doCheck = false;
32753343 homepage = "http://sourceforge.net/projects/lazy-regex";
32763344 description = "Replaces/Enhances Text.Regex";
32773345 license = stdenv.lib.licenses.bsd3;
32783346 }) {};
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+ }) {};
32793364 "resourcet" = callPackage
3280− ({ mkDerivation, base, containers, exceptions, hspec, mtl
3281− , primitive, transformers, unliftio-core
3365+ ({ mkDerivation, base, containers, exceptions, hspec, lifted-base
3366+ , mmorph, monad-control, mtl, transformers, transformers-base
3367+ , transformers-compat
32823368 }:
32833369 mkDerivation {
32843370 pname = "resourcet";
3285− version = "1.2.1";
3286− sha256 = "0rzjzh34s36ssign7akqjnwnjxf11c3511wk7ky0xxy0dqmc2rg7";
3371+ version = "1.1.9";
3372+ sha256 = "1x9f2qz57agl3xljp1wi0ab51p13czrpf6qjp3506rl9dg99j6as";
32873373 libraryHaskellDepends = [
3288− base containers exceptions mtl primitive transformers unliftio-core
3374+ base containers exceptions lifted-base mmorph monad-control mtl
3375+ transformers transformers-base transformers-compat
32893376 ];
3290− testHaskellDepends = [ base exceptions hspec transformers ];
3377+ testHaskellDepends = [ base hspec lifted-base transformers ];
3378+ doHaddock = false;
3379+ doCheck = false;
32913380 homepage = "http://github.com/snoyberg/conduit";
32923381 description = "Deterministic allocation and freeing of scarce resources";
32933382 license = stdenv.lib.licenses.bsd3;
32943383 }) {};
32953384 "retry" = callPackage
32963385 ({ mkDerivation, base, data-default-class, exceptions, ghc-prim
3297− , hedgehog, HUnit, mtl, random, stm, tasty, tasty-hedgehog
3298− , tasty-hunit, time, transformers
3386+ , hspec, HUnit, mtl, QuickCheck, random, stm, time, transformers
32993387 }:
33003388 mkDerivation {
33013389 pname = "retry";
3302− version = "0.7.6.2";
3303− sha256 = "0bmrp2h6pf43hr7sd6562qixw755h2xgszj700157pk2hxcz16ad";
3390+ version = "0.7.4.3";
3391+ sha256 = "0i47gmlljz00fwf2qwkrh24hgsyw5sz2npaighx4wxvykf00d390";
33043392 libraryHaskellDepends = [
33053393 base data-default-class exceptions ghc-prim random transformers
33063394 ];
33073395 testHaskellDepends = [
3308− base data-default-class exceptions ghc-prim hedgehog HUnit mtl
3309− random stm tasty tasty-hedgehog tasty-hunit time transformers
3396+ base data-default-class exceptions ghc-prim hspec HUnit mtl
3397+ QuickCheck random stm time transformers
33103398 ];
3399+ doHaddock = false;
3400+ doCheck = false;
33113401 homepage = "http://github.com/Soostone/retry";
33123402 description = "Retry combinators for monadic actions that may fail";
33133403 license = stdenv.lib.licenses.bsd3;
@@ -3316,17 +3406,35 @@ self: {
33163406 ({ mkDerivation, base, deepseq, QuickCheck }:
33173407 mkDerivation {
33183408 pname = "safe";
3319− version = "0.3.17";
3320− sha256 = "0p3yaf5slvyz1cyy51jq64c5rlp8yzwim8iy2dlnk42if4gc9ibr";
3409+ version = "0.3.15";
3410+ sha256 = "0bbalr2n92akwcgdyl5ff45h8d4waamj1lp7ly6mdgda17k4lpm3";
33213411 libraryHaskellDepends = [ base ];
33223412 testHaskellDepends = [ base deepseq QuickCheck ];
3413+ doHaddock = false;
3414+ doCheck = false;
33233415 homepage = "https://github.com/ndmitchell/safe#readme";
33243416 description = "Library of safe (exception free) functions";
33253417 license = stdenv.lib.licenses.bsd3;
33263418 }) {};
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+ }) {};
33273435 "say" = callPackage
3328− ({ mkDerivation, base, bytestring, criterion, hspec, temporary
3329− , text, transformers
3436+ ({ mkDerivation, base, bytestring, hspec, temporary, text
3437+ , transformers
33303438 }:
33313439 mkDerivation {
33323440 pname = "say";
@@ -3334,23 +3442,24 @@ self: {
33343442 sha256 = "0h7w49v9manw7yml2bms11sf6znsfkmdr87c7d8ax8l1xnadnvzj";
33353443 libraryHaskellDepends = [ base bytestring text transformers ];
33363444 testHaskellDepends = [ base bytestring hspec temporary text ];
3337− benchmarkHaskellDepends = [
3338− base bytestring criterion temporary text
3339− ];
3445+ doHaddock = false;
3446+ doCheck = false;
33403447 homepage = "https://github.com/fpco/say#readme";
33413448 description = "Initial project template from stack";
33423449 license = stdenv.lib.licenses.mit;
33433450 }) {};
33443451 "scientific" = callPackage
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
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
33493456 }:
33503457 mkDerivation {
33513458 pname = "scientific";
3352− version = "0.3.6.2";
3353− sha256 = "03ql2f0ac8bsl524idy9xxa3kxisb2sj3avflzw580j5hzy0m397";
3459+ version = "0.3.5.2";
3460+ sha256 = "0msnjz7ml0zycw9bssslxbg0nigziw7vs5km4q3vjbs8jpzpkr2w";
3461+ revision = "1";
3462+ editedCabalFile = "1gnz52yrd9bnq4qvd4v9kd00clx0sfbh64phafdq5g2hbk9yrg0v";
33543463 libraryHaskellDepends = [
33553464 base binary bytestring containers deepseq hashable integer-gmp
33563465 integer-logarithms primitive text
@@ -3359,7 +3468,8 @@ self: {
33593468 base binary bytestring QuickCheck smallcheck tasty tasty-ant-xml
33603469 tasty-hunit tasty-quickcheck tasty-smallcheck text
33613470 ];
3362− benchmarkHaskellDepends = [ base criterion ];
3471+ doHaddock = false;
3472+ doCheck = false;
33633473 homepage = "https://github.com/basvandijk/scientific";
33643474 description = "Numbers represented using scientific notation";
33653475 license = stdenv.lib.licenses.bsd3;
@@ -3367,22 +3477,24 @@ self: {
33673477 "semigroupoids" = callPackage
33683478 ({ mkDerivation, base, base-orphans, bifunctors, Cabal
33693479 , cabal-doctest, comonad, containers, contravariant, distributive
3370− , doctest, hashable, semigroups, tagged, template-haskell
3371− , transformers, transformers-compat, unordered-containers
3480+ , doctest, hashable, semigroups, tagged, transformers
3481+ , transformers-compat, unordered-containers
33723482 }:
33733483 mkDerivation {
33743484 pname = "semigroupoids";
3375− version = "5.2.2";
3376− sha256 = "17i96y4iqj8clcs090lf6k0ij3j16nj14vsfwz0mm9nd6i4gbpp4";
3377− revision = "4";
3378− editedCabalFile = "0pqfrxzypjq6z8lgdkzq4vhcyqkpk5326hny0r6snpc3gm78r4ij";
3485+ version = "5.2.1";
3486+ sha256 = "006jys6kvckkmbnhf4jc51sh64hamkz464mr8ciiakybrfvixr3r";
3487+ revision = "2";
3488+ editedCabalFile = "049j2jl6f5mxqnavi1aadx37j4bk5xksvkxsl43hp4rg7n53p11z";
33793489 setupHaskellDepends = [ base Cabal cabal-doctest ];
33803490 libraryHaskellDepends = [
33813491 base base-orphans bifunctors comonad containers contravariant
3382− distributive hashable semigroups tagged template-haskell
3383− transformers transformers-compat unordered-containers
3492+ distributive hashable semigroups tagged transformers
3493+ transformers-compat unordered-containers
33843494 ];
33853495 testHaskellDepends = [ base doctest ];
3496+ doHaddock = false;
3497+ doCheck = false;
33863498 homepage = "http://github.com/ekmett/semigroupoids";
33873499 description = "Semigroupoids: Category sans id";
33883500 license = stdenv.lib.licenses.bsd3;
@@ -3391,9 +3503,11 @@ self: {
33913503 ({ mkDerivation, base }:
33923504 mkDerivation {
33933505 pname = "semigroups";
3394− version = "0.18.5";
3395− sha256 = "17g29h62g1k51ghhvzkw72zksjgi6vs6bfipkj81pqw1dsprcamb";
3506+ version = "0.18.3";
3507+ sha256 = "1jm9wnb5jmwdk4i9qbwfay69ydi76xi0qqi9zqp6wh3jd2c7qa9m";
33963508 libraryHaskellDepends = [ base ];
3509+ doHaddock = false;
3510+ doCheck = false;
33973511 homepage = "http://github.com/ekmett/semigroups/";
33983512 description = "Anything that associates";
33993513 license = stdenv.lib.licenses.bsd3;
@@ -3407,6 +3521,8 @@ self: {
34073521 revision = "1";
34083522 editedCabalFile = "0ny4g3kjys0hqg41mnwrsymy1bwhl8l169kis4y4fa58sb06m4f5";
34093523 libraryHaskellDepends = [ base unix ];
3524+ doHaddock = false;
3525+ doCheck = false;
34103526 description = "A cross-platform library for setting environment variables";
34113527 license = stdenv.lib.licenses.mit;
34123528 }) {};
@@ -3418,8 +3534,8 @@ self: {
34183534 }:
34193535 mkDerivation {
34203536 pname = "shakespeare";
3421− version = "2.0.15";
3422− sha256 = "1vk4b19zvwy4mpwaq9z3l3kfmz75gfyf7alhh0y112gspgpccm23";
3537+ version = "2.0.14.1";
3538+ sha256 = "02pahbvibll4jmbq6p5vxr2r4mmrfx3h0c8v6qbj4rlq96lc6a23";
34233539 libraryHaskellDepends = [
34243540 aeson base blaze-html blaze-markup bytestring containers directory
34253541 exceptions ghc-prim parsec process scientific template-haskell text
@@ -3430,6 +3546,8 @@ self: {
34303546 exceptions ghc-prim hspec HUnit parsec process template-haskell
34313547 text time transformers
34323548 ];
3549+ doHaddock = false;
3550+ doCheck = false;
34333551 homepage = "http://www.yesodweb.com/book/shakespearean-templates";
34343552 description = "A toolkit for making compile-time interpolated templates";
34353553 license = stdenv.lib.licenses.mit;
@@ -3442,6 +3560,8 @@ self: {
34423560 sha256 = "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf";
34433561 libraryHaskellDepends = [ base deepseq directory ];
34443562 testHaskellDepends = [ base deepseq directory nanospec temporary ];
3563+ doHaddock = false;
3564+ doCheck = false;
34453565 homepage = "https://github.com/hspec/silently";
34463566 description = "Prevent or capture writing to stdout and other handles";
34473567 license = stdenv.lib.licenses.bsd3;
@@ -3450,9 +3570,11 @@ self: {
34503570 ({ mkDerivation, base }:
34513571 mkDerivation {
34523572 pname = "simple-reflect";
3453− version = "0.3.3";
3454− sha256 = "0ayvrx5cm8n6db21jiyjmk5h93pw7cz1707hih09hlhk9jh5x0h7";
3573+ version = "0.3.2";
3574+ sha256 = "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq";
34553575 libraryHaskellDepends = [ base ];
3576+ doHaddock = false;
3577+ doCheck = false;
34563578 homepage = "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions";
34573579 description = "Simple reflection of expressions containing variables";
34583580 license = stdenv.lib.licenses.bsd3;
@@ -3463,43 +3585,29 @@ self: {
34633585 }:
34643586 mkDerivation {
34653587 pname = "simple-sendfile";
3466− version = "0.2.27";
3467− sha256 = "1bwwqzcm56m2w4ymsa054sxmpbj76h9pvb0jf8zxp8lr41cp51gn";
3588+ version = "0.2.25";
3589+ sha256 = "0k99j9xfcf83c55jmn202hdinhjaa4yn3dal4rvjk2w2rlhqirha";
3590+ revision = "1";
3591+ editedCabalFile = "1axghvn2iz0gzlc0ics4q8abl15ggwvcwcmly5cxhmc32hqv8y5c";
34683592 libraryHaskellDepends = [ base bytestring network unix ];
34693593 testHaskellDepends = [
34703594 base bytestring conduit conduit-extra directory hspec HUnit network
34713595 process resourcet unix
34723596 ];
3597+ doHaddock = false;
3598+ doCheck = false;
34733599 description = "Cross platform library for the sendfile system call";
34743600 license = stdenv.lib.licenses.bsd3;
34753601 }) {};
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− }) {};
34963602 "smallcheck" = callPackage
34973603 ({ mkDerivation, base, ghc-prim, logict, mtl, pretty }:
34983604 mkDerivation {
34993605 pname = "smallcheck";
3500− version = "1.1.5";
3501− sha256 = "195fj7w3v03d1y1nm2ylavzrwxjcdbq0lb6zsw1dwyx5jmwfc84h";
3606+ version = "1.1.2";
3607+ sha256 = "14690ahl3iq99hw638qk0bpmkmspghjz2yh8p1nyccli92y23xjm";
35023608 libraryHaskellDepends = [ base ghc-prim logict mtl pretty ];
3609+ doHaddock = false;
3610+ doCheck = false;
35033611 homepage = "https://github.com/feuerbach/smallcheck";
35043612 description = "A property-based testing library";
35053613 license = stdenv.lib.licenses.bsd3;
@@ -3508,175 +3616,225 @@ self: {
35083616 ({ mkDerivation, base, bytestring, cereal, network }:
35093617 mkDerivation {
35103618 pname = "socks";
3511− version = "0.5.6";
3512− sha256 = "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs";
3619+ version = "0.5.5";
3620+ sha256 = "0s689w1hh9g8ifl75xhzbv96ir07hwn04b4lgvbxzl8swa9ylir6";
3621+ revision = "1";
3622+ editedCabalFile = "0nz8q0xvd8y6f42bd1w3q8d8bg1qzl8ggx0a23kb3jb60g36dmvw";
35133623 libraryHaskellDepends = [ base bytestring cereal network ];
3624+ doHaddock = false;
3625+ doCheck = false;
35143626 homepage = "http://github.com/vincenthz/hs-socks";
3515− description = "Socks proxy (ver 5)";
3627+ description = "Socks proxy (version 5) implementation";
35163628 license = stdenv.lib.licenses.bsd3;
35173629 }) {};
35183630 "split" = callPackage
35193631 ({ mkDerivation, base, QuickCheck }:
35203632 mkDerivation {
35213633 pname = "split";
3522− version = "0.2.3.3";
3523− sha256 = "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x";
3634+ version = "0.2.3.2";
3635+ sha256 = "0fmnkvq1ky4dgyh1z2mvdal5pw103irvkf4p9d5x8wyl1nnylhs9";
35243636 libraryHaskellDepends = [ base ];
35253637 testHaskellDepends = [ base QuickCheck ];
3638+ doHaddock = false;
3639+ doCheck = false;
35263640 description = "Combinator library for splitting lists";
35273641 license = stdenv.lib.licenses.bsd3;
35283642 }) {};
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+ }) {};
35293689 "statistics" = callPackage
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
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
35353694 }:
35363695 mkDerivation {
35373696 pname = "statistics";
3538− version = "0.14.0.2";
3539− sha256 = "0y27gafkib0x0fn39qfn2rkgsfrm09ng35sbb5dwr7rclhnxz59l";
3540− revision = "2";
3541− editedCabalFile = "1bx70yqkn62ii17fjv3pig4hklrzkqd09zj67zzjiyjzmn04fir3";
3697+ version = "0.13.3.0";
3698+ sha256 = "1vc12c3mnpspbycwkl0b22jqrdbg9fpmr1fxdxlmqwl603qy0zvf";
35423699 libraryHaskellDepends = [
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
3700+ aeson base binary deepseq erf math-functions monad-par mwc-random
3701+ primitive vector vector-algorithms vector-binary-instances
35463702 ];
35473703 testHaskellDepends = [
3548− aeson base binary erf HUnit ieee754 math-functions mwc-random
3549− primitive QuickCheck test-framework test-framework-hunit
3704+ base binary erf HUnit ieee754 math-functions mwc-random primitive
3705+ QuickCheck test-framework test-framework-hunit
35503706 test-framework-quickcheck2 vector vector-algorithms
35513707 ];
3708+ doHaddock = false;
35523709 doCheck = false;
35533710 homepage = "https://github.com/bos/statistics";
35543711 description = "A library of statistical types, data, and functions";
3555− license = stdenv.lib.licenses.bsd2;
3712+ license = stdenv.lib.licenses.bsd3;
35563713 }) {};
35573714 "stm" = callPackage
35583715 ({ mkDerivation, array, base }:
35593716 mkDerivation {
35603717 pname = "stm";
3561− version = "2.4.5.0";
3562− sha256 = "19sr11a0hqikhvf561b38phz6k3zg9s157a0f5ffvghk7wcdpmri";
3718+ version = "2.4.4.1";
3719+ sha256 = "111kpy1d6f5c0bggh6hyfm86q5p8bq1qbqf6dw2x4l4dxnar16cg";
3720+ revision = "1";
3721+ editedCabalFile = "0kzw4rw9fgmc4qyxmm1lwifdyrx5r1356150xm14vy4mp86diks9";
35633722 libraryHaskellDepends = [ array base ];
3564− homepage = "https://wiki.haskell.org/Software_transactional_memory";
3723+ doHaddock = false;
3724+ doCheck = false;
35653725 description = "Software Transactional Memory";
35663726 license = stdenv.lib.licenses.bsd3;
35673727 }) {};
35683728 "stm-chans" = callPackage
3569− ({ mkDerivation, base, Cabal, stm }:
3729+ ({ mkDerivation, base, stm }:
35703730 mkDerivation {
35713731 pname = "stm-chans";
35723732 version = "3.0.0.4";
35733733 sha256 = "0f27sp09yha43xk9q55sc185jyjs5h7gq2dhsyx6bm9kz9dzqi13";
3574− revision = "1";
3575− editedCabalFile = "0v9axxcfszqdmf3dhjxy34ybh22x3r5c48mdnbvjh5i5lp7g7vp2";
3576− setupHaskellDepends = [ base Cabal ];
35773734 libraryHaskellDepends = [ base stm ];
3735+ doHaddock = false;
3736+ doCheck = false;
35783737 homepage = "http://code.haskell.org/~wren/";
35793738 description = "Additional types of channels for STM";
35803739 license = stdenv.lib.licenses.bsd3;
35813740 }) {};
35823741 "stm-conduit" = callPackage
35833742 ({ mkDerivation, async, base, cereal, cereal-conduit, conduit
3584− , conduit-extra, directory, doctest, exceptions, HUnit, monad-loops
3743+ , conduit-combinators, conduit-extra, directory, doctest, ghc-prim
3744+ , HUnit, lifted-async, lifted-base, monad-control, monad-loops
35853745 , QuickCheck, resourcet, stm, stm-chans, test-framework
35863746 , test-framework-hunit, test-framework-quickcheck2, transformers
3587− , unliftio
3747+ , void
35883748 }:
35893749 mkDerivation {
35903750 pname = "stm-conduit";
3591− version = "4.0.0";
3592− sha256 = "0paapljn7nqfzrx889y0n8sszci38mdiaxkgr0bb00ph9246rr7z";
3751+ version = "3.0.0";
3752+ sha256 = "02d83mji1rlijdn315q7fik6jy5q49fjwygd64c9kf4z0qy6cvyg";
3753+ revision = "1";
3754+ editedCabalFile = "0wmjqypqjw9irmpsmra6zbj1sa4l14xnx5xpaz2zvfsk4x90qyyg";
35933755 libraryHaskellDepends = [
3594− async base cereal cereal-conduit conduit conduit-extra directory
3595− exceptions monad-loops resourcet stm stm-chans transformers
3596− unliftio
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
35973759 ];
35983760 testHaskellDepends = [
3599− base conduit directory doctest HUnit QuickCheck resourcet stm
3600− stm-chans test-framework test-framework-hunit
3601− test-framework-quickcheck2 transformers unliftio
3761+ base conduit conduit-combinators directory doctest HUnit QuickCheck
3762+ resourcet stm stm-chans test-framework test-framework-hunit
3763+ test-framework-quickcheck2 transformers
36023764 ];
3765+ doHaddock = false;
3766+ doCheck = false;
36033767 homepage = "https://github.com/cgaebel/stm-conduit";
36043768 description = "Introduces conduits to channels, and promotes using conduits concurrently";
36053769 license = stdenv.lib.licenses.bsd3;
36063770 }) {};
36073771 "store" = callPackage
36083772 ({ mkDerivation, array, async, base, base-orphans
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
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
36173781 }:
36183782 mkDerivation {
36193783 pname = "store";
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
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
36383792 template-haskell text th-lift th-lift-instances th-orphans
36393793 th-reify-many th-utilities time transformers unordered-containers
36403794 vector void
36413795 ];
3796+ doHaddock = false;
36423797 doCheck = false;
36433798 homepage = "https://github.com/fpco/store#readme";
36443799 description = "Fast binary serialization";
36453800 license = stdenv.lib.licenses.mit;
36463801 }) {};
36473802 "store-core" = callPackage
3648− ({ mkDerivation, base, bytestring, ghc-prim, primitive, text
3803+ ({ mkDerivation, base, bytestring, fail, ghc-prim, primitive, text
36493804 , transformers
36503805 }:
36513806 mkDerivation {
36523807 pname = "store-core";
3653− version = "0.4.4";
3654− sha256 = "1489ydwmq3vd9lz193m5w277wvb9g74ssc1ncfjdry2g0y6czbjv";
3808+ version = "0.4.1";
3809+ sha256 = "1d34n2n9vjngxndkbxcqm07sg4cnaq6rlx013rhyjr3aybwqalhl";
36553810 libraryHaskellDepends = [
3656− base bytestring ghc-prim primitive text transformers
3811+ base bytestring fail ghc-prim primitive text transformers
36573812 ];
3813+ doHaddock = false;
3814+ doCheck = false;
36583815 homepage = "https://github.com/fpco/store#readme";
36593816 description = "Fast and lightweight binary serialization";
36603817 license = stdenv.lib.licenses.mit;
36613818 }) {};
36623819 "streaming-commons" = callPackage
3663− ({ mkDerivation, array, async, base, bytestring, deepseq, directory
3664− , gauge, hspec, network, process, QuickCheck, random, stm, text
3665− , transformers, unix, zlib
3820+ ({ mkDerivation, array, async, base, blaze-builder, bytestring
3821+ , deepseq, directory, hspec, network, process, QuickCheck, random
3822+ , stm, text, transformers, unix, zlib
36663823 }:
36673824 mkDerivation {
36683825 pname = "streaming-commons";
3669− version = "0.2.1.0";
3670− sha256 = "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq";
3826+ version = "0.1.17";
3827+ sha256 = "1abxyjkn8xc8d33yhqxy1ki01kpzf4hy55f167qg4vk2ig5kh2p5";
36713828 libraryHaskellDepends = [
3672− array async base bytestring directory network process random stm
3673− text transformers unix zlib
3829+ array async base blaze-builder bytestring directory network process
3830+ random stm text transformers unix zlib
36743831 ];
36753832 testHaskellDepends = [
3676− array async base bytestring deepseq hspec network QuickCheck text
3677− unix zlib
3833+ array async base blaze-builder bytestring deepseq hspec network
3834+ QuickCheck text unix zlib
36783835 ];
3679− benchmarkHaskellDepends = [ base bytestring deepseq gauge text ];
3836+ doHaddock = false;
3837+ doCheck = false;
36803838 homepage = "https://github.com/fpco/streaming-commons";
36813839 description = "Common lower-level functions needed by various streaming data libraries";
36823840 license = stdenv.lib.licenses.mit;
@@ -3685,10 +3843,12 @@ self: {
36853843 ({ mkDerivation, base, hspec, QuickCheck }:
36863844 mkDerivation {
36873845 pname = "stringbuilder";
3688− version = "0.5.1";
3689− sha256 = "1fh3csx1wcssn8xyvl4ip4aprh9l4qyz2kk8mgjvqvc0vb2bsy6q";
3846+ version = "0.5.0";
3847+ sha256 = "1ap95xphqnrhv64c2a137wqslkdmb2jjd9ldb17gs1pw48k8hrl9";
36903848 libraryHaskellDepends = [ base ];
36913849 testHaskellDepends = [ base hspec QuickCheck ];
3850+ doHaddock = false;
3851+ doCheck = false;
36923852 description = "A writer monad for multi-line string literals";
36933853 license = stdenv.lib.licenses.mit;
36943854 }) {};
@@ -3700,10 +3860,46 @@ self: {
37003860 sha256 = "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq";
37013861 libraryHaskellDepends = [ base ];
37023862 testHaskellDepends = [ base containers HUnit mtl ];
3863+ doHaddock = false;
3864+ doCheck = false;
37033865 homepage = "http://www.cs.uu.nl/wiki/GenericProgramming/SYB";
37043866 description = "Scrap Your Boilerplate";
37053867 license = stdenv.lib.licenses.bsd3;
37063868 }) {};
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+ }) {};
37073903 "tagged" = callPackage
37083904 ({ mkDerivation, base, deepseq, template-haskell, transformers
37093905 , transformers-compat
@@ -3712,48 +3908,76 @@ self: {
37123908 pname = "tagged";
37133909 version = "0.8.5";
37143910 sha256 = "16cdzh0bw16nvjnyyy5j9s60malhz4nnazw96vxb0xzdap4m2z74";
3715− revision = "2";
3716− editedCabalFile = "0r2knfcq0b4s652vlvlnfwxlc2mkc2ra9kl8bp4zdn1awmfy0ia5";
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";
37173931 libraryHaskellDepends = [
3718− base deepseq template-haskell transformers transformers-compat
3932+ attoparsec base blaze-builder bytestring case-insensitive conduit
3933+ conduit-extra data-default resourcet text transformers xml-conduit
37193934 ];
3720− homepage = "http://github.com/ekmett/tagged";
3721− description = "Haskell 98 phantom types to avoid unsafely passing dummy arguments";
3935+ testHaskellDepends = [
3936+ base bytestring conduit hspec HUnit QuickCheck resourcet text
3937+ ];
3938+ doHaddock = false;
3939+ doCheck = false;
3940+ homepage = "http://github.com/yihuang/tagstream-conduit";
3941+ description = "streamlined html tag parser";
37223942 license = stdenv.lib.licenses.bsd3;
37233943 }) {};
37243944 "tar" = callPackage
3725− ({ mkDerivation, array, base, bytestring, containers, criterion
3726− , deepseq, directory, filepath, time
3945+ ({ mkDerivation, array, base, bytestring, bytestring-handle
3946+ , containers, deepseq, directory, filepath, QuickCheck, tasty
3947+ , tasty-quickcheck, time
37273948 }:
37283949 mkDerivation {
37293950 pname = "tar";
3730− version = "0.5.1.0";
3731− sha256 = "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8";
3951+ version = "0.5.0.3";
3952+ sha256 = "18qq94j9bm91iswnxq2dm5dws5c7wm4k01q2rpf8py35cf3svnfq";
37323953 configureFlags = [ "-f-old-time" ];
37333954 libraryHaskellDepends = [
37343955 array base bytestring containers deepseq directory filepath time
37353956 ];
3736− benchmarkHaskellDepends = [
3737− array base bytestring containers criterion deepseq directory
3738− filepath time
3957+ testHaskellDepends = [
3958+ array base bytestring bytestring-handle containers deepseq
3959+ directory filepath QuickCheck tasty tasty-quickcheck time
37393960 ];
3961+ doHaddock = false;
37403962 doCheck = false;
37413963 description = "Reading, writing and manipulating \".tar\" archive files.";
37423964 license = stdenv.lib.licenses.bsd3;
37433965 }) {};
37443966 "tasty" = callPackage
3745− ({ mkDerivation, ansi-terminal, async, base, clock, containers, mtl
3746− , optparse-applicative, stm, tagged, unbounded-delays, unix
3747− , wcwidth
3967+ ({ mkDerivation, ansi-terminal, async, base, clock, containers
3968+ , deepseq, mtl, optparse-applicative, regex-tdfa, stm, tagged
3969+ , unbounded-delays, unix
37483970 }:
37493971 mkDerivation {
37503972 pname = "tasty";
3751− version = "1.1.0.2";
3752− sha256 = "1q3hsy1a6q8xng3m04hp1m10bwamihani30zi25cjhkhmyl4ads7";
3973+ version = "0.11.3";
3974+ sha256 = "1g5394akq4j7y93b7cqwqf9lacqh2k21rrj6srbnh2sg97ng7j1b";
37533975 libraryHaskellDepends = [
3754− ansi-terminal async base clock containers mtl optparse-applicative
3755− stm tagged unbounded-delays unix wcwidth
3976+ ansi-terminal async base clock containers deepseq mtl
3977+ optparse-applicative regex-tdfa stm tagged unbounded-delays unix
37563978 ];
3979+ doHaddock = false;
3980+ doCheck = false;
37573981 homepage = "https://github.com/feuerbach/tasty";
37583982 description = "Modern and extensible testing framework";
37593983 license = stdenv.lib.licenses.mit;
@@ -3765,27 +3989,18 @@ self: {
37653989 }:
37663990 mkDerivation {
37673991 pname = "tasty-ant-xml";
3768− version = "1.1.4";
3769− sha256 = "0v0gsb90kh6hwlgxbclzawsskywc6yf7n8xhiifia97l4y0yx2m8";
3992+ version = "1.1.1";
3993+ sha256 = "0asvz2jjk1zf3ylps1277kf4yy6bifascblsd3vjfk9k9rh52w3j";
37703994 libraryHaskellDepends = [
37713995 base containers directory filepath generic-deriving ghc-prim mtl
37723996 stm tagged tasty transformers xml
37733997 ];
3998+ doHaddock = false;
3999+ doCheck = false;
37744000 homepage = "http://github.com/ocharles/tasty-ant-xml";
37754001 description = "Render tasty output to XML for Jenkins";
37764002 license = stdenv.lib.licenses.bsd3;
37774003 }) {};
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− }) {};
37894004 "tasty-golden" = callPackage
37904005 ({ mkDerivation, async, base, bytestring, containers, deepseq
37914006 , directory, filepath, mtl, optparse-applicative, process, tagged
@@ -3793,8 +4008,8 @@ self: {
37934008 }:
37944009 mkDerivation {
37954010 pname = "tasty-golden";
3796− version = "2.3.2";
3797− sha256 = "0k3ibjhjc9vcwzrjnl4rnwvfm8l81q347nb7dgvcib6n5wm3s404";
4011+ version = "2.3.1.1";
4012+ sha256 = "0pcf5hsyp5mmbqn7krdm49jxpkjm6rb4j83j28f76h7q55dzm1wy";
37984013 libraryHaskellDepends = [
37994014 async base bytestring containers deepseq directory filepath mtl
38004015 optparse-applicative process tagged tasty temporary
@@ -3802,36 +4017,22 @@ self: {
38024017 testHaskellDepends = [
38034018 base directory filepath process tasty tasty-hunit temporary-rc
38044019 ];
4020+ doHaddock = false;
4021+ doCheck = false;
38054022 homepage = "https://github.com/feuerbach/tasty-golden";
38064023 description = "Golden tests support for tasty";
38074024 license = stdenv.lib.licenses.mit;
38084025 }) {};
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− }) {};
38274026 "tasty-hunit" = callPackage
3828− ({ mkDerivation, base, call-stack, tasty }:
4027+ ({ mkDerivation, base, tasty }:
38294028 mkDerivation {
38304029 pname = "tasty-hunit";
3831− version = "0.10.0.1";
3832− sha256 = "0j3hgga6c3s8h5snzivb8a75h96207ia2rlbxzj07xbf4zpkp44g";
3833− libraryHaskellDepends = [ base call-stack tasty ];
3834− homepage = "https://github.com/feuerbach/tasty";
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";
38354036 description = "HUnit support for the Tasty test framework";
38364037 license = stdenv.lib.licenses.mit;
38374038 }) {};
@@ -3847,25 +4048,25 @@ self: {
38474048 testHaskellDepends = [
38484049 base bytestring mtl tasty tasty-hunit tasty-quickcheck
38494050 ];
4051+ doHaddock = false;
4052+ doCheck = false;
38504053 homepage = "https://github.com/vincenthz/tasty-kat";
38514054 description = "Known Answer Tests (KAT) framework for tasty";
38524055 license = stdenv.lib.licenses.mit;
38534056 }) {};
38544057 "tasty-quickcheck" = callPackage
3855− ({ mkDerivation, base, optparse-applicative, pcre-light, QuickCheck
3856− , random, tagged, tasty, tasty-hunit
4058+ ({ mkDerivation, base, pcre-light, QuickCheck, tagged, tasty
4059+ , tasty-hunit
38574060 }:
38584061 mkDerivation {
38594062 pname = "tasty-quickcheck";
3860− version = "0.10";
3861− sha256 = "0vr6szbbz3s5461i0zr8zpq347zfvidfzv5gf3xwxhm0yk731z8h";
3862− revision = "1";
3863− editedCabalFile = "1ndkkywcqgb2wj339vgckjv5915da5kd4ixlkaww9fsba3qsrnwx";
3864− libraryHaskellDepends = [
3865− base optparse-applicative QuickCheck random tagged tasty
3866− ];
4063+ version = "0.8.4";
4064+ sha256 = "15rjxib5jmjq0hzj47x15kgp3awc73va4cy1pmpf7k3hvfv4qprn";
4065+ libraryHaskellDepends = [ base QuickCheck tagged tasty ];
38674066 testHaskellDepends = [ base pcre-light tasty tasty-hunit ];
3868− homepage = "https://github.com/feuerbach/tasty";
4067+ doHaddock = false;
4068+ doCheck = false;
4069+ homepage = "http://documentup.com/feuerbach/tasty";
38694070 description = "QuickCheck support for the Tasty test framework";
38704071 license = stdenv.lib.licenses.mit;
38714072 }) {};
@@ -3876,6 +4077,8 @@ self: {
38764077 version = "0.8.1";
38774078 sha256 = "1n66ngzllf3xrlqykwszlkwsi96n5nkm7xbpfq7774vpvfnafjri";
38784079 libraryHaskellDepends = [ async base smallcheck tagged tasty ];
4080+ doHaddock = false;
4081+ doCheck = false;
38794082 homepage = "http://documentup.com/feuerbach/tasty";
38804083 description = "SmallCheck support for the Tasty test framework";
38814084 license = stdenv.lib.licenses.mit;
@@ -3892,24 +4095,28 @@ self: {
38924095 base haskell-src-exts tasty template-haskell
38934096 ];
38944097 testHaskellDepends = [ base tasty-hunit ];
4098+ doHaddock = false;
4099+ doCheck = false;
38954100 homepage = "http://github.com/bennofs/tasty-th";
38964101 description = "Automatic tasty test case discovery using TH";
38974102 license = stdenv.lib.licenses.bsd3;
38984103 }) {};
38994104 "temporary" = callPackage
39004105 ({ mkDerivation, base, base-compat, directory, exceptions, filepath
3901− , random, tasty, tasty-hunit, transformers, unix
4106+ , tasty, tasty-hunit, transformers, unix
39024107 }:
39034108 mkDerivation {
39044109 pname = "temporary";
3905− version = "1.3";
3906− sha256 = "144qhwfwg37l3k313raf4ssiz16jbgwlm1nf4flgqpsbd69jji4c";
4110+ version = "1.2.1.1";
4111+ sha256 = "1wq0rc71mp0lw7pkpcbhglf636ni46xnlpsmx6yz8acmwmqj8xsm";
39074112 libraryHaskellDepends = [
3908− base directory exceptions filepath random transformers unix
4113+ base directory exceptions filepath transformers unix
39094114 ];
39104115 testHaskellDepends = [
39114116 base base-compat directory filepath tasty tasty-hunit unix
39124117 ];
4118+ doHaddock = false;
4119+ doCheck = false;
39134120 homepage = "https://github.com/feuerbach/temporary";
39144121 description = "Portable temporary file and directory support";
39154122 license = stdenv.lib.licenses.bsd3;
@@ -3925,34 +4132,31 @@ self: {
39254132 libraryHaskellDepends = [
39264133 base directory exceptions filepath transformers unix
39274134 ];
4135+ doHaddock = false;
4136+ doCheck = false;
39284137 homepage = "http://www.github.com/feuerbach/temporary";
39294138 description = "Portable temporary file and directory support for Windows and Unix, based on code from Cabal";
39304139 license = stdenv.lib.licenses.bsd3;
39314140 }) {};
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− }) {};
39424141 "test-framework" = callPackage
39434142 ({ mkDerivation, ansi-terminal, ansi-wl-pprint, base, containers
39444143 , hostname, old-locale, random, regex-posix, time, xml
39454144 }:
39464145 mkDerivation {
39474146 pname = "test-framework";
3948− version = "0.8.2.0";
3949− sha256 = "1hhacrzam6b8f10hyldmjw8pb7frdxh04rfg3farxcxwbnhwgbpm";
4147+ version = "0.8.1.1";
4148+ sha256 = "0wxjgdvb1c4ykazw774zlx86550848wbsvgjgcrdzcgbb9m650vq";
4149+ revision = "2";
4150+ editedCabalFile = "1mp1h0fzwxa3xxnbw33lp8hj0rb8vwkd712r5ak8ny5nmawh2c9y";
4151+ isLibrary = true;
4152+ isExecutable = true;
39504153 libraryHaskellDepends = [
39514154 ansi-terminal ansi-wl-pprint base containers hostname old-locale
39524155 random regex-posix time xml
39534156 ];
4157+ doHaddock = false;
39544158 doCheck = false;
3955− homepage = "http://haskell.github.io/test-framework/";
4159+ homepage = "https://batterseapower.github.io/test-framework/";
39564160 description = "Framework for running and organising tests, with HUnit and QuickCheck support";
39574161 license = stdenv.lib.licenses.bsd3;
39584162 }) {};
@@ -3968,6 +4172,8 @@ self: {
39684172 libraryHaskellDepends = [
39694173 base extensible-exceptions HUnit test-framework
39704174 ];
4175+ doHaddock = false;
4176+ doCheck = false;
39714177 homepage = "https://batterseapower.github.io/test-framework/";
39724178 description = "HUnit support for the test-framework package";
39734179 license = stdenv.lib.licenses.bsd3;
@@ -3980,11 +4186,11 @@ self: {
39804186 pname = "test-framework-quickcheck2";
39814187 version = "0.3.0.4";
39824188 sha256 = "0vj834337r6jzr3258cv68ly2sv5999mklpsrfngyk51kywsyqyp";
3983− revision = "1";
3984− editedCabalFile = "147ngmfdkskyg7mwsp5w73a4dbx3rp5s38bci3z03kn1m093lxff";
39854189 libraryHaskellDepends = [
39864190 base extensible-exceptions QuickCheck random test-framework
39874191 ];
4192+ doHaddock = false;
4193+ doCheck = false;
39884194 homepage = "http://haskell.github.io/test-framework/";
39894195 description = "QuickCheck-2 support for the test-framework package";
39904196 license = stdenv.lib.licenses.bsd3;
@@ -4001,24 +4207,34 @@ self: {
40014207 base haskell-src-exts language-haskell-extract regex-posix
40024208 template-haskell test-framework
40034209 ];
4210+ doHaddock = false;
4211+ doCheck = false;
40044212 homepage = "http://github.com/finnsson/test-generator";
40054213 description = "Automagically generate the HUnit- and Quickcheck-bulk-code using Template Haskell";
40064214 license = stdenv.lib.licenses.bsd3;
40074215 }) {};
40084216 "text" = callPackage
4009− ({ mkDerivation, array, base, binary, bytestring, deepseq, ghc-prim
4010− , integer-gmp
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
40114221 }:
40124222 mkDerivation {
40134223 pname = "text";
4014− version = "1.2.3.0";
4015− sha256 = "06iir7q99rnffzxi8gagn8w1k9m49368sbidgz634fv1gxib3q10";
4224+ version = "1.2.2.2";
4225+ sha256 = "1y9d0zjs2ls0c574mr5xw7y3y49s62sd3wcn9lhpwz8a6q352iii";
40164226 configureFlags = [ "-f-integer-simple" ];
40174227 libraryHaskellDepends = [
40184228 array base binary bytestring deepseq ghc-prim integer-gmp
40194229 ];
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;
40204236 doCheck = false;
4021− homepage = "https://github.com/haskell/text";
4237+ homepage = "https://github.com/bos/text";
40224238 description = "An efficient packed Unicode text type";
40234239 license = stdenv.lib.licenses.bsd2;
40244240 }) {};
@@ -4038,26 +4254,12 @@ self: {
40384254 random test-framework test-framework-hunit
40394255 test-framework-quickcheck2 text
40404256 ];
4257+ doHaddock = false;
40414258 doCheck = false;
40424259 homepage = "https://github.com/bos/text-icu";
40434260 description = "Bindings to the ICU library";
40444261 license = stdenv.lib.licenses.bsd3;
40454262 }) {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− }) {};
40614263 "tf-random" = callPackage
40624264 ({ mkDerivation, base, primitive, random, time }:
40634265 mkDerivation {
@@ -4065,6 +4267,8 @@ self: {
40654267 version = "0.5";
40664268 sha256 = "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f";
40674269 libraryHaskellDepends = [ base primitive random time ];
4270+ doHaddock = false;
4271+ doCheck = false;
40684272 description = "High-quality splittable pseudorandom number generator";
40694273 license = stdenv.lib.licenses.bsd3;
40704274 }) {};
@@ -4072,14 +4276,14 @@ self: {
40724276 ({ mkDerivation, base, containers, ghc-prim, template-haskell }:
40734277 mkDerivation {
40744278 pname = "th-abstraction";
4075− version = "0.2.8.0";
4076− sha256 = "0n17w4q2ykd0nica4sck2wng6md56rfad8x0icl0l8vnzb9nn4ya";
4077− revision = "1";
4078− editedCabalFile = "0yr4bj9ypbls0ysmwrgn2nsjb1xpsb12bjaiwbkzp6nf3kljwnnv";
4279+ version = "0.2.6.0";
4280+ sha256 = "0g42h6wnj2awc5ryhbvx009wd8w75pn66bjzsq1z4s3xajd2hbp5";
40794281 libraryHaskellDepends = [
40804282 base containers ghc-prim template-haskell
40814283 ];
40824284 testHaskellDepends = [ base containers template-haskell ];
4285+ doHaddock = false;
4286+ doCheck = false;
40834287 homepage = "https://github.com/glguy/th-abstraction";
40844288 description = "Nicer interface for reified information about data types";
40854289 license = stdenv.lib.licenses.isc;
@@ -4088,25 +4292,26 @@ self: {
40884292 ({ mkDerivation, base, containers, syb, template-haskell }:
40894293 mkDerivation {
40904294 pname = "th-expand-syns";
4091− version = "0.4.4.0";
4092− sha256 = "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc";
4295+ version = "0.4.3.0";
4296+ sha256 = "17b73q0d5r8xixhvdp0hv4ap96l7s3f2y0j5cknp81b1hyinivlz";
40934297 libraryHaskellDepends = [ base containers syb template-haskell ];
40944298 testHaskellDepends = [ base template-haskell ];
4299+ doHaddock = false;
4300+ doCheck = false;
40954301 homepage = "https://github.com/DanielSchuessler/th-expand-syns";
40964302 description = "Expands type synonyms in Template Haskell ASTs";
40974303 license = stdenv.lib.licenses.bsd3;
40984304 }) {};
40994305 "th-lift" = callPackage
4100− ({ mkDerivation, base, ghc-prim, template-haskell, th-abstraction
4101− }:
4306+ ({ mkDerivation, base, ghc-prim, template-haskell }:
41024307 mkDerivation {
41034308 pname = "th-lift";
4104− version = "0.7.10";
4105− sha256 = "13c89mr9g4jwrmqxx882ygr1lkvj1chw29p80qv2f3g5wnhlgkmr";
4106− libraryHaskellDepends = [
4107− base ghc-prim template-haskell th-abstraction
4108− ];
4309+ version = "0.7.7";
4310+ sha256 = "1dfb0z42vrmdx579lkam07ic03d3v5y19339a3ca0bwpprpzmihn";
4311+ libraryHaskellDepends = [ base ghc-prim template-haskell ];
41094312 testHaskellDepends = [ base ghc-prim template-haskell ];
4313+ doHaddock = false;
4314+ doCheck = false;
41104315 homepage = "http://github.com/mboes/th-lift";
41114316 description = "Derive Template Haskell's Lift class for datatypes";
41124317 license = stdenv.lib.licenses.bsd3;
@@ -4125,23 +4330,26 @@ self: {
41254330 testHaskellDepends = [
41264331 base bytestring containers QuickCheck template-haskell text vector
41274332 ];
4333+ doHaddock = false;
4334+ doCheck = false;
41284335 homepage = "http://github.com/bennofs/th-lift-instances/";
41294336 description = "Lift instances for template-haskell for common data types";
41304337 license = stdenv.lib.licenses.bsd3;
41314338 }) {};
41324339 "th-orphans" = callPackage
4133− ({ mkDerivation, base, hspec, hspec-discover, mtl, template-haskell
4134− , th-lift, th-lift-instances, th-reify-many
4340+ ({ mkDerivation, base, hspec, mtl, template-haskell, th-lift
4341+ , th-lift-instances, th-reify-many
41354342 }:
41364343 mkDerivation {
41374344 pname = "th-orphans";
4138− version = "0.13.6";
4139− sha256 = "0sfl3pn9kq9da3ji3lsgzgzy82vz6yvsg80dmakc1jvk7awycibp";
4345+ version = "0.13.4";
4346+ sha256 = "0cab6hmyii42p157jhm0sd5jzdlxms4ip2ncrmcmc47dl3pxk5gk";
41404347 libraryHaskellDepends = [
41414348 base mtl template-haskell th-lift th-lift-instances th-reify-many
41424349 ];
41434350 testHaskellDepends = [ base hspec template-haskell ];
4144− testToolDepends = [ hspec-discover ];
4351+ doHaddock = false;
4352+ doCheck = false;
41454353 description = "Orphan instances for TH datatypes";
41464354 license = stdenv.lib.licenses.bsd3;
41474355 }) {};
@@ -4157,6 +4365,8 @@ self: {
41574365 base containers mtl safe template-haskell th-expand-syns
41584366 ];
41594367 testHaskellDepends = [ base template-haskell ];
4368+ doHaddock = false;
4369+ doCheck = false;
41604370 homepage = "http://github.com/mgsloan/th-reify-many";
41614371 description = "Recurseively reify template haskell datatype info";
41624372 license = stdenv.lib.licenses.bsd3;
@@ -4177,6 +4387,8 @@ self: {
41774387 base bytestring containers directory filepath hspec primitive syb
41784388 template-haskell text th-orphans vector
41794389 ];
4390+ doHaddock = false;
4391+ doCheck = false;
41804392 homepage = "https://github.com/fpco/th-utilities#readme";
41814393 description = "Collection of useful functions for use with Template Haskell";
41824394 license = stdenv.lib.licenses.mit;
@@ -4185,38 +4397,36 @@ self: {
41854397 ({ mkDerivation, base, time }:
41864398 mkDerivation {
41874399 pname = "time-locale-compat";
4188− version = "0.1.1.4";
4189− sha256 = "0qmyxf8nz0q6brvplc4s2wsb1bbpq7kb65b69m503g9bgranblgj";
4400+ version = "0.1.1.3";
4401+ sha256 = "1vdcfr2hp9qh3ag90x6ikbdf42wiqpdylnplffna54bpnilbyi4i";
41904402 configureFlags = [ "-f-old-locale" ];
41914403 libraryHaskellDepends = [ base time ];
4404+ doHaddock = false;
4405+ doCheck = false;
41924406 homepage = "https://github.com/khibino/haskell-time-locale-compat";
4193− description = "Compatibile module for time-format locale";
4407+ description = "Compatibility of TimeLocale between old-locale and time-1.5";
41944408 license = stdenv.lib.licenses.bsd3;
41954409 }) {};
41964410 "tls" = callPackage
41974411 ({ mkDerivation, asn1-encoding, asn1-types, async, base, bytestring
4198− , cereal, criterion, cryptonite, data-default-class, hourglass
4199− , memory, mtl, network, QuickCheck, tasty, tasty-quickcheck
4200− , transformers, x509, x509-store, x509-validation
4412+ , cereal, cryptonite, data-default-class, hourglass, memory, mtl
4413+ , network, QuickCheck, tasty, tasty-quickcheck, transformers, x509
4414+ , x509-store, x509-validation
42014415 }:
42024416 mkDerivation {
42034417 pname = "tls";
4204− version = "1.4.1";
4205− sha256 = "1y083724mym28n6xfaz7pcc7zqxdhjpaxpbvzxfbs25qq2px3smv";
4418+ version = "1.3.11";
4419+ sha256 = "00r7zfkdzy7hi6nhzkirp8jjims4kikgjcm3z4a82kw78awqw01z";
42064420 libraryHaskellDepends = [
42074421 asn1-encoding asn1-types async base bytestring cereal cryptonite
42084422 data-default-class memory mtl network transformers x509 x509-store
42094423 x509-validation
42104424 ];
42114425 testHaskellDepends = [
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
4426+ base bytestring cereal cryptonite data-default-class hourglass mtl
4427+ QuickCheck tasty tasty-quickcheck x509 x509-validation
42194428 ];
4429+ doHaddock = false;
42204430 doCheck = false;
42214431 homepage = "http://github.com/vincenthz/hs-tls";
42224432 description = "TLS/SSL protocol native implementation (Server and Client)";
@@ -4226,23 +4436,29 @@ self: {
42264436 ({ mkDerivation, auto-update, base, clock, psqueues, tls }:
42274437 mkDerivation {
42284438 pname = "tls-session-manager";
4229− version = "0.0.0.2";
4230− sha256 = "0rvmln545vghsx8zhxp44f0f6pzma8cylarmfhhysy55ipywr1n5";
4439+ version = "0.0.0.1";
4440+ sha256 = "0bqv6wh771j7n8qqsh02v8c4byybfkr1027k6cz03mszvnz1q9k8";
4441+ revision = "1";
4442+ editedCabalFile = "0hnhxfqmvkkhf37rr2ir52xyd59070jjm6s6al0alsanid2m4p01";
42314443 libraryHaskellDepends = [ auto-update base clock psqueues tls ];
4444+ doHaddock = false;
4445+ doCheck = false;
42324446 description = "In-memory TLS session manager";
42334447 license = stdenv.lib.licenses.bsd3;
42344448 }) {};
42354449 "transformers-base" = callPackage
4236− ({ mkDerivation, base, base-orphans, stm, transformers
4237− , transformers-compat
4238− }:
4450+ ({ mkDerivation, base, stm, transformers, transformers-compat }:
42394451 mkDerivation {
42404452 pname = "transformers-base";
4241− version = "0.4.5.2";
4242− sha256 = "1s256bi0yh0x2hp2gwd30f3mg1cv53zz397dv1yhfsnfzmihrj6h";
4453+ version = "0.4.4";
4454+ sha256 = "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va";
4455+ revision = "1";
4456+ editedCabalFile = "196pr3a4lhgklyw6nq6rv1j9djwzmvx7xrpp58carxnb55gk06pv";
42434457 libraryHaskellDepends = [
4244− base base-orphans stm transformers transformers-compat
4458+ base stm transformers transformers-compat
42454459 ];
4460+ doHaddock = false;
4461+ doCheck = false;
42464462 homepage = "https://github.com/mvv/transformers-base";
42474463 description = "Lift computations from the bottom of a transformer stack";
42484464 license = stdenv.lib.licenses.bsd3;
@@ -4251,33 +4467,15 @@ self: {
42514467 ({ mkDerivation, base, ghc-prim, transformers }:
42524468 mkDerivation {
42534469 pname = "transformers-compat";
4254− version = "0.6.2";
4255− sha256 = "1gp4a8kvniwgm8947ghb4iwv4b7wd6ry4kvv4nfnym4agf5j41nw";
4256− configureFlags = [ "-ffive-three" ];
4470+ version = "0.5.1.4";
4471+ sha256 = "17yam0199fh9ndsn9n69jx9nvbsmymzzwbi23dck3dk4q57fz0fq";
42574472 libraryHaskellDepends = [ base ghc-prim transformers ];
4473+ doHaddock = false;
4474+ doCheck = false;
42584475 homepage = "http://github.com/ekmett/transformers-compat/";
4259− description = "A small compatibility shim for the transformers library";
4476+ description = "A small compatibility shim exposing the new types from transformers 0.3 and 0.4 to older Haskell platforms.";
42604477 license = stdenv.lib.licenses.bsd3;
42614478 }) {};
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− }) {};
42814479 "unbounded-delays" = callPackage
42824480 ({ mkDerivation, base }:
42834481 mkDerivation {
@@ -4285,6 +4483,8 @@ self: {
42854483 version = "0.1.1.0";
42864484 sha256 = "1ir9fghbrc214c97bwafk5ck6cacxz1pdnq4i18p604d1b8zg9wa";
42874485 libraryHaskellDepends = [ base ];
4486+ doHaddock = false;
4487+ doCheck = false;
42884488 homepage = "https://github.com/basvandijk/unbounded-delays";
42894489 description = "Unbounded thread delays and timeouts";
42904490 license = stdenv.lib.licenses.bsd3;
@@ -4293,9 +4493,13 @@ self: {
42934493 ({ mkDerivation, base, unix }:
42944494 mkDerivation {
42954495 pname = "unix-compat";
4296− version = "0.5.0.1";
4297− sha256 = "1gdf3h2knbymkivm784vq51mbcyj5y91r480awyxj5cw8gh9kwn2";
4496+ version = "0.4.3.1";
4497+ sha256 = "09vykw89x981fywy0w1pci2v8zy3ajyjwh9z2n610vjacmd1v03j";
4498+ revision = "2";
4499+ editedCabalFile = "0b5jicn8nm53yxxzwlvfcv4xp5rrqp98x5wwqh234wn9x44z54d2";
42984500 libraryHaskellDepends = [ base unix ];
4501+ doHaddock = false;
4502+ doCheck = false;
42994503 homepage = "http://github.com/jystic/unix-compat";
43004504 description = "Portable POSIX-compatibility layer";
43014505 license = stdenv.lib.licenses.bsd3;
@@ -4306,62 +4510,26 @@ self: {
43064510 }:
43074511 mkDerivation {
43084512 pname = "unix-time";
4309− version = "0.3.8";
4310− sha256 = "051slgpid5cxiaw203ky0ql3823h28fcjs08axkzd4265wrvv8fw";
4513+ version = "0.3.7";
4514+ sha256 = "1qdlc9raih8s0m3x8x3n7q3ngh4faw2alv9l78sp6gnx648k0c8i";
43114515 libraryHaskellDepends = [ base binary bytestring old-time ];
43124516 testHaskellDepends = [
43134517 base bytestring doctest hspec old-locale old-time QuickCheck time
43144518 ];
4519+ doHaddock = false;
4520+ doCheck = false;
43154521 description = "Unix time parser/formatter and utilities";
43164522 license = stdenv.lib.licenses.bsd3;
43174523 }) {};
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− }) {};
43514524 "unordered-containers" = callPackage
4352− ({ mkDerivation, base, ChasingBottoms, containers, deepseq
4353− , hashable, HUnit, QuickCheck, test-framework, test-framework-hunit
4354− , test-framework-quickcheck2
4355− }:
4525+ ({ mkDerivation, base, deepseq, hashable }:
43564526 mkDerivation {
43574527 pname = "unordered-containers";
4358− version = "0.2.9.0";
4359− sha256 = "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37";
4528+ version = "0.2.8.0";
4529+ sha256 = "1a7flszhhgyjn0nm9w7cm26jbf6vyx9ij1iij4sl11pjkwsqi8d4";
43604530 libraryHaskellDepends = [ base deepseq hashable ];
4361− testHaskellDepends = [
4362− base ChasingBottoms containers hashable HUnit QuickCheck
4363− test-framework test-framework-hunit test-framework-quickcheck2
4364− ];
4531+ doHaddock = false;
4532+ doCheck = false;
43654533 homepage = "https://github.com/tibbe/unordered-containers";
43664534 description = "Efficient hashing-based container types";
43674535 license = stdenv.lib.licenses.bsd3;
@@ -4372,9 +4540,11 @@ self: {
43724540 pname = "utf8-string";
43734541 version = "1.0.1.1";
43744542 sha256 = "0h7imvxkahiy8pzr8cpsimifdfvv18lizrb33k6mnq70rcx9w2zv";
4375− revision = "3";
4376− editedCabalFile = "02vhj5gykkqa2dyn7s6gn8is1b5fdn9xcqqvlls268g7cpv6rk38";
4543+ revision = "2";
4544+ editedCabalFile = "1b97s9picjl689hcz8scinv7c8k5iaal1livqr0l1l8yc4h0imhr";
43774545 libraryHaskellDepends = [ base bytestring ];
4546+ doHaddock = false;
4547+ doCheck = false;
43784548 homepage = "http://github.com/glguy/utf8-string/";
43794549 description = "Support for reading and writing UTF8 Strings";
43804550 license = stdenv.lib.licenses.bsd3;
@@ -4392,43 +4562,53 @@ self: {
43924562 libraryHaskellDepends = [
43934563 base binary bytestring deepseq hashable random text
43944564 ];
4565+ doHaddock = false;
43954566 doCheck = false;
43964567 homepage = "https://github.com/aslatter/uuid";
43974568 description = "Type definitions for Universally Unique Identifiers";
43984569 license = stdenv.lib.licenses.bsd3;
43994570 }) {};
44004571 "vault" = callPackage
4401− ({ mkDerivation, base, containers, hashable, semigroups
4402− , unordered-containers
4572+ ({ mkDerivation, base, containers, hashable, unordered-containers
44034573 }:
44044574 mkDerivation {
44054575 pname = "vault";
4406− version = "0.3.1.1";
4407− sha256 = "0a1fir7gvbj2w894daac5c4c3gy36r6c74yci78lb2nvk431b95j";
4576+ version = "0.3.0.7";
4577+ sha256 = "1w36ldr5iv0yiqbvibm7b1c66hf1ps5rbassz348zmi113d8k4cy";
44084578 libraryHaskellDepends = [
4409− base containers hashable semigroups unordered-containers
4579+ base containers hashable unordered-containers
44104580 ];
4581+ doHaddock = false;
4582+ doCheck = false;
44114583 homepage = "https://github.com/HeinrichApfelmus/vault";
44124584 description = "a persistent store for values of arbitrary types";
44134585 license = stdenv.lib.licenses.bsd3;
44144586 }) {};
44154587 "vector" = callPackage
4416− ({ mkDerivation, base, deepseq, ghc-prim, primitive }:
4588+ ({ mkDerivation, base, deepseq, ghc-prim, HUnit, primitive
4589+ , QuickCheck, random, template-haskell, test-framework
4590+ , test-framework-hunit, test-framework-quickcheck2, transformers
4591+ }:
44174592 mkDerivation {
44184593 pname = "vector";
44194594 version = "0.12.0.1";
44204595 sha256 = "0yrx2ypiaxahvaz84af5bi855hd3107kxkbqc8km29nsp5wyw05i";
4421− revision = "3";
4422− editedCabalFile = "0y5rh8k710i2a3p1h2rghvr5cfg78p5h0kbfi7ifxqqf6pzlyr1x";
4596+ revision = "1";
4597+ editedCabalFile = "1xjv8876kx9vh86w718vdaaai40pwnsiw8368c5h88ch8iqq10qb";
44234598 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;
44244604 doCheck = false;
44254605 homepage = "https://github.com/haskell/vector";
44264606 description = "Efficient Arrays";
44274607 license = stdenv.lib.licenses.bsd3;
44284608 }) {};
44294609 "vector-algorithms" = callPackage
4430− ({ mkDerivation, base, bytestring, containers, primitive
4431− , QuickCheck, vector
4610+ ({ mkDerivation, base, bytestring, containers, mtl, mwc-random
4611+ , primitive, QuickCheck, vector
44324612 }:
44334613 mkDerivation {
44344614 pname = "vector-algorithms";
@@ -4439,45 +4619,32 @@ self: {
44394619 isLibrary = true;
44404620 isExecutable = true;
44414621 libraryHaskellDepends = [ base bytestring primitive vector ];
4622+ executableHaskellDepends = [ base mtl mwc-random vector ];
44424623 testHaskellDepends = [
44434624 base bytestring containers QuickCheck vector
44444625 ];
4626+ doHaddock = false;
44454627 doCheck = false;
44464628 homepage = "http://code.haskell.org/~dolio/";
44474629 description = "Efficient algorithms for vector arrays";
44484630 license = stdenv.lib.licenses.bsd3;
44494631 }) {};
44504632 "vector-binary-instances" = callPackage
4451− ({ mkDerivation, base, binary, bytestring, criterion, deepseq
4452− , tasty, tasty-quickcheck, vector
4453− }:
4633+ ({ mkDerivation, base, binary, tasty, tasty-quickcheck, vector }:
44544634 mkDerivation {
44554635 pname = "vector-binary-instances";
4456− version = "0.2.4";
4457− sha256 = "1y236jb72iab9ska1mc48z6yb0xgwmj45laaqdyjxksd84z7hbrb";
4636+ version = "0.2.3.5";
4637+ sha256 = "0niad09lbxz3cj20qllyj92lwbc013ihw4lby8fv07x5xjx5a4p1";
44584638 revision = "1";
4459− editedCabalFile = "196frl4akhfk7xf1nxzn8lmq99dxhzhsimanswn9yy7ym8zhki4i";
4639+ editedCabalFile = "0yk61mifvcc31vancsfsd0vskqh5k3a3znx1rbz8wzcs4ijjzh48";
44604640 libraryHaskellDepends = [ base binary vector ];
44614641 testHaskellDepends = [ base binary tasty tasty-quickcheck vector ];
4462− benchmarkHaskellDepends = [
4463− base binary bytestring criterion deepseq vector
4464− ];
4642+ doHaddock = false;
4643+ doCheck = false;
44654644 homepage = "https://github.com/bos/vector-binary-instances";
44664645 description = "Instances of Data.Binary and Data.Serialize for vector";
44674646 license = stdenv.lib.licenses.bsd3;
44684647 }) {};
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− }) {};
44814648 "vector-instances" = callPackage
44824649 ({ mkDerivation, base, comonad, hashable, keys, pointed
44834650 , semigroupoids, semigroups, vector
@@ -4489,6 +4656,8 @@ self: {
44894656 libraryHaskellDepends = [
44904657 base comonad hashable keys pointed semigroupoids semigroups vector
44914658 ];
4659+ doHaddock = false;
4660+ doCheck = false;
44924661 homepage = "http://github.com/ekmett/vector-instances";
44934662 description = "Orphan Instances for 'Data.Vector'";
44944663 license = stdenv.lib.licenses.bsd3;
@@ -4501,6 +4670,8 @@ self: {
45014670 sha256 = "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy";
45024671 libraryHaskellDepends = [ base template-haskell vector ];
45034672 testHaskellDepends = [ base data-default vector ];
4673+ doHaddock = false;
4674+ doCheck = false;
45044675 description = "Deriver for Data.Vector.Unboxed using Template Haskell";
45054676 license = stdenv.lib.licenses.bsd3;
45064677 }) {};
@@ -4511,72 +4682,77 @@ self: {
45114682 version = "0.7.2";
45124683 sha256 = "0aygw0yb1h3yhmfl3bkwh5d3h0l4mmsxz7j53vdm6jryl1kgxzyk";
45134684 libraryHaskellDepends = [ base ];
4685+ doHaddock = false;
4686+ doCheck = false;
45144687 homepage = "http://github.com/ekmett/void";
45154688 description = "A Haskell 98 logically uninhabited data type";
45164689 license = stdenv.lib.licenses.bsd3;
45174690 }) {};
45184691 "wai" = callPackage
4519− ({ mkDerivation, base, bytestring, hspec, hspec-discover
4520− , http-types, network, text, transformers, vault
4692+ ({ mkDerivation, base, blaze-builder, bytestring
4693+ , bytestring-builder, hspec, http-types, network, text
4694+ , transformers, vault
45214695 }:
45224696 mkDerivation {
45234697 pname = "wai";
4524− version = "3.2.1.2";
4525− sha256 = "0jr3b2789wa4m6mxkz12ynz4lfsqmgbrcy0am8karyqr3x3528r8";
4698+ version = "3.2.1.1";
4699+ sha256 = "08afasnirja21vr0bmzcywz4w29x736dmdv7h8nnh1l8bn7sd02x";
45264700 libraryHaskellDepends = [
4527− base bytestring http-types network text transformers vault
4701+ base blaze-builder bytestring bytestring-builder http-types network
4702+ text transformers vault
45284703 ];
4529− testHaskellDepends = [ base bytestring hspec ];
4530− testToolDepends = [ hspec-discover ];
4704+ testHaskellDepends = [ base blaze-builder bytestring hspec ];
4705+ doHaddock = false;
4706+ doCheck = false;
45314707 homepage = "https://github.com/yesodweb/wai";
45324708 description = "Web Application Interface";
45334709 license = stdenv.lib.licenses.mit;
45344710 }) {};
45354711 "wai-conduit" = callPackage
4536− ({ mkDerivation, base, bytestring, conduit, http-types
4537− , transformers, wai
4712+ ({ mkDerivation, base, blaze-builder, bytestring, conduit
4713+ , http-types, transformers, wai
45384714 }:
45394715 mkDerivation {
45404716 pname = "wai-conduit";
4541− version = "3.0.0.4";
4542− sha256 = "07yn41rn2skd5p3wqqa09wa761vj7ibl8l19gh4bi4i8slxhk417";
4717+ version = "3.0.0.3";
4718+ sha256 = "1zvsiwjq2mvkb9sjgp3ly9m968m7a2jjzr4id6jpi3mmqykj15z4";
45434719 libraryHaskellDepends = [
4544− base bytestring conduit http-types transformers wai
4720+ base blaze-builder bytestring conduit http-types transformers wai
45454721 ];
4722+ doHaddock = false;
4723+ doCheck = false;
45464724 homepage = "https://github.com/yesodweb/wai";
45474725 description = "conduit wrappers for WAI";
45484726 license = stdenv.lib.licenses.mit;
45494727 }) {};
45504728 "warp" = callPackage
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
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
45544732 , http-types, http2, HUnit, iproute, lifted-base, network, process
45554733 , QuickCheck, silently, simple-sendfile, stm, streaming-commons
45564734 , text, time, transformers, unix, unix-compat, vault, wai, word8
45574735 }:
45584736 mkDerivation {
45594737 pname = "warp";
4560− version = "3.2.23";
4561− sha256 = "12v9qhi4hyp0sb90yddsax16jj7x47nmqwn53sv7b5nszcxgzam0";
4738+ version = "3.2.13";
4739+ sha256 = "0964l8xcbdqnrz0mnk0b732n66i7q8grwzzax96mqbh15ps5nfcj";
45624740 libraryHaskellDepends = [
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
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
45674745 ];
45684746 testHaskellDepends = [
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
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
45794753 ];
4754+ doHaddock = false;
4755+ doCheck = false;
45804756 homepage = "http://github.com/yesodweb/wai";
45814757 description = "A fast, light-weight web server for WAI applications";
45824758 license = stdenv.lib.licenses.mit;
@@ -4587,43 +4763,18 @@ self: {
45874763 }:
45884764 mkDerivation {
45894765 pname = "warp-tls";
4590− version = "3.2.4.3";
4591− sha256 = "17gj295fr98l7mkz2gdz6kahdnmja0sql3kvy2zab6q168g53kc4";
4766+ version = "3.2.4";
4767+ sha256 = "05vfjlgi574nnydfmfpyp3q6mf389iyj9mv94djnm8d1izasml85";
45924768 libraryHaskellDepends = [
45934769 base bytestring cryptonite data-default-class network
45944770 streaming-commons tls tls-session-manager wai warp
45954771 ];
4772+ doHaddock = false;
4773+ doCheck = false;
45964774 homepage = "http://github.com/yesodweb/wai";
45974775 description = "HTTP over TLS support for Warp via the TLS package";
45984776 license = stdenv.lib.licenses.mit;
45994777 }) {};
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− }) {};
46274778 "with-location" = callPackage
46284779 ({ mkDerivation, base, hspec }:
46294780 mkDerivation {
@@ -4632,35 +4783,22 @@ self: {
46324783 sha256 = "1rzxvsyh8x3ql3zh7gyw9hjx9bl4v73h0y5kzgaxcfcdn86dg49c";
46334784 libraryHaskellDepends = [ base ];
46344785 testHaskellDepends = [ base hspec ];
4786+ doHaddock = false;
4787+ doCheck = false;
46354788 homepage = "https://github.com/sol/with-location#readme";
46364789 description = "Use ImplicitParams-based source locations in a backward compatible way";
46374790 license = stdenv.lib.licenses.mit;
46384791 }) {};
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− }) {};
46554792 "word8" = callPackage
4656− ({ mkDerivation, base, bytestring, criterion, hspec }:
4793+ ({ mkDerivation, base, hspec }:
46574794 mkDerivation {
46584795 pname = "word8";
46594796 version = "0.1.3";
46604797 sha256 = "12jx7f13d2h1djq4fh4dyrab61sm49mj1w61j3rzp2vjfm696c16";
46614798 libraryHaskellDepends = [ base ];
46624799 testHaskellDepends = [ base hspec ];
4663− benchmarkHaskellDepends = [ base bytestring criterion ];
4800+ doHaddock = false;
4801+ doCheck = false;
46644802 description = "Word8 library";
46654803 license = stdenv.lib.licenses.bsd3;
46664804 }) {};
@@ -4671,10 +4809,10 @@ self: {
46714809 }:
46724810 mkDerivation {
46734811 pname = "x509";
4674− version = "1.7.3";
4675− sha256 = "0mkk29g32fs70bqkikg83v45h9jig9c8aail3mrdqwxpkfa0yx21";
4812+ version = "1.7.2";
4813+ sha256 = "0yyfw07bw73gkh93z653lnncc30wj3g3rf26cwxjpyxvwalia0yw";
46764814 revision = "1";
4677− editedCabalFile = "06zzirygvzp0ssdg9blipdwmd0b41p4gxh3ldai7ngjyjsdclwsx";
4815+ editedCabalFile = "07mphpmj4zk5mzhp5x50a7q6w134kgymf557dcgbp643cbkcmc66";
46784816 libraryHaskellDepends = [
46794817 asn1-encoding asn1-parse asn1-types base bytestring containers
46804818 cryptonite hourglass memory mtl pem
@@ -4683,6 +4821,8 @@ self: {
46834821 asn1-types base bytestring cryptonite hourglass mtl tasty
46844822 tasty-quickcheck
46854823 ];
4824+ doHaddock = false;
4825+ doCheck = false;
46864826 homepage = "http://github.com/vincenthz/hs-certificate";
46874827 description = "X509 reader and writer";
46884828 license = stdenv.lib.licenses.bsd3;
@@ -4694,13 +4834,15 @@ self: {
46944834 }:
46954835 mkDerivation {
46964836 pname = "x509-store";
4697− version = "1.6.6";
4698− sha256 = "0dbndqmnmyixxc7308nyq3zlkhz9dff4rbcw2a49c77rbicny9va";
4837+ version = "1.6.5";
4838+ sha256 = "1lg9gy0bmzjmlk4gfnzx2prfar1qha4hfjsw8yvjg33zm0fv3ahs";
46994839 libraryHaskellDepends = [
47004840 asn1-encoding asn1-types base bytestring containers cryptonite
47014841 directory filepath mtl pem x509
47024842 ];
47034843 testHaskellDepends = [ base bytestring tasty tasty-hunit x509 ];
4844+ doHaddock = false;
4845+ doCheck = false;
47044846 homepage = "http://github.com/vincenthz/hs-certificate";
47054847 description = "X.509 collection accessing and storing methods";
47064848 license = stdenv.lib.licenses.bsd3;
@@ -4717,29 +4859,34 @@ self: {
47174859 base bytestring containers directory filepath mtl pem process x509
47184860 x509-store
47194861 ];
4862+ doHaddock = false;
4863+ doCheck = false;
47204864 homepage = "http://github.com/vincenthz/hs-certificate";
47214865 description = "Handle per-operating-system X.509 accessors and storage";
47224866 license = stdenv.lib.licenses.bsd3;
47234867 }) {};
47244868 "x509-validation" = callPackage
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
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
47284872 }:
47294873 mkDerivation {
47304874 pname = "x509-validation";
4731− version = "1.6.10";
4732− sha256 = "1ms51scawldgyfcim5a2qlgyn3rnrclyh205d6djaa1569vrs73n";
4875+ version = "1.6.9";
4876+ sha256 = "005m5jxjz5cx3lriayv4a17xa19qc2qxw7kz2f9wvj7hgjnwww44";
47334877 revision = "1";
4734− editedCabalFile = "1isap8v1gh31q4pj3gn155ya8nd1da0a5a3cryqh4yhf0ivbwl0w";
4878+ editedCabalFile = "02n9s0wizi4wivs6is4cyapqjjnbrx3zdk34q0cnlfsvbbvyhjax";
47354879 libraryHaskellDepends = [
4736− asn1-encoding asn1-types base bytestring containers cryptonite
4737− data-default-class hourglass memory mtl pem x509 x509-store
4880+ asn1-encoding asn1-types base byteable bytestring containers
4881+ cryptonite data-default-class hourglass memory mtl pem x509
4882+ x509-store
47384883 ];
47394884 testHaskellDepends = [
47404885 asn1-encoding asn1-types base bytestring cryptonite
47414886 data-default-class hourglass tasty tasty-hunit x509 x509-store
47424887 ];
4888+ doHaddock = false;
4889+ doCheck = false;
47434890 homepage = "http://github.com/vincenthz/hs-certificate";
47444891 description = "X.509 Certificate and CRL validation";
47454892 license = stdenv.lib.licenses.bsd3;
@@ -4751,29 +4898,33 @@ self: {
47514898 version = "1.3.14";
47524899 sha256 = "0g814lj7vaxvib2g3r734221k80k7ap9czv9hinifn8syals3l9j";
47534900 libraryHaskellDepends = [ base bytestring text ];
4901+ doHaddock = false;
4902+ doCheck = false;
47544903 homepage = "http://code.galois.com";
47554904 description = "A simple XML library";
47564905 license = stdenv.lib.licenses.bsd3;
47574906 }) {};
47584907 "xml-conduit" = callPackage
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
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
47634912 }:
47644913 mkDerivation {
47654914 pname = "xml-conduit";
4766− version = "1.8.0";
4767− sha256 = "0di0ll2p4ykqnlipf2jrlalirxdf9wkli292245rgr3vcb9vz0h3";
4915+ version = "1.5.1";
4916+ sha256 = "0d4pb9d0mdz9djh8aiy5r8088rqh7w34mbqmg8mmaq1i7vx2dzks";
47684917 libraryHaskellDepends = [
4769− attoparsec base blaze-html blaze-markup bytestring conduit
4770− conduit-extra containers data-default-class deepseq monad-control
4918+ attoparsec base blaze-builder blaze-html blaze-markup bytestring
4919+ conduit conduit-extra containers data-default deepseq monad-control
47714920 resourcet text transformers xml-types
47724921 ];
47734922 testHaskellDepends = [
47744923 base blaze-markup bytestring conduit containers hspec HUnit
47754924 resourcet text transformers xml-types
47764925 ];
4926+ doHaddock = false;
4927+ doCheck = false;
47774928 homepage = "http://github.com/snoyberg/xml";
47784929 description = "Pure-Haskell utilities for dealing with XML with the conduit package";
47794930 license = stdenv.lib.licenses.mit;
@@ -4785,20 +4936,23 @@ self: {
47854936 version = "0.3.6";
47864937 sha256 = "1jgqxsa9p2q3h6nymbfmvhldqrqlwrhrzmwadlyc0li50x0d8dwr";
47874938 libraryHaskellDepends = [ base deepseq text ];
4939+ doHaddock = false;
4940+ doCheck = false;
47884941 homepage = "https://john-millikin.com/software/haskell-xml/";
47894942 description = "Basic types for representing XML";
47904943 license = stdenv.lib.licenses.mit;
47914944 }) {};
47924945 "yaml" = callPackage
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
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
47974951 }:
47984952 mkDerivation {
47994953 pname = "yaml";
4800− version = "0.8.32";
4801− sha256 = "0cbsyh4ilvjzq1q7pxls43k6pdqxg1l85xzibcwpbvmlvrizh86w";
4954+ version = "0.8.25";
4955+ sha256 = "16bx7vkj455796wdklh8h13zm98h5m81dl8np0sjbx9hcsrfdbyp";
48024956 isLibrary = true;
48034957 isExecutable = true;
48044958 libraryHaskellDepends = [
@@ -4806,27 +4960,51 @@ self: {
48064960 filepath resourcet scientific semigroups template-haskell text
48074961 transformers unordered-containers vector
48084962 ];
4963+ executableHaskellDepends = [ aeson base bytestring ];
48094964 testHaskellDepends = [
4810− aeson attoparsec base base-compat bytestring conduit containers
4811− directory filepath hspec HUnit mockery resourcet scientific
4812− semigroups template-haskell temporary text transformers
4965+ aeson aeson-qq base base-compat bytestring conduit directory hspec
4966+ HUnit mockery resourcet temporary text transformers
48134967 unordered-containers vector
48144968 ];
4815− homepage = "https://github.com/snoyberg/yaml#readme";
4969+ doHaddock = false;
4970+ doCheck = false;
4971+ homepage = "http://github.com/snoyberg/yaml/";
48164972 description = "Support for parsing and rendering YAML documents";
48174973 license = stdenv.lib.licenses.bsd3;
48184974 }) {};
48194975 "zlib" = callPackage
4820− ({ mkDerivation, base, bytestring, zlib }:
4976+ ({ mkDerivation, base, bytestring, QuickCheck, tasty, tasty-hunit
4977+ , tasty-quickcheck, zlib
4978+ }:
48214979 mkDerivation {
48224980 pname = "zlib";
4823− version = "0.6.2";
4824− sha256 = "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d";
4981+ version = "0.6.1.2";
4982+ sha256 = "1fx2k2qmgm2dj3fkxx2ry945fpdn02d4dkihjxma21xgdiilxsz4";
48254983 libraryHaskellDepends = [ base bytestring ];
48264984 librarySystemDepends = [ zlib ];
4985+ testHaskellDepends = [
4986+ base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck
4987+ ];
4988+ doHaddock = false;
48274989 doCheck = false;
48284990 description = "Compression and decompression in the gzip and zlib formats";
48294991 license = stdenv.lib.licenses.bsd3;
48304992 }) {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+ }) {};
48315009
48325010}
nix/lib.nix+1−1
@@ -23,7 +23,7 @@ rec {
2323 buildInputs = [ git ];
2424 installPhase = ''
2525 mkdir -p $out
26− git clone --bare --branch hackage https://github.com/commercialhaskell/all-cabal-hashes.git $out
26+ git clone --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.nixnew file+24
@@ -0,0 +1,24 @@
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+21−27
@@ -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.Char8 as B8
6+import Data.ByteString.Lazy as BSL
77import Data.Map as M
8−import Data.Tagged (Tagged(..))
98import 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.Parsec
13+import Distribution.PackageDescription.Parse
1414import Distribution.Text ( display )
1515import Git
1616import Git.Libgit2 as Libgit2
@@ -41,34 +41,28 @@ readPackageByHash repoDir sha1Hash = do
4141 let repoOpts = defaultRepositoryOptions { repoPath = repoDir }
4242 repo <- openLgRepository repoOpts
4343 buf <- runLgRepository repo $ do
44− oid <- parseOid sha1Hash
45− catBlob (Tagged oid)
46− parseCabal ("Git SHA1 " ++ show sha1Hash) buf
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)
4756
4857readPackageByName :: FilePath -> PackageIdentifier -> IO (GenericPackageDescription, SHA256Hash)
4958readPackageByName repoDir (PackageIdentifier name version) = do
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)
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)
7064 let
71− hash = NH.printSHA256 (SSL.digest (SSL.digestByName "sha256") blob)
65+ hash = NH.printSHA256 (SSL.digest (SSL.digestByName "sha256") buf)
7266 pkg = setCabalFileHash hash cabal
7367 return (pkg, hash)
7468
src/Distribution/Nixpkgs/Haskell/FromStack.hs+2−3
@@ -68,14 +68,14 @@ fromPackage conf pconf plan pkg =
6868 (haskellResolver conf)
6969 (targetPlatform conf)
7070 (targetCompiler conf)
71− (mkFlagAssignment flags)
71+ flags
7272 (planDependencies plan)
7373 (configureBenches . configureTests $ pkgCabal pkg)
7474 genericDrv = fromPackageDescription
7575 (haskellResolver conf)
7676 (nixpkgsResolver conf)
7777 missingDeps
78− (mkFlagAssignment flags)
78+ flags
7979 descr
8080 depName (Dependency name _) = name
8181 testDeps = setOf
@@ -97,5 +97,4 @@ 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)
101100 & runHaddock &&~ enableHaddock pconf
src/Distribution/Nixpkgs/Haskell/FromStack/Package.hs+1
@@ -5,6 +5,7 @@ import Data.Foldable as F
55import Data.Function (on)
66import Data.Graph (Graph, Vertex)
77import Data.Maybe
8+import Data.Monoid
89import Data.Ord as O
910import Distribution.Text (display, disp)
1011import Distribution.Package (unPackageName, packageName)
src/Distribution/Nixpkgs/Haskell/Packages/PrettyPrinting.hs−2
@@ -2,8 +2,6 @@ module Distribution.Nixpkgs.Haskell.Packages.PrettyPrinting where
22
33import Language.Nix.PrettyPrinting
44
5−import Prelude hiding ((<>))
6−
75compilerConfig :: Doc -> Doc
86compilerConfig body =
97 funargsCurried ["self", "super"] <+> body
src/Distribution/Nixpkgs/Haskell/Stack.hs+42−22
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12module Distribution.Nixpkgs.Haskell.Stack where
23
34import Control.Lens
@@ -8,7 +9,6 @@ import Distribution.Nixpkgs.Fetch
89import Distribution.Nixpkgs.Haskell.Derivation
910import Distribution.Nixpkgs.Haskell.FromCabal as FromCabal
1011import 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,25 +16,44 @@ 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
1926
2027data StackPackagesConfig = StackPackagesConfig
21− { _spcHaskellResolver :: HaskellResolver
22− , _spcNixpkgsResolver :: NixpkgsResolver
23− , _spcTargetPlatform :: Platform
24− , _spcTargetCompiler :: CompilerInfo
25− , _spcFlagAssignment :: FlagAssignment
26− , _spcDoCheckPackages :: Bool
27− , _spcDoHaddockPackages :: Bool
28+ { _spcHaskellResolver :: !HaskellResolver
29+ , _spcNixpkgsResolver :: !NixpkgsResolver
30+ , _spcTargetPlatform :: !Platform
31+ , _spcTargetCompiler :: !CompilerInfo
32+ , _spcFlagAssignment :: !FlagAssignment
33+ , _spcDoCheckPackages :: !Bool
34+ , _spcDoHaddockPackages :: !Bool
35+ , _spcDoCheckStackage :: !Bool
36+ , _spcDoHaddockStackage :: !Bool
2837 }
2938
3039makeLenses ''StackPackagesConfig
3140
32−getStackPackageFromDb :: DB.HackageDB -> StackPackage -> IO Package
33−getStackPackageFromDb hackageDb stackPackage = do
34− PackageSourceSpec.getPackage'
41+getStackPackageFromDb
42+ :: Maybe HackageDb
43+ -> StackPackage
44+ -> IO Package
45+getStackPackageFromDb optHackageDb stackPackage =
46+#if MIN_VERSION_cabal2nix(2,6,0)
47+ PackageSourceSpec.getPackage
3548 False
36− (pure hackageDb)
49+ (unHackageDb <$> optHackageDb)
50+ Nothing
51+ (stackLocationToSource (stackPackage ^. spLocation) (stackPackage ^. spDir))
52+#else
53+ PackageSourceSpec.getPackage
54+ (unHackageDb <$> optHackageDb)
3755 (stackLocationToSource (stackPackage ^. spLocation) (stackPackage ^. spDir))
56+#endif
3857
3958stackLocationToSource
4059 :: PackageLocation
@@ -42,22 +61,22 @@ stackLocationToSource
4261 -> Maybe FilePath
4362 -> Source
4463stackLocationToSource pl mCabalDir = case pl of
45− PlIndex p -> Source
46− { sourceUrl = "cabal://" ++ T.unpack (p ^. piNameVersion)
64+ HackagePackage p -> Source
65+ { sourceUrl = "cabal://" ++ T.unpack p
4766 , sourceRevision = mempty
4867 , sourceHash = UnknownHash
4968 , sourceCabalDir = cabalDir }
50− PlFilePath p -> Source
69+ StackFilePath p -> Source
5170 { sourceUrl = p
5271 , sourceRevision = mempty
5372 , sourceHash = UnknownHash
5473 , sourceCabalDir = cabalDir }
55− PlUri uri -> Source
74+ StackUri uri -> Source
5675 { sourceUrl = URI.uriToString id uri mempty
5776 , sourceRevision = mempty
5877 , sourceHash = UnknownHash
5978 , sourceCabalDir = cabalDir }
60− PlRepo r -> Source
79+ StackRepo r -> Source
6180 { sourceUrl = T.unpack $ r ^. rUri
6281 , sourceRevision = T.unpack $ r ^. rCommit
6382 , sourceHash = UnknownHash
@@ -67,17 +86,18 @@ stackLocationToSource pl mCabalDir = case pl of
6786
6887packageDerivation
6988 :: StackPackagesConfig
70− -> DB.HackageDB
89+ -> Maybe HackageDb
7190 -> StackPackage
7291 -> IO Derivation
73−packageDerivation conf hackageDb stackPackage = do
74− pkg <- getStackPackageFromDb hackageDb stackPackage
92+packageDerivation conf optHackageDb stackPackage = do
93+ pkg <- getStackPackageFromDb optHackageDb stackPackage
7594 let
7695 drv = genericPackageDerivation conf pkg
7796 & subpath %~ flip fromMaybe (stackPackage ^. spDir)
97+ isExtraDep = stackPackage ^. spExtraDep
7898 pconf = PackageConfig
79− { enableCheck = conf ^. spcDoCheckPackages
80− , enableHaddock = conf ^. spcDoHaddockPackages }
99+ { enableCheck = if isExtraDep then conf ^. spcDoCheckStackage else conf ^. spcDoCheckPackages
100+ , enableHaddock = if isExtraDep then conf ^. spcDoHaddockStackage else conf ^. spcDoHaddockPackages }
81101 return $ finalizePackage pkg pconf drv
82102
83103genericPackageDerivation
src/Distribution/Nixpkgs/Haskell/Stack/PrettyPrinting.hs+32−82
@@ -15,16 +15,13 @@ import Distribution.Text
1515import Distribution.Version (Version)
1616import qualified Language.Nix.FilePath as Nix
1717import Language.Nix.PrettyPrinting as PP
18−import Stack.Config (StackResolver, unStackResolver)
19−
20−import Prelude hiding ((<>))
2118
2219
2320data OverrideConfig = OverrideConfig
24− { _ocGhc :: Version
25− , _ocStackagePackages :: FilePath
26− , _ocStackageConfig :: FilePath
27− , _ocNixpkgs :: FilePath
21+ { _ocGhc :: !Version
22+ , _ocStackagePackages :: !FilePath
23+ , _ocStackageConfig :: !FilePath
24+ , _ocNixpkgs :: !FilePath
2825 }
2926
3027makeLenses ''OverrideConfig
@@ -32,11 +29,6 @@ makeLenses ''OverrideConfig
3229systemNixpkgs :: Doc
3330systemNixpkgs = "<nixpkgs>"
3431
35−renderNixpkgs :: FilePath -> Doc
36−renderNixpkgs nixpkgsPath
37− | fromString nixpkgsPath == systemNixpkgs = systemNixpkgs
38− | otherwise = disp $ (fromString nixpkgsPath :: Nix.FilePath)
39−
4032hasField :: Lens' a (Maybe b) -> a -> Bool
4133hasField p = views p isJust
4234
@@ -57,9 +49,14 @@ importStackageConfig path = hsep
5749 ["import ", disp (fromString path :: Nix.FilePath), "{ inherit pkgs haskellLib; }"]
5850
5951overrideHaskellPackages :: OverrideConfig -> NonEmpty Derivation -> Doc
60−overrideHaskellPackages oc packages = vcat
52+overrideHaskellPackages oc packages =
53+ let
54+ nixpkgs = if oc ^. ocNixpkgs . to fromString == systemNixpkgs
55+ then systemNixpkgs
56+ else (disp . (fromString :: FilePath -> Nix.FilePath)) (oc ^. ocNixpkgs)
57+ in vcat
6158 [ funargs
62− [ "nixpkgs ? import " <> renderNixpkgs (oc ^. ocNixpkgs) <> " {}"
59+ [ "nixpkgs ? import " <> nixpkgs <> " {}"
6360 ]
6461 , ""
6562 , "with nixpkgs;"
@@ -77,11 +74,11 @@ overrideHaskellPackages oc packages = vcat
7774 , nest 2 "inherit pkgs stdenv;"
7875 , nest 2 "inherit (self) callPackage;"
7976 , "};"
80− ]
77+ , ""
78+ ]
8179 , "in callPackage (nixpkgs.path + \"/pkgs/development/haskell-modules\") {"
8280 , nest 2 $ vcat
83− [ attr "ghc" ("pkgs.haskell.compiler." <> nixGhc)
84− , attr "buildHaskellPackages" ("buildPackages.haskell.packages." <> nixGhc)
81+ [ attr "ghc" ("pkgs.haskell.compiler." <> toNixGhcVersion (oc ^. ocGhc))
8582 , attr "compilerConfig" "self: extends pkgOverrides (stackageConfig self)"
8683 , attr "initialPackages" "stackagePackages"
8784 , attr "configurationCommon" "args: self: super: {}"
@@ -89,80 +86,33 @@ overrideHaskellPackages oc packages = vcat
8986 ]
9087 , "}"
9188 ]
92− where
93− nixGhc = toNixGhcVersion (oc ^. ocGhc)
9489
95−overrideStackage :: StackResolver -> FilePath -> NonEmpty Derivation -> Doc
96−overrideStackage stackResolver nixpkgsPath packages = vcat
90+pPrintHaskellPackages :: OverrideConfig -> Doc
91+pPrintHaskellPackages oc =
92+ let
93+ nixpkgs = if oc ^. ocNixpkgs . to fromString == systemNixpkgs
94+ then systemNixpkgs
95+ else (disp . (fromString :: FilePath -> Nix.FilePath)) (oc ^. ocNixpkgs)
96+ in vcat
9797 [ funargs
98− [ "nixpkgs ? import " <> renderNixpkgs nixpkgsPath <> " {}"
98+ [ "nixpkgs ? import " <> nixpkgs <> " {}"
9999 ]
100100 , ""
101− , "let"
101+ , "with nixpkgs; let"
102102 , nest 2 $ vcat
103− [ "stackPackages ="
104− , nest 2 $ overridePackages packages <> semi
105− ]
106− , "in nixpkgs.haskell.packages.stackage." <> toNixStackResolver stackResolver <> ".override {"
107− , nest 2
108− $ attr "packageSetConfig" "self: super: stackPackages { inherit (nixpkgs) pkgs stdenv; inherit (self) callPackage; } super"
109− , "}"
110− ]
111−
112−pPrintHaskellPackages :: OverrideConfig -> Doc
113−pPrintHaskellPackages oc = vcat
114− [ funargs
115− [ "callPackage"
116− , "buildPackages"
117− , "pkgs"
118− , "stdenv"
119− , "lib"
120− , "overrides ? (self: super: {})"
121− , "packageSetConfig ? (self: super: {})"
103+ [ attr "haskellLib" "callPackage (nixpkgs.path + /pkgs/development/haskell-modules/lib.nix) {}"
122104 ]
123− , ""
124− , "let"
105+ , "in callPackage (nixpkgs.path + /pkgs/development/haskell-modules) {"
125106 , nest 2 $ vcat
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− , ""
107+ [ attr "ghc" ("pkgs.haskell.compiler." <> toNixGhcVersion (oc ^. ocGhc))
141108 , attr "compilerConfig" . importStackageConfig $ oc ^. ocStackageConfig
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)))))"
109+ , attr "initialPackages" . importStackagePackages $ oc ^. ocStackagePackages
110+ , attr "configurationCommon" "if builtins.pathExists ./configuration-common.nix then import ./configuration-common.nix else args: self: super: {}"
111+ , "inherit haskellLib;"
147112 ]
148− , ""
149− , "in extensible-self"
113+ , "}"
150114 ]
151115
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−
161116toNixGhcVersion :: Version -> Doc
162−toNixGhcVersion = (<>) "ghc" . toNixVersion . show . disp
163−
164−toNixStackResolver :: StackResolver -> Doc
165−toNixStackResolver = toNixVersion . unStackResolver
166−
167−toNixVersion :: String -> Doc
168−toNixVersion = text . L.filter (/= '.')
117+toNixGhcVersion =
118+ (<>) "ghc" . text . L.filter (/= '.') . show . disp
src/LtsHaskell.hs+15−11
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12module LtsHaskell where
23
34import AllCabalHashes
@@ -23,7 +24,6 @@ import Stackage.BuildPlan
2324import Stackage.Types (SystemInfo(..))
2425import System.FilePath as Path
2526
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,17 +47,21 @@ 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)
5051 return $ Package source False pkgDesc
52+#else
53+ return $ Package source pkgDesc
54+#endif
5155
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
56+getPackageFromDb :: Maybe HackageDb -> PackageIdentifier -> IO Package
57+getPackageFromDb mHackageDb pkgId =
58+ getStackPackageFromDb mHackageDb
59+ $ StackPackage (HackagePackage (T.pack $ Text.display pkgId)) True Nothing
5660
57−loadPackage :: DB.HackageDB -> FilePath -> Maybe SHA1Hash -> PackageIdentifier -> IO Package
58−loadPackage hackageDb allCabalHashesPath mSha1Hash pkgId =
61+loadPackage :: Maybe HackageDb -> FilePath -> Maybe SHA1Hash -> PackageIdentifier -> IO Package
62+loadPackage mHackageDb allCabalHashesPath mSha1Hash pkgId =
5963 getPackageFromRepo allCabalHashesPath mSha1Hash pkgId
60− `catchIOError` const (getPackageFromDb hackageDb pkgId)
64+ `catchIOError` const (getPackageFromDb mHackageDb pkgId)
6165
6266ghcCompilerInfo :: Version -> CompilerInfo
6367ghcCompilerInfo v = CompilerInfo
@@ -73,18 +77,18 @@ buildPlanContainsDependency packageVersions (Dependency depName versionRange) =
7377 maybe False (`withinRange` versionRange) $ Map.lookup depName packageVersions
7478
7579buildPackageSetConfig
76− :: DB.HackageDB
80+ :: Maybe HackageDb
7781 -> FilePath
7882 -> FilePath
7983 -> BuildPlan
8084 -> IO PackageSetConfig
81−buildPackageSetConfig hackageDb optAllCabalHashes optNixpkgsRepository buildPlan = do
85+buildPackageSetConfig mHackageDb optAllCabalHashes optNixpkgsRepository buildPlan = do
8286 nixpkgs <- readNixpkgPackageMap optNixpkgsRepository Nothing
8387 let
8488 systemInfo = bpSystemInfo buildPlan
8589 packageVersions = fmap ppVersion (bpPackages buildPlan) `Map.union` siCorePackages systemInfo
8690 return PackageSetConfig
87− { packageLoader = loadPackage hackageDb optAllCabalHashes
91+ { packageLoader = loadPackage mHackageDb optAllCabalHashes
8892 , targetPlatform = Platform (siArch systemInfo) (siOS systemInfo)
8993 , targetCompiler = ghcCompilerInfo (siGhcVersion systemInfo)
9094 , nixpkgsResolver = resolve (Map.map (Set.map (over path ("pkgs":))) nixpkgs)
src/Runner.hs+70−132
@@ -3,17 +3,13 @@ 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 ((<>))
86import Distribution.Nixpkgs.Haskell.FromStack
97import Distribution.Nixpkgs.Haskell.FromStack.Package
10−import Distribution.Nixpkgs.Haskell.Hackage as DB
11−import Distribution.Nixpkgs.Haskell.PackageSourceSpec (loadHackageDB)
128import Distribution.Nixpkgs.Haskell.Stack
139import Distribution.Nixpkgs.Haskell.Stack.PrettyPrinting as PP
1410import Distribution.Version (Version)
1511import Distribution.Compiler (AbiTag(..), unknownCompilerInfo)
16−import Distribution.Package (PackageName, mkPackageName, pkgName)
12+import Distribution.Package (mkPackageName, pkgName)
1713import Distribution.Text as Text (display)
1814import Language.Nix as Nix
1915import Options.Applicative
@@ -25,110 +21,87 @@ import Stackage.Types
2521import System.IO (withFile, IOMode(..), hPutStrLn)
2622import Text.PrettyPrint.HughesPJClass (Doc, render)
2723
28−import qualified Data.List.NonEmpty as NE
29−import qualified Data.Map as Map
3024import qualified Data.Set as Set
25+import qualified Data.Map as Map
3126import qualified LtsHaskell as LH
3227
28+
3329run :: IO ()
3430run = do
3531 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−
4632 case opts ^. optConfigOrigin of
47− -- Generate Stackage packages from stack.yaml resolver
48− OriginStackYaml stackYaml buildTarget -> do
33+ -- Generate build derivation from stack.yaml file
34+ OriginStackYaml stackYaml -> do
4935 stackConf <- either fail pure =<< readStackConfig stackYaml
36+ let buildPlanFile = LH.buildPlanFilePath (opts ^. optLtsHaskellRepo) (stackConf ^. scResolver)
37+ buildPlan <- LH.loadBuildPlan buildPlanFile
38+ packageSetConfig <- LH.buildPackageSetConfig
39+ (opts ^. optHackageDb)
40+ (opts ^. optAllCabalHashesRepo)
41+ (opts ^. optNixpkgsRepository)
42+ buildPlan
5043 let
51− stackResolver = stackConf ^. scResolver
44+ overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
5245 stackPackagesConfig = mkStackPackagesConfig opts
53− stackExtraDepsConfig = stackPackagesConfig
54− & spcDoCheckPackages .~ False
55− & spcDoHaddockPackages .~ False
56− stackConfPackages <- traverse (fmap mkNode . packageDerivation stackPackagesConfig hackageDb)
46+ stackConfPackages <- traverse (packageDerivation stackPackagesConfig (opts ^. optHackageDb))
5747 $ stackConf ^. scPackages
58− stackConfExtraDeps <- traverse (fmap mkNode . packageDerivation stackExtraDepsConfig hackageDb)
59− $ stackConf ^. scExtraDeps
6048 let
61− stackConfAllPackages = maybe stackConfPackages ((<>) stackConfPackages)
62− $ NE.nonEmpty stackConfExtraDeps
63−
64− case buildTarget of
65− TargetStackageClosure -> do
66− (buildPlanFile, buildPlan, packageSetConfig) <- loadStackageBuildPlan hackageDb stackResolver opts sopts
67− let
68− overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
69− stackageSetConfig = if opts ^. optTweaks . tExtraDepsRevisionLatest
70− then extraDepsLatestConfig stackConfAllPackages packageSetConfig
71− else packageSetConfig
72− stackagePackages <- buildStackagePackages stackageSetConfig buildPlan
73− let
74− reachable = reachableDeps stackConfAllPackages
75− -- Nixpkgs generic-builder puts hscolour on path for all libraries
76− withHscolour pkgs =
77− let hscolour = F.find ((== "hscolour") . nodeName) stackagePackages
78− in maybe pkgs (`Set.insert` pkgs) hscolour
79− -- Find all reachable dependencies in stackage set to stick into
80− -- stackage packages file. This is performed on the full stackage
81− -- set rather than pruning stackage packages beforehand because
82− -- stackage does not concern itself with build tools while cabal2nix
83− -- does: pruning only after generating full set of packages allows
84− -- us to make sure all those extra dependencies are explicitly
85− -- listed as well.
86− nodes = Set.toAscList
87− $ withHscolour
88− $ flip reachableDependencies stackagePackages
89− -- Originally reachable nodes are root nodes
90− $ L.filter (\n -> mkPackageName (nodeName n) `Set.member` reachable) stackagePackages
91− writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
92− $ pPrintOutPackages (view nodeDerivation <$> nodes)
93− writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
94− $ pPrintOutConfig (bpSystemInfo buildPlan) nodes
95− writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
96− $ PP.overrideHaskellPackages overrideConfig (view nodeDerivation <$> stackConfAllPackages)
97−
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
115− writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
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)
49+ reachable = Set.map mkPackageName
50+ $ F.foldr1 Set.union
51+ $ nodeDepends . mkNode <$> stackConfPackages
52+ s2nLoader mHash pkgId =
53+ if pkgName pkgId `Set.member` reachable
54+ then packageLoader packageSetConfig Nothing pkgId
55+ else packageLoader packageSetConfig mHash pkgId
56+ s2nPackageSetConfig = packageSetConfig { packageLoader = s2nLoader }
57+ s2nPackageConfig = PackageConfig
58+ { enableCheck = opts ^. optDoCheckStackage
59+ , enableHaddock = opts ^. optDoHaddockStackage }
60+ stackagePackages <- traverse (uncurry (buildNode s2nPackageSetConfig s2nPackageConfig))
61+ $ Map.toAscList (bpPackages buildPlan)
62+ let
63+ -- Nixpkgs generic-builder puts hscolour on path for all libraries
64+ withHscolour pkgs =
65+ let hscolour = F.find ((== "hscolour") . nodeName) stackagePackages
66+ in maybe pkgs (`Set.insert` pkgs) hscolour
67+ -- Find all reachable dependencies in stackage set to stick into
68+ -- stackage packages file. This is performed on the full stackage
69+ -- set rather than pruning stackage packages beforehand because
70+ -- stackage does not concern itself with build tools while cabal2nix
71+ -- does: pruning only after generating full set of packages allows
72+ -- us to make sure all those extra dependencies are explicitly
73+ -- listed as well.
74+ nodes = case opts ^. optOutPackagesClosure of
75+ True -> Set.toAscList
76+ $ withHscolour
77+ $ flip reachableDependencies stackagePackages
78+ -- Originally reachable nodes are root nodes
79+ $ L.filter (\n -> mkPackageName (nodeName n) `Set.member` reachable) stackagePackages
80+ False -> stackagePackages
81+ writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
82+ $ pPrintOutPackages (view nodeDerivation <$> nodes)
83+ writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
84+ $ pPrintOutConfig (bpSystemInfo buildPlan) nodes
85+ writeOutFile (stackYaml ^. syFilePath) (opts ^. optOutDerivation)
86+ $ PP.overrideHaskellPackages overrideConfig stackConfPackages
12687
12788 -- Generate Stackage packages from resolver
12889 OriginResolver stackResolver -> do
129− (buildPlanFile, buildPlan, packageSetConfig) <- loadStackageBuildPlan hackageDb stackResolver opts sopts
130− nodes <- buildStackagePackages packageSetConfig buildPlan
90+ let
91+ buildPlanFile = LH.buildPlanFilePath (opts ^. optLtsHaskellRepo) stackResolver
92+ packageConfig = PackageConfig
93+ { enableCheck = True
94+ , enableHaddock = True }
95+ buildPlan <- LH.loadBuildPlan buildPlanFile
96+ packageSetConfig <- LH.buildPackageSetConfig
97+ (opts ^. optHackageDb)
98+ (opts ^. optAllCabalHashesRepo)
99+ (opts ^. optNixpkgsRepository)
100+ buildPlan
101+ nodes <- traverse (uncurry (buildNode packageSetConfig packageConfig))
102+ $ Map.toAscList (bpPackages buildPlan)
131103 let overrideConfig = mkOverrideConfig opts (siGhcVersion $ bpSystemInfo buildPlan)
104+
132105 writeOutFile buildPlanFile (opts ^. optOutStackagePackages)
133106 $ pPrintOutPackages (view nodeDerivation <$> nodes)
134107 writeOutFile buildPlanFile (opts ^. optOutStackageConfig)
@@ -136,43 +109,6 @@ run = do
136109 writeOutFile buildPlanFile (opts ^. optOutDerivation)
137110 $ PP.pPrintHaskellPackages overrideConfig
138111
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−
176112writeOutFile :: Show source => source -> FilePath -> Doc -> IO ()
177113writeOutFile source filePath contents =
178114 withFile filePath WriteMode $ \h -> do
@@ -192,6 +128,8 @@ mkStackPackagesConfig opts = StackPackagesConfig
192128 , _spcNixpkgsResolver = \i -> Just (Nix.binding # (i, Nix.path # [i]))
193129 , _spcTargetPlatform = opts ^. optPlatform
194130 , _spcTargetCompiler = unknownCompilerInfo (opts ^. optCompilerId) NoAbiTag
195− , _spcFlagAssignment = mempty
131+ , _spcFlagAssignment = []
196132 , _spcDoCheckPackages = opts ^. optDoCheckPackages
197− , _spcDoHaddockPackages = opts ^. optDoHaddockPackages }
133+ , _spcDoHaddockPackages = opts ^. optDoHaddockPackages
134+ , _spcDoCheckStackage = opts ^. optDoCheckStackage
135+ , _spcDoHaddockStackage = opts ^. optDoHaddockStackage }
src/Runner/Cli.hs+50−84
@@ -5,86 +5,69 @@ 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
89import Distribution.System as System
910import qualified Distribution.Text as Text
1011import Options.Applicative as Opts
1112import Paths_stackage2nix ( version )
1213import Stack.Config
1314import Stack.Types
15+import System.Environment
1416import System.FilePath
1517
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−
3118-- | Source that would be used to produce target derivation
3219data ConfigOrigin
3320 = OriginResolver StackResolver
3421 -- ^ Resolver to generate Stackage LTS
35− | OriginStackYaml StackYaml Target
22+ | OriginStackYaml StackYaml
3623 -- ^ Stack config to generate build derivation
3724 deriving (Show)
3825
3926makePrisms ''ConfigOrigin
4027
41−data StackageOptions = StackageOptions
42− { _soptAllCabalHashesRepo :: FilePath
43− , _soptLtsHaskellRepo :: FilePath
44− } deriving (Show)
45−
46−makeLenses ''StackageOptions
47−
4828data Options = Options
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
29+ { _optAllCabalHashesRepo :: FilePath
30+ , _optLtsHaskellRepo :: FilePath
31+ , _optOutStackagePackages :: FilePath
32+ , _optOutStackageConfig :: FilePath
33+ , _optOutPackagesClosure :: Bool
34+ , _optOutDerivation :: FilePath
35+ , _optDoCheckPackages :: Bool
36+ , _optDoHaddockPackages :: Bool
37+ , _optDoCheckStackage :: Bool
38+ , _optDoHaddockStackage :: Bool
39+ , _optHackageDb :: (Maybe HackageDb)
40+ , _optNixpkgsRepository :: FilePath
41+ , _optCompilerId :: CompilerId
42+ , _optPlatform :: Platform
43+ , _optConfigOrigin :: ConfigOrigin
6344 } deriving (Show)
6445
6546makeLenses ''Options
6647
48+envStackYaml :: IO (Maybe StackYaml)
49+envStackYaml = fmap mkStackYaml <$> lookupEnv "STACK_YAML"
50+
6751mkStackYaml :: FilePath -> StackYaml
6852mkStackYaml p = case splitFileName p of
6953 (dir, "") -> StackYaml dir "stack.yaml"
7054 (dir, ".") -> StackYaml dir "stack.yaml"
7155 (_ , "..") -> StackYaml p "stack.yaml"
72− (dir, file) -> case splitExtension file of
73− (_, "") -> StackYaml p "stack.yaml"
74− _ -> StackYaml dir file
56+ (dir, file) -> StackYaml dir file
7557
7658options :: Parser Options
7759options = Options
78− <$> optional allCabalHashesRepo
79− <*> optional ltsHaskellRepo
60+ <$> allCabalHashesRepo
61+ <*> ltsHaskellRepo
8062 <*> outStackagePackages
8163 <*> outStackageConfig
64+ <*> outPackagesClosure
8265 <*> outDerivation
83− <*> outStackYamlPackages
8466 <*> doCheckPackages
8567 <*> doHaddockPackages
86− <*> tweaks
87− <*> optional optionHackageDb
68+ <*> doCheckStackage
69+ <*> doHaddockStackage
70+ <*> optional hackageDb
8871 <*> nixpkgsRepository
8972 <*> compilerId
9073 <*> platform
@@ -134,6 +117,11 @@ outStackageConfig = option str
134117 <> value "configuration-packages.nix"
135118 <> showDefaultWith id)
136119
120+outPackagesClosure :: Parser Bool
121+outPackagesClosure = flag True False
122+ ( long "no-packages-closure"
123+ <> help "produce full set of stackage packages, not just dependencies" )
124+
137125outDerivation :: Parser FilePath
138126outDerivation = option str
139127 ( long "out-derivation"
@@ -142,14 +130,6 @@ outDerivation = option str
142130 <> value "default.nix"
143131 <> showDefaultWith id )
144132
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−
153133doCheckPackages :: Parser Bool
154134doCheckPackages = flag True False
155135 ( long "no-check"
@@ -160,23 +140,15 @@ doHaddockPackages = flag True False
160140 ( long "no-haddock"
161141 <> help "disable haddock for project packages")
162142
163−withStackage :: Parser ()
164−withStackage = flag' ()
165− ( long "with-stackage"
166− <> help "generate full Stackage" )
143+doCheckStackage :: Parser Bool
144+doCheckStackage = switch
145+ ( long "do-check-stackage"
146+ <> help "enable tests for Stackage packages" )
167147
168−withStackageClosure :: Parser ()
169−withStackageClosure = flag' ()
170− ( long "with-stackage-closure"
171− <> help "generate Stackage subset containing only build dependencies" )
172−
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
148+doHaddockStackage :: Parser Bool
149+doHaddockStackage = switch
150+ ( long "do-haddock-stackage"
151+ <> help "enable haddock for Stackage packages" )
180152
181153resolver :: Parser StackResolver
182154resolver = StackResolver <$> option text
@@ -188,24 +160,18 @@ stackYamlArg = mkStackYaml <$> Opts.argument str
188160 ( metavar "STACK_YAML"
189161 <> help "path to stack.yaml file or directory" )
190162
191−target :: Parser Target
192−target =
193− withStackage *> pure TargetStackagePackages <|>
194− withStackageClosure *> pure TargetStackageClosure <|>
195− pure TargetStackageOverride
196−
197163configOrigin :: Parser ConfigOrigin
198−configOrigin =
199− OriginStackYaml <$> stackYamlArg <*> target <|>
200− OriginResolver <$> resolver
164+configOrigin = OriginResolver <$> resolver
165+ <|> OriginStackYaml <$> stackYamlArg
201166
202−-- required for cabal2nix
167+-- inherited from cabal2nix
203168
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" )
169+hackageDb :: Parser HackageDb
170+hackageDb = HackageDb <$>
171+ option text
172+ ( long "hackage-db"
173+ <> metavar "HACKAGE_DB"
174+ <> help "path to the local hackage db in tar format" )
209175
210176cabalFlag :: Parser CabalFlag
211177cabalFlag = CabalFlag <$>
src/Stack/Config.hs+49−118
@@ -3,17 +3,19 @@
33module Stack.Config where
44
55import Control.Lens
6+import Data.Bifunctor
67import Data.ByteString as BS
78import Data.Coerce
8−import Data.List as L
9+import Data.Foldable as F
910import Data.List.NonEmpty as NE
1011import Data.Maybe
12+import Data.Semigroup (sconcat)
1113import Data.Text as T
1214import Data.Yaml
1315import Network.URI
1416import Stack.Config.Yaml as Yaml
1517import Stack.Types
16−import System.FilePath as FilePath
18+import System.FilePath
1719
1820
1921newtype StackResolver = StackResolver { fromStackResolver :: Text }
@@ -28,166 +30,95 @@ newtype Vcs = Vcs { fromVcs :: Text }
2830 deriving (Eq, Ord, Show)
2931
3032data Repo = Repo
31− { _rVcs :: Vcs
32− , _rUri :: Text
33− , _rCommit :: Text
33+ { _rVcs :: !Vcs
34+ , _rUri :: !Text
35+ , _rCommit :: !Text
3436 } deriving (Eq, Ord, Show)
3537
3638makeLenses ''Repo
3739
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−
5240data PackageLocation
53− = PlIndex PackageIndex
54− | PlFilePath FilePath
55− | PlUri URI
56− | PlRepo Repo
41+ = HackagePackage Text
42+ | StackFilePath FilePath
43+ | StackUri URI
44+ | StackRepo Repo
5745 deriving (Eq, Ord, Show)
5846
5947makePrisms ''PackageLocation
6048
6149data StackPackage = StackPackage
62− { _spLocation :: PackageLocation
63− , _spExtraDep :: Bool
50+ { _spLocation :: !PackageLocation
51+ , _spExtraDep :: !Bool
6452 -- | Subdirectory containing the cabal file if any specified.
65− , _spDir :: Maybe FilePath
53+ , _spDir :: !(Maybe FilePath)
6654 } deriving (Eq, Ord, Show)
6755
6856makeLenses ''StackPackage
6957
7058data StackConfig = StackConfig
71− { _scResolver :: StackResolver
72− , _scPackages :: NonEmpty StackPackage
73− , _scExtraDeps :: [StackPackage]
59+ { _scResolver :: !StackResolver
60+ , _scPackages :: !(NonEmpty StackPackage)
7461 } deriving (Eq, Ord, Show)
7562
7663makeLenses ''StackConfig
7764
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−
8665fromYamlConfig :: Yaml.Config -> StackConfig
8766fromYamlConfig c = StackConfig{..}
8867 where
8968 _scResolver = coerce $ c ^. cResolver
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
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
12475
125−-- Determine wether package is file path
126−isFilePath :: Text -> Bool
127−isFilePath = T.any (== FilePath.pathSeparator)
12876
129−-- | A single 'Yaml.Package' can result in multiple actual
130−-- packages if it has multiple subdirs specified.
13177fromYamlPackage
132− :: (Text -> StackPackage)
133− -> Bool
134− -> Yaml.Package
78+ :: Yaml.Package
79+ -- ^ A single 'Yaml.Package' can result in multiple actual
80+ -- packages if it has multiple subdirs specified.
13581 -> NonEmpty StackPackage
136−fromYamlPackage fromSimple isExtraDep = \case
137− Yaml.PSimple p ->
138− pure (fromSimple p)
139− Yaml.PLocationSimple (Location p extraDep ms) ->
82+fromYamlPackage = \case
83+ Yaml.Simple p ->
84+ unroll Nothing $ StackPackage (parseSimplePath p) False
85+ Yaml.LocationSimple (Location p extraDep ms) ->
14086 unroll ms $ StackPackage (parseSimplePath p) (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
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)
15191 where
152− mkStackPackageRepo f loc = unroll (loc ^. lSubdirs)
153− $ StackPackage (PlRepo (loc ^. lLocation . to f)) (fromMaybe isExtraDep $ loc ^. lExtraDep)
92+ parseSimplePath (T.unpack -> p) = maybe (StackFilePath p) StackUri $ parseURI p
15493 -- Each package gets a single directory with cabal file in it. If
15594 -- it's not specified, path is empty.
15695 unroll subs p = case subs of
15796 Just (x : xs) -> NE.map (p . Just) (x :| xs)
15897 _ -> p Nothing :| []
15998
99+fromYamlExtraDep :: Text -> StackPackage
100+fromYamlExtraDep t = StackPackage (HackagePackage t) True Nothing
101+
160102fromYamlGit :: Yaml.Git -> Repo
161−fromYamlGit yg = Repo
162− { _rVcs = Vcs "git"
163− , _rUri = yg ^. gGit
164− , _rCommit = yg ^. gCommit }
103+fromYamlGit yg = Repo{..}
104+ where
105+ _rVcs = Vcs "git"
106+ _rUri = yg ^. gGit
107+ _rCommit = yg ^. gCommit
165108
166109fromYamlHg :: Yaml.Hg -> Repo
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 }
110+fromYamlHg yh = Repo{..}
111+ where
112+ _rVcs = Vcs "hg"
113+ _rUri = yh ^. hHg
114+ _rCommit = yh ^. hCommit
183115
184116readStackConfig :: StackYaml -> IO (Either String StackConfig)
185117readStackConfig stackYaml = do
186118 let
187119 relativeToStackYaml = \case
188− PlFilePath p -> PlFilePath $ stackYaml ^. syDirName </> p
120+ StackFilePath p -> StackFilePath $ stackYaml ^. syDirName </> p
189121 packageLocation -> packageLocation
190122 mkStackConfig = over (scPackages . traversed . spLocation) relativeToStackYaml
191− . over (scExtraDeps . traversed . spLocation) relativeToStackYaml
192123 . fromYamlConfig
193− bimap show mkStackConfig . decodeEither' <$> BS.readFile (stackYaml ^. syFilePath)
124+ second mkStackConfig . decodeEither <$> BS.readFile (stackYaml ^. syFilePath)
src/Stack/Config/Yaml.hs+26−63
@@ -8,97 +8,60 @@ 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−deriveJSON jsonOpts ''Location
18−
19−data Archive = Archive
20− { _aArchive :: Text
21− , _aSha256 :: Maybe Text
22− , _aSubdirs :: Maybe [FilePath]
23− } deriving (Eq, Show)
2417
25−makeLenses ''Archive
26−deriveJSON jsonOpts ''Archive
18+deriveJSON jsonOpts ''Location
2719
2820data Git = Git
29− { _gGit :: Text
30− , _gCommit :: Text
21+ { _gGit :: !Text
22+ , _gCommit :: !Text
3123 } deriving (Eq, Show)
3224
3325makeLenses ''Git
26+
3427deriveJSON jsonOpts ''Git
3528
3629data Hg = Hg
37− { _hHg :: Text
38− , _hCommit :: Text
30+ { _hHg :: !Text
31+ , _hCommit :: !Text
3932 } deriving (Eq, Show)
4033
4134makeLenses ''Hg
42−deriveJSON jsonOpts ''Hg
43−
44−-- New syntax
4535
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
36+deriveJSON jsonOpts ''Hg
6337
6438data Package
65− = PSimple Text
66− | PLocationSimple (Location Text)
67− | PLocationGit (Location Git)
68− | PLocationHg (Location Hg)
69− | PArchive Archive
70− | PNewGit NewGit
71− | PNewHg NewHg
39+ = Simple Text
40+ | LocationSimple (Location Text)
41+ | LocationGit (Location Git)
42+ | LocationHg (Location Hg)
7243 deriving (Eq, Show)
7344
7445makePrisms ''Package
7546
7647instance FromJSON Package where
7748 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)
49+ (Simple <$> parseJSON v) <|>
50+ (LocationSimple <$> parseJSON v) <|>
51+ (LocationGit <$> parseJSON v) <|>
52+ (LocationHg <$> parseJSON v)
8553
8654instance ToJSON Package where
8755 toJSON = \case
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
56+ Simple t -> toJSON t
57+ LocationSimple t -> toJSON t
58+ LocationGit t -> toJSON t
59+ LocationHg t -> toJSON t
60+
9861data Config = Config
99− { _cResolver :: Text
100− , _cPackages :: Maybe [Package]
101− , _cExtraDeps :: Maybe [Package]
62+ { _cResolver :: !Text
63+ , _cPackages :: !(Maybe [Package])
64+ , _cExtraDeps :: !(Maybe [Text])
10265 } deriving (Eq, Show)
10366
10467makeLenses ''Config
src/Stack/Types.hs+4−2
@@ -1,3 +1,5 @@
1+{-# LANGUAGE TemplateHaskell #-}
2+
13module Stack.Types where
24
35import Control.Lens
@@ -6,8 +8,8 @@ import System.FilePath
68
79
810data StackYaml = StackYaml
9− { _syDirName :: FilePath
10− , _syFileName :: FilePath }
11+ { _syDirName :: !FilePath
12+ , _syFileName :: !FilePath }
1113 deriving (Ord, Eq, Show)
1214
1315makeLenses ''StackYaml
stack-ghc-7103.yamlnew file+26
@@ -0,0 +1,26 @@
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.yamlnew file+7
@@ -0,0 +1,7 @@
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.yamlnew file+4
@@ -0,0 +1,4 @@
1+resolver: nightly-2017-11-24
2+extra-deps:
3+ - cabal2nix-2.5
4+ - hackage-db-1.22
stack-ghc-822.yamlnew file+1
@@ -0,0 +1 @@
1+resolver: lts-10.0
stack.yamlmode 100644 → 120000+1−11
@@ -1,11 +0,0 @@
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−
@@ -0,0 +1 @@
1+stack-ghc-822.yaml
stackage2nix.cabal+4−7
@@ -1,5 +1,5 @@
11name: stackage2nix
2−version: 0.7.2
2+version: 0.5.0
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 > 2.2
34+ , Cabal > 1.24
3535 , QuickCheck
3636 , aeson
3737 , bytestring
38− , cabal2nix >= 2.7.2
38+ , cabal2nix >= 2.5
3939 , containers
4040 , deepseq
4141 , distribution-nixpkgs >= 1.1
@@ -51,7 +51,6 @@ library
5151 , optparse-applicative
5252 , pretty
5353 , stackage-curator >= 0.15
54− , tagged
5554 , text
5655 , unordered-containers
5756 , yaml
@@ -60,7 +59,7 @@ library
6059 , RecordWildCards
6160 , TemplateHaskell
6261 default-language: Haskell2010
63− ghc-options: -Wall
62+ ghc-options: -Wall -funbox-strict-fields
6463
6564executable stackage2nix
6665 hs-source-dirs: stackage2nix
@@ -78,7 +77,6 @@ test-suite spec
7877 , Cabal
7978 , bytestring
8079 , hspec
81− , network-uri
8280 , pretty
8381 , shakespeare
8482 , stackage2nix
@@ -88,7 +86,6 @@ test-suite spec
8886 other-modules: Language.Nix.FilePathSpec
8987 , PrettyPrintingSpec
9088 , Stack.Config.YamlSpec
91− , Stack.ConfigSpec
9289 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
9390 default-language: Haskell2010
9491
test/Stack/Config/YamlSpec.hs+13−97
@@ -1,7 +1,7 @@
11{-# LANGUAGE OverloadedStrings #-}
22{-# LANGUAGE QuasiQuotes #-}
33
4−module Stack.Config.YamlSpec (spec) where
4+module Stack.Config.YamlSpec where
55
66import Data.ByteString
77import Data.Text.Encoding as T
@@ -39,48 +39,10 @@ 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−
8042configMinimal :: Config
8143configMinimal = Config
8244 { _cResolver = "lts-8.15"
83− , _cPackages = Just [ PSimple "." ]
45+ , _cPackages = Just [ Simple "." ]
8446 , _cExtraDeps = Nothing
8547 }
8648
@@ -88,73 +50,27 @@ config :: Config
8850config = Config
8951 { _cResolver = "lts-3.7"
9052 , _cPackages = Just
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
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
9557 (Git
9658 "git@github.com:commercialhaskell/stack.git"
9759 "6a86ee32e5b869a877151f74064572225e1a0398")
9860 Nothing Nothing
99− , PLocationGit (Location
61+ , LocationGit (Location
10062 (Git
10163 "git@github.com:example/mega-repo"
10264 "6a86ee32e5b869a877151f74064572225e1a0000")
10365 Nothing (Just ["subdir1", "subdir2"]))
10466 ]
10567 , _cExtraDeps = Just
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− ]
68+ ["acme-missiles-0.3"]
14869 }
14970
15071spec :: Spec
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'
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
test/Stack/ConfigSpec.hsdeleted−191
@@ -1,191 +0,0 @@
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− }