2017-04-27 16:18:14 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
django, django_nose, six
|
|
|
|
}:
|
2017-05-01 15:14:39 +02:00
|
|
|
let x =
|
2017-04-27 16:18:14 +02:00
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "django-compat-${version}";
|
|
|
|
version = "1.0.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/django-compat/${name}.tar.gz";
|
|
|
|
sha256 = "18y5bxxmafcd4np42mzbalva5lpssq0b8ki7zckbzvdv2mnv43xj";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ django_nose ];
|
|
|
|
propagatedBuildInputs = [ django six ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Forward and backwards compatibility layer for Django 1.4, 1.7, 1.8, 1.9, 1.10 and 1.11";
|
|
|
|
homepage = https://github.com/arteria/django-compat;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2017-05-01 15:14:39 +02:00
|
|
|
};
|
|
|
|
in x // {overrideBPP = x.override;}
|