about summary refs log tree commit diff
path: root/pkgs/development/python2-packages/dbus/default.nix
blob: fa8b88d083440c7e6d32a40ff07c3b09f77ed3f8 (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
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";
  };
}