mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
27 lines
686 B
Nix
27 lines
686 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "progress-${version}";
|
|
version = "0.13.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Xfennec";
|
|
repo = "progress";
|
|
rev = "v${version}";
|
|
sha256 = "13nhczzb0zqg5zfpf5vcfi6aahyb8lrr52pvpjgi1zfkh2m9vnig";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig which ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|