depot/third_party/nixpkgs/pkgs/tools/misc/progress/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
725 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }:
stdenv.mkDerivation rec {
pname = "progress";
version = "0.17";
src = fetchFromGitHub {
owner = "Xfennec";
repo = "progress";
rev = "v${version}";
sha256 = "sha256-riewkageSZIlwDNMjYep9Pb2q1GJ+WMXazokJGbb4bE=";
};
nativeBuildInputs = [ pkg-config which ];
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 ++ platforms.darwin;
maintainers = with maintainers; [ pSub ];
mainProgram = "progress";
};
}