mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
django-formtools: init at 2.2
This commit is contained in:
parent
48934ca5c1
commit
87eaa6260e
23
pkgs/development/python-modules/django-formtools/default.nix
Normal file
23
pkgs/development/python-modules/django-formtools/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi, django, python }:
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2108,6 +2108,8 @@ in {
|
||||
|
||||
django-filter = callPackage ../development/python-modules/django-filter { };
|
||||
|
||||
django-formtools = callPackage ../development/python-modules/django-formtools { };
|
||||
|
||||
django-gravatar2 = callPackage ../development/python-modules/django-gravatar2 { };
|
||||
|
||||
django_guardian = callPackage ../development/python-modules/django_guardian { };
|
||||
|
Loading…
Reference in New Issue
Block a user