python311Packages.aiounittest: use pep517 build, disable on py312

This commit is contained in:
Martin Weinelt
2023-12-20 20:45:55 +01:00
parent 7c3f8ad5b7
commit ce2bea7b9e
@@ -1,17 +1,20 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, setuptools
, nose
, coverage
, isPy27
, wrapt
}:
buildPythonPackage rec {
pname = "aiounittest";
version = "1.4.2";
format = "setuptools";
disabled = isPy27;
pyproject = true;
# requires the imp module
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "kwarunek";
@@ -20,6 +23,10 @@ buildPythonPackage rec {
hash = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
wrapt
];