1 { lib, stdenv, fetchFromGitHub, zsh }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2017-7-24";
7 src = fetchFromGitHub {
10 rev = "f62066661e49375baeb891fa8e43ad4527cbd0a0";
11 sha256 = "1ipvwmcsigzmxlg7j22cxpvdcgqckkmfpsnvzy18nbybd5ars9l5";
14 buildInputs = [ zsh ];
17 install -D zthrottle $out/bin/zthrottle
21 description = "A program that throttles a pipeline, only letting a line through at most every $1 seconds.";
22 homepage = "https://github.com/anko/zthrottle";
23 license = licenses.unlicense;
24 maintainers = [ maintainers.ckie ];
25 platforms = platforms.unix;