b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
23 lines
652 B
Nix
23 lines
652 B
Nix
{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-stubs-ext";
|
|
version = "0.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-m9dBg3arALf4jW1Wvp/s6Fv6DHw0isYhFV+k16kRRvI=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|