nixpkgs/pkgs/development/libraries/eigen/2.0.nix

26 lines
672 B
Nix
Raw Normal View History

{stdenv, fetchurl, cmake}:
let
2013-12-04 07:42:50 +01:00
v = "2.0.17";
in
stdenv.mkDerivation {
name = "eigen-${v}";
2013-01-13 11:33:45 +01:00
src = fetchurl {
url = "https://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
2013-12-04 07:42:50 +01:00
sha256 = "0q4ry2pmdb9lvm0g92wi6s6qng3m9q73n5flwbkfcz1nxmbfhmbj";
};
2013-01-13 11:33:45 +01:00
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander raskin ];
2014-10-07 07:27:20 +02:00
branch = "2";
platforms = with stdenv.lib.platforms; unix;
};
}