2023-09-21 08:45:05 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, curl
|
|
|
|
, gtkmm3
|
|
|
|
, glibmm
|
|
|
|
, gnutls
|
|
|
|
, yajl
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "samrewritten";
|
2024-02-07 16:40:29 +00:00
|
|
|
version = "202008-unstable-2023-05-22";
|
2023-09-21 08:45:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PaulCombal";
|
|
|
|
repo = "SamRewritten";
|
|
|
|
# The latest release is too old, use latest commit instead
|
|
|
|
rev = "39d524a72678a226bf9140db6b97641f554563c3";
|
|
|
|
hash = "sha256-sS/lVY5EWXdTOg7cDWPbi/n5TNt+pRAF1x7ZEaYG4wM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
gtkmm3
|
|
|
|
glibmm
|
|
|
|
gnutls
|
|
|
|
yajl
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Steam Achievement Manager For Linux. Rewritten in C++";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "samrewritten";
|
2023-09-21 08:45:05 +00:00
|
|
|
homepage = "https://github.com/PaulCombal/SamRewritten";
|
2024-06-16 20:48:03 +00:00
|
|
|
changelog = "https://github.com/PaulCombal/SamRewritten/releases";
|
2023-09-21 08:45:05 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
maintainers = with lib.maintainers; [ ludovicopiero ];
|
2024-05-27 02:36:29 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2023-09-21 08:45:05 +00:00
|
|
|
};
|
|
|
|
})
|