Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
94 lines
1.6 KiB
Nix
94 lines
1.6 KiB
Nix
{
|
|
mkDerivation,
|
|
HsOpenSSL,
|
|
QuickCheck,
|
|
aeson,
|
|
async,
|
|
base,
|
|
bytestring,
|
|
containers,
|
|
crypton-connection,
|
|
directory,
|
|
hpack,
|
|
hspec,
|
|
hspec-discover,
|
|
hspec-expectations,
|
|
http-client,
|
|
http-client-openssl,
|
|
http-conduit,
|
|
lib,
|
|
megaparsec,
|
|
network-uri,
|
|
optparse-applicative,
|
|
parser-combinators,
|
|
quickcheck-instances,
|
|
retry,
|
|
text,
|
|
unix,
|
|
unordered-containers,
|
|
utf8-string,
|
|
dotenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
mkDerivation rec {
|
|
pname = "vaultenv";
|
|
version = "0.19.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "channable";
|
|
repo = "vaultenv";
|
|
rev = "v${version}";
|
|
hash = "sha256-x3c9TKrCF3tsEFofYAXfK6DWdirEUxWWTttNqU/sJSc=";
|
|
};
|
|
|
|
buildTools = [ hpack ];
|
|
|
|
prePatch = ''
|
|
substituteInPlace package.yaml \
|
|
--replace -Werror ""
|
|
'';
|
|
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
executableHaskellDepends = [
|
|
HsOpenSSL
|
|
aeson
|
|
async
|
|
base
|
|
bytestring
|
|
containers
|
|
crypton-connection
|
|
directory
|
|
dotenv
|
|
http-client
|
|
http-client-openssl
|
|
http-conduit
|
|
megaparsec
|
|
network-uri
|
|
optparse-applicative
|
|
optparse-applicative
|
|
parser-combinators
|
|
retry
|
|
text
|
|
unix
|
|
unordered-containers
|
|
utf8-string
|
|
];
|
|
testHaskellDepends = executableHaskellDepends ++ [
|
|
QuickCheck
|
|
directory
|
|
hspec
|
|
hspec-discover
|
|
hspec-expectations
|
|
quickcheck-instances
|
|
];
|
|
preConfigure = "hpack";
|
|
homepage = "https://github.com/channable/vaultenv#readme";
|
|
description = "Runs processes with secrets from HashiCorp Vault";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
lnl7
|
|
manveru
|
|
];
|
|
}
|