nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 django,
6}:
7
8buildPythonPackage rec {
9 pname = "filebrowser-safe";
10 version = "1.1.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 pname = "filebrowser_safe";
15 inherit version;
16 sha256 = "499c5dbd9e112dfc436cae7713b2fb664a59015021f6c9d131e3b7980aeb5c94";
17 };
18
19 buildInputs = [ django ];
20
21 # There is no test embedded
22 doCheck = false;
23
24 meta = {
25 description = "Snapshot of django-filebrowser for the Mezzanine CMS";
26 longDescription = ''
27 filebrowser-safe was created to provide a snapshot of the
28 FileBrowser asset manager for Django, to be referenced as a
29 dependency for the Mezzanine CMS for Django.
30 '';
31 homepage = "https://github.com/stephenmcd/filebrowser-safe";
32 downloadPage = "https://pypi.python.org/pypi/filebrowser_safe/";
33 license = lib.licenses.bsd3;
34 maintainers = with lib.maintainers; [ prikhi ];
35 platforms = lib.platforms.unix;
36 };
37}