1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/libraries/libepc/default.nix
2020-04-13 18:50:35 +02:00

48 lines
1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome3 }:
let
avahiWithGtk = avahi.override { gtk3Support = true; };
in stdenv.mkDerivation rec {
pname = "libepc";
version = "0.4.6";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
};
nativeBuildInputs = [
pkgconfig
intltool
gtk-doc
];
buildInputs = [
glib
libuuid
gtk3
];
propagatedBuildInputs = [
avahiWithGtk
gnutls
libsoup
];
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "Easy Publish and Consume Library";
homepage = "https://wiki.gnome.org/Projects/libepc";
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}