python3Packages.unicrypto: init at 0.0.2

This commit is contained in:
Fabian Affolter 2022-03-28 09:38:14 +02:00
parent a90e2d97f5
commit d0b22196f5
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pycryptodomex
, pythonOlder
}:
buildPythonPackage rec {
pname = "unicrypto";
version = "0.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ripcH3XJW5i8+Sc6N5OzMrIfHzbjFbHmEiwRP24rRRo=";
};
propagatedBuildInputs = [
pycryptodomex
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"unicrypto"
];
meta = with lib; {
description = "Unified interface for cryptographic libraries";
homepage = "https://github.com/skelsec/unicrypto";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10352,6 +10352,8 @@ in {
unicorn-emu = pkgs.unicorn;
};
unicrypto = callPackage ../development/python-modules/unicrypto { };
unidecode = callPackage ../development/python-modules/unidecode { };
unidic-lite = callPackage ../development/python-modules/unidic-lite { };