1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyyaml, 6 nose, 7 jinja2, 8 mock, 9 pytest, 10}: 11 12buildPythonPackage rec { 13 pname = "webassets"; 14 version = "2.0"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "1kc1042jydgk54xpgcp0r1ib4gys91nhy285jzfcxj3pfqrk4w8n"; 20 }; 21 22 propagatedBuildInputs = [ pyyaml ]; 23 nativeCheckInputs = [ 24 nose 25 jinja2 26 mock 27 pytest 28 ]; 29 30 # Needs Babel CLI tool 31 doCheck = false; 32 checkPhase = "py.test"; 33 34 meta = with lib; { 35 description = "Media asset management for Python, with glue code for various web frameworks"; 36 mainProgram = "webassets"; 37 homepage = "https://github.com/miracle2k/webassets/"; 38 license = licenses.bsd2; 39 maintainers = with maintainers; [ abbradar ]; 40 }; 41}