159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
33 lines
715 B
Nix
33 lines
715 B
Nix
{
|
|
buildDotnetModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, openal
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "knossosnet";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnossosNET";
|
|
repo = "Knossos.NET";
|
|
rev = "v${version}";
|
|
hash = "sha256-4GVbwBykagSMGF3TxyZeoRb7Km+yLEMFOO8fCkH3U5A=";
|
|
};
|
|
|
|
patches = [ ./targetframework.patch ];
|
|
|
|
nugetDeps = ./deps.nix;
|
|
executables = [ "Knossos.NET" ];
|
|
|
|
runtimeDeps = [ openal ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/KnossosNET/Knossos.NET";
|
|
description = "Multi-platform launcher for Freespace 2 Open";
|
|
license = licenses.gpl3Only;
|
|
mainProgram = "Knossos.NET";
|
|
maintainers = with maintainers; [ cdombroski ];
|
|
};
|
|
}
|