try: init at 0.1.0

This commit is contained in:
paki23 2023-06-25 00:55:31 +02:00
parent aa094944a9
commit 8d089b4098
No known key found for this signature in database
GPG key ID: 13160FFB4CEB03F2
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenvNoCC, lib, fetchFromGitHub, fuse-overlayfs, util-linux, makeWrapper }:
stdenvNoCC.mkDerivation rec {
pname = "try";
version = "0.1.0";
src = fetchFromGitHub {
owner = "binpash";
repo = pname;
rev = "v${version}";
hash = "sha256-TTKr22FwXfPL/YrFT+r12nFSxbk/47N6rrb3Vw/lSPI=";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -Dt $out/bin try
wrapProgram $out/bin/try --prefix PATH : ${lib.makeBinPath [ fuse-overlayfs util-linux ]}
runHook postInstall
'';
meta = with lib;{
homepage = "https://github/binpash/try";
description = "Lets you run a command and inspect its effects before changing your live system";
maintainers = with maintainers; [ pasqui23 ];
license = with licenses; [ mit ];
platforms = platforms.linux;
};
}

View file

@ -37508,6 +37508,8 @@ with pkgs;
trackballs = callPackage ../games/trackballs { };
try = callPackage ../tools/admin/try { };
tumiki-fighters = callPackage ../games/tumiki-fighters { };
tuxpaint = callPackage ../games/tuxpaint { };