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,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
|
|
# Deps
|
|
gdk-pixbuf,
|
|
glib,
|
|
graphene,
|
|
gtk4,
|
|
openssl,
|
|
pango,
|
|
pkg-config,
|
|
wrapGAppsHook4,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "samrewritten";
|
|
version = "20250802.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "PaulCombal";
|
|
repo = "SamRewritten";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-41fBafFmYW8uGICpIJtSnXDP+KV3uVInxm0op40V/tc=";
|
|
};
|
|
|
|
cargoHash = "sha256-Px/TlR3BhiFCv73v06VNq0/W0bQM/ORRE/9ndv5hbpY=";
|
|
|
|
# Tests require network access and a running Steam client. Skipping.
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gdk-pixbuf
|
|
glib
|
|
graphene
|
|
gtk4
|
|
openssl
|
|
pango
|
|
];
|
|
|
|
PKG_CONFIG_PATH = "${openssl.dev}/lib/pkgconfig";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Modern Steam achievements manager for Windows and Linux";
|
|
mainProgram = "samrewritten";
|
|
homepage = "https://github.com/PaulCombal/SamRewritten";
|
|
changelog = "https://github.com/PaulCombal/SamRewritten/releases";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ ludovicopiero ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
})
|