blob: aba0262e3258889fdba6bcbaa793a8a7501bec04 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "cfdyndns";
version = "0.2.0";
src = fetchFromGitHub {
owner = "nrdxp";
repo = "cfdyndns";
rev = "v${version}";
hash = "sha256-iwKMTWLK7pgz8AEmPVBO1bTWrXTokQJ+Z1U4CiiRdho=";
};
cargoLock.lockFile = ./Cargo.lock;
cargoLock.outputHashes."cloudflare-0.10.1" = "sha256-AJW4AQ34EDhxf7zMhFY2rqq5n4IaSVWJAYi+7jXEUVo=";
cargoLock.outputHashes."public-ip-0.2.2" = "sha256-DDdh90EAo3Ppsym4AntczFuiAQo4/QQ9TEPJjMB1XzY=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "CloudFlare Dynamic DNS Client";
mainProgram = "cfdyndns";
homepage = "https://github.com/nrdxp/cfdyndns";
license = lib.licenses.mit;
maintainers = with maintainers; [ colemickens nrdxp ];
platforms = with platforms; linux;
};
}
|