2024-01-15 15:43:20 +00:00
|
|
|
{
|
|
|
|
buildDotnetModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fontconfig
|
|
|
|
, lib
|
|
|
|
, openal
|
|
|
|
, stdenv
|
|
|
|
, xorg
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDotnetModule rec {
|
|
|
|
pname = "knossosnet";
|
2024-03-25 00:36:48 +00:00
|
|
|
version = "1.1.0";
|
2024-01-15 15:43:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KnossosNET";
|
|
|
|
repo = "Knossos.NET";
|
|
|
|
rev = "v${version}";
|
2024-03-25 00:36:48 +00:00
|
|
|
hash = "sha256-5pHBCqAEuZDt5lIkLlFN2zKRZkRybc3mUMqsTN44EwU=";
|
2024-01-15 15:43:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./targetframework.patch ];
|
|
|
|
|
|
|
|
nugetDeps = ./deps.nix;
|
|
|
|
executables = [ "Knossos.NET" ];
|
|
|
|
|
|
|
|
runtimeDeps = [ fontconfig openal xorg.libX11 xorg.libICE xorg.libSM ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/KnossosNET/Knossos.NET";
|
|
|
|
description = "A multi-platform launcher for Freespace 2 Open";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
mainProgram = "Knossos.NET";
|
|
|
|
maintainers = with maintainers; [ cdombroski ];
|
|
|
|
};
|
|
|
|
}
|