mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #310672 from Scrumplex/pkgs/docplex/fix-build
python3Packages.docplex: fix build
This commit is contained in:
commit
26335efe9c
1 changed files with 11 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, setuptools
|
||||
, futures ? null
|
||||
, docloud
|
||||
, requests
|
||||
|
@ -10,7 +11,7 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "docplex";
|
||||
version = "2.27.239";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
# No source available from official repo
|
||||
src = fetchPypi {
|
||||
|
@ -18,6 +19,15 @@ buildPythonPackage rec {
|
|||
hash = "sha256-Ug5+jDBBbamqd0JebzHvjLZoTRRPYWQiJl6g8BK0aMQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=68.2.2" "setuptools>=68.2.2"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docloud
|
||||
requests
|
||||
|
|
Loading…
Reference in a new issue