diff --git a/pkgs/applications/misc/gcfflasher/default.nix b/pkgs/applications/misc/gcfflasher/default.nix index 14bc6ad012e0..917a66576017 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 ]; @@ -42,5 +37,6 @@ stdenv.mkDerivation rec { license = licenses.bsd3; homepage = "https://github.com/dresden-elektronik/gcfflasher"; maintainers = with maintainers; [ fleaz ]; + platforms = platforms.all; }; }