nixpkgs/pkgs/development/python-modules/django-compat/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

25 lines
653 B
Nix

{ stdenv, buildPythonPackage, fetchurl,
django, django_nose, six
}:
buildPythonPackage rec {
pname = "django-compat";
name = "${pname}-${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;
};
}