python311Packages.pyspx: init at 0.5.2
Python bindings for SPHINCS https://github.com/sphincs/pyspx
This commit is contained in:
parent
faef749c0e
commit
fc6d65a301
2 changed files with 49 additions and 0 deletions
47
pkgs/development/python-modules/pyspx/default.nix
Normal file
47
pkgs/development/python-modules/pyspx/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue