2016-11-19 20:38:54 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }:
|
2014-07-20 14:44:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "progress";
|
2018-06-30 10:18:50 +01:00
|
|
|
version = "0.14";
|
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}";
|
2018-06-30 10:18:50 +01:00
|
|
|
sha256 = "1lk2v4b767klib93an4g3f7z5qrv9kdk9jf7545vw1immc4kamrl";
|
2014-07-20 14:44:47 +01: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 14:44:47 +01:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|