File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
pkgs/by-name/op/opengothic Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ alsa-lib ,
3+ cmake ,
4+ fetchFromGitHub ,
5+ glslang ,
6+ lib ,
7+ libX11 ,
8+ libXcursor ,
9+ libglvnd ,
10+ makeWrapper ,
11+ ninja ,
12+ stdenv ,
13+ vulkan-headers ,
14+ vulkan-loader ,
15+ vulkan-validation-layers ,
16+ } :
17+ stdenv . mkDerivation {
18+ pname = "opengothic" ;
19+ version = "0.80-unstable-09-10-2024" ;
20+
21+ src = fetchFromGitHub {
22+ owner = "Try" ;
23+ repo = "OpenGothic" ;
24+ rev = "0db60b0a956e2a2f365aa3a8bdbe366be198e641" ;
25+ fetchSubmodules = true ;
26+ hash = "sha256-Hf3B7B4CaW/GsTcYs0PChpPfA9aK41pPJkImtUDgoKc=" ;
27+ } ;
28+
29+ outputs = [
30+ "dev"
31+ "out"
32+ ] ;
33+
34+ nativeBuildInputs = [
35+ cmake
36+ glslang
37+ makeWrapper
38+ ninja
39+ ] ;
40+
41+ buildInputs = [
42+ alsa-lib
43+ libX11
44+ libXcursor
45+ libglvnd
46+ vulkan-headers
47+ vulkan-loader
48+ vulkan-validation-layers
49+ ] ;
50+
51+ postFixup = ''
52+ wrapProgram $out/bin/Gothic2Notr \
53+ --set LD_PRELOAD "${ lib . getLib alsa-lib } /lib/libasound.so.2"
54+ '' ;
55+
56+ meta = {
57+ description = "Open source re-implementation of Gothic 2: Night of the Raven" ;
58+ homepage = "https://github.com/Try/OpenGothic" ;
59+ license = lib . licenses . mit ;
60+ maintainers = with lib . maintainers ; [ azahi ] ;
61+ platforms = lib . platforms . linux ;
62+ mainProgram = "Gothic2Notr" ;
63+ } ;
64+ }
You can’t perform that action at this time.
0 commit comments