mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03: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.
79 lines
1.8 KiB
Nix
79 lines
1.8 KiB
Nix
{
|
|
lib,
|
|
dotnet-sdk,
|
|
stdenv,
|
|
substituteAll,
|
|
|
|
buildDotnetModule,
|
|
fetchFromGitHub,
|
|
|
|
dotnetCorePackages,
|
|
|
|
libX11,
|
|
libICE,
|
|
libSM,
|
|
fontconfig,
|
|
|
|
xdg-utils,
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "BeatSaberModManager";
|
|
version = "0.0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "affederaffe";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HHWC+MAwJ+AMCuBzSuR7FbW3k+wLri0B9J1DftyfNEU=";
|
|
fetchSubmodules = true; # It vendors BSIPA-Linux
|
|
};
|
|
|
|
dotnet-sdk = with dotnetCorePackages; combinePackages [
|
|
sdk_7_0
|
|
sdk_6_0
|
|
];
|
|
|
|
dotnet-runtime = dotnetCorePackages.runtime_7_0;
|
|
|
|
projectFile = [ "BeatSaberModManager/BeatSaberModManager.csproj" ];
|
|
|
|
executables = [ "BeatSaberModManager" ];
|
|
|
|
nugetDeps = ./deps.nix;
|
|
|
|
runtimeDeps = [
|
|
libX11
|
|
libICE
|
|
libSM
|
|
fontconfig
|
|
];
|
|
|
|
# Required for OneClick
|
|
makeWrapperArgs = [
|
|
''--suffix PATH : "${lib.makeBinPath [ xdg-utils ]}"''
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Yet another mod installer for Beat Saber, heavily inspired by ModAssistant";
|
|
mainProgram = "BeatSaberModManager";
|
|
homepage = "https://github.com/affederaffe/BeatSaberModManager";
|
|
longDescription = ''
|
|
BeatSaberModManager is yet another mod installer for Beat Saber, heavily inspired by ModAssistant
|
|
It strives to look more visually appealing and support both Windows and Linux, while still being as feature-rich as ModAssistant.
|
|
|
|
Features
|
|
|
|
- Windows and Linux support
|
|
- Dependency resolution
|
|
- Installed mod detection
|
|
- Mod uninstallation
|
|
- Theming support
|
|
- OneClick™ support for BeatSaver, ModelSaber and Playlists
|
|
'';
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ atemu ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|