git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.concurrent-log-handler: init at 0.9.19
commit74365e4ff1a13e9ba95ab4524db8925334facaa4 authorLouis Bettens <louis@bettens.info> dateMon 10 May 2021, 17:45 (6 years ago) parent134b5f5
2 files changed+34
pkgs/development/python-modules/concurrent-log-handler/default.nix+32 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/concurrent-log-handler/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, portalocker
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "concurrent-log-handler";
9+ version = "0.9.19";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ hash = "sha256-sS95q+0/lBIcJc6cJM21fYiSguxv9h9VNasgaNw31Ak=";
14+ };
15+
16+ propagatedBuildInputs = [
17+ portalocker
18+ ];
19+
20+ pythonImportsCheck = [
21+ "concurrent_log_handler"
22+ ];
23+
24+ doCheck = false; # upstream has no tests
25+
26+ meta = with lib; {
27+ description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently";
28+ homepage = "https://www.chia.net/";
29+ license = licenses.asl20;
30+ maintainers = teams.chia.members;
31+ };
32+}
pkgs/top-level/python-packages.nix+2
@@ -1519,6 +1519,8 @@ in {
15191519
15201520 compiledb = callPackage ../development/python-modules/compiledb { };
15211521
1522+ concurrent-log-handler = callPackage ../development/python-modules/concurrent-log-handler { };
1523+
15221524 conda = callPackage ../development/python-modules/conda { };
15231525
15241526 ConfigArgParse = self.configargparse; # added 2021-03-18