nixpkgs/pkgs/tools/admin/uacme/default.nix
2023-02-05 15:05:51 +01:00

43 lines
774 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, asciidoc
, autoconf-archive
, autoreconfHook
, pkg-config
, curl
, openssl
}:
stdenv.mkDerivation rec {
pname = "uacme";
version = "1.7.3";
src = fetchFromGitHub {
owner = "ndilieto";
repo = "uacme";
rev = "v${version}";
hash = "sha256-kgS+QOB63Q1cNa4gk527G4hHFdiCL6JqmoVQRAVMUDw=";
};
configureFlags = [ "--with-openssl" ];
nativeBuildInputs = [
asciidoc
autoconf-archive
autoreconfHook
pkg-config
];
buildInputs = [
curl
openssl
];
meta = with lib; {
description = "ACMEv2 client written in plain C with minimal dependencies";
homepage = "https://github.com/ndilieto/uacme";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ malte-v ];
};
}