1 { lib, stdenv, fetchurl, perlPackages, makeWrapper, openssl }:
3 stdenv.mkDerivation rec {
8 url = "https://packages.sslmate.com/other/${pname}-${version}.tar.gz";
9 sha256 = "sha256-F5szGn1cbw7R3lHMocM7as1RS/uaBqKCsvOxA+rXDOc=";
12 makeFlags = [ "PREFIX=$(out)" ];
14 nativeBuildInputs = [ makeWrapper ];
15 buildInputs = [ perlPackages.perl ];
18 wrapProgram $out/bin/sslmate --prefix PERL5LIB : \
19 "${with perlPackages; makePerlPath [
24 --prefix PATH : "${openssl.bin}/bin"
28 homepage = "https://sslmate.com";
29 maintainers = [ maintainers.domenkozar ];
30 description = "Easy to buy, deploy, and manage your SSL certs";
31 platforms = platforms.unix;
32 license = licenses.mit; # X11