python3.pkgs.aiomysql: fix build dependency constraints
This commit is contained in:
parent
ce3d6fe59b
commit
99055c0040
1 changed files with 13 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, pymysql
|
, pymysql
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
, setuptools-scm-git-archive
|
, wheel
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -21,9 +22,19 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-m/EgoBU3e+s3soXyYtACMDSjJfMLBOk/00qPtgawwQ8=";
|
hash = "sha256-m/EgoBU3e+s3soXyYtACMDSjJfMLBOk/00qPtgawwQ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/aio-libs/aiomysql/pull/955
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-setuptools-scm-git-archive-dependency.patch";
|
||||||
|
url = "https://github.com/aio-libs/aiomysql/commit/fee997d2e848b634a84ce0c4e9025e3b3e761640.patch";
|
||||||
|
hash = "sha256-qKcOfdDaA9DLS2fdHOEUW37aCCdtZjN0zsFV9dK/umQ=";
|
||||||
|
includes = [ "pyproject.toml" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
setuptools-scm-git-archive
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue