forked from mirrors/nixpkgs
43 lines
772 B
Nix
43 lines
772 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, asciidoc
|
||
|
, autoconf-archive
|
||
|
, autoreconfHook
|
||
|
, pkg-config
|
||
|
, curl
|
||
|
, openssl
|
||
|
}:
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "uacme";
|
||
|
version = "1.7.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "ndilieto";
|
||
|
repo = "uacme";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-QCI34B/C4vZ3hNnp06NIScY03RTZ0EZBl2HPnQjjtnc=";
|
||
|
};
|
||
|
|
||
|
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; [ malvo ];
|
||
|
};
|
||
|
}
|