diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-12-22 11:28:56 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-12-22 11:28:56 +0100 |
commit | 2e03ae274d36e695e4db63fb0a6b71346621b6af (patch) | |
tree | 84af1a7ec323e1ce2865661756da1cca2b6ef07b /pkgs/top-level/python-packages.nix | |
parent | 41f55691a96ca4f37a87c8659884edf19b2c8446 (diff) | |
parent | 0c1382085b2969ce38359bcb28fc5dfe67cca7eb (diff) | |
download | nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar.gz nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar.bz2 nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar.lz nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar.xz nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.tar.zst nixlib-2e03ae274d36e695e4db63fb0a6b71346621b6af.zip |
Merge branch 'master' into staging
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 83 |
1 files changed, 73 insertions, 10 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a03b5a8168ae..53d27af0dd26 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -729,6 +729,27 @@ in { }; }; + python-uinput = buildPythonPackage rec { + name = "python-uinput-${version}"; + version = "0.11.2"; + + src = pkgs.fetchurl { + url = "mirror://pypi/p/python-uinput/${name}.tar.gz"; + sha256 = "033zqiypjz0nigav6vz0s57pbzikvds55mxphrdpkdbpdikjnfcr"; + }; + + buildInputs = [ pkgs.udev ]; + + NIX_CFLAGS_LINK = [ "-ludev" ]; + + meta = with stdenv.lib; { + description = "Pythonic API to Linux uinput kernel module"; + homepage = "http://tjjr.fi/sw/python-uinput/"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ abbradar ]; + }; + }; + almir = buildPythonPackage rec { name = "almir-0.1.8"; @@ -3059,12 +3080,12 @@ in { }; bottle = buildPythonPackage rec { - version = "0.12.9"; + version = "0.12.11"; name = "bottle-${version}"; src = pkgs.fetchurl { url = "mirror://pypi/b/bottle/${name}.tar.gz"; - sha256 = "0l80a1qkg7zbi8s077brfgm5w4ypwxgq9rvsvw16snc5jfsj82py"; + sha256 = "0cd787lzggs933qfav6xicx5c78dz6npwgg3xc4rhah44nbqz5d1"; }; propagatedBuildInputs = with self; [ setuptools ]; @@ -8870,12 +8891,9 @@ in { sha256 = "1rwmajsy9qhl3qhhy5mw0xmr3n8abxcq8baidpn0sxv6yjg2369z"; }; - # Disable certain tests. Reported upstream at: - # https://github.com/jflesch/libpillowfight/issues/2 - postPatch = '' - sed -i -e '/test_\(all_2\|ace\)/i \ @unittest.expectedFailure' \ - tests/tests_ace.py tests/tests_all.py - ''; + # Disable tests because they're designed to only work on Debian: + # https://github.com/jflesch/libpillowfight/issues/2#issuecomment-268259174 + doCheck = false; # Python 2.x is not supported, see: # https://github.com/jflesch/libpillowfight/issues/1 @@ -20132,6 +20150,7 @@ in { buildInputs = with self; [ unittest2 ]; doCheck = !isPyPy; + force-rebuild = 1; # fix transient test suite error at http://hydra.nixos.org/build/45083762 meta = { homepage = https://launchpad.net/pyflakes; @@ -20471,12 +20490,30 @@ in { }; }; + pyinputevent = buildPythonPackage rec { + name = "pyinputevent-2016-10-18"; + + src = pkgs.fetchFromGitHub { + owner = "ntzrmtthihu777"; + repo = "pyinputevent"; + rev = "d2075fa5db5d8a402735fe788bb33cf9fe272a5b"; + sha256 = "0rkis0xp8f9jc00x7jb9kbvhdla24z1vl30djqa6wy6fx0cr6sib"; + }; + + meta = { + homepage = "https://github.com/ntzrmtthihu777/pyinputevent"; + description = "Python interface to the Input Subsystem's input_event and uinput"; + license = licenses.bsd3; + platforms = platforms.linux; + }; + }; + pyinotify = buildPythonPackage rec { - name = "pyinotify"; + name = "pyinotify-${version}"; version = "0.9.6"; src = pkgs.fetchurl { - url = "mirror://pypi/p/${name}/${name}-${version}.tar.gz"; + url = "mirror://pypi/p/${name}/${name}.tar.gz"; sha256 = "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw"; }; @@ -26182,6 +26219,32 @@ in { }; }; + virtkey = buildPythonPackage rec { + name = "virtkey-${version}"; + majorVersion = "0.63"; + version = "${majorVersion}.0"; + + src = pkgs.fetchurl { + url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz"; + sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr"; + }; + + nativeBuildInputs = [ pkgs.pkgconfig ]; + + buildInputs = + [ pkgs.gtk2 ] + ++ (with pkgs.xorg; [ libX11 libXtst libXi libxkbfile xextproto xproto ]); + + meta = { + description = "Extension to emulate keypresses and to get the layout information from the X server"; + homepage = "https://launchpad.net/virtkey"; + license = licenses.gpl3; + maintainers = with maintainers; [ abbradar ]; + }; + }; + + + virtual-display = buildPythonPackage rec { name = "PyVirtualDisplay-0.1.5"; |