tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cortex-command-community-project: init at 6.2.2
gileri
9 months ago
617b982c
8f77f360
+82
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
co
cortex-command-community-project
package.nix
+82
pkgs/by-name/co/cortex-command-community-project/package.nix
···
1
1
+
{
2
2
+
stdenv,
3
3
+
fetchFromGitHub,
4
4
+
fetchpatch,
5
5
+
flac,
6
6
+
lib,
7
7
+
libGL,
8
8
+
libpng,
9
9
+
libpulseaudio,
10
10
+
lz4,
11
11
+
luajit,
12
12
+
meson,
13
13
+
minizip,
14
14
+
ninja,
15
15
+
nix-update-script,
16
16
+
pkg-config,
17
17
+
SDL2,
18
18
+
SDL2_image,
19
19
+
tbb,
20
20
+
}:
21
21
+
22
22
+
stdenv.mkDerivation rec {
23
23
+
pname = "cortex-command-community-project";
24
24
+
version = "6.2.2";
25
25
+
26
26
+
src = fetchFromGitHub {
27
27
+
owner = "cortex-command-community";
28
28
+
repo = "Cortex-Command-Community-Project";
29
29
+
tag = "v${version}";
30
30
+
hash = "sha256-srbV6Nh+ecyV0dkY835vhzpMSzmnvANym453L72cmGI=";
31
31
+
};
32
32
+
33
33
+
patches = [
34
34
+
(fetchpatch {
35
35
+
name = "runner.patch";
36
36
+
url = "https://github.com/cortex-command-community/Cortex-Command-Community-Project/commit/0aa22156567d48cb12ac39e31aec8aeb0ea7fb83.patch";
37
37
+
hash = "sha256-2rpJtKjRebjVOjj3wlNfFBQjbn9UdEcIBWCkyZgzd+8=";
38
38
+
})
39
39
+
];
40
40
+
41
41
+
postFixup = ''
42
42
+
patchelf --set-rpath ${lib.makeLibraryPath [ libpulseaudio ]} $out/lib/CortexCommand/libfmod.so*
43
43
+
'';
44
44
+
45
45
+
nativeBuildInputs = [
46
46
+
meson
47
47
+
ninja
48
48
+
pkg-config
49
49
+
];
50
50
+
51
51
+
buildInputs = [
52
52
+
SDL2
53
53
+
flac
54
54
+
libpng
55
55
+
libpulseaudio
56
56
+
libGL
57
57
+
lz4
58
58
+
luajit
59
59
+
minizip
60
60
+
SDL2_image
61
61
+
tbb
62
62
+
];
63
63
+
64
64
+
passthru.updateScript = nix-update-script { };
65
65
+
66
66
+
meta = {
67
67
+
description = "Cortex Command Community Project";
68
68
+
longDescription = ''
69
69
+
The Cortex Command Community Project is Free/Libre and Open Source under GNU AGPL v3.
70
70
+
This is a community-driven effort to continue the development of Cortex Command.
71
71
+
'';
72
72
+
homepage = "https://cortex-command-community.github.io/";
73
73
+
changelog = "https://github.com/cortex-command-community/Cortex-Command-Community-Project/blob/v${version}/CHANGELOG.md";
74
74
+
license = with lib.licenses; [
75
75
+
agpl3Only # Cortex Command Community Project
76
76
+
unfreeRedistributable # fmod
77
77
+
];
78
78
+
maintainers = with lib.maintainers; [ gileri ];
79
79
+
mainProgram = "CortexCommand";
80
80
+
platforms = [ "x86_64-linux" ];
81
81
+
};
82
82
+
}