nixpkgs/pkgs/tools/X11/screen-message/default.nix
2017-06-20 03:45:39 +02:00

26 lines
840 B
Nix

{ stdenv, fetchurl, autoreconfHook, pkgconfig, gtk3 }:
stdenv.mkDerivation rec {
name = "screen-message-${version}";
version = "0.25";
src = fetchurl {
url = "mirror://debian/pool/main/s/screen-message/screen-message_${version}.orig.tar.gz";
sha256 = "1lw955qq5pq010lzmaf32ylj2iprgsri9ih4hx672c3f794ilab0";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ gtk3 ];
# screen-message installs its binary in $(prefix)/games per default
makeFlags = [ "execgamesdir=$(out)/bin" ];
meta = {
homepage = "http://darcs.nomeata.de/cgi-bin/darcsweb.cgi?r=screen-message.debian";
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;
};
}