Merge pull request #26386 from danielfullmer/python-systemd-233

pythonPackages.systemd: 231 -> 233
This commit is contained in:
Frederik Rietdijk 2017-06-05 12:25:47 +02:00 committed by GitHub
commit 1441342182

View File

@ -24043,21 +24043,18 @@ in {
}; };
systemd = buildPythonPackage rec { systemd = buildPythonPackage rec {
version = "231"; version = "233";
name = "python-systemd-${version}"; name = "python-systemd-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/systemd/python-systemd/archive/v${version}.tar.gz"; url = "https://github.com/systemd/python-systemd/archive/v${version}.tar.gz";
sha256 = "1sifq7mdg0y5ngab8vjy8995nz9c0hxny35dxs5qjx0k0hyzb71c"; sha256 = "1ryzv0d5y448mxpf2cx97rk0403w2w44bha8rqgww1fasx0c9dgg";
}; };
buildInputs = with pkgs; [ systemd pkgconfig ]; buildInputs = with pkgs; [ systemd pkgconfig ];
patchPhase = '' # Certain tests only run successfully on a machine w/ systemd.
substituteInPlace setup.py \ doCheck = false;
--replace "/usr/include" "${pkgs.systemd.dev}/include"
echo '#include <time.h>' >> systemd/pyutil.h
'';
meta = { meta = {
description = "Python module for native access to the systemd facilities"; description = "Python module for native access to the systemd facilities";