1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/development/python-modules/webassets/default.nix
2018-06-29 21:06:39 +02:00

26 lines
686 B
Nix

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