Skip to content

Commit

Permalink
xpybutil: init at 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored and Jon committed Aug 19, 2020
1 parent 1c1e756 commit 655ace4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/python-modules/xpybutil/default.nix
@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchFromGitHub, xcffib, pillow }:

buildPythonPackage rec {
pname = "xpybutil";
version = "0.0.6";

# Pypi only offers a wheel
src = fetchFromGitHub {
owner = "BurntSushi";
repo = pname;
rev = version;
sha256 = "17gbqq955fcl29aayn8l0x14azc60cxgkvdxblz9q8x3l50w0xpg";
};

# pillow is a dependency in image.py which is not listed in setup.py
propagatedBuildInputs = [ xcffib pillow ];

meta = with lib; {
homepage = "https://github.com/BurntSushi/xpybutil";
description = "An incomplete xcb-util port plus some extras";
license = licenses.wtfpl;
maintainers = with maintainers; [ artturin ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -7163,6 +7163,8 @@ in {

xcffib = callPackage ../development/python-modules/xcffib {};

xpybutil = callPackage ../development/python-modules/xpybutil {};

pafy = callPackage ../development/python-modules/pafy { };

suds = callPackage ../development/python-modules/suds { };
Expand Down

0 comments on commit 655ace4

Please sign in to comment.