python3.pkgs.phik: fix build (#172751)
Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
64a6ffb999
commit
7606327ad3
1 changed files with 6 additions and 1 deletions
|
@ -15,12 +15,14 @@
|
||||||
, ninja
|
, ninja
|
||||||
, numba
|
, numba
|
||||||
, pybind11
|
, pybind11
|
||||||
|
, scikit-build
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "phik";
|
pname = "phik";
|
||||||
version = "0.12.2";
|
version = "0.12.2";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -50,8 +52,11 @@ buildPythonPackage rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
scikit-build
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportCheck = [ "phik" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm -r $out/bin
|
rm -r $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue