Commit be3cbddd authored by Alexander's avatar Alexander Committed by Valentin Gagarin
Browse files

libxeddsa: init at 2.0.0

parent 16436d91
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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;