diff --git a/local/pkgs/default.nix b/local/pkgs/default.nix index fb7fa9e8..4e55d60a 100644 --- a/local/pkgs/default.nix +++ b/local/pkgs/default.nix @@ -30,4 +30,5 @@ nodesoup = callPackage ./nodesoup {}; matplotplusplus = callPackage ./matplotplusplus { inherit nodesoup; }; zpp-bits = callPackage ./zpp-bits {}; + eigen = callPackage ./eigen {}; } diff --git a/local/pkgs/eigen/default.nix b/local/pkgs/eigen/default.nix new file mode 100644 index 00000000..f7fed7ae --- /dev/null +++ b/local/pkgs/eigen/default.nix @@ -0,0 +1,12 @@ +{ lib, stdenv, fetchFromGitLab, cmake }: stdenv.mkDerivation rec +{ + name = "eigen"; + src = fetchFromGitLab + { + owner = "libeigen"; + repo = name; + rev = "6d829e766ff1b1ab867d93631163cbc63ed5798f"; + sha256 = "BXUnizcRPrOyiPpoyYJ4VVOjlG49aj80mgzPKmEYPKU="; + }; + nativeBuildInputs = [ cmake ]; +}