tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xsos:init at 0.7.19
nixinator
4 years ago
18bab166
fb41277d
+54
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
xsos
default.nix
top-level
all-packages.nix
+52
pkgs/os-specific/linux/xsos/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
0
0
0
0
0
0
···
1
+
{ stdenv
2
+
, lib
3
+
, fetchFromGitHub
4
+
, makeWrapper
5
+
, installShellFiles
6
+
, dmidecode
7
+
, ethtool
8
+
, pciutils
9
+
, multipath-tools
10
+
, iproute2
11
+
, sysvinit
12
+
}:
13
+
let
14
+
binPath = [
15
+
iproute2
16
+
dmidecode
17
+
ethtool
18
+
pciutils
19
+
multipath-tools
20
+
iproute2
21
+
sysvinit
22
+
];
23
+
in
24
+
25
+
stdenv.mkDerivation rec {
26
+
pname = "xsos";
27
+
version = "0.7.19";
28
+
29
+
src = fetchFromGitHub {
30
+
owner = "ryran";
31
+
repo = "xsos";
32
+
rev = "v${version}";
33
+
sha256 = "11cc8z3pz4gl0mwl2fc701mn4cgx50fybygx0rvs9bhvb0jnphay";
34
+
};
35
+
36
+
nativeBuildInputs = [ makeWrapper installShellFiles ];
37
+
38
+
installPhase = ''
39
+
mkdir -p $out/bin
40
+
cp -a xsos $out/bin
41
+
wrapProgram "$out/bin/xsos" --prefix PATH : ${lib.makeBinPath binPath}
42
+
installShellCompletion --bash --name xsos.bash xsos-bash-completion.bash
43
+
'';
44
+
45
+
meta = with lib; {
46
+
description = "Summarize system info from sosreports";
47
+
homepage = "https://github.com/ryran/xsos";
48
+
license = licenses.gpl3;
49
+
platforms = [ "i686-linux" "x86_64-linux" ];
50
+
maintainers = [ maintainers.nixinator ];
51
+
};
52
+
}
+2
pkgs/top-level/all-packages.nix
···
33815
33816
xcfun = callPackage ../development/libraries/science/chemistry/xcfun { };
33817
0
0
33818
zesarux = callPackage ../misc/emulators/zesarux { };
33819
33820
zk = callPackage ../applications/office/zk {};
···
33815
33816
xcfun = callPackage ../development/libraries/science/chemistry/xcfun { };
33817
33818
+
xsos = callPackage ../os-specific/linux/xsos { };
33819
+
33820
zesarux = callPackage ../misc/emulators/zesarux { };
33821
33822
zk = callPackage ../applications/office/zk {};