2021-01-16 19:51:22 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }:
|
2014-07-20 06:44:47 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "progress";
|
2021-03-12 04:41:43 -08:00
|
|
|
version = "0.16";
|
2014-07-20 06:44:47 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Xfennec";
|
2015-09-06 11:55:32 -07:00
|
|
|
repo = "progress";
|
2014-12-24 06:21:37 -08:00
|
|
|
rev = "v${version}";
|
2021-03-12 04:41:43 -08:00
|
|
|
sha256 = "sha256-kkEyflyBaQ5hUVo646NUuC1u54uzLJJsVFej9pMEwT0=";
|
2014-07-20 06:44:47 -07:00
|
|
|
};
|
|
|
|
|
2021-01-16 19:51:22 -08:00
|
|
|
nativeBuildInputs = [ pkg-config which ];
|
2014-12-24 06:21:37 -08:00
|
|
|
buildInputs = [ ncurses ];
|
2014-07-20 06:44:47 -07:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/Xfennec/progress";
|
2014-07-20 06:44:47 -07:00
|
|
|
description = "Tool that shows the progress of coreutils programs";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|