1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/os-specific/linux/i7z/default.nix

37 lines
895 B
Nix
Raw Normal View History

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