oha: init at 0.4.5

test
Simon Bruder 2021-05-19 14:58:21 +02:00
parent 6eba020bdd
commit effd32025d
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 31 additions and 0 deletions

View File

@ -32,6 +32,8 @@
pitchcontrol = callPackage ./mpv-scripts/pitchcontrol { };
};
oha = callPackage ./oha { };
textidote = callPackage ./textidote { };
unxwb = callPackage ./unxwb { };
@ -66,6 +68,7 @@
VisiCut
cyanrip
deemix
oha
textidote
unxwb
x264-unstable;

28
oha/default.nix Normal file
View File

@ -0,0 +1,28 @@
{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "oha";
version = "0.4.5";
src = fetchFromGitHub {
owner = "hatoo";
repo = pname;
rev = "v${version}";
sha256 = "0grq9qk34i1k1nmw77d0f19qxq5f4hqax7x1pjrqmq972ix194wr";
};
cargoSha256 = "14cc4hzg755brmr657mbmiqwbf26sn252vn4cywp0zs6y63mmxfw";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
doCheck = false; # tests require network
meta = with lib; {
description = "HTTP load generator, inspired by rakyll/hey with tui animation";
homepage = "https://github.com/hatoo/oha";
license = with licenses; [ mit ];
maintainers = with maintainers; [ sbruder ];
platforms = platforms.unix;
};
}