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