Unverified Commit 6acc8efb authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #264659 from christoph-heiss/update/trurl-0.9

parents 71e31602 e5440111
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -2,15 +2,22 @@

stdenv.mkDerivation rec {
  pname = "trurl";
  version = "0.8";
  version = "0.9";

  src = fetchFromGitHub {
    owner = "curl";
    repo = pname;
    rev = "${pname}-${version}";
    hash = "sha256-KHJMxzHqHW8WbeD6jxyuzZhuHc5x4B7fP/rYAK687ac=";
    hash = "sha256-R/7Saea84iqUICAAQz9zcfDLDud4uFedY2752xyg+oE=";
  };

  # The version number was forgotten to be updated for the release,
  # so do it manually in the meantime.
  # See https://github.com/curl/trurl/discussions/244#discussioncomment-7436369
  postPatch = ''
    substituteInPlace version.h --replace 0.8 0.9
  '';

  outputs = [ "out" "dev" "man" ];
  separateDebugInfo = stdenv.isLinux;