nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 92 lines 1.6 kB view raw
1{ 2 mkDerivation, 3 HsOpenSSL, 4 QuickCheck, 5 aeson, 6 async, 7 base, 8 bytestring, 9 containers, 10 crypton-connection, 11 directory, 12 hpack, 13 hspec, 14 hspec-discover, 15 hspec-expectations, 16 http-client, 17 http-client-openssl, 18 http-conduit, 19 lib, 20 megaparsec, 21 network-uri, 22 optparse-applicative, 23 parser-combinators, 24 quickcheck-instances, 25 retry, 26 text, 27 unix, 28 unordered-containers, 29 utf8-string, 30 dotenv, 31 fetchFromGitHub, 32}: 33mkDerivation rec { 34 pname = "vaultenv"; 35 version = "0.19.0"; 36 37 src = fetchFromGitHub { 38 owner = "channable"; 39 repo = "vaultenv"; 40 rev = "v${version}"; 41 hash = "sha256-x3c9TKrCF3tsEFofYAXfK6DWdirEUxWWTttNqU/sJSc="; 42 }; 43 44 buildTools = [ hpack ]; 45 46 prePatch = '' 47 substituteInPlace package.yaml \ 48 --replace -Werror "" 49 hpack 50 ''; 51 52 isLibrary = false; 53 isExecutable = true; 54 executableHaskellDepends = [ 55 HsOpenSSL 56 aeson 57 async 58 base 59 bytestring 60 containers 61 crypton-connection 62 directory 63 dotenv 64 http-client 65 http-client-openssl 66 http-conduit 67 megaparsec 68 network-uri 69 optparse-applicative 70 optparse-applicative 71 parser-combinators 72 retry 73 text 74 unix 75 unordered-containers 76 utf8-string 77 ]; 78 testHaskellDepends = executableHaskellDepends ++ [ 79 QuickCheck 80 directory 81 hspec 82 hspec-discover 83 hspec-expectations 84 quickcheck-instances 85 ]; 86 homepage = "https://github.com/channable/vaultenv#readme"; 87 description = "Runs processes with secrets from HashiCorp Vault"; 88 license = lib.licenses.bsd3; 89 maintainers = with lib.maintainers; [ 90 lnl7 91 ]; 92}