2021-05-08 00:18:14 +03:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome }:
|
2018-12-03 00:54:22 +03:00
|
|
|
|
|
|
|
let
|
|
|
|
avahiWithGtk = avahi.override { gtk3Support = true; };
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
pname = "libepc";
|
|
|
|
version = "0.4.6";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 20:00:13 +03:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-03 00:54:22 +03:00
|
|
|
sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-19 09:50:56 +03:00
|
|
|
pkg-config
|
2018-12-03 00:54:22 +03:00
|
|
|
intltool
|
|
|
|
gtk-doc
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libuuid
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
avahiWithGtk
|
|
|
|
gnutls
|
|
|
|
libsoup
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-08 00:18:14 +03:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-03 00:54:22 +03:00
|
|
|
packageName = pname;
|
2021-03-21 02:57:24 +03:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-03 00:54:22 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 20:00:13 +03:00
|
|
|
meta = with lib; {
|
2018-12-03 00:54:22 +03:00
|
|
|
description = "Easy Publish and Consume Library";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/libepc";
|
2018-12-03 00:54:22 +03:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-01 15:40:51 +03:00
|
|
|
maintainers = teams.gnome.members;
|
2018-12-03 00:54:22 +03:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|