Skip to content

Commit

Permalink
python3Packages.crypto-commons: init at unstable-2019-11-08
Browse files Browse the repository at this point in the history
  • Loading branch information
Pamplemousse committed Nov 8, 2019
1 parent 8a7b4cc commit ab98be7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/crypto-commons/default.nix
@@ -0,0 +1,28 @@
{ buildPythonPackage
, fetchFromGitHub
, gmpy2
, isPy3k
, lib
}:

buildPythonPackage rec {
pname = "crypto-commons";
version = "unstable-2019-11-08";

disabled = !isPy3k;

src = fetchFromGitHub {
owner = "p4-team";
repo = pname;
rev = "8f54fae30c71fddbc75a6eab3b8bca1fee56fb69";
sha256 = "1f5xwcqwc55b4ap2z173h38x5dny126iikp7rji0sfap6jm6gvxk";
};

checkInputs = [ gmpy2 ];

meta = with lib; {
description = "A small python module for common CTF crypto functions";
homepage = "https://github.com/p4-team/crypto-commons";
maintainers = [ maintainers.pamplemousse ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -497,6 +497,8 @@ in {

codespell = callPackage ../development/python-modules/codespell { };

crypto-commons = callPackage ../development/python-modules/crypto-commons { };

curio = callPackage ../development/python-modules/curio { };

dendropy = callPackage ../development/python-modules/dendropy { };
Expand Down

0 comments on commit ab98be7

Please sign in to comment.