8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
685 B
Nix
25 lines
685 B
Nix
{ 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 ];
|
|
};
|
|
}
|