diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-09-07 21:42:06 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-09-09 12:43:04 +0200 |
commit | c3f6b53bb6ddadabcf599de1e3a48a158136ddb6 (patch) | |
tree | 05d57cd5508dd91439a0cd598550b2476f102b81 /pkgs/development | |
parent | 51eafbe028d5daf4bfb23db2e60bed1d1b689862 (diff) | |
download | nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar.gz nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar.bz2 nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar.lz nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar.xz nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.tar.zst nixpkgs-c3f6b53bb6ddadabcf599de1e3a48a158136ddb6.zip |
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 cdb15fd9f81..240c4fd21f7 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -686,6 +686,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 00000000000..9b5a19700ff --- /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 ]; +} |