about summary refs log tree commit diff
path: root/pkgs/development/tools/haskell
diff options
context:
space:
mode:
authorLuke Clifton <Luke.Clifton@cba.com.au>2018-09-12 11:40:04 +0800
committerLuke Clifton <Luke.Clifton@cba.com.au>2018-09-12 11:44:22 +0800
commit5dc1796a6f87ff0a8adf1694bf47ec95755147ff (patch)
tree690f7855a5670549d3776e076639318530f52060 /pkgs/development/tools/haskell
parenta25dcb66077310067ca1b59b2f38046bee752b0a (diff)
downloadnixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar.gz
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar.bz2
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar.lz
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar.xz
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.tar.zst
nixlib-5dc1796a6f87ff0a8adf1694bf47ec95755147ff.zip
vaultenv: 0.5.3 -> 0.8.0
Diffstat (limited to 'pkgs/development/tools/haskell')
-rw-r--r--pkgs/development/tools/haskell/vaultenv/default.nix29
1 files changed, 18 insertions, 11 deletions
diff --git a/pkgs/development/tools/haskell/vaultenv/default.nix b/pkgs/development/tools/haskell/vaultenv/default.nix
index b607cc5604cd..6bf5e9be7bf2 100644
--- a/pkgs/development/tools/haskell/vaultenv/default.nix
+++ b/pkgs/development/tools/haskell/vaultenv/default.nix
@@ -1,28 +1,35 @@
-{ mkDerivation, fetchzip, async, base, bytestring, hpack, http-conduit
-, lens, lens-aeson, optparse-applicative, retry, stdenv, text, unix
-, unordered-containers, utf8-string
+{ 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
 }:
-
 mkDerivation rec {
   pname = "vaultenv";
-  version = "0.5.3";
+  version = "0.8.0";
 
   src = fetchzip {
     url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz";
-    sha256 = "1kxq2pp8l8xf7xwjyd9cwyi7z192013s6psq5fk8jrkkhrk8z3li";
+    sha256 = "04hrwyy7gsybdwljrks4ym3pshqk1i43f8wpirjx7b0dfjgsd2l5";
   };
 
   buildTools = [ hpack ];
-  preConfigure = "hpack .";
 
   isLibrary = false;
   isExecutable = true;
   executableHaskellDepends = [
-    async base bytestring http-conduit lens lens-aeson
-    optparse-applicative retry text unix unordered-containers
-    utf8-string
+    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
   ];
-  homepage = "https://github.com/channable/vaultenv";
+  preConfigure = "hpack";
+  homepage = "https://github.com/channable/vaultenv#readme";
   description = "Runs processes with secrets from HashiCorp Vault";
   license = stdenv.lib.licenses.bsd3;
   maintainers = with stdenv.lib.maintainers; [ lnl7 ];