Merge pull request #107111 from matthiasbeyer/update-woof
woof: 2012-05-31 -> 2020-12-17
This commit is contained in:
commit
b09455cdf1
@ -1,22 +1,23 @@
|
|||||||
{ stdenv, fetchurl, python }:
|
{ stdenv, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2012-05-31";
|
version = "2020-12-17";
|
||||||
pname = "woof";
|
pname = "woof";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.home.unix-ag.org/simon/woof-${version}.py";
|
owner = "simon-budig";
|
||||||
sha256 = "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572";
|
repo = "woof";
|
||||||
|
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
|
||||||
|
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python ];
|
propagatedBuildInputs = [ python3 ];
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
installPhase =
|
installPhase = ''
|
||||||
''
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp $src $out/bin/woof
|
cp $src/woof $out/bin/woof
|
||||||
chmod +x $out/bin/woof
|
chmod +x $out/bin/woof
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user