about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix85
1 files changed, 71 insertions, 14 deletions
diff --git a/nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix b/nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix
index 451dec8a22c1..72d5469f0f99 100644
--- a/nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix
+++ b/nixpkgs/pkgs/development/tools/haskell/vaultenv/default.nix
@@ -1,15 +1,39 @@
-{ 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, lib, text
-, unix, unordered-containers, utf8-string, fetchzip, dotenv
+{ 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
+, lib
+, text
+, unix
+, unordered-containers
+, utf8-string
+, fetchFromGitHub
+, dotenv
 }:
 mkDerivation rec {
   pname = "vaultenv";
   version = "0.13.3";
 
-  src = fetchzip {
-    url = "https://github.com/channable/vaultenv/archive/v${version}.tar.gz";
+  src = fetchFromGitHub {
+    owner = "channable";
+    repo = "vaultenv";
+    rev = "v${version}";
     sha256 = "sha256-17tdlqG8z4GviI7kkLbktC6SqnQFDdZhWtejscG0n48=";
   };
 
@@ -23,16 +47,49 @@ mkDerivation rec {
   isLibrary = false;
   isExecutable = true;
   executableHaskellDepends = [
-    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
+    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
     dotenv
   ];
   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
+    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
   ];
   preConfigure = "hpack";
   homepage = "https://github.com/channable/vaultenv#readme";