django-polymorphic: init at 1.2

This commit is contained in:
Langston Barrett 2017-06-27 21:12:29 +00:00
parent 07dc20e436
commit 6fd4c3956e
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
pname = "django-polymorphic";
version = "1.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1bz86711sx2b66rl2xz141xppsfmlxilkgjgq0jsavpw37vg7r3r";
};
checkInputs = [ django ];
propagatedBuildInputs = [ django ];
meta = {
homepage = "https://github.com/django-polymorphic/django-polymorphic";
description = "Improved Django model inheritance with automatic downcasting";
license = stdenv.lib.licenses.bsd3;
};
}

View File

@ -10005,6 +10005,8 @@ in {
django_guardian = callPackage ../development/python-modules/django_guardian.nix { };
django_polymorphic = callPackage ../development/python-modules/django-polymorphic { };
django_tagging = buildPythonPackage rec {
name = "django-tagging-0.4.5";