2018-06-23 14:27:58 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pyyaml, nose, jinja2, mock, pytest }:
|
2018-02-25 17:27:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 14:27:58 +01:00
|
|
|
pname = "webassets";
|
2020-02-13 20:32:02 +00:00
|
|
|
version = "2.0";
|
2018-02-25 17:27:36 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-13 20:32:02 +00:00
|
|
|
sha256 = "1kc1042jydgk54xpgcp0r1ib4gys91nhy285jzfcxj3pfqrk4w8n";
|
2018-02-25 17:27:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/miracle2k/webassets/";
|
2018-02-25 17:27:36 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|