Skip to content

Commit

Permalink
Merge pull request #107111 from matthiasbeyer/update-woof
Browse files Browse the repository at this point in the history
woof: 2012-05-31 -> 2020-12-17
  • Loading branch information
AndersonTorres committed Dec 30, 2020
2 parents 7ffce39 + 0a47237 commit b09455c
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions pkgs/tools/misc/woof/default.nix
@@ -1,24 +1,25 @@
{ stdenv, fetchurl, python }:
{ stdenv, fetchFromGitHub, python3 }:

stdenv.mkDerivation rec {
version = "2012-05-31";
version = "2020-12-17";
pname = "woof";

src = fetchurl {
url = "http://www.home.unix-ag.org/simon/woof-${version}.py";
sha256 = "d84353d07f768321a1921a67193510bf292cf0213295e8c7689176f32e945572";
src = fetchFromGitHub {
owner = "simon-budig";
repo = "woof";
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
};

buildInputs = [ python ];
propagatedBuildInputs = [ python3 ];

dontUnpack = true;

installPhase =
''
mkdir -p $out/bin
cp $src $out/bin/woof
chmod +x $out/bin/woof
'';
installPhase = ''
mkdir -p $out/bin
cp $src/woof $out/bin/woof
chmod +x $out/bin/woof
'';

meta = with stdenv.lib; {
homepage = "http://www.home.unix-ag.org/simon/woof.html";
Expand Down

0 comments on commit b09455c

Please sign in to comment.