Unverified Commit 63674265 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

dgoss: sync with goss

parent 42b2a117
Loading
Loading
Loading
Loading
+15 −16
Original line number Diff line number Diff line
{ 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;
      };
+0 −2
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@

buildGoModule rec {
  pname = "goss";

  # Don't forget to update dgoss to the same version.
  version = "0.4.7";

  src = fetchFromGitHub {