2017-06-27 21:12:29 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, django }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-polymorphic";
|
2018-02-17 13:19:20 +00:00
|
|
|
version = "2.0.2";
|
2017-06-27 21:12:29 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-17 13:19:20 +00:00
|
|
|
sha256 = "e1821d7b5874509a158a0f22bebf544330e0944c481c5a3e6da6cac8887e4e88";
|
2017-06-27 21:12:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ django ];
|
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/django-polymorphic/django-polymorphic;
|
2017-06-27 21:12:29 +00:00
|
|
|
description = "Improved Django model inheritance with automatic downcasting";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|