diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libpeas')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libpeas/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libpeas/default.nix b/nixpkgs/pkgs/development/libraries/libpeas/default.nix new file mode 100644 index 000000000000..6c2276a08ccb --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libpeas/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3 +, glib, gtk3, gobject-introspection, python3, ncurses +}: + +stdenv.mkDerivation rec { + pname = "libpeas"; + version = "1.26.0"; + + outputs = [ "out" "dev" ]; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0xkk9zhkw8f2fm7g9nb4ry4xxig5n27s7rjmx6l7jr2941zdfxm9"; + }; + + 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 = teams.gnome.members; + }; +} |