gupnp-tools: 0.10.1 → 0.10.2

https://ftp.gnome.org/pub/GNOME/sources/gupnp-tools/0.10/gupnp-tools-0.10.2.news
This commit is contained in:
Jan Tojnar 2021-11-22 18:45:24 +00:00
parent 74a4876377
commit c87458e002

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, gupnp
@ -18,26 +17,13 @@
stdenv.mkDerivation rec {
pname = "gupnp-tools";
version = "0.10.1";
version = "0.10.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "TqltFnRis6VI78T8TqCJ/lGNfSm+NJ0czomCuf+1O0o=";
sha256 = "beSe9LN1uKFk90t2YWixGE4NKBlrawek9TQfCN/YXWw=";
};
patches = [
# Fix compilation with -Werror=format-security.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gupnp-tools/commit/d738baae3bffaf6a8dfc12f5fe1ea13168fe2e48.patch";
sha256 = "wrORH4y9Yb0YGAsjzoeN2MM07y9o+91kx078RH0G76w=";
})
# Fix missing variable reference caused by the previous patch.
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gupnp-tools/commit/9b852d91175bc7607ad845459ba29d07a16fcbce.patch";
sha256 = "WjEBN/+snJSIg4SUP5iChdj2auIyzePI0TH3Ilks7fk=";
})
];
nativeBuildInputs = [
meson
ninja