nixpkgs-update/nixpkgs-update.nix
Ryan Mulligan 3c15ad14cf command line options refactoring
* additionalUpdates -> additional-updates
* additional-updates is optional
* new flag cachix enables pushing to Cachix
2020-02-17 21:40:04 -08:00

43 lines
1.8 KiB
Nix

{ mkDerivation, aeson, base, bytestring, conduit, containers
, cryptohash-sha256, directory, doctest, errors, filepath, github
, hex, hpack, http-client-tls, http-conduit, iso8601-time
, lifted-base, mtl, neat-interpolation, optparse-applicative
, parsec, parsers, partial-order, polysemy, polysemy-plugin
, regex-applicative-text, servant, servant-client, sqlite-simple
, stdenv, template-haskell, temporary, text, time, transformers
, typed-process, unix, unordered-containers, vector, versions
, xdg-basedir, zlib
}:
mkDerivation {
pname = "nixpkgs-update";
version = "0.2.0";
src = ./.;
isLibrary = false;
isExecutable = true;
libraryToolDepends = [ hpack ];
executableHaskellDepends = [
aeson base bytestring conduit containers cryptohash-sha256
directory errors filepath github hex http-client-tls http-conduit
iso8601-time lifted-base mtl neat-interpolation
optparse-applicative parsec parsers partial-order polysemy
polysemy-plugin regex-applicative-text servant servant-client
sqlite-simple template-haskell temporary text time transformers
typed-process unix unordered-containers vector versions xdg-basedir
zlib
];
testHaskellDepends = [
aeson base bytestring conduit containers cryptohash-sha256
directory doctest errors filepath github hex http-client-tls
http-conduit iso8601-time lifted-base mtl neat-interpolation
optparse-applicative parsec parsers partial-order polysemy
polysemy-plugin regex-applicative-text servant servant-client
sqlite-simple template-haskell temporary text time transformers
typed-process unix unordered-containers vector versions xdg-basedir
zlib
];
prePatch = "hpack";
homepage = "https://github.com/ryantm/nixpkgs-update#readme";
description = "Tool for semi-automatic updating of nixpkgs repository";
license = stdenv.lib.licenses.cc0;
}