about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2021-04-22 23:15:07 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2021-04-22 23:43:10 -0300
commit05017741d77d3fbbd7bb23a44b4992888dfe9bac (patch)
tree1a5c0d232cb69a595e74909d22fcfaf1ae4728d1 /pkgs/development/libraries
parentfcb8252e87f3e149b7675efe1a9fdba84e36741d (diff)
eigen2: refactor
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/eigen/2.0.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/libraries/eigen/2.0.nix b/pkgs/development/libraries/eigen/2.0.nix
index a2b1ba47e2d05..a163359463675 100644
--- a/pkgs/development/libraries/eigen/2.0.nix
+++ b/pkgs/development/libraries/eigen/2.0.nix
@@ -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;
   };
 }