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

38 lines
1 KiB
Nix
Raw Normal View History

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