2016-04-17 00:51:46 +01:00
|
|
|
{ stdenv, fetchurl, qt4, ncurses }:
|
2012-02-06 19:09:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-10-18 20:59:36 +01:00
|
|
|
name = "i7z-0.27.2";
|
2012-02-06 19:09:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-27 00:44:19 +01:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/i7z/${name}.tar.gz";
|
2013-10-18 20:59:36 +01:00
|
|
|
sha256 = "1wa7ix6m75wl3k2n88sz0x8cckvlzqklja2gvzqfw5rcfdjjvxx7";
|
2012-02-06 19:09:04 +00:00
|
|
|
};
|
|
|
|
|
2016-04-17 00:51:46 +01:00
|
|
|
buildInputs = [ qt4 ncurses ];
|
2012-02-06 19:09:04 +00:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make
|
|
|
|
cd GUI
|
|
|
|
qmake
|
|
|
|
make clean
|
|
|
|
make
|
|
|
|
cd ..
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 13:56:10 +01:00
|
|
|
mkdir -p $out/sbin
|
2013-10-18 20:59:36 +01:00
|
|
|
make install prefix=$out
|
2012-02-06 19:09:04 +00:00
|
|
|
install -Dm755 GUI/i7z_GUI $out/sbin/i7z-gui
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A better i7 (and now i3, i5) reporting tool for Linux";
|
2017-10-27 00:44:19 +01:00
|
|
|
homepage = https://github.com/ajaiantilal/i7z;
|
2013-10-18 20:59:36 +01:00
|
|
|
repositories.git = https://github.com/ajaiantilal/i7z.git;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-02-06 19:09:04 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-02-06 19:09:04 +00:00
|
|
|
};
|
|
|
|
}
|