10 buildPythonPackage rec {
11 pname = "django-taggit";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-TVLenTckWpufmMDscf3M8dIoPjjohm1Ap65qO2eHoWE=";
22 propagatedBuildInputs = [
26 pythonImportsCheck = [
35 # prove we're running tests against installed package, not build dir
37 # Replace directory of locale
38 substituteInPlace ./tests/test_utils.py \
39 --replace 'os.path.dirname(__file__), ".."' "\"$out/lib/python${lib.versions.majorMinor python.version}/site-packages/\""
40 ${python.interpreter} -m django test --settings=tests.settings
44 description = "Simple tagging for django";
45 homepage = "https://github.com/jazzband/django-taggit";
46 changelog = "https://github.com/jazzband/django-taggit/blob/${version}/CHANGELOG.rst";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ desiderius ];