From 7ca0b97fa87f847b0f989fd80aa5cdf59bf76c5d Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 1 Dec 2021 20:59:16 +0100 Subject: [PATCH] oha: drop It has been added to nixpkgs. --- default.nix | 2 -- flake.nix | 1 - oha/default.nix | 28 ---------------------------- 3 files changed, 31 deletions(-) delete mode 100644 oha/default.nix diff --git a/default.nix b/default.nix index 266af19..d42ca77 100644 --- a/default.nix +++ b/default.nix @@ -37,8 +37,6 @@ in nsz = callPythonPackage ./nsz { }; - oha = callPackage ./oha { }; - playgsf = callPackage ./playgsf { }; snownews = callPackage ./snownews { }; diff --git a/flake.nix b/flake.nix index 0cbe4ce..d6a62e6 100644 --- a/flake.nix +++ b/flake.nix @@ -55,7 +55,6 @@ hcloud_exporter netstick nsz - oha playgsf snownews textidote diff --git a/oha/default.nix b/oha/default.nix deleted file mode 100644 index ed6a9bd..0000000 --- a/oha/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ 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; - }; -}