2024-01-17 19:22:12 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3 }:
|
2015-01-13 22:54:18 +00:00
|
|
|
|
2016-05-31 19:07:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "screen-message";
|
2024-01-17 19:22:12 +00:00
|
|
|
version = "0.28";
|
2015-01-13 22:54:18 +00:00
|
|
|
|
2024-01-17 19:22:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nomeata";
|
|
|
|
repo = "screen-message";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-KHJL1N72Hc1B1m0olxoZxBHIpq/d/T3m2VdS5XC9+tk=";
|
2015-01-13 22:54:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2019-09-12 15:25:05 +01:00
|
|
|
buildInputs = [ gtk3 ];
|
2015-01-13 22:54:18 +00:00
|
|
|
|
|
|
|
# screen-message installs its binary in $(prefix)/games per default
|
|
|
|
makeFlags = [ "execgamesdir=$(out)/bin" ];
|
|
|
|
|
|
|
|
meta = {
|
2018-03-06 20:46:06 +00:00
|
|
|
homepage = "https://www.joachim-breitner.de/en/projects#screen-message";
|
2015-01-13 22:54:18 +00:00
|
|
|
description = "Displays a short text fullscreen in an X11 window";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.fpletz ];
|
2022-04-01 20:34:55 +01:00
|
|
|
mainProgram = "sm";
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2015-01-13 22:54:18 +00:00
|
|
|
};
|
|
|
|
}
|