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
, numba
, pybind11
, scikit-build
}:
buildPythonPackage rec {
pname = "phik";
version = "0.12.2";
disabled = !isPy3k;
format = "pyproject";
src = fetchPypi {
inherit pname version;
@ -50,10 +52,13 @@ buildPythonPackage rec {
nativeBuildInputs = [
cmake
ninja
scikit-build
];
pythonImportCheck = [ "phik" ];
postInstall = ''
rm -r $out/bin
rm -r $out/bin
'';
meta = with lib; {