Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
945 B · 50 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, stdenv, fetchFromGitHub, cmake, boost, eigen, numpy}:
stdenv.mkDerivation (finalAttrs: { pname = "eigenpy"; version = "3.2.0";
src = fetchFromGitHub { owner = "stack-of-tasks"; repo = finalAttrs.pname; rev = "v${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-ApWz0La+weqczVj3EyBqTAFlTt8cylA3Dl0ZDP4/i5o="; };
strictDeps = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
propagatedBuildInputs = [ eigen numpy ];
doCheck = true; pythonImportsCheck = [ "eigenpy" ];
meta = with lib; { description = "Bindings between Numpy and Eigen using Boost.Python"; homepage = "https://github.com/stack-of-tasks/eigenpy"; changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; license = licenses.bsd2; maintainers = with maintainers; [ nim65s wegank ]; platforms = platforms.unix; };})