2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
|
2018-12-02 11:41:15 +00:00
|
|
|
, glib, gtk3, gobject-introspection, python3Packages, ncurses
|
2016-09-18 20:35:23 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "libpeas-${version}";
|
|
|
|
version = "1.22.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/libpeas/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-02-25 20:07:20 +00:00
|
|
|
sha256 = "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv";
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "libpeas"; attrPath = "gnome3.libpeas"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-python3" ];
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2017-12-13 12:32:27 +00:00
|
|
|
buildInputs = [ intltool glib gtk3 gnome3.defaultIconTheme ncurses python3Packages.python python3Packages.pygobject3 ];
|
|
|
|
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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A GObject-based plugins engine";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://ftp.acc.umu.se/pub/GNOME/sources/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;
|
|
|
|
};
|
|
|
|
}
|