mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
27 lines
676 B
Nix
27 lines
676 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "progress";
|
|
version = "0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Xfennec";
|
|
repo = "progress";
|
|
rev = "v${version}";
|
|
sha256 = "1cnb4ixlhshn139mj5sr42k5m6gjjbyqvkn1324c47niwrgp7dqm";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|