1{ stdenv, fetchFromGitHub, ncurses }:
2
3stdenv.mkDerivation rec {
4 name = "progress-${version}";
5 version = "0.9";
6
7 src = fetchFromGitHub {
8 owner = "Xfennec";
9 repo = "progress";
10 rev = "v${version}";
11 sha256 = "07bl5fsr538nk4l8vwj1kf5bivlh3a8cy8jliqfadxmhf1knn2mw";
12 };
13
14 buildInputs = [ ncurses ];
15
16 makeFlags = [ "PREFIX=$(out)" ];
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/Xfennec/progress;
20 description = "Tool that shows the progress of coreutils programs";
21 license = licenses.gpl3;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ pSub ];
24 };
25}