blob: 1ddd94fce649166150a8479e8aed09ae61dc70dc (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "arc4";
version = "0.4.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "manicmaniac";
repo = "arc4";
rev = version;
hash = "sha256-DlZIygf5v3ZNY2XFmrKOA15ccMo3Rv0kf6hZJ0CskeQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "arc4" ];
meta = {
description = "ARCFOUR (RC4) cipher implementation";
homepage = "https://github.com/manicmaniac/arc4";
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ fab ];
};
}
|