blob: eb59ba2467780e32c072d3e62e871dc632916017 (
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
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
# build-system
pbr,
setuptools,
# tests
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "munch";
version = "4.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Infinidat";
repo = "munch";
tag = version;
hash = "sha256-p7DvOGRhkCmtJ32EfttyKXGGmO5kfb2bQGqok/RJtU8=";
};
patches = [
(fetchpatch2 {
# python3.13 compat
url = "https://github.com/Infinidat/munch/commit/84651ee872f9ea6dbaed986fd3818202933a8b50.patch";
hash = "sha256-n/uBAP7pnlGZcnDuxdMKWgAEdG9gWeGoLWB97T1KloY=";
})
];
env.PBR_VERSION = version;
nativeBuildInputs = [
pbr
setuptools
];
nativeCheckInputs = [
pytestCheckHook
pyyaml
];
meta = {
description = "Dot-accessible dictionary (a la JavaScript objects)";
license = lib.licenses.mit;
homepage = "https://github.com/Infinidat/munch";
};
}
|