nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 730 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6}: 7 8buildPythonPackage rec { 9 pname = "ecs-logging"; 10 version = "2.3.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "elastic"; 15 repo = "ecs-logging-python"; 16 tag = version; 17 hash = "sha256-YI3s+KkDPd6PVQlwpau+kgEccquo7FtfNSK278Z8B9M="; 18 }; 19 20 nativeBuildInputs = [ flit-core ]; 21 22 # Circular dependency elastic-apm 23 doCheck = false; 24 25 pythonImportsCheck = [ "ecs_logging" ]; 26 27 meta = { 28 description = "Logging formatters for the Elastic Common Schema (ECS) in Python"; 29 homepage = "https://github.com/elastic/ecs-logging-python"; 30 license = with lib.licenses; [ asl20 ]; 31 maintainers = with lib.maintainers; [ fab ]; 32 }; 33}