about summary refs log tree commit diff
path: root/pkgs/tools/misc/jdiskreport
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-08-02 11:38:45 +0200
committerFelix Buehler <account@buehler.rocks>2021-08-03 16:47:38 +0200
commit1450bc80fbd243e130ba52cea41a9c153a487744 (patch)
treea8a26d53c44ce1a1d42f0a6a93d4fe9e4d430f40 /pkgs/tools/misc/jdiskreport
parent30cf79fa629dbe1e7ae6b0c0901ff437d1e96446 (diff)
tools/misc: replace name with pname&version
Diffstat (limited to 'pkgs/tools/misc/jdiskreport')
-rw-r--r--pkgs/tools/misc/jdiskreport/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/misc/jdiskreport/default.nix b/pkgs/tools/misc/jdiskreport/default.nix
index abd8398601cd3..22b16c7f9b349 100644
--- a/pkgs/tools/misc/jdiskreport/default.nix
+++ b/pkgs/tools/misc/jdiskreport/default.nix
@@ -10,11 +10,12 @@ let
     type = "Application";
   };
 in
-stdenv.mkDerivation {
-  name = "jdiskreport-1.4.1";
+stdenv.mkDerivation rec {
+  pname = "jdiskreport";
+  version = "1.4.1";
 
   src = fetchurl {
-    url = "http://www.jgoodies.com/download/jdiskreport/jdiskreport-1_4_1.zip";
+    url = "https://www.jgoodies.com/download/jdiskreport/jdiskreport-${lib.replaceStrings ["."] ["_"] version}.zip";
     sha256 = "0d5mzkwsbh9s9b1vyvpaawqc09b0q41l2a7pmwf7386b1fsx6d58";
   };