From 669fdccf8b396f6659afd152ad88ddf458a8b95e Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Tue, 10 Mar 2020 14:43:05 -0700 Subject: [PATCH] cfdyndns: v0.0.1 -> v0.0.3 --- .../networking/dyndns/cfdyndns/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/dyndns/cfdyndns/default.nix b/pkgs/applications/networking/dyndns/cfdyndns/default.nix index e5b3e1d52f43..e4612579e0fe 100644 --- a/pkgs/applications/networking/dyndns/cfdyndns/default.nix +++ b/pkgs/applications/networking/dyndns/cfdyndns/default.nix @@ -1,23 +1,21 @@ -{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, openssl }: +{ stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl }: with rustPlatform; buildRustPackage rec { pname = "cfdyndns"; - version = "0.0.1"; + version = "0.0.3"; src = fetchFromGitHub { owner = "colemickens"; repo = "cfdyndns"; rev = "v${version}"; - sha256 = "1mcdjykrgh0jq6k6y664lai8sbgzk6j7k0r944f43vg63d1jql5b"; + sha256 = "1fba0w2979dmc2wyggqx4fj52rrl1s2vpjk6mkj1811a848l1hdi"; }; - # Delete this on next update; see #79975 for details - legacyCargoFetcher = true; + cargoSha256 = "04ryin24z3pfxjxy4smngy66xs7k85g6gdzsl77cij8ifb29im99"; - cargoSha256 = "1d7jpffkw2m2v37bfdqsl9sqwsl19cgglpa00lwy4ih09kzbc2n9"; - - buildInputs = [ makeWrapper openssl ]; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; installPhase = '' mkdir -p $out/bin @@ -30,6 +28,5 @@ buildRustPackage rec { license = stdenv.lib.licenses.mit; maintainers = with maintainers; [ colemickens ]; platforms = with platforms; linux; - broken = true; }; }