mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
49 lines
1005 B
Nix
49 lines
1005 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
, curl
|
|
, gtkmm3
|
|
, glibmm
|
|
, gnutls
|
|
, yajl
|
|
, pkg-config
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "samrewritten";
|
|
version = "unstable-2023-05-23";
|
|
|
|
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++";
|
|
mainProgram = "samrewritten";
|
|
homepage = "https://github.com/PaulCombal/SamRewritten";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ ludovicopiero ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|