nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix

30 lines
899 B
Nix
Raw Normal View History

2017-12-30 15:53:51 +00:00
{ mkDerivation, fetchzip, async, base, bytestring, hpack, http-conduit
, lens, lens-aeson, optparse-applicative, retry, stdenv, text, unix
2017-09-07 20:42:06 +01:00
, unordered-containers, utf8-string
}:
mkDerivation rec {
pname = "vaultenv";
2017-12-30 15:53:51 +00:00
version = "0.5.3";
2017-09-07 20:42:06 +01:00
2017-12-30 15:53:51 +00:00
src = fetchzip {
2017-09-07 20:42:06 +01:00
url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz";
2017-12-30 15:53:51 +00:00
sha256 = "1kxq2pp8l8xf7xwjyd9cwyi7z192013s6psq5fk8jrkkhrk8z3li";
2017-09-07 20:42:06 +01:00
};
2017-12-30 15:53:51 +00:00
buildTools = [ hpack ];
preConfigure = "hpack .";
2017-09-07 20:42:06 +01:00
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
async base bytestring http-conduit lens lens-aeson
optparse-applicative retry text unix unordered-containers
utf8-string
];
homepage = "https://github.com/channable/vaultenv";
description = "Runs processes with secrets from HashiCorp Vault";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ lnl7 ];
}