2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2018-12-25 03:30:59 +00:00
|
|
|
, glib, gtk3, gobject-introspection, python3, ncurses
|
2016-09-18 20:35:23 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 03:30:59 +00:00
|
|
|
pname = "libpeas";
|
2018-02-25 20:07:20 +00:00
|
|
|
version = "1.22.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-12-25 03:30:59 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv";
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
configureFlags = [ "--enable-python3" ];
|
|
|
|
|
2018-12-25 03:30:59 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gobject-introspection ];
|
|
|
|
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
|
2017-12-13 12:32:27 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
# Required by libpeas-1.0.pc
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2017-12-13 12:32:27 +00:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-12-25 03:30:59 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A GObject-based plugins engine";
|
2018-12-25 03:30:59 +00:00
|
|
|
homepage = https://wiki.gnome.org/Projects/Libpeas;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-05-30 02:21:09 +01:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 20:35:23 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|