depot/third_party/nixpkgs/pkgs/development/python-modules/webassets/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
782 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pyyaml,
nose,
jinja2,
mock,
pytest,
}:
buildPythonPackage rec {
pname = "webassets";
version = "2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1kc1042jydgk54xpgcp0r1ib4gys91nhy285jzfcxj3pfqrk4w8n";
};
propagatedBuildInputs = [ pyyaml ];
nativeCheckInputs = [
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";
mainProgram = "webassets";
homepage = "https://github.com/miracle2k/webassets/";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];
};
}