blob: bcd1e2ebe58ce4fa834dee3149b97519ee37a6d6 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
cryptography,
pycryptodomex,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pysnmpcrypto";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lextudio";
repo = "pysnmpcrypto";
tag = "v${version}";
hash = "sha256-gNRD8mSWVVLXwJjb3nT7IKnjTdwTutFDnQybgZTY2b0=";
};
build-system = [ poetry-core ];
dependencies = [
cryptography
pycryptodomex
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pysnmpcrypto" ];
meta = {
description = "Strong crypto support for Python SNMP library";
homepage = "https://github.com/lextudio/pysnmpcrypto";
changelog = "https://github.com/lextudio/pysnmpcrypto/blob/${version}/CHANGES.txt";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
|