Skip to content

Commit 6b89277

Browse files
committedJun 5, 2017
python.pkgs.systemd: 233 -> 234
also python library does not match with our systemd version, the changes done in this release are systemd 233 and python 3.6 related.
1 parent 7c476b9 commit 6b89277

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{ stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkgconfig }:
2+
3+
buildPythonPackage rec {
4+
name = "python-systemd-${version}";
5+
version = "234";
6+
7+
src = fetchFromGitHub {
8+
owner = "systemd";
9+
repo = "python-systemd";
10+
rev = "v${version}";
11+
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
12+
};
13+
14+
buildInputs = [ systemd ];
15+
nativeBuildInputs = [ pkgconfig ];
16+
17+
doCheck = false;
18+
19+
meta = with stdenv.licenses; {
20+
description = "Python module for native access to the systemd facilities";
21+
homepage = http://www.freedesktop.org/software/systemd/python-systemd/;
22+
license = licenses.lgpl21;
23+
};
24+
}

‎pkgs/top-level/python-packages.nix

+2-19
Original file line numberDiff line numberDiff line change
@@ -24042,25 +24042,8 @@ in {
2404224042
};
2404324043
};
2404424044

24045-
systemd = buildPythonPackage rec {
24046-
version = "233";
24047-
name = "python-systemd-${version}";
24048-
24049-
src = pkgs.fetchurl {
24050-
url = "https://github.com/systemd/python-systemd/archive/v${version}.tar.gz";
24051-
sha256 = "1ryzv0d5y448mxpf2cx97rk0403w2w44bha8rqgww1fasx0c9dgg";
24052-
};
24053-
24054-
buildInputs = with pkgs; [ systemd pkgconfig ];
24055-
24056-
# Certain tests only run successfully on a machine w/ systemd.
24057-
doCheck = false;
24058-
24059-
meta = {
24060-
description = "Python module for native access to the systemd facilities";
24061-
homepage = http://www.freedesktop.org/software/systemd/python-systemd/;
24062-
license = licenses.lgpl21;
24063-
};
24045+
systemd = callPackage ../development/python-modules/systemd {
24046+
inherit (pkgs) pkgconfig systemd;
2406424047
};
2406524048

2406624049
tabulate = buildPythonPackage rec {

0 commit comments

Comments
 (0)
Please sign in to comment.