summary refs log tree commit diff
path: root/pkgs/development/python-modules/webassets/default.nix
blob: 4556eefed2dd35c714ec253fd62398bd7745b880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchPypi, pyyaml, nose, jinja2, mock, pytest }:

buildPythonPackage rec {
  pname = "webassets";
  version = "2.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1kc1042jydgk54xpgcp0r1ib4gys91nhy285jzfcxj3pfqrk4w8n";
  };

  propagatedBuildInputs = [ pyyaml ];
  checkInputs = [ nose jinja2 mock pytest ];

  # Needs Babel CLI tool
  doCheck = false;
  checkPhase = "py.test";

  meta = with lib; {
    description = "Media asset management for Python, with glue code for various web frameworks";
    homepage = https://github.com/miracle2k/webassets/;
    license = licenses.bsd2;
    maintainers = with maintainers; [ abbradar ];
  };
}