mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
python310Packages.django-stubs-ext: 0.8.0 -> 4.2.0
This commit is contained in:
parent
28773bcb36
commit
9a8d6afb35
@ -1,18 +1,39 @@
|
||||
{ buildPythonPackage, django, fetchPypi, lib, typing-extensions }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-stubs-ext";
|
||||
version = "0.8.0";
|
||||
version = "4.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-mpup4oCHN5Sd6WoPzosFTxLTjkYQEdd+vAdP/oxD38s=";
|
||||
hash = "sha256-d4nwyuynFS/vB61rlN7HMQoF0Ljat395eeGdsAN7USc=";
|
||||
};
|
||||
|
||||
# setup.cfg tries to pull in nonexistent LICENSE.txt file
|
||||
postPatch = "rm setup.cfg";
|
||||
|
||||
propagatedBuildInputs = [ django typing-extensions ];
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"django_stubs_ext"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensions and monkey-patching for django-stubs";
|
||||
|
Loading…
Reference in New Issue
Block a user