Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 26 lines 684 B view raw
1{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }: 2 3stdenv.mkDerivation rec { 4 name = "progress-${version}"; 5 version = "0.14"; 6 7 src = fetchFromGitHub { 8 owner = "Xfennec"; 9 repo = "progress"; 10 rev = "v${version}"; 11 sha256 = "1lk2v4b767klib93an4g3f7z5qrv9kdk9jf7545vw1immc4kamrl"; 12 }; 13 14 nativeBuildInputs = [ pkgconfig which ]; 15 buildInputs = [ ncurses ]; 16 17 makeFlags = [ "PREFIX=$(out)" ]; 18 19 meta = with stdenv.lib; { 20 homepage = https://github.com/Xfennec/progress; 21 description = "Tool that shows the progress of coreutils programs"; 22 license = licenses.gpl3; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ pSub ]; 25 }; 26}