python3Packages.aqualogic: 2.5 -> 2.6

This commit is contained in:
Fabian Affolter 2021-04-03 22:20:47 +02:00
parent 577a220c16
commit 8d0b81ca5d
1 changed files with 11 additions and 2 deletions

View File

@ -1,21 +1,30 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pyserial , pyserial
, pytestCheckHook , pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aqualogic"; pname = "aqualogic";
version = "2.5"; version = "2.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "swilson"; owner = "swilson";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-yxd+A5dsB9gBwVlPNjz+IgDHKTktNky84bWZMhA/xa4="; sha256 = "sha256-dAC/0OjvrC8J/5pu5vcOKV/WqgkAlz0LuFl0up6FQRM=";
}; };
patches = [
(fetchpatch {
name = "allow-iobase-objects.patch";
url = "https://github.com/swilson/aqualogic/commit/185fe25a86c82c497a55c78914b55ed39f5ca339.patch";
sha256 = "072jrrsqv86bn3skibjc57111jlpm8pq2503997fl3h4v6ziwdxg";
})
];
propagatedBuildInputs = [ pyserial ]; propagatedBuildInputs = [ pyserial ];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];