Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 29 lines 688 B view raw
1{ lib, buildPythonPackage, fetchPypi, setuptools_scm 2, tempora, six, pytest 3}: 4 5buildPythonPackage rec { 6 pname = "jaraco.logging"; 7 version = "2.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "1lb846j7qs1hgqwkyifv51nhl3f8jimbc4lk8yn9nkaynw0vyzcg"; 12 }; 13 14 patches = [ ./0001-Don-t-run-flake8-checks-during-the-build.patch ]; 15 16 buildInputs = [ setuptools_scm ]; 17 propagatedBuildInputs = [ tempora six ]; 18 checkInputs = [ pytest ]; 19 20 checkPhase = '' 21 PYTHONPATH=".:$PYTHONPATH" pytest 22 ''; 23 24 meta = with lib; { 25 description = "Support for Python logging facility"; 26 homepage = https://github.com/jaraco/jaraco.logging; 27 license = licenses.mit; 28 }; 29}