mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
haskellPackages.vaultenv: switch to fetchFromGitHub
This commit is contained in:
parent
c1b85df6ad
commit
3e5720426b
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue