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