2016-11-19 21:38:54 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }:
|
2014-07-20 15:44:47 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-06 20:55:32 +02:00
|
|
|
name = "progress-${version}";
|
2016-11-19 21:38:54 +01:00
|
|
|
version = "0.13.1";
|
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}";
|
2016-11-19 21:38:54 +01:00
|
|
|
sha256 = "13nhczzb0zqg5zfpf5vcfi6aahyb8lrr52pvpjgi1zfkh2m9vnig";
|
2014-07-20 15:44:47 +02:00
|
|
|
};
|
|
|
|
|
2016-11-19 21:38:54 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig which ];
|
2014-12-24 15:21:37 +01:00
|
|
|
buildInputs = [ ncurses ];
|
2014-07-20 15:44:47 +02:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-09-06 20:55:32 +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 ];
|
|
|
|
};
|
|
|
|
}
|