Merge pull request #120290 from AndersonTorres/quick-modifications

eigen: refactor
This commit is contained in:
Anderson Torres 2021-04-23 00:54:09 -03:00 committed by GitHub
commit b987009bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View file

@ -6,19 +6,18 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
owner = "libeigen";
repo = "eigen";
repo = pname;
rev = version;
sha256 = "0d4knrcz04pxmxaqs5r3wv092950kl1z9wsw87vdzi9kgvc6wl0b";
hash = "sha256-C1Bu2H4zxd/2QVzz9AOdoCSRwOYjF41Vr/0S8Fm2kzQ=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://eigen.tuxfamily.org";
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
homepage = "https://eigen.tuxfamily.org";
maintainers = with lib.maintainers; [ sander raskin ];
branch = "2";
platforms = with lib.platforms; unix;
maintainers = with maintainers; [ sander raskin ];
platforms = platforms.unix;
};
}

View file

@ -1,4 +1,8 @@
{ lib, stdenv, fetchFromGitLab, cmake }:
{ lib
, stdenv
, fetchFromGitLab
, cmake
}:
stdenv.mkDerivation rec {
pname = "eigen";
@ -6,9 +10,9 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
owner = "libeigen";
repo = "eigen";
repo = pname;
rev = version;
sha256 = "1i3cvg8d70dk99fl3lrv3wqhfpdnm5kx01fl7r2bz46sk9bphwm1";
hash = "sha256-oXJ4V5rakL9EPtQF0Geptl0HMR8700FdSrOB09DbbMQ=";
};
patches = [
@ -18,11 +22,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://eigen.tuxfamily.org";
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
license = licenses.lgpl3Plus;
homepage = "https://eigen.tuxfamily.org";
maintainers = with maintainers; [ sander raskin ];
platforms = platforms.unix;
maintainers = with lib.maintainers; [ sander raskin ];
inherit version;
};
}