2021-05-07 23:18:14 +02:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, gnome
|
2018-12-25 04:30:59 +01:00
|
|
|
, glib, gtk3, gobject-introspection, python3, ncurses
|
2016-09-18 21:35:23 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-12-25 04:30:59 +01:00
|
|
|
pname = "libpeas";
|
2021-03-21 02:22:04 +01:00
|
|
|
version = "1.30.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
2019-10-24 13:37:58 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
src = fetchurl {
|
2021-01-21 18:00:13 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-03-21 02:22:04 +01:00
|
|
|
sha256 = "18xrk1c1ixlhkmykcfiafrl2am470ws687xqvjlq40zwkcp5dx8b";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja gettext gobject-introspection ];
|
2018-12-25 04:30:59 +01:00
|
|
|
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
|
2017-12-13 13:32:27 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
# Required by libpeas-1.0.pc
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection
|
2017-12-13 13:32:27 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-12-25 04:30:59 +01:00
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-25 04:30:59 +01:00
|
|
|
packageName = pname;
|
2021-03-21 00:57:24 +01:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-25 04:30:59 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "A GObject-based plugins engine";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Libpeas";
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2018-05-30 03:21:09 +02:00
|
|
|
platforms = platforms.unix;
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
};
|
|
|
|
}
|