mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
8ace65ff3d
* mpd-touch-screen-gui: use finalAttrs in mkDerivation; reformat * musescore: use finalAttrs in mkDerivation * syncthingtray: use stdenv.mkDerivation with a function; reformat * ocrfeeder: use finalAttrs in mkDerivation; reformat * castget: use finalAttrs in mkDerivation * gnome-network-displays: use finalAttrs in mkDerivation * mailreaders: use finalAttrs in mkDerivation * mswatch: use finalAttrs in mkDerivation * uhd: use finalAttrs in mkDerivation * maxima: use finalAttrs in mkDerivation * qalculate-gtk: use finalAttrs in mkDerivation * qalculate-qt: use finalAttrs in mkDerivation * wxmaxima: use finalAttrs in mkDerivation * lammps: use finalAttrs in mkDerivation * mlterm: use finalAttrs in mkDerivation * video-trimmer: use finalAttrs in mkDerivation * nerdfonts: use finalAttrs in mkDerivation * gnomeExtensions.easyScreenCast: use finalAttrs in mkDerivation * octave: use finalAttrs in mkDerivation; reformat * comedilib: use finalAttrs in mkDerivation * cpp-utilities: use finalAttrs in mkDerivation * libsForQt5.kpeoplevcard: use finalAttrs in mkDerivation; reformat * liberio: use finalAttrs in mkDerivation * libqalculate: use finalAttrs in mkDerivation; reformat * libwtk-sdl2: use finalAttrs in mkDerivation * libsForQt5.pulseaudio-qt: use finalAttrs in mkDerivation; reformat * qrupdate: use finalAttrs in mkDerivation; reformat * libsForQt5.qtforkawesome: use finalAttrs in mkDerivation; reformat * libsForQt5.qtutilities: use finalAttrs in mkDerivation; reformat * sqlitecpp: use finalAttrs in mkDerivation; reformat * tweeny: use finalAttrs in mkDerivation * volk: use finalAttrs in mkDerivation * wiringpi: use finalAttrs in mkDerivation * snzip: use finalAttrs in mkDerivation; reformat * bpm-tools: use finalAttrs in mkDerivation; reformat * sacd: use finalAttrs in mkDerivation * gtk-gnutella: use finalAttrs in mkDerivation; reformat * sile: use finalAttrs in mkDerivation * pplatex: use finalAttrs in mkDerivation; reformat
64 lines
1.4 KiB
Nix
64 lines
1.4 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, autoreconfHook
|
|
, SDL2
|
|
, SDL2_ttf
|
|
, SDL2_image
|
|
, boost
|
|
, libmpdclient
|
|
, libwtk-sdl2
|
|
, icu
|
|
, libconfig
|
|
, dejavu_fonts
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mpd-touch-screen-gui";
|
|
version = "unstable-2022-12-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "muesli4";
|
|
repo = "mpd-touch-screen-gui";
|
|
rev = "156eaebede89da2b83a98d8f9dfa46af12282fb4";
|
|
sha256 = "sha256-vr/St4BghrndjUQ0nZI/uJq+F/MjEj6ulc4DYwQ/pgU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
];
|
|
|
|
postPatch = ''
|
|
sed -i s#/usr/share/fonts/TTF#${dejavu_fonts}/share/fonts/truetype#g data/program.conf
|
|
'';
|
|
|
|
buildInputs = [
|
|
SDL2
|
|
SDL2_ttf
|
|
SDL2_image
|
|
boost
|
|
libmpdclient
|
|
libwtk-sdl2
|
|
icu
|
|
libconfig
|
|
];
|
|
|
|
# https://stackoverflow.com/questions/53089494/configure-error-could-not-find-a-version-of-the-library
|
|
configureFlags = [
|
|
"--with-boost-libdir=${boost.out}/lib"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "A small MPD client that let's you view covers and has controls suitable for small touchscreens";
|
|
homepage = "https://github.com/muesli4/mpd-touch-screen-gui";
|
|
# See: https://github.com/muesli4/mpd-touch-screen-gui/tree/master/LICENSES
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|