2024-01-25 14:12:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "screen-message";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "0.28";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nomeata";
|
|
|
|
repo = "screen-message";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-KHJL1N72Hc1B1m0olxoZxBHIpq/d/T3m2VdS5XC9+tk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk3 ];
|
|
|
|
|
|
|
|
# screen-message installs its binary in $(prefix)/games per default
|
|
|
|
makeFlags = [ "execgamesdir=$(out)/bin" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://www.joachim-breitner.de/en/projects#screen-message";
|
|
|
|
description = "Displays a short text fullscreen in an X11 window";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.fpletz ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "sm";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|