mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python310Packages.pystemd: 0.8.0 -> 0.10.0
This commit is contained in:
parent
2fb7ee8cef
commit
1446695c7b
@ -1,23 +1,36 @@
|
||||
{ stdenv, lib, python, systemd }:
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, lib
|
||||
, python
|
||||
, systemd
|
||||
, pytest
|
||||
, mock
|
||||
, pkg-config }:
|
||||
|
||||
python.pkgs.buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "pystemd";
|
||||
version = "0.8.0";
|
||||
version = "0.10.0";
|
||||
src = python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wlrid2xd73dmzl4m0jgg6cqmkx3qs9v9nikvwxd8a5b8chf9hna";
|
||||
sha256 = "sha256-10qBS/2gEIXbGorZC+PLJ9ryOlGrawPn4p7IEfoq6Fk=";
|
||||
};
|
||||
|
||||
disabled = python.pythonOlder "3.4";
|
||||
|
||||
buildInputs = [ systemd ];
|
||||
|
||||
checkInputs = with python.pkgs; [ pytest mock ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
|
||||
checkPhase = "pytest tests";
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
description = "A thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way.";
|
||||
description = ''
|
||||
Thin Cython-based wrapper on top of libsystemd, focused on exposing the
|
||||
dbus API via sd-bus in an automated and easy to consume way
|
||||
'';
|
||||
homepage = "https://github.com/facebookincubator/pystemd/";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ flokli ];
|
||||
|
Loading…
Reference in New Issue
Block a user