Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
curl,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "sgdboop";
|
|
version = "1.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SteamGridDB";
|
|
repo = "SGDBoop";
|
|
tag = "v${version}";
|
|
hash = "sha256-FpVQQo2N/qV+cFhYZ1FVm+xlPHSVMH4L+irnQEMlUQs=";
|
|
};
|
|
|
|
patches = [
|
|
# Hide the app from app launchers, as it is not meant to be run directly
|
|
# Remove when https://github.com/SteamGridDB/SGDBoop/pull/112 is merged
|
|
./hide_desktop_entry.patch
|
|
];
|
|
|
|
makeFlags = [
|
|
# The flatpak install just copies things to /app - otherwise wants to do things with XDG
|
|
"FLATPAK_ID=fake"
|
|
];
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile \
|
|
--replace-fail "/app/" "$out/"
|
|
'';
|
|
|
|
postInstall = ''
|
|
rm -r "$out/share/metainfo"
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
];
|
|
|
|
meta = {
|
|
description = "Applying custom artwork to Steam, using SteamGridDB";
|
|
homepage = "https://github.com/SteamGridDB/SGDBoop/";
|
|
license = lib.licenses.zlib;
|
|
maintainers = with lib.maintainers; [
|
|
saturn745
|
|
fazzi
|
|
];
|
|
mainProgram = "SGDBoop";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|