2016-02-09 20:49:45 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, ncurses }:
|
2014-07-20 14:44:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-06 19:55:32 +01:00
|
|
|
name = "progress-${version}";
|
2016-02-09 20:49:45 +00:00
|
|
|
version = "0.13";
|
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}";
|
2016-02-09 20:49:45 +00:00
|
|
|
sha256 = "0xzpcvz4n0h8m0mhxgpvn1qg8993naip3asjbk3nmk3d4lbyh0b3";
|
2014-07-20 14:44:47 +01:00
|
|
|
};
|
|
|
|
|
2016-02-09 20:49:45 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
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; {
|
2015-09-06 19:55:32 +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 ];
|
|
|
|
};
|
|
|
|
}
|