summary refs log tree commit diff
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-05-21 14:23:40 -0400
committerGitHub <noreply@github.com>2023-05-21 14:23:40 -0400
commitd4188088238d56f40f29be3faeaeefea4223fc45 (patch)
treec2e20c68de46e07a0bca4ae7a98f984887591b53
parent9689eb7d4ba012ab344f883696d365d77811a485 (diff)
parent48d2bad0e3b227d303522c216f0a5aa4819db1b3 (diff)
Merge pull request #233228 from nagy/woof
woof: 2020-12-17 -> 2022-01-13
-rw-r--r--pkgs/tools/misc/woof/default.nix17
1 files changed, 7 insertions, 10 deletions
diff --git a/pkgs/tools/misc/woof/default.nix b/pkgs/tools/misc/woof/default.nix
index 3f13cd496c548..c958d9f65a678 100644
--- a/pkgs/tools/misc/woof/default.nix
+++ b/pkgs/tools/misc/woof/default.nix
@@ -1,24 +1,22 @@
 { lib, stdenv, fetchFromGitHub, python3 }:
 
-stdenv.mkDerivation rec {
-  version = "2020-12-17";
+stdenv.mkDerivation {
   pname = "woof";
+  version = "2022-01-13";
 
   src = fetchFromGitHub {
     owner = "simon-budig";
     repo = "woof";
-    rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
-    sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
+    rev = "f51e9db264118d4cbcd839348c4a6223fda49813";
+    sha256 = "sha256-tk55q2Ew2mZkQtkxjWCuNgt9t+UbjH4llIJ42IruqGY=";
   };
 
   propagatedBuildInputs = [ python3 ];
 
-  dontUnpack = true;
-
   installPhase = ''
-    mkdir -p $out/bin
-    cp $src/woof $out/bin/woof
-    chmod +x $out/bin/woof
+    runHook preInstall
+    install -Dm555 -t $out/bin woof
+    runHook postInstall
   '';
 
   meta = with lib; {
@@ -29,4 +27,3 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ matthiasbeyer ];
   };
 }
-