Files
nixpkgs/pkgs/development/python-modules/ge25519/default.nix
T
2025-09-22 11:41:54 +02:00

50 lines
864 B
Nix

{
lib,
bitlist,
buildPythonPackage,
fe25519,
fetchPypi,
fountains,
parts,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "ge25519";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-eqduw1nMHMiMIvhzXA1Zg2foqQscQwFLhgm9aJYvmuo=";
};
build-system = [ setuptools ];
dependencies = [
fe25519
parts
bitlist
fountains
];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "ge25519" ];
meta = with lib; {
description = "Python implementation of Ed25519 group elements and operations";
homepage = "https://github.com/nthparty/ge25519";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}