depot/third_party/nixpkgs/pkgs/development/python-modules/django-stubs-ext/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

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 ];
};
}