blob: 221493eb2194c5a4374f060aea0d40a205595b89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, hatchling
, hatch-vcs
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "picobox";
version = "4.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ikalnytskyi";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-JtrwUVo3b4G34OUShX4eJS2IVubl4vBmEtB/Jhk4eJI=";
};
nativeBuildInputs = [
hatchling
hatch-vcs
];
nativeCheckInputs = [
flask
pytestCheckHook
];
pythonImportsCheck = [
"picobox"
];
meta = with lib; {
description = "Opinionated dependency injection framework";
homepage = "https://github.com/ikalnytskyi/picobox";
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}
|