summary refs log tree commit diff
path: root/pkgs/development/libraries/qwt
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-06-20 16:15:21 +0200
committerFelix Buehler <account@buehler.rocks>2021-06-30 09:45:11 +0200
commit3c12e95ad18367c92865bd13aef68c402fa76036 (patch)
tree56b6a222ef8b51958e8282d9c70cee73cc756a8b /pkgs/development/libraries/qwt
parentc1416deae1c0c085a3c7bd7e3c916a6c9dcf4f3e (diff)
downloadnixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.gz
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.bz2
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.lz
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.xz
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.tar.zst
nixpkgs-3c12e95ad18367c92865bd13aef68c402fa76036.zip
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/libraries/qwt')
-rw-r--r--pkgs/development/libraries/qwt/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/qwt/default.nix b/pkgs/development/libraries/qwt/default.nix
index e158fe34885..a5dcfedb849 100644
--- a/pkgs/development/libraries/qwt/default.nix
+++ b/pkgs/development/libraries/qwt/default.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl, qt4, qmake4Hook }:
 
 stdenv.mkDerivation rec {
-  name = "qwt-5.2.3";
+  pname = "qwt";
+  version = "5.2.3";
 
   src = fetchurl {
-    url = "mirror://sourceforge/qwt/${name}.tar.bz2";
+    url = "mirror://sourceforge/qwt/${pname}-${version}.tar.bz2";
     sha256 = "1dqa096mm6n3bidfq2b67nmdsvsw4ndzzd1qhl6hn8skcwqazzip";
   };
 
@@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
   '';
 
   preConfigure = ''
-    qmakeFlags="$qmakeFlags INSTALLBASE=$out -after doc.path=$out/share/doc/${name}"
+    qmakeFlags="$qmakeFlags INSTALLBASE=$out -after doc.path=$out/share/doc/${pname}-${version}"
   '';
 
   meta = with lib; {