1{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }:
2
3stdenv.mkDerivation rec {
4 pname = "progress";
5 version = "0.16";
6
7 src = fetchFromGitHub {
8 owner = "Xfennec";
9 repo = "progress";
10 rev = "v${version}";
11 sha256 = "sha256-kkEyflyBaQ5hUVo646NUuC1u54uzLJJsVFej9pMEwT0=";
12 };
13
14 nativeBuildInputs = [ pkg-config which ];
15 buildInputs = [ ncurses ];
16
17 makeFlags = [ "PREFIX=$(out)" ];
18
19 meta = with 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}