depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-sugar/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

43 lines
825 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, termcolor
, pytest
, packaging
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pytest-sugar";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZCLoMlj1sMBM58YyF2x3Msq1/bkJyznMpckTn4EnbAo=";
};
buildInputs = [
pytest
];
propagatedBuildInputs = [
termcolor
packaging
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "A plugin that changes the default look and feel of pytest";
homepage = "https://github.com/Frozenball/pytest-sugar";
changelog = "https://github.com/Teemu/pytest-sugar/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}