depot/third_party/nixpkgs/pkgs/development/python-modules/logzero/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

23 lines
549 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "logzero";
version = "1.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "1435284574e409b8ec8b680f276bca04cab41f93d6eff4dc8348b7630cddf560";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://github.com/metachris/logzero";
description = "Robust and effective logging for Python 2 and 3";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}