depot/third_party/nixpkgs/pkgs/by-name/kn/knossosnet/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}