c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
23 lines
650 B
Nix
23 lines
650 B
Nix
{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-stubs-ext";
|
|
version = "0.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mpup4oCHN5Sd6WoPzosFTxLTjkYQEdd+vAdP/oxD38s=";
|
|
};
|
|
|
|
# setup.cfg tries to pull in nonexistent LICENSE.txt file
|
|
postPatch = "rm setup.cfg";
|
|
|
|
propagatedBuildInputs = [ django typing-extensions ];
|
|
|
|
meta = with lib; {
|
|
description = "Extensions and monkey-patching for django-stubs";
|
|
homepage = "https://github.com/typeddjango/django-stubs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elohmeier ];
|
|
};
|
|
}
|