2021-01-25 08:26:54 +00:00
|
|
|
{ buildPythonPackage, fetchFromGitHub, python, lib, django }:
|
2020-08-18 10:05:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-widget-tweaks";
|
|
|
|
version = "1.4.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub { # package from Pypi missing runtests.py
|
|
|
|
owner = "jazzband";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "00w1ja56dc7cyw7a3mph69ax6mkch1lsh4p98ijdhzfpjdy36rbg";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = "${python.interpreter} runtests.py";
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-08-18 10:05:57 +01:00
|
|
|
description = "Tweak the form field rendering in templates, not in python-level form definitions.";
|
|
|
|
homepage = "https://github.com/jazzband/django-widget-tweaks";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
maxxk
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|