nixpkgs/pkgs/tools/misc/progress/default.nix

27 lines
676 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }:
stdenv.mkDerivation rec {
pname = "progress";
2020-06-23 06:51:13 +01:00
version = "0.15";
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}";
2020-06-23 06:51:13 +01:00
sha256 = "1cnb4ixlhshn139mj5sr42k5m6gjjbyqvkn1324c47niwrgp7dqm";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config which ];
2014-12-24 14:21:37 +00:00
buildInputs = [ ncurses ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/Xfennec/progress";
description = "Tool that shows the progress of coreutils programs";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}