Merge pull request #143636 from bobby285271/khronos

khronos: 3.6.0 -> 3.6.1
This commit is contained in:
Bobby Rong 2021-10-29 20:18:01 +08:00 committed by GitHub
commit f95351d820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,13 +18,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "khronos"; pname = "khronos";
version = "3.6.0"; version = "3.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lainsce"; owner = "lainsce";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-AETyVCBUuBzHwDgTkGRIokFYwcmXrb/F85J5GEIu4dE="; sha256 = "sha256-+gZy8cdekM26J1ujqFmfBXTctXc9E//EY42ZoLq9rBs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -48,9 +48,6 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
chmod +x build-aux/post_install.py chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py patchShebangs build-aux/post_install.py
# https://github.com/lainsce/khronos/pull/75
substituteInPlace build-aux/post_install.py \
--replace 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
''; '';
passthru = { passthru = {
@ -65,5 +62,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members; maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
mainProgram = "io.github.lainsce.Khronos";
}; };
} }