nixpkgs/pkgs/by-name/xo/xosview/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

43 lines
778 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, libX11
, libXpm
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xosview";
version = "1.24";
src = fetchFromGitHub {
owner = "hills";
repo = "xosview";
rev = finalAttrs.version;
hash = "sha256-9Pr7voJiCH7oBziMFRHCWxoyuGdndcdRD2POjiNT7yw=";
};
outputs = [ "out" "man" ];
dontConfigure = true;
buildInputs = [
libX11
libXpm
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"PLATFORM=linux"
];
meta = {
homepage = "http://www.pogo.org.uk/~mark/xosview/";
description = "Classic system monitoring tool";
license = lib.licenses.gpl2Plus;
mainProgram = "xosview";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = with lib.platforms; linux;
};
})