nixpkgs/pkgs/development/python-modules/loguru/default.nix
R. RyanTM 3f06014e39 python37Packages.loguru: 0.3.0 -> 0.3.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-loguru/versions
2019-07-20 12:26:26 +02:00

25 lines
608 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }:
buildPythonPackage rec {
pname = "loguru";
version = "0.3.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "14pmxyx4kwyafdifqzal121mpdd89lxbjgn0zzi9z6fmzk6pr5h2";
};
checkInputs = [ pytest colorama ];
checkPhase = ''
pytest -k 'not test_time_rotation_reopening'
'';
meta = with lib; {
homepage = https://github.com/Delgan/loguru;
description = "Python logging made (stupidly) simple";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}