From d95300f90fd71b094dccf963d717eb25d5637b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 8 Mar 2011 09:19:32 +0000 Subject: [PATCH] Adding cminpack svn path=/nixpkgs/trunk/; revision=26204 --- .../libraries/cminpack/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/cminpack/default.nix diff --git a/pkgs/development/libraries/cminpack/default.nix b/pkgs/development/libraries/cminpack/default.nix new file mode 100644 index 000000000000..8d8951bd752a --- /dev/null +++ b/pkgs/development/libraries/cminpack/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "cminpack-1.1.1"; + + src = fetchurl { + url = http://pr.willowgarage.com/downloads/cminpack-1.1.1.tar.gz; + sha256 = "0bi86c9712i68nyv8d52f7wgyb35kik14iwj4rpxcnz91m7wgacp"; + }; + + patchPhase = '' + sed -i s,/usr/local,$out, Makefile + ''; + + preInstall = '' + ensureDir $out/lib $out/include + ''; + + meta = { + homepage = http://www.ros.org/wiki/cminpack; + license = "BSD"; + description = "Software for solving nonlinear equations and nonlinear least squares problems"; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6873555d2d04..8363ad7153fb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2881,6 +2881,8 @@ let inherit (gnome) gtk; }; + cminpack = callPackage ../development/libraries/cminpack { }; + coin3d = callPackage ../development/libraries/coin3d { }; commoncpp2 = callPackage ../development/libraries/commoncpp2 { };