Files
nixpkgs/pkgs/development/python-modules/ed25519-blake2b/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
794 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "ed25519-blake2b";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-cx6fk80awaZGSVdfNRmpn/4LseTPe/X18L5ROjnfc2M=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "ed25519_blake2b" ];
meta = {
description = "Ed25519 public-key signatures (BLAKE2b fork)";
mainProgram = "edsig";
homepage = "https://github.com/Matoking/python-ed25519-blake2b";
changelog = "https://github.com/Matoking/python-ed25519-blake2b/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
onny
stargate01
];
};
}