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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
# native
|
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
|
|
||||||
# propagated
|
|
||||||
, django
|
, django
|
||||||
|
|
||||||
# tests
|
|
||||||
, python
|
, python
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-widget-tweaks";
|
pname = "django-widget-tweaks";
|
||||||
version = "1.5.0";
|
version = "1.5.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub { # package from Pypi missing runtests.py
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
owner = "jazzband";
|
owner = "jazzband";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
|
|
Loading…
Reference in a new issue