mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
622 B
Nix
25 lines
622 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub, systemd, pkgconfig }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "systemd";
|
|
version = "234";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "systemd";
|
|
repo = "python-systemd";
|
|
rev = "v${version}";
|
|
sha256 = "1fakw7qln44mfd6pj4kqsgyrhkc6cyr653id34kv0rdnb1bvysrz";
|
|
};
|
|
|
|
buildInputs = [ systemd ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python module for native access to the systemd facilities";
|
|
homepage = http://www.freedesktop.org/software/systemd/python-systemd/;
|
|
license = licenses.lgpl21;
|
|
};
|
|
}
|