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:
Dmitry Bogatov 2022-05-19 08:42:59 -04:00 committed by GitHub
parent 64a6ffb999
commit 7606327ad3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
''; '';