From 8c0b7e4ad2c23b3bb9c71c431520096d4361942f Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Sat, 17 Apr 2010 18:28:25 +0000 Subject: - adding experimental python31 build - cleanup python libraries: * moving all python libraries into a attr set into a directory so that expressions can be used for both: python 2.5 and 2.6 easily * disabling packages which don't build svn path=/nixpkgs/trunk/; revision=21142 --- pkgs/development/python2-packages/dbus/default.nix | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/development/python2-packages/dbus/default.nix (limited to 'pkgs/development/python2-packages/dbus') diff --git a/pkgs/development/python2-packages/dbus/default.nix b/pkgs/development/python2-packages/dbus/default.nix new file mode 100644 index 000000000000..fa8b88d08344 --- /dev/null +++ b/pkgs/development/python2-packages/dbus/default.nix @@ -0,0 +1,29 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.attrByPath ["version"] "0.83.0" a; + buildInputs = with a; [ + pkgconfig + ]; + propagatedBuildInputs = with a; [ + dbus python dbus_glib + ]; +in +rec { + src = fetchurl { + url = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz"; + sha256 = "14b1fwq9jyvg9qbbrmpk1264s9shm9n638hsgmkh9fn2lmd1vpc9"; + }; + + inherit buildInputs propagatedBuildInputs; + configureFlags = []; + + /* doConfigure should be removed if not needed */ + phaseNames = ["doConfigure" "doMakeInstall"]; + + name = "python-dbus-" + version; + meta = { + description = "Python DBus bindings"; + }; +} -- cgit 1.4.1