blob: 0a08dc737449a073f38b0858d0726f0d42681af0 (
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
47
48
|
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch2
, setuptools
, packaging
}:
buildPythonPackage rec {
pname = "asterisk-mbox";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
pname = "asterisk_mbox";
inherit version;
hash = "sha256-BiT5q4XOnE1DZV+GU+hTn6EMgbYP17lLGhXc4wbCCIg=";
};
patches = [
# https://github.com/PhracturedBlue/asterisk_mbox/pull/1
(fetchpatch2 {
name = "distutils-deprecated.patch";
url = "https://github.com/PhracturedBlue/asterisk_mbox/commit/bab84525306a0c41aadd3aab4ebba7c062253d07.patch";
hash = "sha256-2j7jIl3Ydn2dHJhEzu/77Zkxhw58NIebgULifpTVidY=";
})
];
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
packaging
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "asterisk_mbox" ];
meta = with lib; {
description = "The client side of a client/server to interact with Asterisk voicemail mailboxes";
homepage = "https://github.com/PhracturedBlue/asterisk_mbox";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}
|