35 lines
1.5 KiB
Nix
35 lines
1.5 KiB
Nix
|
{ mkDerivation, aeson, attoparsec, base, bytestring
|
||
|
, case-insensitive, conduit, conduit-extra, containers, cryptonite
|
||
|
, data-ordlist, deepseq, fetchgit, hashable, http-client
|
||
|
, http-conduit, http-types, lens, lib, memory, QuickCheck
|
||
|
, quickcheck-unicode, regex-posix, resourcet, scientific, tasty
|
||
|
, tasty-hunit, tasty-quickcheck, template-haskell, text, time
|
||
|
, transformers, unordered-containers, xml-conduit, xml-types
|
||
|
}:
|
||
|
mkDerivation {
|
||
|
pname = "amazonka-core";
|
||
|
version = "2.0";
|
||
|
src = fetchgit {
|
||
|
url = "https://github.com/brendanhay/amazonka.git";
|
||
|
sha256 = "1wq0wyk6mgrcx3jr6js7s1y80bz8d8sv81p1b4k5wjwf17yv6rk6";
|
||
|
rev = "f610f8c95e190edf86606c5f86485d198671beb0";
|
||
|
fetchSubmodules = true;
|
||
|
};
|
||
|
postUnpack = "sourceRoot+=/lib/amazonka-core; echo source root reset to $sourceRoot";
|
||
|
libraryHaskellDepends = [
|
||
|
aeson attoparsec base bytestring case-insensitive conduit
|
||
|
conduit-extra containers cryptonite deepseq hashable http-client
|
||
|
http-conduit http-types lens memory regex-posix resourcet
|
||
|
scientific text time transformers unordered-containers xml-conduit
|
||
|
xml-types
|
||
|
];
|
||
|
testHaskellDepends = [
|
||
|
aeson base bytestring case-insensitive conduit data-ordlist
|
||
|
http-conduit http-types QuickCheck quickcheck-unicode tasty
|
||
|
tasty-hunit tasty-quickcheck template-haskell text time
|
||
|
];
|
||
|
homepage = "https://github.com/brendanhay/amazonka";
|
||
|
description = "Core data types and functionality for Amazonka libraries";
|
||
|
license = lib.licenses.mpl20;
|
||
|
}
|