nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 920 B view raw
1{ 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitHub, 6 pkg-config, 7 openssl, 8}: 9 10rustPlatform.buildRustPackage rec { 11 pname = "drill"; 12 version = "0.8.3"; 13 14 src = fetchFromGitHub { 15 owner = "fcsonline"; 16 repo = "drill"; 17 rev = version; 18 sha256 = "sha256-4y5gpkQB0U6Yq92O6DDD5eq/i/36l/VfeyiE//pcZOk="; 19 }; 20 21 cargoHash = "sha256-wrfQtJHhSG53tV3R4u/Ri4iv1VoAmuT3xleAQEJOIzE="; 22 23 nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ 24 pkg-config 25 ]; 26 27 OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib"; 28 OPENSSL_DIR = "${lib.getDev openssl}"; 29 30 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ 31 openssl 32 ]; 33 34 meta = with lib; { 35 description = "HTTP load testing application inspired by Ansible syntax"; 36 homepage = "https://github.com/fcsonline/drill"; 37 license = licenses.gpl3Only; 38 maintainers = with maintainers; [ Br1ght0ne ]; 39 mainProgram = "drill"; 40 }; 41}