567e8dfd8e
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>
37 lines
794 B
Nix
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
|
|
];
|
|
};
|
|
}
|