depot/third_party/nixpkgs/pkgs/by-name/kn/knossosnet/package.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

36 lines
798 B
Nix

{
buildDotnetModule
, fetchFromGitHub
, fontconfig
, lib
, openal
, stdenv
, xorg
}:
buildDotnetModule rec {
pname = "knossosnet";
version = "1.0.0";
src = fetchFromGitHub {
owner = "KnossosNET";
repo = "Knossos.NET";
rev = "v${version}";
hash = "sha256-Wq4WeRf+ELTxZhQyQf6XAOPmbJwX06qQ5GxRnnK3lyI=";
};
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 ];
};
}