mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Adding pygobject3 (for bluez4).
bluez-simple-agent fails to work otherwise. We discussed this a bit on #486, and this looks like the simplest way to get bluez-simple-agent again.
This commit is contained in:
parent
43615a640f
commit
ac4dcaba52
19
pkgs/development/python-modules/pygobject/3.nix
Normal file
19
pkgs/development/python-modules/pygobject/3.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pygobject-3.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.0/${name}.tar.xz";
|
||||
sha256 = "f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-introspection";
|
||||
|
||||
buildInputs = [ python pkgconfig glib gobjectIntrospection pycairo cairo ];
|
||||
|
||||
meta = {
|
||||
homepage = http://live.gnome.org/PyGObject;
|
||||
description = "Python bindings for Glib";
|
||||
};
|
||||
}
|
@ -5415,6 +5415,8 @@ let
|
||||
|
||||
pygobject = pythonPackages.pygobject;
|
||||
|
||||
pygobject3 = pythonPackages.pygobject3;
|
||||
|
||||
pygtk = pythonPackages.pygtk;
|
||||
|
||||
pyGtkGlade = pythonPackages.pyGtkGlade;
|
||||
@ -5762,7 +5764,10 @@ let
|
||||
|
||||
bcm43xx = callPackage ../os-specific/linux/firmware/bcm43xx { };
|
||||
|
||||
bluez4 = callPackage ../os-specific/linux/bluez { };
|
||||
bluez4 = callPackage ../os-specific/linux/bluez {
|
||||
pygobject = pygobject3;
|
||||
};
|
||||
|
||||
bluez5 = lowPrio (callPackage ../os-specific/linux/bluez/bluez5.nix { });
|
||||
|
||||
bluez = bluez4;
|
||||
|
@ -91,6 +91,11 @@ pythonPackages = python.modules // rec {
|
||||
inherit python;
|
||||
};
|
||||
|
||||
pygobject3 = import ../development/python-modules/pygobject/3.nix {
|
||||
inherit (pkgs) stdenv fetchurl pkgconfig glib gobjectIntrospection cairo;
|
||||
inherit python pycairo;
|
||||
};
|
||||
|
||||
pygtk = import ../development/python-modules/pygtk {
|
||||
inherit (pkgs) fetchurl stdenv pkgconfig glib gtk;
|
||||
inherit python buildPythonPackage pygobject pycairo;
|
||||
|
Loading…
Reference in New Issue
Block a user