Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 843 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, boost 6, eigen 7, numpy 8}: 9 10stdenv.mkDerivation rec { 11 pname = "eigenpy"; 12 version = "3.0.0"; 13 14 src = fetchFromGitHub { 15 owner = "stack-of-tasks"; 16 repo = pname; 17 rev = "v${version}"; 18 fetchSubmodules = true; 19 hash = "sha256-xaeMsn3G4x5DS6gXc6mbZvi96K1Yu8CuzjcGnYJYrvs="; 20 }; 21 22 strictDeps = true; 23 24 nativeBuildInputs = [ 25 cmake 26 ]; 27 28 buildInputs = [ 29 boost 30 ]; 31 32 propagatedBuildInputs = [ 33 eigen 34 numpy 35 ]; 36 37 meta = with lib; { 38 description = "Bindings between Numpy and Eigen using Boost.Python"; 39 homepage = "https://github.com/stack-of-tasks/eigenpy"; 40 changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; 41 license = licenses.bsd2; 42 maintainers = with maintainers; [ wegank ]; 43 platforms = platforms.unix; 44 }; 45}