1
Fork 0

Add SamRewritten as a custom derivation.

This commit is contained in:
Bauke 2023-03-10 12:49:45 +01:00
parent 1b950cc5c3
commit 737a920c66
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 35 additions and 0 deletions

View File

@ -65,6 +65,7 @@
xfce.xfce4-timer-plugin
xfce.xfce4-whiskermenu-plugin
xorg.libXcursor
(callPackage ./samrewritten.nix { })
(wrapOBS {
plugins = with obs-studio-plugins; [
input-overlay

View File

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, curl
, glibmm
, gtkmm3
, steam
, yajl
}:
stdenv.mkDerivation rec {
pname = "SamRewritten";
version = "202008";
src = fetchFromGitHub {
owner = "PaulCombal";
repo = pname;
rev = version;
sha256 = "sha256-q3kDuZdnWw1Nfu3hVDD8XKJzbmwlx/lafJfhziVYKhw=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ curl glibmm gtkmm3 steam yajl ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Steam Achievement Manager For Linux. Rewritten in C++.";
homepage = "https://github.com/PaulCombal/SamRewritten";
license = licenses.gpl3;
platforms = [ "x86_64-linux" ];
};
}