about summary refs log tree commit diff
path: root/pkgs/applications/video/clipgrab
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-08-15 12:41:18 +0000
committerJörg Thalheim <Mic92@users.noreply.github.com>2019-08-15 13:41:18 +0100
commit46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch)
tree46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/applications/video/clipgrab
parentcff9e6429a4341e924594f5e057b03ca8101b314 (diff)
downloadnixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.gz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.bz2
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.lz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.xz
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.tar.zst
nixlib-46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6.zip
treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
Diffstat (limited to 'pkgs/applications/video/clipgrab')
-rw-r--r--pkgs/applications/video/clipgrab/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/clipgrab/default.nix b/pkgs/applications/video/clipgrab/default.nix
index 9b29e18d0bc4..e31b2575f868 100644
--- a/pkgs/applications/video/clipgrab/default.nix
+++ b/pkgs/applications/video/clipgrab/default.nix
@@ -4,13 +4,13 @@
 }:
 
 stdenv.mkDerivation rec {
-  name = "clipgrab-${version}";
+  pname = "clipgrab";
   version = "3.8.3";
 
   src = fetchurl {
     sha256 = "1v8vvlqgjqy3gyzwaz9iq0m4fwlkimy5gzg6z3bqwp61p9zzw0zf";
     # The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
-    url = "https://download.clipgrab.org/${name}.tar.gz";
+    url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
   };
 
   buildInputs = [ ffmpeg qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];