nixpkgs/pkgs/by-name/xo/xosview/package.nix

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

43 lines
778 B
Nix
Raw Normal View History

2022-07-06 03:57:55 +00:00
{ lib
, stdenv
, fetchFromGitHub
, libX11
, libXpm
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xosview";
2023-02-04 21:37:36 +00:00
version = "1.24";
2022-07-06 03:57:55 +00:00
src = fetchFromGitHub {
owner = "hills";
2023-11-03 22:12:47 +00:00
repo = "xosview";
2022-07-06 03:57:55 +00:00
rev = finalAttrs.version;
2023-02-04 21:37:36 +00:00
hash = "sha256-9Pr7voJiCH7oBziMFRHCWxoyuGdndcdRD2POjiNT7yw=";
2022-07-06 03:57:55 +00:00
};
2023-11-03 22:12:47 +00:00
outputs = [ "out" "man" ];
2022-07-06 03:57:55 +00:00
dontConfigure = true;
buildInputs = [
libX11
libXpm
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"PLATFORM=linux"
];
2023-11-03 22:12:47 +00:00
meta = {
2022-07-06 03:57:55 +00:00
homepage = "http://www.pogo.org.uk/~mark/xosview/";
description = "Classic system monitoring tool";
2023-11-03 22:12:47 +00:00
license = lib.licenses.gpl2Plus;
2023-11-03 22:12:07 +00:00
mainProgram = "xosview";
2023-11-03 22:12:47 +00:00
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = with lib.platforms; linux;
2022-07-06 03:57:55 +00:00
};
})
2023-11-03 22:12:47 +00:00