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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
818 B
Nix
Raw Normal View History

2024-01-17 20:22:12 +01:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3 }:
2015-01-13 23:54:18 +01:00
2016-05-31 20:07:34 +02:00
stdenv.mkDerivation rec {
pname = "screen-message";
2024-01-17 20:22:12 +01:00
version = "0.28";
2015-01-13 23:54:18 +01:00
2024-01-17 20:22:12 +01:00
src = fetchFromGitHub {
owner = "nomeata";
repo = "screen-message";
rev = version;
hash = "sha256-KHJL1N72Hc1B1m0olxoZxBHIpq/d/T3m2VdS5XC9+tk=";
2015-01-13 23:54:18 +01:00
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
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 = {
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 ];
mainProgram = "sm";
2021-01-15 10:19:50 +01:00
platforms = lib.platforms.unix;
2015-01-13 23:54:18 +01:00
};
}