lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 40 lines 1.0 kB view raw
1{ stdenv, fetchFromGitLab, pythonPackages }: 2 3stdenv.mkDerivation rec { 4 name = "phwmon-${version}"; 5 version = "2017-04-10"; 6 7 src = fetchFromGitLab { 8 owner = "o9000"; 9 repo = "phwmon"; 10 rev = "b162e53dccc4adf8f11f49408d05fd85d9c6c909"; 11 sha256 = "1hqmsq66y8bqkpvszw84jyk8haxq3cjnz105hlkmp7786vfmkisq"; 12 }; 13 14 nativeBuildInputs = [ pythonPackages.wrapPython ]; 15 16 buildInputs = [ pythonPackages.pygtk pythonPackages.psutil ]; 17 18 pythonPath = [ pythonPackages.pygtk pythonPackages.psutil ]; 19 20 patchPhase = '' 21 substituteInPlace install.sh --replace "/usr/local" "$out" 22 ''; 23 24 installPhase = '' 25 mkdir -p $out/bin $out/share/applications 26 ./install.sh 27 ''; 28 29 postFixup = '' 30 wrapPythonPrograms 31 ''; 32 33 meta = { 34 homepage = https://gitlab.com/o9000/phwmon; 35 description = "Hardware monitor (CPU, memory, network and disk I/O) for the system tray"; 36 license = stdenv.lib.licenses.gpl2; 37 platforms = stdenv.lib.platforms.unix; 38 maintainers = [ stdenv.lib.maintainers.romildo ]; 39 }; 40}