Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 26 lines 686 B view raw
1{ stdenv, fetchFromGitHub, pkgconfig, ncurses, which }: 2 3stdenv.mkDerivation rec { 4 name = "progress-${version}"; 5 version = "0.13.1"; 6 7 src = fetchFromGitHub { 8 owner = "Xfennec"; 9 repo = "progress"; 10 rev = "v${version}"; 11 sha256 = "13nhczzb0zqg5zfpf5vcfi6aahyb8lrr52pvpjgi1zfkh2m9vnig"; 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}