mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome }:
|
|
|
|
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}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
intltool
|
|
gtk-doc
|
|
];
|
|
buildInputs = [
|
|
glib
|
|
libuuid
|
|
gtk3
|
|
];
|
|
propagatedBuildInputs = [
|
|
avahiWithGtk
|
|
gnutls
|
|
libsoup
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Easy Publish and Consume Library";
|
|
homepage = "https://wiki.gnome.org/Projects/libepc";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|