mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
68 lines
1.2 KiB
Nix
68 lines
1.2 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk3
|
|
, glib-networking
|
|
, libgee
|
|
, libsoup
|
|
, json-glib
|
|
, sqlite
|
|
, webkitgtk_4_0
|
|
, libmanette
|
|
, libXtst
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "GameHub";
|
|
version = "0.16.3-2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tkashkin";
|
|
repo = pname;
|
|
rev = "${version}-master";
|
|
hash = "sha256-dBGzXwDO9BvnEIcdfqlGnMzUdBqaVA96Ds0fY6eukes=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
glib-networking
|
|
gtk3
|
|
json-glib
|
|
libgee
|
|
libmanette
|
|
libsoup
|
|
libXtst
|
|
sqlite
|
|
webkitgtk_4_0
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://tkashkin.github.io/projects/gamehub";
|
|
description = "Unified library for all your games";
|
|
longDescription = ''
|
|
GameHub is a unified library for all your games. It allows you to store
|
|
your games from different platforms into one program to make it easier
|
|
for you to manage your games.
|
|
'';
|
|
maintainers = with maintainers; [ pasqui23 ];
|
|
license = with licenses; [ gpl3Only ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|