Merge pull request #139396 from trofi/fix-phik

python39Packages.phik: fix build
This commit is contained in:
Ryan Burns 2021-10-11 01:21:13 -07:00 committed by GitHub
commit 8da58db50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, cmake
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, pytest , pytest
@ -11,19 +12,19 @@
, scipy , scipy
, pandas , pandas
, matplotlib , matplotlib
, ninja
, numba , numba
, pybind11
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "phik"; pname = "phik";
version = "0.12.0"; version = "0.12.0";
format = "wheel";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version format; inherit pname version;
python = "py3"; sha256 = "959fd40482246e3f643cdac5ea04135b2c11a487e917af7d4e75843f47183549";
sha256 = "57db39d1c74c84a24d0270b63d1c629a5cb975462919895b96a8522ae0678408";
}; };
checkInputs = [ checkInputs = [
@ -40,6 +41,15 @@ buildPythonPackage rec {
pandas pandas
matplotlib matplotlib
numba numba
pybind11
];
# uses setuptools to drive build process
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
ninja
]; ];
postInstall = '' postInstall = ''