haskellPackages.vaultenv: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 13:25:31 +02:00 committed by Jonathan Ringer
parent c1b85df6ad
commit 3e5720426b

View File

@ -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";