1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

eigen: refactor

This commit is contained in:
AndersonTorres 2021-04-22 23:18:44 -03:00
parent 05017741d7
commit 7e8c6fd28a

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;
};
}