mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 06:09:22 +08:00
13 lines
386 B
Nix
13 lines
386 B
Nix
{ src, buildPythonPackage, setuptools, cmake, buildProxy, distutils, numpy, scipy, matplotlib, pytest }:
|
|
buildPythonPackage
|
|
{
|
|
name = "pybinding";
|
|
inherit src;
|
|
pyproject = true;
|
|
build-system = [ setuptools cmake distutils ];
|
|
dependencies = [ numpy scipy matplotlib pytest ];
|
|
dontUseCmakeConfigure = true;
|
|
preBuild = ''source ${buildProxy}'';
|
|
patches = [ ./fix.patch ];
|
|
}
|