Merge pull request #273519 from fleaz/update_gcfflasher
gcfflasher: 4.0.3-beta -> 4.3.0-beta
This commit is contained in:
commit
99c02cb8fb
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue