2016-01-17 12:11:09 +00:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, openssl }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "cfdyndns";
|
2016-01-17 12:11:09 +00:00
|
|
|
version = "0.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "colemickens";
|
|
|
|
repo = "cfdyndns";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mcdjykrgh0jq6k6y664lai8sbgzk6j7k0r944f43vg63d1jql5b";
|
|
|
|
};
|
|
|
|
|
2020-02-14 02:00:26 +00:00
|
|
|
# Delete this on next update; see #79975 for details
|
|
|
|
legacyCargoFetcher = true;
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "1d7jpffkw2m2v37bfdqsl9sqwsl19cgglpa00lwy4ih09kzbc2n9";
|
2016-01-17 12:11:09 +00:00
|
|
|
|
|
|
|
buildInputs = [ makeWrapper openssl ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -p target/release/cfdyndns $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "CloudFlare Dynamic DNS Client";
|
|
|
|
homepage = https://github.com/colemickens/cfdyndns;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with maintainers; [ colemickens ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2016-12-29 07:57:22 +00:00
|
|
|
broken = true;
|
2016-01-17 12:11:09 +00:00
|
|
|
};
|
|
|
|
}
|