python311Packages.pyspx: init at 0.5.2

Python bindings for SPHINCS

https://github.com/sphincs/pyspx
This commit is contained in:
Fabian Affolter 2023-11-30 22:14:41 +01:00
parent faef749c0e
commit fc6d65a301
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, cffi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "pyspx";
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "sphincs";
repo = "pyspx";
rev = "refs/tags/v${version}";
hash = "sha256-hMZ7JZoo5RdUwQYpGjtZznH/O6rBUXv+svfOAI0cjqs=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cffi
setuptools
wheel
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyspx"
];
meta = with lib; {
description = "Python bindings for SPHINCS";
homepage = "https://github.com/sphincs/pyspx";
changelog = "https://github.com/sphincs/pyspx/releases/tag/v${version}";
license = licenses.cc0;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -11086,6 +11086,8 @@ self: super: with self; {
pysptk = callPackage ../development/python-modules/pysptk { };
pyspx = callPackage ../development/python-modules/pyspx { };
pysqlcipher3 = callPackage ../development/python-modules/pysqlcipher3 {
inherit (pkgs) sqlcipher;
};