Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / django-widget-tweaks / default.nix
blob853e12327d3270e12f680e589537e137e601b634
1 { buildPythonPackage, fetchFromGitHub, python, lib, django }:
3 buildPythonPackage rec {
4   pname = "django-widget-tweaks";
5   version = "1.4.8";
7   src = fetchFromGitHub { # package from Pypi missing runtests.py
8     owner = "jazzband";
9     repo = pname;
10     rev = version;
11     sha256 = "00w1ja56dc7cyw7a3mph69ax6mkch1lsh4p98ijdhzfpjdy36rbg";
12   };
14   checkPhase = "${python.interpreter} runtests.py";
15   propagatedBuildInputs = [ django ];
17   meta = with lib; {
18       description = "Tweak the form field rendering in templates, not in python-level form definitions.";
19       homepage = "https://github.com/jazzband/django-widget-tweaks";
20       license = licenses.mit;
21       maintainers = with maintainers; [
22           maxxk
23       ];
24   };