2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }:
|
2014-07-20 13:44:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "progress";
|
2023-10-20 00:06:24 +00:00
|
|
|
version = "0.17";
|
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}";
|
2023-10-20 00:06:24 +00:00
|
|
|
sha256 = "sha256-riewkageSZIlwDNMjYep9Pb2q1GJ+WMXazokJGbb4bE=";
|
2014-07-20 13:44:47 +00: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 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;
|
2023-01-28 19:22:00 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-07-20 13:44:47 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|