python3Packages.aiorun: switch to pypaBuildHook
This commit is contained in:
parent
71df6d0355
commit
0fe33eca93
|
@ -2,6 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, fetchpatch
|
||||||
|
, flit-core
|
||||||
, pygments
|
, pygments
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, uvloop
|
, uvloop
|
||||||
|
@ -10,7 +12,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiorun";
|
pname = "aiorun";
|
||||||
version = "2023.7.2";
|
version = "2023.7.2";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -21,6 +23,18 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-3AGsT8IUNi5SZHBsBfd7akj8eQ+xb0mrR7ydIr3T8gs=";
|
hash = "sha256-3AGsT8IUNi5SZHBsBfd7akj8eQ+xb0mrR7ydIr3T8gs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Raise flit-core version constrains
|
||||||
|
(fetchpatch { # https://github.com/cjrh/aiorun/pull/85
|
||||||
|
url = "https://github.com/cjrh/aiorun/commit/a0c027ea331167712738e35ca70fefcd794e16d5.patch";
|
||||||
|
hash = "sha256-M1rcrkdFcoFa3IncPnJaRhnXbelyk56QnMGtmgB6bvk=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pygments
|
pygments
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue