nixpkgs/pkgs/desktops/gnome-3/core/libpeas/default.nix
Jan Tojnar a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00

35 lines
1.0 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gnome3
, glib, gtk3, gobject-introspection, python3Packages, ncurses
}:
stdenv.mkDerivation rec {
name = "libpeas-${version}";
version = "1.22.0";
src = fetchurl {
url = "mirror://gnome/sources/libpeas/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0qm908kisyjzjxvygdl18hjqxvvgkq9w0phs2g55pck277sw0bsv";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "libpeas"; attrPath = "gnome3.libpeas"; };
};
configureFlags = [ "--enable-python3" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool glib gtk3 gnome3.defaultIconTheme ncurses python3Packages.python python3Packages.pygobject3 ];
propagatedBuildInputs = [
# Required by libpeas-1.0.pc
gobject-introspection
];
meta = with stdenv.lib; {
description = "A GObject-based plugins engine";
homepage = http://ftp.acc.umu.se/pub/GNOME/sources/libpeas/;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = gnome3.maintainers;
};
}