2018-09-12 03:40:04 +00: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
|
|
|
|
, unix, unordered-containers, utf8-string, fetchzip
|
2017-09-07 19:42:06 +00:00
|
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "vaultenv";
|
2018-09-12 03:40:04 +00:00
|
|
|
version = "0.8.0";
|
2017-09-07 19:42:06 +00:00
|
|
|
|
2017-12-30 15:53:51 +00:00
|
|
|
src = fetchzip {
|
2017-09-07 19:42:06 +00:00
|
|
|
url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz";
|
2018-09-12 03:40:04 +00:00
|
|
|
sha256 = "04hrwyy7gsybdwljrks4ym3pshqk1i43f8wpirjx7b0dfjgsd2l5";
|
2017-09-07 19:42:06 +00:00
|
|
|
};
|
|
|
|
|
2017-12-30 15:53:51 +00:00
|
|
|
buildTools = [ hpack ];
|
|
|
|
|
2017-09-07 19:42:06 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
executableHaskellDepends = [
|
2018-09-12 03:40:04 +00: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
|
|
|
|
];
|
|
|
|
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 19:42:06 +00:00
|
|
|
];
|
2018-09-12 03:40:04 +00:00
|
|
|
preConfigure = "hpack";
|
|
|
|
homepage = "https://github.com/channable/vaultenv#readme";
|
2017-09-07 19:42:06 +00:00
|
|
|
description = "Runs processes with secrets from HashiCorp Vault";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ lnl7 ];
|
2019-03-16 15:43:07 +00:00
|
|
|
hydraPlatforms = [];
|
|
|
|
broken = true; # does not compile any longer
|
2017-09-07 19:42:06 +00:00
|
|
|
}
|