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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
695 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";
2021-03-12 12:41:43 +00:00
version = "0.16";
src = fetchFromGitHub {
owner = "Xfennec";
2015-09-06 18:55:32 +00:00
repo = "progress";
2014-12-24 14:21:37 +00:00
rev = "v${version}";
2021-03-12 12:41:43 +00:00
sha256 = "sha256-kkEyflyBaQ5hUVo646NUuC1u54uzLJJsVFej9pMEwT0=";
};
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;
2023-01-28 19:22:00 +00:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ];
};
}