silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / development / python-modules / picobox / default.nix
blobb180c5618daca070c08f507d20784c9ebb1dc7f3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flask,
6   hatchling,
7   hatch-vcs,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "picobox";
14   version = "4.0.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "ikalnytskyi";
22     repo = pname;
23     rev = "refs/tags/${version}";
24     hash = "sha256-JtrwUVo3b4G34OUShX4eJS2IVubl4vBmEtB/Jhk4eJI=";
25   };
27   nativeBuildInputs = [
28     hatchling
29     hatch-vcs
30   ];
32   nativeCheckInputs = [
33     flask
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "picobox" ];
39   meta = with lib; {
40     description = "Opinionated dependency injection framework";
41     homepage = "https://github.com/ikalnytskyi/picobox";
42     license = licenses.mit;
43     maintainers = with maintainers; [ flokli ];
44   };