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