forked from mirrors/nixpkgs
Merge pull request #173588 from SuperSandro2000/drf-spectacular-sidecar
python310Packages.drf-spectacular-sidecar: init at 2022.5.1
This commit is contained in:
commit
5e202a5e49
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, django
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "drf-spectacular-sidecar";
|
||||||
|
version = "2022.5.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tfranzel";
|
||||||
|
repo = "drf-spectacular-sidecar";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-UBuHU+F4b+plhGbvqho8/bgmq6yDUXSTnfxyD1xlDY4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
];
|
||||||
|
|
||||||
|
# no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "drf_spectacular_sidecar" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Serve self-contained distribution builds of Swagger UI and Redoc with Django";
|
||||||
|
homepage = "https://github.com/tfranzel/drf-spectacular-sidecar";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2540,6 +2540,8 @@ in {
|
||||||
|
|
||||||
drf-nested-routers = callPackage ../development/python-modules/drf-nested-routers { };
|
drf-nested-routers = callPackage ../development/python-modules/drf-nested-routers { };
|
||||||
|
|
||||||
|
drf-spectacular-sidecar = callPackage ../development/python-modules/drf-spectacular-sidecar { };
|
||||||
|
|
||||||
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
|
drf-yasg = callPackage ../development/python-modules/drf-yasg { };
|
||||||
|
|
||||||
drivelib = callPackage ../development/python-modules/drivelib { };
|
drivelib = callPackage ../development/python-modules/drivelib { };
|
||||||
|
|
Loading…
Reference in a new issue