tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Adding IOtop
svn path=/nixpkgs/trunk/; revision=24818
Michael Raskin
15 years ago
6162fffe
8cd20e6f
+50
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
iotop
default.nix
top-level
all-packages.nix
+46
pkgs/os-specific/linux/iotop/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
x@{builderDefsPackage
2
+
, python, makeWrapper
3
+
, ...}:
4
+
builderDefsPackage
5
+
(a :
6
+
let
7
+
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
8
+
[];
9
+
10
+
buildInputs = map (n: builtins.getAttr n x)
11
+
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
12
+
sourceInfo = rec {
13
+
baseName="iotop";
14
+
version="0.4.1";
15
+
name="${baseName}-${version}";
16
+
url="http://guichaz.free.fr/${baseName}/files/${name}.tar.bz2";
17
+
hash="1dfvw3khr2rvqllvs9wad9ca3ld4i7szqf0ibq87rn36ickrf3ll";
18
+
};
19
+
in
20
+
rec {
21
+
src = a.fetchurl {
22
+
url = sourceInfo.url;
23
+
sha256 = sourceInfo.hash;
24
+
};
25
+
26
+
inherit (sourceInfo) name version;
27
+
inherit buildInputs;
28
+
29
+
phaseNames = ["installPythonPackage" "wrapBinContentsPython"];
30
+
31
+
meta = {
32
+
description = "A tool to find out the processes doing the most IO";
33
+
maintainers = with a.lib.maintainers;
34
+
[
35
+
raskin
36
+
];
37
+
platforms = with a.lib.platforms;
38
+
linux;
39
+
};
40
+
passthru = {
41
+
updateInfo = {
42
+
downloadPage = "http://guichaz.free.fr/iotop/";
43
+
};
44
+
};
45
+
}) x
46
+
+4
pkgs/top-level/all-packages.nix
···
4508
4509
ifplugd = callPackage ../os-specific/linux/ifplugd { };
4510
0
0
0
0
4511
iproute = callPackage ../os-specific/linux/iproute { };
4512
4513
iputils = (
···
4508
4509
ifplugd = callPackage ../os-specific/linux/ifplugd { };
4510
4511
+
iotop = callPackage ../os-specific/linux/iotop {
4512
+
python = pythonFull;
4513
+
};
4514
+
4515
iproute = callPackage ../os-specific/linux/iproute { };
4516
4517
iputils = (