Merge pull request #198985 from SuperSandro2000/python310Packages.drf-spectacular

This commit is contained in:
Sandro 2022-11-06 12:30:06 +01:00 committed by GitHub
commit 1eb3f6ef71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,13 +28,13 @@
buildPythonPackage rec {
pname = "drf-spectacular";
version = "0.22.1";
version = "0.24.2";
src = fetchFromGitHub {
owner = "tfranzel";
repo = "drf-spectacular";
rev = version;
sha256 = "sha256-SgzyIzgFBXsNHfY2OfCq0LhJyi/ZCOSA8QveKNduIBc=";
sha256 = "sha256-WE+iOD3OjDByisHI9GgvjUUSpvOz+IYi/3Y8AmR7Eps=";
};
propagatedBuildInputs = [
@ -66,6 +66,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# requires django with gdal
"test_rest_framework_gis"
];
pythonImportsCheck = [ "drf_spectacular" ];
meta = with lib; {