nixpkgs/pkgs/applications/networking/dyndns/cfdyndns/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
726 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
2016-01-17 12:11:09 +00:00
with rustPlatform;
buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "cfdyndns";
2020-03-10 21:43:05 +00:00
version = "0.0.3";
2016-01-17 12:11:09 +00:00
src = fetchFromGitHub {
owner = "colemickens";
repo = "cfdyndns";
rev = "v${version}";
2020-03-10 21:43:05 +00:00
sha256 = "1fba0w2979dmc2wyggqx4fj52rrl1s2vpjk6mkj1811a848l1hdi";
2016-01-17 12:11:09 +00:00
};
cargoSha256 = "06qbagq4gvm5vk846lxskli02z9lqxsvis6ndq29bj0b9yyvdkay";
2020-03-10 21:43:05 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
2016-01-17 12:11:09 +00:00
meta = with lib; {
2016-01-17 12:11:09 +00:00
description = "CloudFlare Dynamic DNS Client";
homepage = "https://github.com/colemickens/cfdyndns";
2021-01-15 13:21:58 +00:00
license = lib.licenses.mit;
2016-01-17 12:11:09 +00:00
maintainers = with maintainers; [ colemickens ];
platforms = with platforms; linux;
2016-01-17 12:11:09 +00:00
};
}