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