diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pydes/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pydes/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pydes/default.nix b/nixpkgs/pkgs/development/python-modules/pydes/default.nix new file mode 100644 index 000000000000..78f131d42437 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pydes/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchFromGitHub }: + +buildPythonPackage rec { + pname = "pydes"; + version = "unstable-2019-01-08"; + + src = fetchFromGitHub { + owner = "twhiteman"; + repo = "pyDes"; + rev = "e988a5ffc9abb8010fc75dba54904d1c5dbe83db"; + sha256 = "0sic8wbyk5azb4d4m6zbc96lfqcw8s2pzcv9nric5yqc751613ww"; + }; + + checkPhase = "python test_pydes.py"; + + pythonImportsCheck = [ "pyDes" ]; + + meta = with lib; { + description = "A 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 ]; + }; +} |