openpace: init at 1.1.3 (#386287)

This commit is contained in:
Arne Keller 2025-05-17 09:05:01 +02:00 committed by GitHub
commit b619ba1d80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 55 additions and 0 deletions

View file

@ -25640,6 +25640,11 @@
github = "deviant";
githubId = 68829907;
};
vaavaav = {
name = "Pedro Peixoto";
github = "vaavaav";
githubId = 56087034;
};
vaci = {
email = "vaci@vaci.org";
github = "vaci";

View file

@ -0,0 +1,50 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
help2man,
gengetopt,
openssl,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "openpace";
version = "1.1.3";
src = fetchFromGitHub {
owner = "frankmorgner";
repo = "openpace";
tag = version;
hash = "sha256-KsgCTHvbqxNOcf9HWgXGxagpIjHEcQ5Kryjq71F8XRk=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
help2man
gengetopt
];
buildInputs = [ openssl ];
preConfigure = ''
autoreconf --verbose --install
'';
preFixup = ''
rm $out/bin/example
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Cryptographic library for EAC version 2";
homepage = "https://github.com/frankmorgner/openpace";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ vaavaav ];
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; # help2man
};
}