nixpkgs/pkgs/applications/networking/dyndns/cfdyndns/default.nix
2023-05-12 17:19:30 -06:00

26 lines
713 B
Nix

{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "cfdyndns";
version = "0.0.4";
src = fetchFromGitHub {
owner = "colemickens";
repo = "cfdyndns";
rev = "v${version}";
hash = "sha256-kgpTKhMvxuy+Q9M5U/PKJt7pZ2kSQxkCNjNu8aIyutg=";
};
cargoHash = "sha256-78TQkRHEbSaCyCM48hH1h8GG0BGJmC2zc7gTZc2t9Nc=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "CloudFlare Dynamic DNS Client";
homepage = "https://github.com/colemickens/cfdyndns";
license = lib.licenses.mit;
maintainers = with maintainers; [ colemickens ];
platforms = with platforms; linux;
};
}