diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f881f07e5b2..6169959367a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -517,6 +517,11 @@ email = "sivaraman.balaji@gmail.com"; name = "Balaji Sivaraman"; }; + bandresen = { + email = "bandresen@gmail.com"; + github = "bandresen"; + name = "Benjamin Andresen"; + }; barrucadu = { email = "mike@barrucadu.co.uk"; github = "barrucadu"; diff --git a/pkgs/development/python-modules/ewmh/default.nix b/pkgs/development/python-modules/ewmh/default.nix new file mode 100644 index 00000000000..a24d049fc22 --- /dev/null +++ b/pkgs/development/python-modules/ewmh/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, xlib }: + +buildPythonPackage rec { + pname = "ewmh"; + version = "0.1.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "0g9l14my3v8zlgq1yd8wh5gpara0qcapsfmvg7lq2lapglzhjsy5"; + }; + + propagatedBuildInputs = [ xlib ]; + + # No tests included + doCheck = false; + + meta = { + homepage = https://github.com/parkouss/pyewmh; + description = "An implementation of EWMH (Extended Window Manager Hints), based on Xlib"; + license = lib.licenses.lgpl3Plus; + maintainers = with lib.maintainers; [ bandresen ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 11edd50672f..c5211a1a314 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -233,6 +233,8 @@ in { email_validator = callPackage ../development/python-modules/email-validator { }; + ewmh = callPackage ../development/python-modules/ewmh { }; + dbus-python = callPackage ../development/python-modules/dbus { dbus = pkgs.dbus; };