Unverified Commit b619ba1d authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

openpace: init at 1.1.3 (#386287)

parents 9cbbae54 ab5a7b55
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -25640,6 +25640,11 @@
    github = "deviant";
    githubId = 68829907;
  };
  vaavaav = {
    name = "Pedro Peixoto";
    github = "vaavaav";
    githubId = 56087034;
  };
  vaci = {
    email = "vaci@vaci.org";
    github = "vaci";
+50 −0
Original line number Diff line number Diff line
{
  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
  };
}