Bobby Rong 2023-04-18 21:58:48 +08:00
parent da27ace74e
commit 6236e0cbdf
No known key found for this signature in database

View file

@ -12,19 +12,16 @@
, gdk-pixbuf , gdk-pixbuf
, gst_all_1 , gst_all_1
, glib , glib
, gtk3
, libgee
, check
, gtk-doc , gtk-doc
, docbook-xsl-nons , docbook-xsl-nons
, docbook_xml_dtd_43 , docbook_xml_dtd_43
, gobject-introspection , gobject-introspection
, libsoup , libsoup_3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libdmapsharing"; pname = "libdmapsharing";
version = "3.9.10"; version = "3.9.12";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev"; outputBin = "dev";
@ -34,7 +31,7 @@ stdenv.mkDerivation rec {
owner = "GNOME"; owner = "GNOME";
repo = pname; repo = pname;
rev = "${lib.toUpper pname}_${lib.replaceStrings ["."] ["_"] version}"; rev = "${lib.toUpper pname}_${lib.replaceStrings ["."] ["_"] version}";
sha256 = "04y1wjwnbw4pzg05h383d83p6an6ylwy4b4g32jmjxpfi388x33g"; sha256 = "tnQ25RR/bAZJKa8vTwzkGK1iPc7CMGFbyX8mBf6TKr4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -60,31 +57,18 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
glib glib
libsoup libsoup_3
];
nativeCheckInputs = [
libgee
check
gtk3
]; ];
configureFlags = [ configureFlags = [
"--enable-gtk-doc" "--enable-gtk-doc"
"--disable-tests" # Tests require mDNS server.
]; ];
# Cannot disable tests here or `check` from nativeCheckInputs would not be included.
# Cannot disable building the tests or docs will not build:
# https://gitlab.gnome.org/GNOME/libdmapsharing/-/issues/49
doCheck = true;
preConfigure = '' preConfigure = ''
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
''; '';
# Tests require mDNS server.
checkPhase = ":";
meta = with lib; { meta = with lib; {
homepage = "https://www.flyn.org/projects/libdmapsharing/"; homepage = "https://www.flyn.org/projects/libdmapsharing/";
description = "Library that implements the DMAP family of protocols"; description = "Library that implements the DMAP family of protocols";