pythonPackages.dbus-python: 1.2.4 -> 1.2.12

This commit is contained in:
Frederik Rietdijk 2019-10-17 10:18:32 +02:00
parent 95b8b57627
commit 21e178a1fe

View File

@ -1,22 +1,24 @@
{ lib, fetchurl, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy { lib, fetchPypi, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy
, ncurses, pygobject3 }: , ncurses, pygobject3 }:
if isPyPy then throw "dbus-python not supported for interpreter ${python.executable}" else buildPythonPackage rec { buildPythonPackage rec {
pname = "dbus-python"; pname = "dbus-python";
version = "1.2.4"; version = "1.2.12";
format = "other"; format = "other";
outputs = [ "out" "dev" "doc" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchPypi {
url = "https://dbus.freedesktop.org/releases/dbus-python/${pname}-${version}.tar.gz"; inherit pname version;
sha256 = "1k7rnaqrk7mdkg0k6n2jn3d1mxsl7s3i07g5a8va5yvl3y3xdwg2"; sha256 = "0q7jmldv0bxxqnbj63cd7i81vs6y85xys4r0n63z4n2y9wndxm6d";
}; };
patches = [ patches = [
./fix-includedir.patch ./fix-includedir.patch
]; ];
disabled = isPyPy;
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus dbus-glib ] buildInputs = [ dbus dbus-glib ]
# My guess why it's sometimes trying to -lncurses. # My guess why it's sometimes trying to -lncurses.