Added sgdboop pkg and created custom overlay

This commit is contained in:
William 2024-08-31 11:54:19 -03:00
parent 1e71128484
commit 90f2688ec5
4 changed files with 53 additions and 5 deletions

26
packages/sgdboop.nix Normal file
View file

@ -0,0 +1,26 @@
{ stdenv, fetchurl, autoPatchelfHook, openssl, curl, gtk3, gdk-pixbuf, pango
, cairo, glib }:
stdenv.mkDerivation rec {
pname = "sgdboop";
version = "1.2.8";
src = fetchurl {
url =
"https://github.com/SteamGridDB/SGDBoop/releases/download/v${version}/sgdboop-linux64.tar.gz";
sha256 = "sha256-LrP0qFg4kOhAicWtORfnW3TvIegvcJf/GiYTHcOeJK4=";
};
sourceRoot = ".";
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ openssl curl gtk3 gdk-pixbuf glib pango cairo ];
installPhase = ''
runHook preInstall
install -m755 -D SGDBoop $out/bin/SGDBoop
install -m444 -D libiup.so $out/lib/libiup.so
install -m444 -D com.steamgriddb.SGDBoop.desktop -t $out/share/applications/
runHook postInstall
'';
}