37 lines
665 B
Nix
37 lines
665 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, termcolor
|
|
, pytest
|
|
, packaging
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-sugar";
|
|
version = "0.9.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-xHk0lfPDLhFPD1QWKQlGwxbrlq1aNoTc2t2pJn5Zsrg=";
|
|
};
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [
|
|
termcolor
|
|
packaging
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A plugin that changes the default look and feel of py.test";
|
|
homepage = "https://github.com/Frozenball/pytest-sugar";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|