Unverified Commit 055a2f47 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #229915 from figsoda/hurl

parents 22cdd251 cb6d46b9
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -11,15 +11,17 @@

rustPlatform.buildRustPackage rec {
  pname = "hurl";
  version = "2.0.1";
  version = "3.0.0";

  src = fetchFromGitHub {
    owner = "Orange-OpenSource";
    repo = pname;
    rev = version;
    sha256 = "sha256-sY2bSCcC+mMuYqLmh+oH76nqg/ybh/nyz3trNH2xPQM=";
    hash = "sha256-m9hAGm5vmo+J+ntQOK5R4vFEVRhW097D1gvjcE/1CnM=";
  };

  cargoHash = "sha256-KYlax3Q7w27Q6TNwuDmzJhoiFMWnfMhagAuw0+FIW1c=";

  nativeBuildInputs = [
    pkg-config
    installShellFiles
@@ -35,8 +37,6 @@ rustPlatform.buildRustPackage rec {
  # Tests require network access to a test server
  doCheck = false;

  cargoSha256 = "sha256-Zv7TTQw4UcuQBhEdjD5nwcE1LonUHLUFf9BVhRWWuDo=";

  postInstall = ''
    installManPage docs/manual/hurl.1 docs/manual/hurlfmt.1
  '';
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
  meta = with lib; {
    description = "Command line tool that performs HTTP requests defined in a simple plain text format.";
    homepage = "https://hurl.dev/";
    changelog = "https://github.com/Orange-OpenSource/hurl/raw/${version}/CHANGELOG.md";
    changelog = "https://github.com/Orange-OpenSource/hurl/blob/${version}/CHANGELOG.md";
    maintainers = with maintainers; [ eonpatapon figsoda ];
    license = licenses.asl20;
  };