tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #157455: linthesia: init at 0.8.0
Vladimír Čunát
4 years ago
3aec1846
a0f1dd66
+67
3 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
SDL2_ttf
2.0.15.nix
games
linthesia
default.nix
top-level
all-packages.nix
+25
pkgs/development/libraries/SDL2_ttf/2.0.15.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, pkg-config, darwin, fetchurl, SDL2, freetype, libGL }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
pname = "SDL2_ttf";
5
+
version = "2.0.15";
6
+
7
+
src = fetchurl {
8
+
url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
9
+
sha256 = "0cyd48dipc0m399qy8s03lci8b0bpiy8xlkvrm2ia7wcv0dfpv59";
10
+
};
11
+
12
+
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
13
+
14
+
nativeBuildInputs = [ pkg-config ];
15
+
16
+
buildInputs = [ SDL2 freetype libGL ]
17
+
++ lib.optional stdenv.isDarwin darwin.libobjc;
18
+
19
+
meta = with lib; {
20
+
description = "SDL TrueType library";
21
+
platforms = platforms.unix;
22
+
license = licenses.zlib;
23
+
homepage = "https://www.libsdl.org/projects/SDL_ttf/";
24
+
};
25
+
}
+38
pkgs/games/linthesia/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, python3, libGL, libGLU
2
+
, alsa-lib, glibmm, sqlite, SDL2, SDL2_ttf_2_0_15, SDL2_image, gtk3, wrapGAppsHook }:
3
+
4
+
stdenv.mkDerivation rec {
5
+
pname = "linthesia";
6
+
version = "0.8.0";
7
+
8
+
src = fetchFromGitHub {
9
+
owner = "linthesia";
10
+
repo = "linthesia";
11
+
rev = version;
12
+
sha256 = "sha256-bdW0RlV14ttnK8NizfNfXmZ7zlJOqZCpVvt8vT2Pjys=";
13
+
};
14
+
15
+
postPatch = ''
16
+
patchShebangs meson_post_install.py
17
+
'';
18
+
19
+
nativeBuildInputs = [ meson ninja pkg-config python3 wrapGAppsHook ];
20
+
buildInputs = [
21
+
libGL
22
+
libGLU
23
+
alsa-lib
24
+
glibmm
25
+
sqlite
26
+
SDL2
27
+
SDL2_ttf_2_0_15
28
+
SDL2_image
29
+
gtk3.out # icon cache
30
+
];
31
+
32
+
meta = with lib; {
33
+
description = "A game of playing music using a MIDI keyboard following a MIDI file";
34
+
inherit (src.meta) homepage;
35
+
license = licenses.gpl2Plus;
36
+
platforms = platforms.linux;
37
+
};
38
+
}
+4
pkgs/top-level/all-packages.nix
···
19808
19809
SDL2_ttf = callPackage ../development/libraries/SDL2_ttf { };
19810
0
0
19811
sdnotify-wrapper = skawarePackages.sdnotify-wrapper;
19812
19813
sdrplay = callPackage ../applications/radio/sdrplay {};
···
22442
lieer = callPackage ../applications/networking/lieer {};
22443
22444
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
0
0
22445
22446
libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { };
22447
···
19808
19809
SDL2_ttf = callPackage ../development/libraries/SDL2_ttf { };
19810
19811
+
SDL2_ttf_2_0_15 = callPackage ../development/libraries/SDL2_ttf/2.0.15.nix { };
19812
+
19813
sdnotify-wrapper = skawarePackages.sdnotify-wrapper;
19814
19815
sdrplay = callPackage ../applications/radio/sdrplay {};
···
22444
lieer = callPackage ../applications/networking/lieer {};
22445
22446
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
22447
+
22448
+
linthesia = callPackage ../games/linthesia/default.nix { };
22449
22450
libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { };
22451