dhall-haskell/nix/hnix.nix
Gabriel Gonzalez d77a9f4e43
Restore dhall-nix to build against Hackage (#1000)
Now that `hnix-0.6.1` is out `dhall-nix` can be built against recent
versions of Hackage packages and will be uploaded as part of the
next release
2019-06-10 08:29:05 -07:00

64 lines
3.1 KiB
Nix

{ mkDerivation, aeson, array, base, base16-bytestring, binary
, bytestring, comonad, containers, contravariant, criterion
, cryptohash-md5, cryptohash-sha1, cryptohash-sha256
, cryptohash-sha512, data-fix, deepseq, dependent-sum
, deriving-compat, Diff, directory, exceptions, filepath, free
, generic-random, Glob, hashable, hashing, haskeline, hedgehog
, hnix-store-core, http-client, http-client-tls, http-types
, interpolate, lens-family, lens-family-core, lens-family-th
, logict, megaparsec, monad-control, monadlist, mtl
, optparse-applicative, parser-combinators, pretty-show
, prettyprinter, process, ref-tf, regex-tdfa, regex-tdfa-text
, repline, scientific, semigroups, serialise, split, stdenv, syb
, tasty, tasty-hedgehog, tasty-hunit, tasty-quickcheck, tasty-th
, template-haskell, text, these, time, transformers
, transformers-base, unix, unordered-containers, vector, xml
}:
mkDerivation {
pname = "hnix";
version = "0.6.1";
sha256 = "914b98e6d3e0c7f17308b3a459cae8eb717ade65c75983edac08fd5173e3e960";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson array base base16-bytestring binary bytestring comonad
containers contravariant cryptohash-md5 cryptohash-sha1
cryptohash-sha256 cryptohash-sha512 data-fix deepseq dependent-sum
deriving-compat directory exceptions filepath free hashable hashing
haskeline hnix-store-core http-client http-client-tls http-types
interpolate lens-family lens-family-core lens-family-th logict
megaparsec monad-control monadlist mtl optparse-applicative
parser-combinators pretty-show prettyprinter process ref-tf
regex-tdfa regex-tdfa-text scientific semigroups serialise split
syb template-haskell text these time transformers transformers-base
unix unordered-containers vector xml
];
executableHaskellDepends = [
aeson base base16-bytestring bytestring comonad containers
cryptohash-md5 cryptohash-sha1 cryptohash-sha256 cryptohash-sha512
data-fix deepseq exceptions filepath free hashing haskeline mtl
optparse-applicative pretty-show prettyprinter ref-tf repline
serialise template-haskell text time transformers
unordered-containers
];
testHaskellDepends = [
base base16-bytestring bytestring containers cryptohash-md5
cryptohash-sha1 cryptohash-sha256 cryptohash-sha512 data-fix
deepseq dependent-sum Diff directory exceptions filepath
generic-random Glob hashing hedgehog interpolate megaparsec mtl
optparse-applicative pretty-show prettyprinter process serialise
split tasty tasty-hedgehog tasty-hunit tasty-quickcheck tasty-th
template-haskell text time transformers unix unordered-containers
];
benchmarkHaskellDepends = [
base base16-bytestring bytestring containers criterion
cryptohash-md5 cryptohash-sha1 cryptohash-sha256 cryptohash-sha512
data-fix deepseq exceptions filepath hashing mtl
optparse-applicative serialise template-haskell text time
transformers unordered-containers
];
homepage = "https://github.com/haskell-nix/hnix#readme";
description = "Haskell implementation of the Nix language";
license = stdenv.lib.licenses.bsd3;
}