mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #139396 from trofi/fix-phik
python39Packages.phik: fix build
This commit is contained in:
commit
8da58db50b
1 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cmake
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pytest
|
||||
|
@ -11,19 +12,19 @@
|
|||
, scipy
|
||||
, pandas
|
||||
, matplotlib
|
||||
, ninja
|
||||
, numba
|
||||
, pybind11
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "phik";
|
||||
version = "0.12.0";
|
||||
format = "wheel";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
python = "py3";
|
||||
sha256 = "57db39d1c74c84a24d0270b63d1c629a5cb975462919895b96a8522ae0678408";
|
||||
inherit pname version;
|
||||
sha256 = "959fd40482246e3f643cdac5ea04135b2c11a487e917af7d4e75843f47183549";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -40,6 +41,15 @@ buildPythonPackage rec {
|
|||
pandas
|
||||
matplotlib
|
||||
numba
|
||||
pybind11
|
||||
];
|
||||
|
||||
# uses setuptools to drive build process
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
|
Loading…
Reference in a new issue