1 { lib, stdenv, fetchurl, dpkg, autoPatchelfHook }:
3 stdenv.mkDerivation rec {
4 pname = "sslmate-agent";
8 url = "https://packages.sslmate.com/debian/pool/sslmate2/s/sslmate-client/${pname}_${version}-1_amd64.deb";
9 sha256 = "sha256-LBiZI0pGAFWnvTigEhtkhHq4FGdbYiMzjLheMuP0YTU=";
18 dpkg-deb -x ${src} ./sslmate-agent-${pname}
24 # Not moving etc because it only contains init.rd setttings
28 substituteInPlace $out/lib/systemd/system/sslmate-agent.service \
29 --replace "/usr/s" "$out/"
35 description = "Daemon for managing SSL/TLS certificates on a server";
36 homepage = "https://sslmate.com/";
37 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
38 license = licenses.unfree;
39 maintainers = with maintainers; [ wolfangaukang ];