mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-08 14:06:50 +00:00
Merge pull request #310672 from Scrumplex/pkgs/docplex/fix-build
python3Packages.docplex: fix build
This commit is contained in:
commit
26335efe9c
@ -2,6 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, isPy27
|
||||||
|
, setuptools
|
||||||
, futures ? null
|
, futures ? null
|
||||||
, docloud
|
, docloud
|
||||||
, requests
|
, requests
|
||||||
@ -10,7 +11,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "docplex";
|
pname = "docplex";
|
||||||
version = "2.27.239";
|
version = "2.27.239";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
# No source available from official repo
|
# No source available from official repo
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -18,6 +19,15 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-Ug5+jDBBbamqd0JebzHvjLZoTRRPYWQiJl6g8BK0aMQ=";
|
hash = "sha256-Ug5+jDBBbamqd0JebzHvjLZoTRRPYWQiJl6g8BK0aMQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail "setuptools~=68.2.2" "setuptools>=68.2.2"
|
||||||
|
'';
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
docloud
|
docloud
|
||||||
requests
|
requests
|
||||||
|
Loading…
Reference in New Issue
Block a user