diff options
author | Peter Simons <simons@cryp.to> | 2017-09-21 21:13:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-21 21:13:53 +0200 |
commit | a68eea3cb0d946d210b5428616dd8e835fd787a9 (patch) | |
tree | 4d55a21182afe2a314c67e0cda06143b91944c28 /pkgs/development | |
parent | bafb9c4d50d08a373f83b15be6fa0ad1fe2b44cf (diff) | |
parent | c3f6b53bb6ddadabcf599de1e3a48a158136ddb6 (diff) | |
download | nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar.gz nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar.bz2 nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar.lz nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar.xz nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.tar.zst nixlib-a68eea3cb0d946d210b5428616dd8e835fd787a9.zip |
Merge pull request #29089 from LnL7/vaultenv-0.5.0
vaultenv: init at 0.5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 3 | ||||
-rw-r--r-- | pkgs/development/tools/haskell/vaultenv/default.nix | 26 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 85a5f961485c..d983934e83a5 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -720,6 +720,9 @@ self: super: { # It makes no sense to have intero-nix-shim in Hackage, so we publish it here only. intero-nix-shim = self.callPackage ../tools/haskell/intero-nix-shim {}; + # vaultenv is not available from Hackage. + vaultenv = self.callPackage ../tools/haskell/vaultenv { }; + # https://github.com/Philonous/hs-stun/pull/1 # Remove if a version > 0.1.0.1 ever gets released. stunclient = overrideCabal super.stunclient (drv: { diff --git a/pkgs/development/tools/haskell/vaultenv/default.nix b/pkgs/development/tools/haskell/vaultenv/default.nix new file mode 100644 index 000000000000..9b5a19700ff6 --- /dev/null +++ b/pkgs/development/tools/haskell/vaultenv/default.nix @@ -0,0 +1,26 @@ +{ mkDerivation, fetchurl, async, base, bytestring, http-conduit, lens +, lens-aeson, optparse-applicative, retry, stdenv, text, unix +, unordered-containers, utf8-string +}: + +mkDerivation rec { + pname = "vaultenv"; + version = "0.5.0"; + + src = fetchurl { + url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz"; + sha256 = "0hdcxq88cf3ygnikkppyg3fcf7xmwm9zif7274j3n34p9vd8xci3"; + }; + + 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 ]; +} |