mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
7d34b64eca
well, we failed. we have not saved nix together[0], and today's show of utter incompetence[1] has pushed me over the edge along with many others[2] it's been good. a lot of PRs. a lot of endless reviews. some new friends, some old friends converted :P cya in the next world, cuties <3 [0] https://save-nix-together.org/ [1] https://discourse.nixos.org/t/nca-member-jonringer-joint-announcement/48231 [2] https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3A+maintainer-list+%28update%29%22+remove+in%3Atitle+created%3A%3C2024-07-10
29 lines
723 B
Nix
29 lines
723 B
Nix
{ 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 = "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 = [ ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "zthrottle";
|
|
};
|
|
}
|