-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.pystemd: init at 0.5.0 (#47517)
(cherry picked from commit 2be514d)
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ stdenv, buildPythonPackage, fetchPypi, mock, pytest, six, systemd }: | ||
|
||
buildPythonPackage rec { | ||
pname = "pystemd"; | ||
version = "0.5.0"; | ||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "000001hxv25vwcsvc0avg42v89c7qcjdpw6dr8419prmcb9186i5"; | ||
}; | ||
|
||
buildInputs = [ systemd ]; | ||
propagatedBuildInputs = [ six ]; | ||
|
||
checkInputs = [ pytest mock ]; | ||
checkPhase = "pytest tests"; | ||
|
||
meta = with stdenv.lib; { | ||
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."; | ||
homepage = https://github.com/facebookincubator/pystemd/; | ||
license = licenses.bsd0; | ||
maintainers = with maintainers; [ flokli ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters