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";
2023-10-20 00:06:24 +00:00
version = "0.17";
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}";
2023-10-20 00:06:24 +00:00
sha256 = "sha256-riewkageSZIlwDNMjYep9Pb2q1GJ+WMXazokJGbb4bE=";
};
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 ];
};
}