From 3407031806b610f87d979d397ab0a38060e8a79e Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 4 Sep 2024 01:10:08 +0200 Subject: [PATCH] hurl: 4.3.0 -> 5.0.1 --- pkgs/by-name/hu/hurl/package.nix | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/hu/hurl/package.nix b/pkgs/by-name/hu/hurl/package.nix index db2f1619703d..3fbb553523e3 100644 --- a/pkgs/by-name/hu/hurl/package.nix +++ b/pkgs/by-name/hu/hurl/package.nix @@ -12,26 +12,16 @@ rustPlatform.buildRustPackage rec { pname = "hurl"; - version = "4.3.0"; + version = "5.0.1"; src = fetchFromGitHub { owner = "Orange-OpenSource"; - repo = pname; - rev = version; - hash = "sha256-gSkiNwRR47CZ1YjVa5o8EByCzWBAYPfsMRXydTwFwp0="; + repo = "hurl"; + rev = "refs/tags/${version}"; + hash = "sha256-+GmIKxD5wHovhKXuV2IbDX43gbD8OxJzWvH3Z0MwwV4="; }; - cargoHash = "sha256-dY00xcMnOCWhdRzC+3mTHSIqeYEPUDBJeYd/GiLM/38="; - - patches = [ - # Fix for rust 1.79, see https://github.com/Orange-OpenSource/hurl/issues/3057 - # We should be able to remove this at the next hurl version bump - (fetchpatch { - name = "hurl-fix-rust-1.79"; - url = "https://github.com/Orange-OpenSource/hurl/commit/d51c275fc63d1ee5bbdc6fc70279ec8dae86a9c1.patch"; - hash = "sha256-peA4Zq5J8ynL7trvydQ3ZqyHpJWrRmJeFeMKH9XT2n4="; - }) - ]; + cargoHash = "sha256-exAEJhHm7zTzXykkLyz46C0GJ7/7HYEwdfCd8zUDZ/A="; nativeBuildInputs = [ pkg-config