From cccb2035790da19593754000f47c9dba8ac0286d Mon Sep 17 00:00:00 2001 From: Justinas Stankevicius Date: Sun, 26 Feb 2023 21:23:32 +0200 Subject: [PATCH] agnos: init at 0.1.0 --- pkgs/by-name/ag/agnos/package.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/ag/agnos/package.nix diff --git a/pkgs/by-name/ag/agnos/package.nix b/pkgs/by-name/ag/agnos/package.nix new file mode 100644 index 000000000000..9b6bc6258b88 --- /dev/null +++ b/pkgs/by-name/ag/agnos/package.nix @@ -0,0 +1,31 @@ +{ + 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 ]; + }; +}