Unverified Commit fac9a8d6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

libargs: 6.4.6 -> 6.4.7 (#395957)

parents 8ae6fc1d b5c8a42a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  pkg-config,
  qt5,
@@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-b2RqSw0Ksn9OLxQV9+3reBiqrty+Kx9OwV93jlvuPnY=";
  };

  patches = [
    (fetchpatch {
      name = "include-algorithm-header.patch";
      url = "https://github.com/AppImageCommunity/AppImageUpdate/commit/5e91de84aba775ba8d3a4771e4f7f06056f9b764.patch";
      hash = "sha256-RX2HFAlGsEjXona7cL3WdwwiiA0u9CnfvHMC6S0DeLY=";
    })
  ];

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail 'VERSION 1-alpha' 'VERSION ${finalAttrs.version}' \
+2 −2
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@

stdenv.mkDerivation rec {
  pname = "args";
  version = "6.4.6";
  version = "6.4.7";

  src = fetchFromGitHub {
    owner = "Taywee";
    repo = "args";
    rev = version;
    sha256 = "sha256-2gH3h3QAl0+XVULt/fR2UUGKNIxTUmnRRdxPOFdpVy4=";
    sha256 = "sha256-IQzhbXl1CfEV164EjulKrOUdCTZNZAFgVyzxk4rTNlU=";
  };

  nativeBuildInputs = [ cmake ];
+2 −0
Original line number Diff line number Diff line
@@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
    (lib.cmakeBool "USE_SYSTEM_ARGS" true)
  ];

  env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";

  meta = {
    description = "Rewrite of the advanced file download/sync tool zsync";
    homepage = "https://github.com/AppImageCommunity/zsync2";