2019-09-04 18:47:05 +03:00
|
|
|
{ mkDerivation, aeson, base, bytestring, conduit, containers
|
|
|
|
, cryptohash-sha256, directory, doctest, errors, filepath, github
|
|
|
|
, hex, hpack, http-conduit, iso8601-time, lifted-base, mtl
|
2019-03-31 23:54:29 +03:00
|
|
|
, neat-interpolation, optparse-applicative, parsec, parsers
|
2019-09-04 18:47:05 +03:00
|
|
|
, polysemy, regex-applicative-text, shelly, stdenv
|
|
|
|
, template-haskell, text, time, transformers, typed-process, unix
|
|
|
|
, vector, xdg-basedir, zlib
|
2019-03-31 23:54:29 +03:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "nixpkgs-update";
|
|
|
|
version = "0.2.0";
|
|
|
|
src = ./.;
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryToolDepends = [ hpack ];
|
|
|
|
executableHaskellDepends = [
|
2019-09-04 18:47:05 +03:00
|
|
|
aeson base bytestring conduit containers cryptohash-sha256
|
|
|
|
directory errors filepath github hex http-conduit iso8601-time
|
2019-03-31 23:54:29 +03:00
|
|
|
lifted-base mtl neat-interpolation optparse-applicative parsec
|
2019-09-04 18:47:05 +03:00
|
|
|
parsers polysemy regex-applicative-text shelly template-haskell
|
|
|
|
text time transformers typed-process unix vector xdg-basedir zlib
|
2019-03-31 23:54:29 +03:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
2019-09-04 18:47:05 +03:00
|
|
|
aeson base bytestring conduit containers cryptohash-sha256
|
|
|
|
directory doctest errors filepath github hex http-conduit
|
|
|
|
iso8601-time lifted-base mtl neat-interpolation
|
|
|
|
optparse-applicative parsec parsers polysemy regex-applicative-text
|
|
|
|
shelly template-haskell text time transformers typed-process unix
|
|
|
|
vector xdg-basedir zlib
|
2019-03-31 23:54:29 +03:00
|
|
|
];
|
2019-09-04 18:47:05 +03:00
|
|
|
prePatch = "hpack";
|
2019-03-31 23:54:29 +03:00
|
|
|
homepage = "https://github.com/ryantm/nixpkgs-update#readme";
|
|
|
|
description = "Tool for semi-automatic updating of nixpkgs repository";
|
2019-09-04 18:47:05 +03:00
|
|
|
license = stdenv.lib.licenses.cc0;
|
2019-03-31 23:54:29 +03:00
|
|
|
}
|