mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
26 lines
691 B
Nix
26 lines
691 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 ];
|
|
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";
|
|
homepage = "https://github.com/miracle2k/webassets/";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|