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-18 14:47:36 +03:00
|
|
|
, polysemy, regex-applicative-text, sqlite-simple, stdenv
|
|
|
|
, template-haskell, temporary, text, time, transformers
|
2019-09-24 16:49:33 +03:00
|
|
|
, typed-process, unix, vector, versions, 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-18 14:47:36 +03:00
|
|
|
parsers polysemy regex-applicative-text sqlite-simple
|
|
|
|
template-haskell temporary text time transformers typed-process
|
2019-09-24 16:49:33 +03:00
|
|
|
unix vector versions 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
|
2019-09-18 14:47:36 +03:00
|
|
|
sqlite-simple template-haskell temporary text time transformers
|
2019-09-24 16:49:33 +03:00
|
|
|
typed-process unix vector versions 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
|
|
|
}
|