2018-06-23 15:27:58 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pyyaml, nose, jinja2, mock, pytest }:
|
2018-02-25 18:27:36 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-06-23 15:27:58 +02:00
|
|
|
pname = "webassets";
|
2018-02-25 18:27:36 +01:00
|
|
|
version = "0.12.1";
|
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-25 18:27:36 +01:00
|
|
|
sha256 = "1nrqkpb7z46h2b77xafxihqv3322cwqv6293ngaky4j3ff4cing7";
|
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2018-06-27 22:12:57 +02:00
|
|
|
homepage = https://github.com/miracle2k/webassets/;
|
2018-02-25 18:27:36 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|