2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
42 lines
780 B
Nix
42 lines
780 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 = "A classic system monitoring tool";
|
|
license = lib.licenses.gpl2Plus;
|
|
mainProgram = "xosview";
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = with lib.platforms; linux;
|
|
};
|
|
})
|
|
|