pythonPackages.pyusb: 1.0.0b2 -> 1.0.0rc1

This commit is contained in:
Frederik Rietdijk 2016-03-31 17:50:49 +02:00
parent 4bd01c5cbd
commit c39a73b2a2

View File

@ -23901,11 +23901,11 @@ in modules // {
pyusb = buildPythonPackage rec { pyusb = buildPythonPackage rec {
name = "pyusb-1.0.0b2"; name = "pyusb-1.0.0rc1";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pyusb/${name}.tar.gz"; url = "https://pypi.python.org/packages/source/p/pyusb/${name}.tar.gz";
sha256 = "14ec66077bdcd6f1aa9e892a0a35a54bb3c1ec56aa740ead64349c18f0186d19"; sha256 = "07cjq11qhngzjd746k7688s6y2x7lpj669fxqfsiy985rg0jsn7j";
}; };
# Fix the USB backend library lookup # Fix the USB backend library lookup
@ -23915,6 +23915,9 @@ in modules // {
sed -i -e "s|libname = .*|libname = \"$libusb\"|" usb/backend/libusb1.py sed -i -e "s|libname = .*|libname = \"$libusb\"|" usb/backend/libusb1.py
''; '';
# No tests included
doCheck = false;
meta = { meta = {
description = "Python USB access module (wraps libusb 1.0)"; # can use other backends description = "Python USB access module (wraps libusb 1.0)"; # can use other backends
homepage = http://pyusb.sourceforge.net/; homepage = http://pyusb.sourceforge.net/;