Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b8ed97001e44
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8820a7ab2c3b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 23, 2019

  1. python.pkgs.py3status: Added missing Python deps (#56703)

    According to py3status' modules documentation [1]:
    
    - i3ipc: Used by scratchpad_async and window_title_async modules.
    - pydbus: Used by kdeconnector, mpris, systemd, vpn_status and wwan
    modules.
    - pyserial: Used by wwan_status module.
    
    [1]: https://py3status.readthedocs.io/en/latest/modules.html
    thiagokokada authored and dotlambda committed Mar 23, 2019
    Copy the full SHA
    8820a7a View commit details
Showing with 6 additions and 2 deletions.
  1. +6 −2 pkgs/development/python-modules/py3status/default.nix
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/py3status/default.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@
, requests
, pytz
, tzlocal
, i3ipc
, pydbus
, pygobject3
, pyserial

, file
, acpi
@@ -20,14 +24,14 @@
buildPythonPackage rec {
pname = "py3status";
version = "3.16";

src = fetchPypi {
inherit pname version;
sha256 = "1xrfph277bgjln3jbpzpgkhxad04fjvj7s3xfil42q1sxi4s3q3g";
};

doCheck = false;
propagatedBuildInputs = [ pytz requests tzlocal ];
propagatedBuildInputs = [ pytz requests tzlocal i3ipc pydbus pygobject3 pyserial ];
buildInputs = [ file ];
prePatch = ''
sed -i -e "s|'file|'${file}/bin/file|" py3status/parse_config.py