1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
{ stdenv
, lib
, fetchurl
, autoreconfHook
, pkg-config
, intltool
, gtk-doc
, glib
, avahi
, gnutls
, libuuid
, libsoup
, gtk3
, gnome
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libepc";
version = "0.4.6";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/libepc/${lib.versions.majorMinor finalAttrs.version}/libepc-${finalAttrs.version}.tar.xz";
sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
};
patches = [
# Remove dependency that is only needed by uninstalled examples.
./no-avahi-ui.patch
];
nativeBuildInputs = [
autoreconfHook
gnome.gnome-common
pkg-config
intltool
gtk-doc
];
buildInputs = [
glib
libuuid
gtk3
];
propagatedBuildInputs = [
avahi
gnutls
libsoup
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "libepc";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Easy Publish and Consume Library";
homepage = "https://gitlab.gnome.org/Archive/libepc";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
})
|