15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitHub {
20 owner = "Orange-OpenSource";
23 hash = "sha256-zrZWYnXUuzf2cS3n56/hWDvyXVM4Y/34SOlMPrtAhJo=";
26 cargoHash = "sha256-IuxTuIU9/6BpAXXunJ1Jjz3FPYRVPFNQhBqVAzMjNro=";
38 ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 nativeInstallCheckInputs = [ versionCheckHook ];
44 # The actual tests require network access to a test server, but we can run an install check
46 doInstallCheck = true;
49 installManPage docs/manual/hurl.1 docs/manual/hurlfmt.1
50 installShellCompletion --cmd hurl \
51 --bash completions/hurl.bash \
52 --zsh completions/_hurl \
53 --fish completions/hurl.fish
55 installShellCompletion --cmd hurlfmt \
56 --zsh completions/_hurlfmt
60 description = "Command line tool that performs HTTP requests defined in a simple plain text format";
61 homepage = "https://hurl.dev/";
62 changelog = "https://github.com/Orange-OpenSource/hurl/blob/${version}/CHANGELOG.md";
63 maintainers = with maintainers; [
67 license = licenses.asl20;