From 0ea45cd17b9454344e86473a1743d1239360d628 Mon Sep 17 00:00:00 2001 From: fleaz Date: Mon, 11 Dec 2023 11:47:45 +0100 Subject: [PATCH 1/2] gcfflasher: 4.0.3-beta -> 4.3.0-beta Diff: https://github.com/dresden-elektronik/gcfflasher/compare/v4.0.3-beta...v4.3.0-beta --- pkgs/applications/misc/gcfflasher/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/misc/gcfflasher/default.nix b/pkgs/applications/misc/gcfflasher/default.nix index 14bc6ad012e0..58c1beb78914 100644 --- a/pkgs/applications/misc/gcfflasher/default.nix +++ b/pkgs/applications/misc/gcfflasher/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "gcfflasher"; - version = "4.0.3-beta"; + version = "4.3.0-beta"; src = fetchFromGitHub { owner = "dresden-elektronik"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-m+iDBfsHo+PLYd3K8JaKwhIXcnj+Q8w7gIgmHp+0plk="; + hash = "sha256-H1CZ7rAM1QpdmSnUpvg6ytln/0MQKju/C4aIk3xl0PA="; }; nativeBuildInputs = [ @@ -22,11 +22,6 @@ stdenv.mkDerivation rec { cmake ]; - postPatch = '' - substituteInPlace CMakeLists.txt \ - --replace 'main_windows.c' 'main_posix.c' - ''; - buildInputs = lib.optionals stdenv.isLinux [ libgpiod ]; From 8ea5009875e9901b56a2cfbb97ba0514c4a6c0d8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:46:13 +0100 Subject: [PATCH 2/2] gcfflasher: set platforms --- pkgs/applications/misc/gcfflasher/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/gcfflasher/default.nix b/pkgs/applications/misc/gcfflasher/default.nix index 58c1beb78914..917a66576017 100644 --- a/pkgs/applications/misc/gcfflasher/default.nix +++ b/pkgs/applications/misc/gcfflasher/default.nix @@ -37,5 +37,6 @@ stdenv.mkDerivation rec { license = licenses.bsd3; homepage = "https://github.com/dresden-elektronik/gcfflasher"; maintainers = with maintainers; [ fleaz ]; + platforms = platforms.all; }; }