mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
zthrottle: init at unstable-2017-7-24
This commit is contained in:
parent
d4b7485fb6
commit
4fc765ed03
2 changed files with 29 additions and 0 deletions
27
pkgs/tools/misc/zthrottle/default.nix
Normal file
27
pkgs/tools/misc/zthrottle/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchFromGitHub, zsh }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zthrottle";
|
||||
version = "unstable-2017-7-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anko";
|
||||
repo = pname;
|
||||
rev = "f62066661e49375baeb891fa8e43ad4527cbd0a0";
|
||||
sha256 = "1ipvwmcsigzmxlg7j22cxpvdcgqckkmfpsnvzy18nbybd5ars9l5";
|
||||
};
|
||||
|
||||
buildInputs = [ zsh ];
|
||||
|
||||
installPhase = ''
|
||||
install -D zthrottle $out/bin/zthrottle
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A program that throttles a pipeline, only letting a line through at most every $1 seconds.";
|
||||
homepage = "https://github.com/anko/zthrottle";
|
||||
license = licenses.unlicense;
|
||||
maintainers = [ maintainers.ronthecookie ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -31643,5 +31643,7 @@ in
|
|||
|
||||
xcolor = callPackage ../tools/graphics/xcolor { };
|
||||
|
||||
zthrottle = callPackage ../tools/misc/zthrottle { };
|
||||
|
||||
zktree = callPackage ../applications/misc/zktree {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue