blob: 3b09b150a0fc26ef3a4d5d4ef5222766fa3612cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, stdenv
, fetchFromGitHub
, libX11
, libXpm
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xosview";
version = "1.24";
src = fetchFromGitHub {
owner = "hills";
repo = finalAttrs.pname;
rev = finalAttrs.version;
hash = "sha256-9Pr7voJiCH7oBziMFRHCWxoyuGdndcdRD2POjiNT7yw=";
};
dontConfigure = true;
buildInputs = [
libX11
libXpm
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"PLATFORM=linux"
];
meta = with lib; {
homepage = "http://www.pogo.org.uk/~mark/xosview/";
description = "A classic system monitoring tool";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; linux;
};
})
# TODO: generalize to other platforms
|