mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
32 lines
681 B
Nix
32 lines
681 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, six
|
|
, setuptools_scm
|
|
, pkgs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xlib";
|
|
version = "0.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-xlib";
|
|
repo = "python-xlib";
|
|
rev = "${version}";
|
|
sha256 = "1iiz2nq2hq9x6laavngvfngnmxbgnwh54wdbq6ncx4va7v98liyi";
|
|
};
|
|
|
|
# Tests require `pyutil' so disable them to avoid circular references.
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ six setuptools_scm pkgs.xorg.libX11 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Fully functional X client library for Python programs";
|
|
homepage = http://python-xlib.sourceforge.net/;
|
|
license = licenses.gpl2Plus;
|
|
};
|
|
|
|
}
|