Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, django 5}: 6 7buildPythonPackage rec { 8 version = "0.5.0"; 9 pname = "filebrowser_safe"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "5dcd31dd79684025139b43841f6515af1da5a4bb0de15bc4d88003db1970648e"; 14 }; 15 16 buildInputs = [ django ]; 17 18 # There is no test embedded 19 doCheck = false; 20 21 meta = with stdenv.lib; { 22 description = "A snapshot of django-filebrowser for the Mezzanine CMS"; 23 longDescription = '' 24 filebrowser_safe was created to provide a snapshot of the 25 FileBrowser asset manager for Django, to be referenced as a 26 dependency for the Mezzanine CMS for Django. 27 28 At the time of filebrowser_safe's creation, FileBrowser was 29 incorrectly packaged on PyPI, and had also dropped compatibility 30 with Django 1.1 - filebrowser_safe was therefore created to 31 address these specific issues. 32 ''; 33 homepage = "https://github.com/stephenmcd/filebrowser-safe"; 34 downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/"; 35 license = licenses.free; 36 maintainers = with maintainers; [ prikhi ]; 37 platforms = platforms.unix; 38 }; 39 40}