From 5dc1796a6f87ff0a8adf1694bf47ec95755147ff Mon Sep 17 00:00:00 2001 From: Luke Clifton Date: Wed, 12 Sep 2018 11:40:04 +0800 Subject: vaultenv: 0.5.3 -> 0.8.0 --- .../development/tools/haskell/vaultenv/default.nix | 29 ++++++++++++++-------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'pkgs/development/tools') 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 ]; -- cgit 1.4.1