mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
37 lines
798 B
Nix
37 lines
798 B
Nix
{
|
|
buildDotnetModule
|
|
, fetchFromGitHub
|
|
, fontconfig
|
|
, lib
|
|
, openal
|
|
, stdenv
|
|
, xorg
|
|
}:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "knossosnet";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnossosNET";
|
|
repo = "Knossos.NET";
|
|
rev = "v${version}";
|
|
hash = "sha256-5pHBCqAEuZDt5lIkLlFN2zKRZkRybc3mUMqsTN44EwU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|