From 1d0bff83d9f87535f2f1861cae53c18226794795 Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Fri, 6 Apr 2018 21:32:16 +0200 Subject: [PATCH] pythonPackages.ewmh: init at 0.1.6 --- .../python-modules/ewmh/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/ewmh/default.nix diff --git a/pkgs/development/python-modules/ewmh/default.nix b/pkgs/development/python-modules/ewmh/default.nix new file mode 100644 index 000000000000..a24d049fc229 --- /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 11edd50672f3..c5211a1a3143 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; };