nixpkgs-suyu/pkgs/development/libraries/libpeas/default.nix
2020-02-22 18:27:32 -05:00

36 lines
1,013 B
Nix

{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3
, glib, gtk3, gobject-introspection, python3, ncurses
}:
stdenv.mkDerivation rec {
pname = "libpeas";
version = "1.24.1";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw";
};
nativeBuildInputs = [ pkgconfig meson ninja gettext gobject-introspection ];
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
propagatedBuildInputs = [
# Required by libpeas-1.0.pc
gobject-introspection
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "A GObject-based plugins engine";
homepage = https://wiki.gnome.org/Projects/Libpeas;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = gnome3.maintainers;
};
}