python3Packages.cpace: init at 0.1.0

This commit is contained in:
Sandro Jäckel
2026-08-03 14:41:30 +02:00
parent a81b8bc187
commit 5291a46558
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cpace";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "arturpragacz";
repo = "cpace-py";
tag = version;
hash = "sha256-KHN5bKSk/BoblxLd3HLukq20+M+XgyzV0oST1mQtzTg=";
};
build-system = [ hatchling ];
dependencies = [ cryptography ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cpace" ];
meta = {
description = "CPace balanced PAKE protocol implementation";
homepage = "https://github.com/arturpragacz/cpace-py";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}

View File

@@ -3709,6 +3709,8 @@ self: super: with self; {
coveralls = callPackage ../development/python-modules/coveralls { };
cpace = callPackage ../development/python-modules/cpace { };
cpe = callPackage ../development/python-modules/cpe { };
cpe-search = callPackage ../development/python-modules/cpe-search { };