Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.pystemd: init at 0.5.0 #47517

Merged
merged 1 commit into from Sep 29, 2018
Merged

pythonPackages.pystemd: init at 0.5.0 #47517

merged 1 commit into from Sep 29, 2018

Conversation

flokli
Copy link
Contributor

@flokli flokli commented Sep 29, 2018

Motivation for this change

This adds pystemd, 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.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Please backport to 18.09 as well.

@xeji
Copy link
Contributor

xeji commented Sep 29, 2018

@GrahamcOfBorg build python36Packages.pystemd python27Packages.pystemd

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: python36Packages.pystemd, python27Packages.pystemd

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python36Packages.pystemd, python27Packages.pystemd

Partial log (click to expand)


tests/test_base.py ..                                                    [  9%]
tests/test_daemon.py ...                                                 [ 22%]
tests/test_dbus_arg_parsing.py ............                              [ 77%]
tests/test_dbuslib.py ..                                                 [ 86%]
tests/test_utils.py ...                                                  [100%]

========================== 22 passed in 0.16 seconds ===========================
/nix/store/pv18y75iawz6yniivlkdh5g6yj3knakq-python3.6-pystemd-0.5.0
/nix/store/6g9nl8lvm2mzg3bidj4digvmawydigma-python2.7-pystemd-0.5.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python36Packages.pystemd, python27Packages.pystemd

Partial log (click to expand)


tests/test_base.py ..                                                    [  9%]
tests/test_daemon.py ...                                                 [ 22%]
tests/test_dbus_arg_parsing.py ............                              [ 77%]
tests/test_dbuslib.py ..                                                 [ 86%]
tests/test_utils.py ...                                                  [100%]

========================== 22 passed in 0.19 seconds ===========================
/nix/store/chpv170bwqwnz2sxhr23rpval18dyi73-python3.6-pystemd-0.5.0
/nix/store/99bry8laim33k79c4zcpdfz85l8nkjx7-python2.7-pystemd-0.5.0

@xeji
Copy link
Contributor

xeji commented Sep 29, 2018

nice package 👍

@xeji xeji merged commit 2be514d into NixOS:master Sep 29, 2018
@flokli
Copy link
Contributor Author

flokli commented Sep 29, 2018 via email

@flokli flokli deleted the pystemd branch October 1, 2018 06:22
Mic92 pushed a commit that referenced this pull request Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants