eigen: fetch source from gitlab
This commit is contained in:
parent
8d72e6bd5f
commit
805e068059
@ -1,15 +1,14 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
{ stdenv, fetchFromGitLab, cmake }:
|
||||
|
||||
let
|
||||
v = "2.0.17";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "eigen-${v}";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eigen";
|
||||
version = "2.0.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
|
||||
name = "eigen-${v}.tar.bz2";
|
||||
sha256 = "0q4ry2pmdb9lvm0g92wi6s6qng3m9q73n5flwbkfcz1nxmbfhmbj";
|
||||
src = fetchFromGitLab {
|
||||
owner = "libeigen";
|
||||
repo = "eigen";
|
||||
rev = version;
|
||||
sha256 = "0d4knrcz04pxmxaqs5r3wv092950kl1z9wsw87vdzi9kgvc6wl0b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@ -17,7 +16,7 @@ stdenv.mkDerivation {
|
||||
meta = with stdenv.lib; {
|
||||
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
||||
license = licenses.lgpl3Plus;
|
||||
homepage = http://eigen.tuxfamily.org ;
|
||||
homepage = "https://eigen.tuxfamily.org";
|
||||
maintainers = with stdenv.lib.maintainers; [ sander raskin ];
|
||||
branch = "2";
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
|
@ -1,16 +1,14 @@
|
||||
{stdenv, fetchurl, cmake}:
|
||||
{ stdenv, fetchFromGitLab, cmake }:
|
||||
|
||||
let
|
||||
version = "3.3.7";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eigen";
|
||||
inherit version;
|
||||
version = "3.3.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
|
||||
name = "eigen-${version}.tar.gz";
|
||||
sha256 = "1nnh0v82a5xibcjaph51mx06mxbllk77fvihnd5ba0kpl23yz13y";
|
||||
src = fetchFromGitLab {
|
||||
owner = "libeigen";
|
||||
repo = "eigen";
|
||||
rev = version;
|
||||
sha256 = "1i3cvg8d70dk99fl3lrv3wqhfpdnm5kx01fl7r2bz46sk9bphwm1";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -22,7 +20,7 @@ stdenv.mkDerivation {
|
||||
meta = with stdenv.lib; {
|
||||
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
|
||||
license = licenses.lgpl3Plus;
|
||||
homepage = http://eigen.tuxfamily.org ;
|
||||
homepage = "https://eigen.tuxfamily.org";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with stdenv.lib.maintainers; [ sander raskin ];
|
||||
inherit version;
|
||||
|
Loading…
Reference in New Issue
Block a user