1{ lib, buildPythonPackage, fetchurl, pyyaml, nose, jinja2, mock, pytest }: 2 3buildPythonPackage rec { 4 name = "webassets-${version}"; 5 version = "0.12.1"; 6 7 src = fetchurl { 8 url = "mirror://pypi/w/webassets/${name}.tar.gz"; 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 = http://github.com/miracle2k/webassets/; 22 license = licenses.bsd2; 23 maintainers = with maintainers; [ abbradar ]; 24 }; 25}