libxeddsa: init at 2.0.0

This commit is contained in:
Alexander
2025-05-02 13:21:12 +02:00
committed by Valentin Gagarin
parent 16436d9136
commit be3cbddd94
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
stdenv,
lib,
fetchFromGitHub,
gitUpdater,
cmake,
libsodium,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libxeddsa";
version = "2.0.0";
src = fetchFromGitHub {
owner = "Syndace";
repo = "libxeddsa";
tag = "v${finalAttrs.version}";
hash = "sha256-kdy+S51nQstRFGw5mIW3TW+WBNynHLpmFC1t6Mc02K4=";
};
strictDeps = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ libsodium ];
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
description = "Toolkit around Curve25519 and Ed25519 key pairs";
homepage = "https://github.com/Syndace/libxeddsa";
changelog = "https://github.com/Syndace/libxeddsa/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
teams = with lib.teams; [ ngi ];
maintainers = with lib.maintainers; [ axler1 ];
platforms = lib.platforms.all;
};
})
+2
View File
@@ -10273,6 +10273,8 @@ with pkgs;
};
libxcrypt-legacy = libxcrypt.override { enableHashes = "all"; };
libxeddsa = callPackage ../development/libraries/libxeddsa { };
libxkbcommon = libxkbcommon_8;
libxml2 = callPackage ../development/libraries/libxml2 {
python = python3;