nixpkgs/pkgs/development/python-modules/python-json-logger/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
520 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "python-json-logger";
version = "2.0.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-I+fsAtNCN8WqHimgcBk6Tqh1g7tOf4/QbT3oJkxLLhw=";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Json Formatter for the standard python logger";
homepage = "https://github.com/madzak/python-json-logger";
license = licenses.bsdOriginal;
maintainers = [ ];
};
}