pythonPackages.verboselogs: init at 1.7
This commit is contained in:
parent
4921d7d048
commit
8238ddfbf8
26
pkgs/development/python-modules/verboselogs/default.nix
Normal file
26
pkgs/development/python-modules/verboselogs/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -4819,6 +4819,8 @@ in {
|
||||
|
||||
user-agents = callPackage ../development/python-modules/user-agents { };
|
||||
|
||||
verboselogs = callPackage ../development/python-modules/verboselogs { };
|
||||
|
||||
vega_datasets = callPackage ../development/python-modules/vega_datasets { };
|
||||
|
||||
virtkey = callPackage ../development/python-modules/virtkey {
|
||||
|
Loading…
Reference in New Issue
Block a user