summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/libpeas/default.nix
blob: 03c79a27d8189b4fa4822084d15508c3117eb683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
, glib, gtk3, gobjectIntrospection, 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
    gobjectIntrospection
  ];

  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;
  };
}