nixpkgs/pkgs/development/libraries/libpeas/default.nix

39 lines
1 KiB
Nix
Raw Normal View History

2019-09-02 18:45:48 +02:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3
2018-12-25 04:30:59 +01:00
, glib, gtk3, gobject-introspection, python3, ncurses
}:
stdenv.mkDerivation rec {
2018-12-25 04:30:59 +01:00
pname = "libpeas";
2019-09-02 18:45:48 +02:00
version = "1.24.0";
src = fetchurl {
2018-12-25 04:30:59 +01:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-02 18:45:48 +02:00
sha256 = "1yg6r0srz3knhgvplprl3pikrq5c02dmdxgfwcynd6hjih9h16hb";
};
2019-09-02 18:45:48 +02:00
nativeBuildInputs = [ pkgconfig meson ninja gettext gobject-introspection ];
2018-12-25 04:30:59 +01:00
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
propagatedBuildInputs = [
# Required by libpeas-1.0.pc
gobject-introspection
];
patches = [
./fix-libpeas-gtk-pc.patch
];
2018-12-25 04:30:59 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "A GObject-based plugins engine";
2018-12-25 04:30:59 +01:00
homepage = https://wiki.gnome.org/Projects/Libpeas;
license = licenses.gpl2Plus;
2018-05-30 03:21:09 +02:00
platforms = platforms.unix;
maintainers = gnome3.maintainers;
};
}