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

24 lines
549 B
Nix
Raw Normal View History

2019-01-10 17:19:22 +00:00
{ lib, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "logzero";
version = "1.7.0";
2019-01-10 17:19:22 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "7f73ddd3ae393457236f081ffebd044a3aa2e423a47ae6ddb5179ab90d0ad082";
2019-01-10 17:19:22 +00:00
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
homepage = "https://github.com/metachris/logzero";
2019-01-10 17:19:22 +00:00
description = "Robust and effective logging for Python 2 and 3";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}