diff options
Diffstat (limited to 'pkgs/applications/science/chemistry/gwyddion/default.nix')
-rw-r--r-- | pkgs/applications/science/chemistry/gwyddion/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/science/chemistry/gwyddion/default.nix b/pkgs/applications/science/chemistry/gwyddion/default.nix index 4f028e0053a..6ea6be52fce 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 ]; |