nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 773 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 python-json-logger, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "logmatic-python"; 11 version = "0.1.7"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "logmatic"; 16 repo = "logmatic-python"; 17 tag = version; 18 hash = "sha256-UYKm00KhXnPQDkKJVm7s0gOwZ3GNY07O0oKbzPhAdVE="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 propagatedBuildInputs = [ python-json-logger ]; 24 25 # Only functional tests, no unit tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "logmatic" ]; 29 30 meta = { 31 description = "Python helpers to send logs to Logmatic.io"; 32 homepage = "https://github.com/logmatic/logmatic-python"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ fab ]; 35 }; 36}