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

37 lines
1,016 B
Nix
Raw Normal View History

2019-09-02 12:45:48 -04:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3
2018-12-24 22:30:59 -05:00
, glib, gtk3, gobject-introspection, python3, ncurses
}:
stdenv.mkDerivation rec {
2018-12-24 22:30:59 -05:00
pname = "libpeas";
2020-02-08 18:19:11 -05:00
version = "1.26.0";
outputs = [ "out" "dev" ];
src = fetchurl {
2018-12-24 22:30:59 -05:00
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-02-08 18:19:11 -05:00
sha256 = "0xkk9zhkw8f2fm7g9nb4ry4xxig5n27s7rjmx6l7jr2941zdfxm9";
};
2019-09-02 12:45:48 -04:00
nativeBuildInputs = [ pkgconfig meson ninja gettext gobject-introspection ];
2018-12-24 22:30:59 -05:00
buildInputs = [ glib gtk3 ncurses python3 python3.pkgs.pygobject3 ];
propagatedBuildInputs = [
# Required by libpeas-1.0.pc
gobject-introspection
];
2018-12-24 22:30:59 -05:00
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;
2018-05-29 21:21:09 -04:00
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}