Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 26 lines 706 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, xcffib, pillow, nose }: 2 3buildPythonPackage 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 checkInputs = [ nose ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/BurntSushi/xpybutil"; 22 description = "An incomplete xcb-util port plus some extras"; 23 license = licenses.wtfpl; 24 maintainers = with maintainers; [ artturin ]; 25 }; 26}