mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge pull request #120290 from AndersonTorres/quick-modifications
eigen: refactor
This commit is contained in:
commit
b987009bbf
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue