9 pname = "disk-indicator";
10 version = "unstable-2018-12-18";
12 src = fetchFromGitHub {
14 repo = "Disk-Indicator";
15 rev = "ec2d2f6833f038f07a72d15e2d52625c23e10b12";
16 sha256 = "sha256-cRqgIxF6H1WyJs5hhaAXVdWAlv6t22BZLp3p/qRlCSM=";
19 buildInputs = [ libX11 ];
23 substituteInPlace Makefile --replace "-Werror" ""
24 # avoid host-specific options
25 substituteInPlace Makefile --replace "-march=native" ""
29 patchShebangs ./configure.sh
34 "COMPILER=${stdenv.cc.targetPrefix}cc"
41 cp ./disk_indicator "$out/bin/"
47 homepage = "https://github.com/MeanEYE/Disk-Indicator";
48 description = "Program that will turn a LED into a hard disk indicator";
49 mainProgram = "disk_indicator";
51 Small program for Linux that will turn your Scroll, Caps or Num Lock LED
52 or LED on your ThinkPad laptop into a hard disk activity indicator.
54 license = lib.licenses.gpl3;
55 platforms = lib.platforms.linux;