nixpkgs/pkgs/tools/X11/screen-message/default.nix

26 lines
820 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, pkgconfig, gtk3 }:
2015-01-13 22:54:18 +00:00
2016-05-31 18:07:34 +00:00
stdenv.mkDerivation rec {
pname = "screen-message";
2017-06-19 23:56:06 +00:00
version = "0.25";
2015-01-13 22:54:18 +00:00
2016-05-31 18:07:34 +00:00
src = fetchurl {
url = "mirror://debian/pool/main/s/screen-message/screen-message_${version}.orig.tar.gz";
2017-06-19 23:56:06 +00:00
sha256 = "1lw955qq5pq010lzmaf32ylj2iprgsri9ih4hx672c3f794ilab0";
2015-01-13 22:54:18 +00:00
};
2016-05-31 18:07:34 +00:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
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 = {
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";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.fpletz ];
platforms = stdenv.lib.platforms.unix;
2015-01-13 22:54:18 +00:00
};
}