parent
87b7c2a007
commit
48d2bad0e3
|
@ -1,24 +1,22 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
{ lib, stdenv, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
version = "2020-12-17";
|
|
||||||
pname = "woof";
|
pname = "woof";
|
||||||
|
version = "2022-01-13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "simon-budig";
|
owner = "simon-budig";
|
||||||
repo = "woof";
|
repo = "woof";
|
||||||
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
|
rev = "f51e9db264118d4cbcd839348c4a6223fda49813";
|
||||||
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
|
sha256 = "sha256-tk55q2Ew2mZkQtkxjWCuNgt9t+UbjH4llIJ42IruqGY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ python3 ];
|
propagatedBuildInputs = [ python3 ];
|
||||||
|
|
||||||
dontUnpack = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
runHook preInstall
|
||||||
cp $src/woof $out/bin/woof
|
install -Dm555 -t $out/bin woof
|
||||||
chmod +x $out/bin/woof
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -29,4 +27,3 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue