mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
062210bdff
A recent upgrade of cargo-vendor changed its output slightly, which broke all cargoSha256 hashes in nixpkgs. See https://github.com/NixOS/nixpkgs/issues/60668 for more information. Since then, a few hashes have been fixed in master by hand, but there were a lot still to do, so I did all of the ones left over with some scripts I wrote. The one hash I wasn’t able to update was habitat's, because it’s currently broken and the build doesn’t get far enough to produce a hash anyway.
33 lines
838 B
Nix
33 lines
838 B
Nix
{ 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";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|