Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / picobox / default.nix
blob221493eb2194c5a4374f060aea0d40a205595b89
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flask
5 , hatchling
6 , hatch-vcs
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "picobox";
13   version = "4.0.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "ikalnytskyi";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-JtrwUVo3b4G34OUShX4eJS2IVubl4vBmEtB/Jhk4eJI=";
24   };
26   nativeBuildInputs = [
27     hatchling
28     hatch-vcs
29   ];
31   nativeCheckInputs = [
32     flask
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "picobox"
38   ];
40   meta = with lib; {
41     description = "Opinionated dependency injection framework";
42     homepage = "https://github.com/ikalnytskyi/picobox";
43     license = licenses.mit;
44     maintainers = with maintainers; [ flokli ];
45   };