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

38 lines
1.4 KiB
Nix
Raw Normal View History

2018-09-12 04:40:04 +01:00
{ mkDerivation, async, base, bytestring, connection, containers
, directory, hpack, hspec, hspec-discover, hspec-expectations
, http-client, http-conduit, lens, lens-aeson, megaparsec, mtl
, optparse-applicative, parser-combinators, retry, stdenv, text
2020-02-27 09:30:46 +00:00
, unix, unordered-containers, utf8-string, fetchzip, dotenv
2017-09-07 20:42:06 +01:00
}:
mkDerivation rec {
pname = "vaultenv";
2020-02-27 09:30:46 +00:00
version = "0.13.0";
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";
2020-02-27 09:30:46 +00:00
sha256 = "0kz5p57fq855mhbqrpb737sqrax9cdcyh2g57460hc8fyvs97lq0";
2017-09-07 20:42:06 +01:00
};
2017-12-30 15:53:51 +00:00
buildTools = [ hpack ];
2017-09-07 20:42:06 +01:00
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
2018-09-12 04:40:04 +01:00
async base bytestring connection containers http-client
http-conduit lens lens-aeson megaparsec mtl optparse-applicative
parser-combinators retry text unix unordered-containers utf8-string
2020-02-27 09:30:46 +00:00
dotenv
2018-09-12 04:40:04 +01:00
];
testHaskellDepends = [
async base bytestring connection containers directory hspec
hspec-discover hspec-expectations http-client http-conduit lens
lens-aeson megaparsec mtl optparse-applicative parser-combinators
retry text unix unordered-containers utf8-string
2017-09-07 20:42:06 +01:00
];
2018-09-12 04:40:04 +01:00
preConfigure = "hpack";
homepage = "https://github.com/channable/vaultenv#readme";
2017-09-07 20:42:06 +01:00
description = "Runs processes with secrets from HashiCorp Vault";
license = stdenv.lib.licenses.bsd3;
2020-02-27 09:30:46 +00:00
maintainers = with stdenv.lib.maintainers; [ lnl7 manveru ];
2017-09-07 20:42:06 +01:00
}