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
67 lines
1.2 KiB
Nix
67 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
libsForQt5,
|
|
fetchFromGitLab,
|
|
makeDesktopItem,
|
|
lib,
|
|
copyDesktopItems,
|
|
}:
|
|
|
|
let
|
|
version = "0.3.3";
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "cutentr";
|
|
inherit version;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "BoltsJ";
|
|
repo = "cuteNTR";
|
|
tag = version;
|
|
hash = "sha256-KfnC9R38qSMhQDeaMBWm1HoO3Wzs5kyfPFwdMZCWw4E=";
|
|
};
|
|
|
|
desktopItems = lib.singleton (makeDesktopItem {
|
|
name = "cuteNTR";
|
|
desktopName = "cuteNTR";
|
|
icon = "cutentr";
|
|
exec = "cutentr";
|
|
categories = [ "Game" ];
|
|
});
|
|
|
|
nativeBuildInputs = [
|
|
libsForQt5.wrapQtAppsHook
|
|
copyDesktopItems
|
|
];
|
|
|
|
buildInputs = [
|
|
libsForQt5.qtbase
|
|
];
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
qmake
|
|
make
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin
|
|
cp -r cutentr $out/bin
|
|
|
|
install -m 444 -D setup/gui/com.gitlab.BoltsJ.cuteNTR.svg $out/share/icons/hicolor/scalable/apps/cutentr.svg
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "3DS streaming client for Linux";
|
|
homepage = "https://gitlab.com/BoltsJ/cuteNTR";
|
|
license = lib.licenses.gpl3Plus;
|
|
mainProgram = "cutentr";
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = [ lib.maintainers.EarthGman ];
|
|
};
|
|
}
|