Files
nixpkgs/pkgs/by-name/li/libhighscore/package.nix

55 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
glib,
vala,
gobject-introspection,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "libhighscore";
version = "0-unstable-2026-04-01";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "alicem";
repo = "libhighscore";
rev = "a2fcebc004be977f45ecbe40e94a85d0c1690f43";
hash = "sha256-npJDapediUTpDgevwfsEskEWSObPD/0ERFL0JWzAvM0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
glib # For glib-mkenums
gobject-introspection # For g-ir-scanner
vala # For vapigen
];
# In highscore-1.pc
propagatedBuildInputs = [
glib
];
passthru.updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
meta = {
description = "Interface for porting emulators to Highscore";
homepage = "https://gitlab.gnome.org/alicem/libhighscore";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [
chuangzhu
aleksana
];
platforms = lib.platforms.linux;
};
}