python3Packages.pkgutil-resolve-name: switch to pypaBuildHook
This commit is contained in:
parent
7f54634877
commit
fd63dcad87
|
@ -1,13 +1,15 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, lib
|
||||
, nix-update-script
|
||||
, pythonOlder
|
||||
, flit-core
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pkgutil-resolve-name";
|
||||
version = "1.3.10";
|
||||
format = "flit";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -17,6 +19,18 @@ buildPythonPackage rec {
|
|||
hash = "sha256-NX1snmp1VlPP14iTgXwIU682XdUeyX89NYqBk3O70XQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Raise flit-core version constrains
|
||||
(fetchpatch { # https://github.com/graingert/pkgutil-resolve-name/pull/5
|
||||
url = "https://github.com/graingert/pkgutil-resolve-name/commit/042834290c735fa836bb308ce9e93c9f64d67cbe.patch";
|
||||
hash = "sha256-M1rcrkdFcoFa3IncPnJaRhnXbelyk56QnMGtmgB6bvk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue