Files
nixpkgs/pkgs/development/python-modules/logzero/default.nix

30 lines
572 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {
pname = "logzero";
version = "1.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-f3Pd0645NFcjbwgf/r0ESjqi5COkeubdtReauQ0K0II=";
};
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://github.com/metachris/logzero";
description = "Robust and effective logging for Python 2 and 3";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jakewaksbaum ];
};
}