libupnp: 1.14.18 -> 1.14.25

authored by R. Ryantm and committed by Weijia Wang 6d5f473c 15949102

+9 -3
+9 -3
pkgs/by-name/li/libupnp/package.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "libupnp"; 10 - version = "1.14.18"; 10 + version = "1.14.25"; 11 11 12 12 outputs = [ 13 13 "out" ··· 17 17 src = fetchFromGitHub { 18 18 owner = "pupnp"; 19 19 repo = "pupnp"; 20 - rev = "release-${version}"; 21 - sha256 = "sha256-eQKtZioZjI53J1fsoer032pzqebbK5IabOnkAXwBPos="; 20 + tag = "release-${version}"; 21 + hash = "sha256-emMZKskaFYmLnIZLduHlZ5I3praaBgXY2JHLDAGPO28="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ ··· 31 31 substituteInPlace CMakeLists.txt \ 32 32 --replace '\''${exec_prefix}/' "" \ 33 33 --replace '\''${prefix}/' "" 34 + ''; 35 + 36 + # Fix broken cmake files 37 + # https://gitlab.archlinux.org/archlinux/packaging/packages/libupnp/-/commit/69a99f8ccd4c6f335db9b5842f0facde585721eb 38 + postFixup = '' 39 + sed -e 's|/COMPONENT||g' -e 's|/UPNP_Development||g' -i ${placeholder "dev"}/lib/cmake/*/*.cmake 34 40 ''; 35 41 36 42 meta = {