Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.7.0"; 17 pyproject = false; # Built with cmake 18 19 src = fetchFromGitHub { 20 owner = "stack-of-tasks"; 21 repo = "eigenpy"; 22 rev = "v${version}"; 23 hash = "sha256-D/k/ka500EZch5Ydym2WYtd5vciGkd9rdBUSjTsZ0w4="; 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 doCheck = true; 54 pythonImportsCheck = [ "eigenpy" ]; 55 56 meta = with lib; { 57 description = "Bindings between Numpy and Eigen using Boost.Python"; 58 homepage = "https://github.com/stack-of-tasks/eigenpy"; 59 changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; 60 license = licenses.bsd2; 61 maintainers = with maintainers; [ 62 nim65s 63 wegank 64 ]; 65 platforms = platforms.unix; 66 }; 67}