1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix

39 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
, unix, unordered-containers, utf8-string, fetchzip
2017-09-07 20:42:06 +01:00
}:
mkDerivation rec {
pname = "vaultenv";
2018-09-12 04:40:04 +01:00
version = "0.8.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";
2018-09-12 04:40:04 +01:00
sha256 = "04hrwyy7gsybdwljrks4ym3pshqk1i43f8wpirjx7b0dfjgsd2l5";
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
];
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;
maintainers = with stdenv.lib.maintainers; [ lnl7 ];
hydraPlatforms = [];
broken = true; # does not compile any longer
2017-09-07 20:42:06 +01:00
}