blob: 2f50d18d0100cbe3fa3d332289fc30b6b152d1ed (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "arc4";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "manicmaniac";
repo = "arc4";
tag = finalAttrs.version;
hash = "sha256-kEgyZQmVdOmD/KkmEKxgZb9Hj0jGJswCJI7Np5TI1K4=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "arc4" ];
meta = {
description = "ARCFOUR (RC4) cipher implementation";
homepage = "https://github.com/manicmaniac/arc4";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
})
|