summary refs log tree commit diff
path: root/pkgs/development/libraries/gmm
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
commit66097104090e06c43a784193809bc8843a2ec052 (patch)
tree021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/development/libraries/gmm
parentb4a3f99c7812a6c8bc34979200693b7010afffcc (diff)
downloadnixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.gz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.bz2
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.lz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.xz
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.tar.zst
nixpkgs-66097104090e06c43a784193809bc8843a2ec052.zip
* Get rid of many instances of "args: with args;", and other coding
  guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
Diffstat (limited to 'pkgs/development/libraries/gmm')
-rw-r--r--pkgs/development/libraries/gmm/default.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/development/libraries/gmm/default.nix b/pkgs/development/libraries/gmm/default.nix
index 56b51d71ca6..f87211195d5 100644
--- a/pkgs/development/libraries/gmm/default.nix
+++ b/pkgs/development/libraries/gmm/default.nix
@@ -1,17 +1,16 @@
-args:
-args.stdenv.mkDerivation {
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation {
   name = "gmm-3.0";
 
-  src = args.fetchurl {
+  src = fetchurl {
     url = http://download.gna.org/getfem/stable/gmm-3.0.tar.gz;
     sha256 = "1lc34w68s0rhii6caklvq2pyc3jaa4g6kza948ya8ha6rr8d1ypp";
   };
 
-  buildInputs =(with args; []);
-
   meta = { 
-      description = "generic C++ template library for sparse, dense and skyline matrices";
-      homepage = http://home.gna.org/getfem/gmm_intro.html;
-      license = "LGLP2.1"; # or later
+    description = "Generic C++ template library for sparse, dense and skyline matrices";
+    homepage = http://home.gna.org/getfem/gmm_intro.html;
+    license = "LGLP2.1"; # or later
   };
 }