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

37 lines
1009 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, gnome3
2018-12-25 03:30:59 +00:00
, glib, gtk3, gobject-introspection, python3, ncurses
}:
stdenv.mkDerivation rec {
2018-12-25 03:30:59 +00:00
pname = "libpeas";
version = "1.28.0";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2";
};
nativeBuildInputs = [ pkg-config meson ninja gettext gobject-introspection ];
2018-12-25 03:30:59 +00:00
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
propagatedBuildInputs = [
# Required by libpeas-1.0.pc
gobject-introspection
];
2018-12-25 03:30:59 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with lib; {
description = "A GObject-based plugins engine";
homepage = "https://wiki.gnome.org/Projects/Libpeas";
license = licenses.gpl2Plus;
2018-05-30 01:21:09 +00:00
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}