mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
cutentr: init at 0.3.3
This commit is contained in:
parent
cff65783ff
commit
7324d72a73
1 changed files with 66 additions and 0 deletions
66
pkgs/by-name/cu/cutentr/package.nix
Normal file
66
pkgs/by-name/cu/cutentr/package.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
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 = "A 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue