Move eigen outside of kde-4.x

Michael, sorry for overriding your work but I want to maintain it...

svn path=/nixpkgs/trunk/; revision=26058
This commit is contained in:
Yury G. Kudryashov 2011-02-22 11:54:56 +00:00
parent 0646cfee1e
commit 4a5b7854a8
5 changed files with 16 additions and 89 deletions

View File

@ -33,8 +33,6 @@ recurseIntoAttrs rec {
attica = callPackage ./support/attica { }; attica = callPackage ./support/attica { };
eigen = callPackage ./support/eigen { };
oxygen_icons = callPackage ./support/oxygen-icons { }; oxygen_icons = callPackage ./support/oxygen-icons { };
polkit_qt_1 = callPackage ./support/polkit-qt-1 { }; polkit_qt_1 = callPackage ./support/polkit-qt-1 { };

View File

@ -1,20 +0,0 @@
{stdenv, fetchurl, cmake}:
let
v = "2.0.15";
in
stdenv.mkDerivation {
name = "eigen-${v}";
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
};
buildInputs = [ cmake ];
meta = {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = "LGPL";
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
};
}

View File

@ -32,8 +32,6 @@ rec {
attica = callPackage ./support/attica { }; attica = callPackage ./support/attica { };
eigen = callPackage ./support/eigen { };
oxygen_icons = callPackage ./oxygen-icons { }; oxygen_icons = callPackage ./oxygen-icons { };
polkit_qt_1 = callPackage ./support/polkit-qt-1 { }; polkit_qt_1 = callPackage ./support/polkit-qt-1 { };

View File

@ -1,20 +0,0 @@
{stdenv, fetchurl, cmake}:
let
v = "2.0.15";
in
stdenv.mkDerivation {
name = "eigen-${v}";
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
};
buildInputs = [ cmake ];
meta = {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = "LGPL";
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
};
}

View File

@ -1,49 +1,20 @@
x@{builderDefsPackage {stdenv, fetchurl, cmake}:
, cmake
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x) let
(builtins.attrNames (builtins.removeAttrs x helperArgNames)); v = "2.0.15";
sourceInfo = rec {
baseName="eigen";
version="2.0.15";
name="${baseName}-${version}";
ext="tar.bz2";
project="${baseName}";
url="http://bitbucket.org/${project}/${baseName}/get/${version}.${ext}";
hash="c68509b80ec2570d025a98e6c4279062b801593c5165ba3d683852e7dbff1569";
};
in in
rec { stdenv.mkDerivation {
src = a.fetchurl { name = "eigen-${v}";
url = sourceInfo.url; src = fetchurl {
sha256 = sourceInfo.hash; url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name="${sourceInfo.name}.${sourceInfo.ext}"; name = "eigen-${v}.tar.bz2";
sha256 = "1a00hqyig4rc7nkz97xv23q7k0vdkzvgd0jkayk61fn9aqcrky79";
}; };
buildNativeInputs = [ cmake ];
inherit (sourceInfo) name version; meta = with stdenv.lib; {
inherit buildInputs; description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
phaseNames = ["doCmake" "doMakeInstall"]; homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
meta = {
description = "A C++ linear algebra template header";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.lgpl3Plus;
}; };
passthru = { }
updateInfo = {
downloadPage = "http://eigen.tuxfamily.org/index.php?title=Main_Page";
};
};
}) x