mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
runme: 1.7.8 -> 2.0.0
Diff: https://github.com/stateful/runme/compare/v1.7.8...v2.0.0 Changelog: https://github.com/stateful/runme/releases/tag/v2.0.0
This commit is contained in:
parent
e1c3c25266
commit
95052508cd
@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildGo121Module
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, nodejs
|
||||
@ -10,18 +10,18 @@
|
||||
, runme
|
||||
}:
|
||||
|
||||
buildGo121Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "runme";
|
||||
version = "1.7.8";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stateful";
|
||||
repo = "runme";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ZM8gdZ26XAlC+j6U0+oQJIb+5gOGFUAYHPP82kA1ogU=";
|
||||
hash = "sha256-EUAYwm7nd7VRGbTth+ZXcgqqPSGKthv8sciO+iCpdds=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-nKH4hT0J9QfrDdvovu/XNxU4PtZYKkfqEBiCTNLWyRA=";
|
||||
vendorHash = "sha256-xQuxoizcxut4qjXqgMEWMROiG53goxEXQas5n/2NiaY=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
@ -44,8 +44,11 @@ buildGo121Module rec {
|
||||
"-X=github.com/stateful/runme/internal/version.Commit=${src.rev}"
|
||||
];
|
||||
|
||||
# tests fail to access /etc/bashrc on darwin
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace testdata/script/basic.txtar \
|
||||
substituteInPlace testdata/{categories/basic,runall/basic,script/basic}.txtar \
|
||||
--replace /bin/bash "${runtimeShell}"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user