nixpkgs/pkgs/by-name/li/libepc/package.nix
Jan Tojnar 064ee2cb49 libsoup_2_4: Rename from libsoup
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
2024-12-08 00:37:52 +01:00

71 lines
1.2 KiB
Nix

{ stdenv
, lib
, fetchurl
, autoreconfHook
, gnome-common
, pkg-config
, intltool
, gtk-doc
, glib
, avahi
, gnutls
, libuuid
, libsoup_2_4
, 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-common
pkg-config
intltool
gtk-doc
];
buildInputs = [
glib
libuuid
gtk3
];
propagatedBuildInputs = [
avahi
gnutls
libsoup_2_4
];
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;
};
})