This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
39 lines
841 B
Nix
39 lines
841 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
gtk3,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "screen-message";
|
|
version = "0.29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nomeata";
|
|
repo = "screen-message";
|
|
rev = version;
|
|
hash = "sha256-fwKle+aXZuiNo5ksrigj7BGLv2fUILN2GluHHZ6co6s=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
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";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.fpletz ];
|
|
mainProgram = "sm";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|