depot/third_party/nixpkgs/pkgs/development/python-modules/django-stubs-ext/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

23 lines
652 B
Nix

{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
buildPythonPackage rec {
pname = "django-stubs-ext";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-T9jNvGjRpCHyG7fg2edtUPaktQTTULp4ZAXa9TbpDCE=";
};
# 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 ];
};
}