2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, django, python }:
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-formtools";
|
|
|
|
version = "2.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1chkbl188yj6hvhh1wgjpfgql553k6hrfwxzb8vv4lfdq41jq9y5";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m django test --settings=tests.settings
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A set of high-level abstractions for Django forms";
|
|
|
|
homepage = "https://github.com/jazzband/django-formtools";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ greizgh schmittlauch ];
|
|
|
|
};
|
|
|
|
}
|