pythonPackages.glances: 3.0.1 -> 3.0.2
This commit is contained in:
parent
c0706bf32e
commit
a108b8617b
35
pkgs/development/python-modules/glances/default.nix
Normal file
35
pkgs/development/python-modules/glances/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ buildPythonPackage, fetchFromGitHub, isPyPy, lib
|
||||
, psutil, setuptools, bottle, batinfo, pysnmp
|
||||
, hddtemp
|
||||
, unittest2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "glances-${version}";
|
||||
version = "3.0.2";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nicolargo";
|
||||
repo = "glances";
|
||||
rev = "v${version}";
|
||||
sha256 = "1jkjblfk4gbr00j7lny7ajiizzqnp0p1yhzfi14074gwk38z0q14";
|
||||
};
|
||||
|
||||
# Requires access to /sys/class/power_supply
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
propagatedBuildInputs = [ psutil setuptools bottle batinfo pysnmp hddtemp ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/data_files\.append((conf_path/data_files.append(("etc\/glances"/' setup.py;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://nicolargo.github.io/glances/;
|
||||
description = "Cross-platform curses-based monitoring tool";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ primeos koral ];
|
||||
};
|
||||
}
|
@ -5828,35 +5828,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
glances = buildPythonPackage rec {
|
||||
name = "glances-${version}";
|
||||
version = "3.0.1";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nicolargo";
|
||||
repo = "glances";
|
||||
rev = "v${version}";
|
||||
sha256 = "18pyp6ij3bzybqj771v48n7yn3a1spk6ncg1kgp6hfpjhpqiw87x";
|
||||
};
|
||||
|
||||
# Requires access to /sys/class/power_supply
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ unittest2 ];
|
||||
propagatedBuildInputs = with self; [ psutil setuptools bottle batinfo pkgs.hddtemp pysnmp ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/data_files\.append((conf_path/data_files.append(("etc\/glances"/' setup.py;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://nicolargo.github.io/glances/;
|
||||
description = "Cross-platform curses-based monitoring tool";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ primeos koral ];
|
||||
};
|
||||
};
|
||||
glances = callPackage ../development/python-modules/glances { };
|
||||
|
||||
github3_py = buildPythonPackage rec {
|
||||
name = "github3.py-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user