2016-01-17 13:11:09 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, openssl }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "cfdyndns-${version}";
|
|
|
|
version = "0.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "colemickens";
|
|
|
|
repo = "cfdyndns";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mcdjykrgh0jq6k6y664lai8sbgzk6j7k0r944f43vg63d1jql5b";
|
|
|
|
};
|
|
|
|
|
2017-08-05 16:38:48 +02:00
|
|
|
cargoSha256 = "0k9d6pxsb4gvkqs00g71c1nnz773iccg4vajgn33qdym6m6qsjwy";
|
2016-01-17 13:11:09 +01: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 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2016-12-29 08:57:22 +01:00
|
|
|
broken = true;
|
2016-01-17 13:11:09 +01:00
|
|
|
};
|
|
|
|
}
|