1{ lib, buildPythonPackage, fetchPypi, pyyaml, nose, jinja2, mock, pytest }:
2
3buildPythonPackage rec {
4 pname = "webassets";
5 version = "0.12.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1nrqkpb7z46h2b77xafxihqv3322cwqv6293ngaky4j3ff4cing7";
10 };
11
12 propagatedBuildInputs = [ pyyaml ];
13 checkInputs = [ nose jinja2 mock pytest ];
14
15 # Needs Babel CLI tool
16 doCheck = false;
17 checkPhase = "py.test";
18
19 meta = with lib; {
20 description = "Media asset management for Python, with glue code for various web frameworks";
21 homepage = https://github.com/miracle2k/webassets/;
22 license = licenses.bsd2;
23 maintainers = with maintainers; [ abbradar ];
24 };
25}