pythonPackages.django_appconf: backport support for django-2.2
This commit is contained in:
parent
2711c7477d
commit
5cecdbf834
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildPythonPackage, fetchFromGitHub, six, django }:
|
{ stdenv, buildPythonPackage, fetchFromGitHub, six, django, fetchpatch }:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-appconf";
|
pname = "django-appconf";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
|
@ -12,6 +12,14 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ six django ];
|
propagatedBuildInputs = [ six django ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "backport_django_2_2.patch";
|
||||||
|
url = "https://github.com/django-compressor/django-appconf/commit/1526a842ee084b791aa66c931b3822091a442853.patch";
|
||||||
|
sha256 = "1vl2s6vlf15089s8p4c3g4d5iqm8jva66bdw683r8440f80ixgmw";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# prove we're running tests against installed package, not build dir
|
# prove we're running tests against installed package, not build dir
|
||||||
rm -r appconf
|
rm -r appconf
|
||||||
|
|
Loading…
Reference in New Issue