openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libepc / package.nix
bloba6c8912184a2a0244662d1aa2fe84b94baaba1f9
2   stdenv,
3   lib,
4   fetchurl,
5   autoreconfHook,
6   gnome-common,
7   pkg-config,
8   intltool,
9   gtk-doc,
10   glib,
11   avahi,
12   gnutls,
13   libuuid,
14   libsoup_2_4,
15   gtk3,
16   gnome,
19 stdenv.mkDerivation (finalAttrs: {
20   pname = "libepc";
21   version = "0.4.6";
23   outputs = [
24     "out"
25     "dev"
26     "devdoc"
27   ];
29   src = fetchurl {
30     url = "mirror://gnome/sources/libepc/${lib.versions.majorMinor finalAttrs.version}/libepc-${finalAttrs.version}.tar.xz";
31     sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
32   };
34   patches = [
35     # Remove dependency that is only needed by uninstalled examples.
36     ./no-avahi-ui.patch
37   ];
39   nativeBuildInputs = [
40     autoreconfHook
41     gnome-common
42     pkg-config
43     intltool
44     gtk-doc
45   ];
47   buildInputs = [
48     glib
49     libuuid
50     gtk3
51   ];
53   propagatedBuildInputs = [
54     avahi
55     gnutls
56     libsoup_2_4
57   ];
59   enableParallelBuilding = true;
61   passthru = {
62     updateScript = gnome.updateScript {
63       packageName = "libepc";
64       versionPolicy = "odd-unstable";
65     };
66   };
68   meta = with lib; {
69     description = "Easy Publish and Consume Library";
70     homepage = "https://gitlab.gnome.org/Archive/libepc";
71     license = licenses.lgpl21Plus;
72     maintainers = [ maintainers.bot-wxt1221 ];
73     platforms = platforms.linux;
74   };