Commit cccb2035 authored by Justinas Stankevicius's avatar Justinas Stankevicius
Browse files

agnos: init at 0.1.0

parent 2961e003
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  fetchFromGitHub,
  lib,
  nixosTests,
  rustPlatform,
  openssl,
  pkg-config,
}:
rustPlatform.buildRustPackage rec {
  pname = "agnos";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "krtab";
    repo = "agnos";
    rev = "v${version}";
    hash = "sha256-hSiJvpTQIbhz/0AFBTvgfRDTqOi9YcDOvln15SksMJs=";
  };

  cargoHash = "sha256-wmnfAvtTjioslSdD6z0mMl3Hz46wpPYMk494r9xXj44=";

  buildInputs = [ openssl ];
  nativeBuildInputs = [ pkg-config ];

  meta = with lib; {
    description = "Obtains certificates from Let's Encrypt using DNS-01 without the need for API access to the DNS provider";
    homepage = "https://github.com/krtab/agnos";
    license = licenses.mit;
    maintainers = with maintainers; [ justinas ];
  };
}