mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
25 lines
608 B
Nix
25 lines
608 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, colorama }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "loguru";
|
|
version = "0.3.0";
|
|
|
|
disabled = isPy27;
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b2phizcx2wbdm5np0s16yd68fc0isqnm8qs6l9pmlrlyf9gm87j";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|