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