2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, gtk3 }:
|
2015-01-13 23:54:18 +01:00
|
|
|
|
2016-05-31 20:07:34 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "screen-message";
|
2017-06-20 01:56:06 +02:00
|
|
|
version = "0.25";
|
2015-01-13 23:54:18 +01:00
|
|
|
|
2016-05-31 20:07:34 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/s/screen-message/screen-message_${version}.orig.tar.gz";
|
2017-06-20 01:56:06 +02:00
|
|
|
sha256 = "1lw955qq5pq010lzmaf32ylj2iprgsri9ih4hx672c3f794ilab0";
|
2015-01-13 23:54:18 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-09-12 16:25:05 +02:00
|
|
|
buildInputs = [ gtk3 ];
|
2015-01-13 23:54:18 +01:00
|
|
|
|
|
|
|
# screen-message installs its binary in $(prefix)/games per default
|
|
|
|
makeFlags = [ "execgamesdir=$(out)/bin" ];
|
|
|
|
|
|
|
|
meta = {
|
2018-03-06 21:46:06 +01:00
|
|
|
homepage = "https://www.joachim-breitner.de/en/projects#screen-message";
|
2015-01-13 23:54:18 +01:00
|
|
|
description = "Displays a short text fullscreen in an X11 window";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.fpletz ];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-01-13 23:54:18 +01:00
|
|
|
};
|
|
|
|
}
|