blob: fc9c9b0577f1438825c2f2c6596d0e0975138136 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodome,
pycryptodomex,
setuptools,
}:
buildPythonPackage rec {
pname = "unicrypto";
version = "0.0.12";
pyproject = true;
src = fetchFromGitHub {
owner = "skelsec";
repo = "unicrypto";
tag = version;
hash = "sha256-RYwovFMalBNDPDEVjQ/8/N7DkOMiyeEQ5ESdgCK8RW8=";
};
build-system = [ setuptools ];
dependencies = [
pycryptodome
pycryptodomex
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "unicrypto" ];
meta = {
description = "Unified interface for cryptographic libraries";
homepage = "https://github.com/skelsec/unicrypto";
changelog = "https://github.com/skelsec/unicrypto/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|