build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / development / python-modules / structlog / default.nix
blob39de0afbf169cd657253f18b72691b7fcce9d1ef
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   freezegun,
6   hatch-fancy-pypi-readme,
7   hatch-vcs,
8   hatchling,
9   pretend,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   simplejson,
16 buildPythonPackage rec {
17   pname = "structlog";
18   version = "24.4.0";
19   pyproject = true;
21   disabled = pythonOlder "3.8";
23   src = fetchFromGitHub {
24     owner = "hynek";
25     repo = "structlog";
26     tag = version;
27     hash = "sha256-z3ecgsep/BQJ+Fv78rV4XiFU4+1aaUEfNEtIqy44KV4=";
28   };
30   build-system = [
31     hatch-fancy-pypi-readme
32     hatch-vcs
33     hatchling
34   ];
36   nativeCheckInputs = [
37     freezegun
38     pretend
39     pytest-asyncio
40     pytestCheckHook
41     simplejson
42   ];
44   pythonImportsCheck = [ "structlog" ];
46   meta = with lib; {
47     description = "Painless structural logging";
48     homepage = "https://github.com/hynek/structlog";
49     changelog = "https://github.com/hynek/structlog/blob/${version}/CHANGELOG.md";
50     license = licenses.asl20;
51     maintainers = with maintainers; [ dotlambda ];
52   };