dgoss: sync with goss

This commit is contained in:
Anthony Roussel 2024-05-29 10:22:01 +02:00
parent 42b2a1173e
commit 636742652d
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
2 changed files with 15 additions and 18 deletions

View File

@ -1,22 +1,17 @@
{ lib
, fetchFromGitHub
, resholve
, bash
, coreutils
, goss
, which
{
bash,
coreutils,
gnused,
goss,
lib,
resholve,
which,
}:
resholve.mkDerivation rec {
pname = "dgoss";
version = "0.4.6";
src = fetchFromGitHub {
owner = "goss-org";
repo = "goss";
rev = "refs/tags/v${version}";
hash = "sha256-4LJD70Y6nxRWdcaPe074iP2MVUMDgoTOwWbC1JecVcI=";
};
version = goss.version;
src = goss.src;
dontConfigure = true;
dontBuild = true;
@ -30,7 +25,11 @@ resholve.mkDerivation rec {
default = {
scripts = [ "bin/dgoss" ];
interpreter = "${bash}/bin/bash";
inputs = [ coreutils which ];
inputs = [
coreutils
gnused
which
];
keep = {
"$CONTAINER_RUNTIME" = true;
};

View File

@ -14,8 +14,6 @@
buildGoModule rec {
pname = "goss";
# Don't forget to update dgoss to the same version.
version = "0.4.7";
src = fetchFromGitHub {