1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, setuptools 6}: 7 8buildPythonPackage rec { 9 version = "1.1.1"; 10 pname = "grappelli-safe"; 11 pyproject = true; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 pname = "grappelli_safe"; 17 inherit version; 18 hash = "sha256-7jSz4qNxFJix+No9naqKEjnv3yVaISGBdCtqWJD6wDk="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools 23 ]; 24 25 # upstream has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ 29 "grappelli_safe" 30 ]; 31 32 meta = with lib; { 33 description = "A snapshot of django-grappelli for the Mezzanine CMS"; 34 longDescription = '' 35 grappelli_safe was created to provide a snapshot of the 36 Grappelli admin skin for Django, to be referenced as a 37 dependency for the Mezzanine CMS for Django. 38 39 At the time of grappelli_safe's creation, Grappelli was 40 incorrectly packaged on PyPI, and had also dropped compatibility 41 with Django 1.1 - grappelli_safe was therefore created to 42 address these specific issues. 43 ''; 44 homepage = "https://github.com/stephenmcd/grappelli-safe"; 45 downloadPage = "http://pypi.python.org/pypi/grappelli_safe/"; 46 changelog = "https://github.com/stephenmcd/grappelli-safe/releases/tag/v${version}"; 47 license = licenses.bsd3; 48 maintainers = with maintainers; [ prikhi ]; 49 }; 50}