python310Packages.django-widget-tweaks: add format
- disable on unsupported Python releases
This commit is contained in:
parent
21fbbe3d28
commit
fc7ab50b19
1 changed files with 5 additions and 7 deletions
|
@ -1,22 +1,20 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# native
|
||||
, setuptools-scm
|
||||
|
||||
# propagated
|
||||
, django
|
||||
|
||||
# tests
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-widget-tweaks";
|
||||
version = "1.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub { # package from Pypi missing runtests.py
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
|
|
Loading…
Reference in a new issue