Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 66 lines 1.2 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 cmake, 6 doxygen, 7 boost, 8 eigen, 9 jrl-cmakemodules, 10 numpy, 11 scipy, 12}: 13 14buildPythonPackage rec { 15 pname = "eigenpy"; 16 version = "3.10.1"; 17 pyproject = false; # Built with cmake 18 19 src = fetchFromGitHub { 20 owner = "stack-of-tasks"; 21 repo = "eigenpy"; 22 rev = "refs/tags/v${version}"; 23 hash = "sha256-9hKYCCKgPn1IJDezX/ARJHr5+0ridmGd1b3k/ZaVRG0="; 24 }; 25 26 outputs = [ 27 "dev" 28 "doc" 29 "out" 30 ]; 31 32 cmakeFlags = [ 33 "-DINSTALL_DOCUMENTATION=ON" 34 "-DBUILD_TESTING_SCIPY=ON" 35 ]; 36 37 strictDeps = true; 38 39 nativeBuildInputs = [ 40 cmake 41 doxygen 42 scipy 43 ]; 44 45 buildInputs = [ boost ]; 46 47 propagatedBuildInputs = [ 48 eigen 49 jrl-cmakemodules 50 numpy 51 ]; 52 53 pythonImportsCheck = [ "eigenpy" ]; 54 55 meta = with lib; { 56 description = "Bindings between Numpy and Eigen using Boost.Python"; 57 homepage = "https://github.com/stack-of-tasks/eigenpy"; 58 changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; 59 license = licenses.bsd2; 60 maintainers = with maintainers; [ 61 nim65s 62 wegank 63 ]; 64 platforms = platforms.unix; 65 }; 66}