mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
36 lines
913 B
Nix
36 lines
913 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, openssl }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "cfdyndns";
|
|
version = "0.0.1";
|
|
src = fetchFromGitHub {
|
|
owner = "colemickens";
|
|
repo = "cfdyndns";
|
|
rev = "v${version}";
|
|
sha256 = "1mcdjykrgh0jq6k6y664lai8sbgzk6j7k0r944f43vg63d1jql5b";
|
|
};
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1d7jpffkw2m2v37bfdqsl9sqwsl19cgglpa00lwy4ih09kzbc2n9";
|
|
|
|
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 ];
|
|
platforms = with platforms; linux;
|
|
broken = true;
|
|
};
|
|
}
|