blob: 8ab2a1964d3a6b2ad23a1f7d1e6fccb372fcd85c (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flask,
hatchling,
hatch-vcs,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "picobox";
version = "4.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ikalnytskyi";
repo = "picobox";
tag = version;
hash = "sha256-JtrwUVo3b4G34OUShX4eJS2IVubl4vBmEtB/Jhk4eJI=";
};
nativeBuildInputs = [
hatchling
hatch-vcs
];
nativeCheckInputs = [
flask
pytestCheckHook
];
pythonImportsCheck = [ "picobox" ];
meta = {
description = "Opinionated dependency injection framework";
homepage = "https://github.com/ikalnytskyi/picobox";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ flokli ];
};
}
|