summary refs log tree commit diff
path: root/pkgs/development/libraries/gmm/default.nix
diff options
context:
space:
mode:
authorndowens <ndowens04@gmail.com>2017-03-12 18:05:06 -0500
committerndowens <ndowens04@gmail.com>2017-03-12 18:51:15 -0500
commit86a23bcffff96fa67a7a1c01d922b90d1b48f9c9 (patch)
treea8c881d064ea58368090ffb826b6337792b667e6 /pkgs/development/libraries/gmm/default.nix
parent212efab7ace3b6a42f7955bf48286c78e218bfa0 (diff)
downloadnixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar.gz
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar.bz2
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar.lz
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar.xz
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.tar.zst
nixpkgs-86a23bcffff96fa67a7a1c01d922b90d1b48f9c9.zip
gmm: 4.3 -> 5.1
gmm: Remove whitespace
Diffstat (limited to 'pkgs/development/libraries/gmm/default.nix')
-rw-r--r--pkgs/development/libraries/gmm/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/libraries/gmm/default.nix b/pkgs/development/libraries/gmm/default.nix
index 47345e2a22c..7f8a2276ef2 100644
--- a/pkgs/development/libraries/gmm/default.nix
+++ b/pkgs/development/libraries/gmm/default.nix
@@ -1,17 +1,18 @@
 { stdenv, fetchurl }:
 
-stdenv.mkDerivation {
-  name = "gmm-4.3";
+stdenv.mkDerivation rec {
+  name = "gmm-${version}";
+  version = "5.1";
 
   src = fetchurl {
-    url = http://download.gna.org/getfem/stable/gmm-4.3.tar.gz;
-    sha256 = "0wpp3k73wd3rblsrwxl6djq6m11fx3q5wgw0pl41m9liswsw6din";
+    url ="http://download.gna.org/getfem/stable/${name}.tar.gz";
+    sha256 = "0di68vdn34kznf96rnwrpb3bbm3ahaczwxd306s9dx41kcqbzrlh";
   };
 
-  meta = { 
+  meta = with stdenv.lib; {
     description = "Generic C++ template library for sparse, dense and skyline matrices";
     homepage = http://home.gna.org/getfem/gmm_intro.html;
-    license = stdenv.lib.licenses.lgpl21Plus;
-    platforms = stdenv.lib.platforms.unix;
+    license = licenses.lgpl21Plus;
+    platforms = platforms.unix;
   };
 }