nixpkgs/pkgs/development/python-modules/pytest-sugar/default.nix
2023-01-05 01:10:24 +01:00

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 ];
};
}