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