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