git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #120290 from AndersonTorres/quick-modifications

eigen: refactor

commitb987009bbfcb7443f9166ef87b1042e60459c954 authorAnderson Torres <torres.anderson.85@protonmail.com> dateFri 23 Apr 2021, 00:54 (6 years ago) parentcc9e0997e8c6fd
2 files changed+14−12
pkgs/development/libraries/eigen/2.0.nix+5−6 pkgs/development/libraries/eigen/default.nix+9−6
pkgs/development/libraries/eigen/2.0.nix+5−6
@@ -6,19 +6,18 @@ stdenv.mkDerivation rec {
66
77 src = fetchFromGitLab {
88 owner = "libeigen";
9− repo = "eigen";
9+ repo = pname;
1010 rev = version;
11− sha256 = "0d4knrcz04pxmxaqs5r3wv092950kl1z9wsw87vdzi9kgvc6wl0b";
11+ hash = "sha256-C1Bu2H4zxd/2QVzz9AOdoCSRwOYjF41Vr/0S8Fm2kzQ=";
1212 };
1313
1414 nativeBuildInputs = [ cmake ];
1515
1616 meta = with lib; {
17+ homepage = "https://eigen.tuxfamily.org";
1718 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
1819 license = licenses.lgpl3Plus;
19− homepage = "https://eigen.tuxfamily.org";
20− maintainers = with lib.maintainers; [ sander raskin ];
21− branch = "2";
22− platforms = with lib.platforms; unix;
20+ maintainers = with maintainers; [ sander raskin ];
21+ platforms = platforms.unix;
2322 };
2423}
pkgs/development/libraries/eigen/default.nix+9−6
@@ -1,4 +1,8 @@
1−{ lib, stdenv, fetchFromGitLab, cmake }:
1+{ lib
2+, stdenv
3+, fetchFromGitLab
4+, cmake
5+}:
26
37stdenv.mkDerivation rec {
48 pname = "eigen";
@@ -6,9 +10,9 @@ stdenv.mkDerivation rec {
610
711 src = fetchFromGitLab {
812 owner = "libeigen";
9− repo = "eigen";
13+ repo = pname;
1014 rev = version;
11− sha256 = "1i3cvg8d70dk99fl3lrv3wqhfpdnm5kx01fl7r2bz46sk9bphwm1";
15+ hash = "sha256-oXJ4V5rakL9EPtQF0Geptl0HMR8700FdSrOB09DbbMQ=";
1216 };
1317
1418 patches = [
@@ -18,11 +22,10 @@ stdenv.mkDerivation rec {
1822 nativeBuildInputs = [ cmake ];
1923
2024 meta = with lib; {
25+ homepage = "https://eigen.tuxfamily.org";
2126 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
2227 license = licenses.lgpl3Plus;
23− homepage = "https://eigen.tuxfamily.org";
28+ maintainers = with maintainers; [ sander raskin ];
2429 platforms = platforms.unix;
25− maintainers = with lib.maintainers; [ sander raskin ];
26− inherit version;
2730 };
2831}