summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorsymphorien <symphorien@users.noreply.github.com>2018-08-06 23:21:53 +0000
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-07 01:21:53 +0200
commit0ca40a51c708ff29c7e0afebde9554407e859ff4 (patch)
tree5f84354185bac371a495a0e7fa02aa121419fc35 /pkgs
parent1d60b5c99a6b169126eb197f1c0a1c77f65f863e (diff)
downloadnixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar.gz
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar.bz2
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar.lz
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar.xz
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.tar.zst
nixlib-0ca40a51c708ff29c7e0afebde9554407e859ff4.zip
gwyddion, ripser: fix derivation name (#44577)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/science/chemistry/gwyddion/default.nix4
-rw-r--r--pkgs/applications/science/math/ripser/default.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/chemistry/gwyddion/default.nix b/pkgs/applications/science/chemistry/gwyddion/default.nix
index 4f028e0053af..6ea6be52fce4 100644
--- a/pkgs/applications/science/chemistry/gwyddion/default.nix
+++ b/pkgs/applications/science/chemistry/gwyddion/default.nix
@@ -2,11 +2,11 @@
 
 with stdenv.lib;
 
+let version = "2.48"; in
 stdenv.mkDerivation {
   name = "gwyddion-${version}";
-  version = "2.48";
   src = fetchurl {
-    url = "http://sourceforge.net/projects/gwyddion/files/gwyddion/2.48/gwyddion-2.48.tar.xz";
+    url = "http://sourceforge.net/projects/gwyddion/files/gwyddion/${version}/gwyddion-${version}.tar.xz";
     sha256 = "119iw58ac2wn4cas6js8m7r1n4gmmkga6b1y711xzcyjp9hshgwx";
   };
   nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/science/math/ripser/default.nix b/pkgs/applications/science/math/ripser/default.nix
index 651ad8a2c0f8..21948a279d07 100644
--- a/pkgs/applications/science/math/ripser/default.nix
+++ b/pkgs/applications/science/math/ripser/default.nix
@@ -13,10 +13,10 @@ assert useGoogleHashmap -> sparsehash != null;
 
 let
   inherit (stdenv.lib) optional;
+  version = "1.0";
 in
 stdenv.mkDerivation {
   name = "ripser-${version}";
-  version = "1.0";
 
   src = fetchFromGitHub {
     owner = "Ripser";