nixpkgs/pkgs/tools/networking/drill/default.nix

34 lines
847 B
Nix
Raw Normal View History

2020-04-15 18:08:20 +00:00
{ stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
2020-05-03 09:20:00 +00:00
, Security
2020-04-15 18:08:20 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "drill";
2020-05-03 09:20:00 +00:00
version = "0.6.0";
2020-04-15 18:08:20 +00:00
src = fetchFromGitHub {
owner = "fcsonline";
repo = pname;
rev = version;
2020-05-03 09:20:00 +00:00
sha256 = "0pcc91nk68z7hlhj7xvh6v3rybxpy6bzv3pzjcyaq7l0szjljrpw";
2020-04-15 18:08:20 +00:00
};
2020-05-03 09:20:00 +00:00
cargoSha256 = "1611w8b60d3x16ik8v96za0mkr5p0f9gdpz0awprfgj6c3r6s16m";
2020-04-15 18:08:20 +00:00
2020-05-03 09:20:00 +00:00
nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = [ ]
++ stdenv.lib.optionals stdenv.isLinux [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
2020-04-15 18:08:20 +00:00
meta = with stdenv.lib; {
description = "HTTP load testing application inspired by Ansible syntax";
homepage = "https://github.com/fcsonline/drill";
license = licenses.gpl3;
maintainers = with maintainers; [ filalex77 ];
};
}