depot/third_party/nixpkgs/pkgs/development/python-modules/pyspx/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

47 lines
867 B
Nix

{ 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 ];
};
}