diff options
author | eyjhbb@gmail.com <eyjhbb@gmail.com> | 2019-07-23 16:55:47 +0200 |
---|---|---|
committer | eyjhbb@gmail.com <eyjhbb@gmail.com> | 2019-07-24 10:21:56 +0200 |
commit | 8238ddfbf820323e63d7cc67273207c23a518eec (patch) | |
tree | ada3826daaba791ede7cf06b01a5b97fa7061c18 /pkgs/development/python-modules/verboselogs | |
parent | 4921d7d048a0d48b1249fcb3bd74f4425c82fef7 (diff) |
pythonPackages.verboselogs: init at 1.7
Diffstat (limited to 'pkgs/development/python-modules/verboselogs')
-rw-r--r-- | pkgs/development/python-modules/verboselogs/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/verboselogs/default.nix b/pkgs/development/python-modules/verboselogs/default.nix new file mode 100644 index 0000000000000..f4c78858913b7 --- /dev/null +++ b/pkgs/development/python-modules/verboselogs/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }: + +buildPythonPackage rec { + pname = "verboselogs"; + version = "1.7"; + + src = fetchFromGitHub { + owner = "xolox"; + repo = "python-verboselogs"; + rev = version; + sha256 = "10jzm8pkl49as4y2zyiidmfqqj5zmqg3p73jvx4lfxi0gmp1vhl5"; + }; + + # do not run pylint plugin test, as astroid is a old unsupported version + checkPhase = '' + PATH=$PATH:$out/bin pytest . -k "not test_pylint_plugin" + ''; + checkInputs = [ pytest mock ]; + + meta = with lib; { + description = "Verbose logging for Python's logging module"; + homepage = https://github.com/xolox/python-verboselogs; + license = licenses.mit; + maintainers = with maintainers; [ eyjhb ]; + }; +} |