blob: e04090e686dbd1783f2392c999680bdff3e37975 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
python,
}:
buildPythonPackage rec {
pname = "pydes";
version = "unstable-2019-01-08";
format = "setuptools";
src = fetchFromGitHub {
owner = "twhiteman";
repo = "pyDes";
rev = "e988a5ffc9abb8010fc75dba54904d1c5dbe83db";
sha256 = "0sic8wbyk5azb4d4m6zbc96lfqcw8s2pzcv9nric5yqc751613ww";
};
checkPhase = ''
${python.interpreter} test_pydes.py
'';
pythonImportsCheck = [ "pyDes" ];
meta = with lib; {
description = "Pure python module which implements the DES and Triple-DES encryption algorithms";
homepage = "https://github.com/twhiteman/pyDes";
license = licenses.mit;
maintainers = with maintainers; [ j0hax ];
};
}
|