Merge #157455: linthesia: init at 0.8.0
This commit is contained in:
commit
3aec1846cc
25
pkgs/development/libraries/SDL2_ttf/2.0.15.nix
Normal file
25
pkgs/development/libraries/SDL2_ttf/2.0.15.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, stdenv, pkg-config, darwin, fetchurl, SDL2, freetype, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL2_ttf";
|
||||
version = "2.0.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
|
||||
sha256 = "0cyd48dipc0m399qy8s03lci8b0bpiy8xlkvrm2ia7wcv0dfpv59";
|
||||
};
|
||||
|
||||
configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ SDL2 freetype libGL ]
|
||||
++ lib.optional stdenv.isDarwin darwin.libobjc;
|
||||
|
||||
meta = with lib; {
|
||||
description = "SDL TrueType library";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.zlib;
|
||||
homepage = "https://www.libsdl.org/projects/SDL_ttf/";
|
||||
};
|
||||
}
|
38
pkgs/games/linthesia/default.nix
Normal file
38
pkgs/games/linthesia/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, python3, libGL, libGLU
|
||||
, alsa-lib, glibmm, sqlite, SDL2, SDL2_ttf_2_0_15, SDL2_image, gtk3, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "linthesia";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linthesia";
|
||||
repo = "linthesia";
|
||||
rev = version;
|
||||
sha256 = "sha256-bdW0RlV14ttnK8NizfNfXmZ7zlJOqZCpVvt8vT2Pjys=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs meson_post_install.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config python3 wrapGAppsHook ];
|
||||
buildInputs = [
|
||||
libGL
|
||||
libGLU
|
||||
alsa-lib
|
||||
glibmm
|
||||
sqlite
|
||||
SDL2
|
||||
SDL2_ttf_2_0_15
|
||||
SDL2_image
|
||||
gtk3.out # icon cache
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A game of playing music using a MIDI keyboard following a MIDI file";
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -19808,6 +19808,8 @@ with pkgs;
|
||||
|
||||
SDL2_ttf = callPackage ../development/libraries/SDL2_ttf { };
|
||||
|
||||
SDL2_ttf_2_0_15 = callPackage ../development/libraries/SDL2_ttf/2.0.15.nix { };
|
||||
|
||||
sdnotify-wrapper = skawarePackages.sdnotify-wrapper;
|
||||
|
||||
sdrplay = callPackage ../applications/radio/sdrplay {};
|
||||
@ -22443,6 +22445,8 @@ with pkgs;
|
||||
|
||||
linuxConsoleTools = callPackage ../os-specific/linux/consoletools { };
|
||||
|
||||
linthesia = callPackage ../games/linthesia/default.nix { };
|
||||
|
||||
libreelec-dvb-firmware = callPackage ../os-specific/linux/firmware/libreelec-dvb-firmware { };
|
||||
|
||||
openiscsi = callPackage ../os-specific/linux/open-iscsi { };
|
||||
|
Loading…
Reference in New Issue
Block a user