Skip to content

Commit 655ace4

Browse files
ArtturinJon
authored andcommitted
xpybutil: init at 0.0.6
1 parent 1c1e756 commit 655ace4

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{ lib, buildPythonPackage, fetchFromGitHub, xcffib, pillow }:
2+
3+
buildPythonPackage rec {
4+
pname = "xpybutil";
5+
version = "0.0.6";
6+
7+
# Pypi only offers a wheel
8+
src = fetchFromGitHub {
9+
owner = "BurntSushi";
10+
repo = pname;
11+
rev = version;
12+
sha256 = "17gbqq955fcl29aayn8l0x14azc60cxgkvdxblz9q8x3l50w0xpg";
13+
};
14+
15+
# pillow is a dependency in image.py which is not listed in setup.py
16+
propagatedBuildInputs = [ xcffib pillow ];
17+
18+
meta = with lib; {
19+
homepage = "https://github.com/BurntSushi/xpybutil";
20+
description = "An incomplete xcb-util port plus some extras";
21+
license = licenses.wtfpl;
22+
maintainers = with maintainers; [ artturin ];
23+
};
24+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7163,6 +7163,8 @@ in {
71637163

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

7166+
xpybutil = callPackage ../development/python-modules/xpybutil {};
7167+
71667168
pafy = callPackage ../development/python-modules/pafy { };
71677169

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

0 commit comments

Comments
 (0)