14 buildPythonPackage rec {
15 pname = "alarmdecoder";
17 format = "setuptools";
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
21 owner = "nutechsoftware";
22 repo = "alarmdecoder";
24 hash = "sha256-q2s+wngDKtWm5mxGHNAc63Ed6tiQD9gLHVoQZNWFB0w=";
28 substituteInPlace test/test_{ad2,devices,messages}.py \
29 --replace-fail assertEquals assertEqual
32 propagatedBuildInputs = [
45 # Socket issue, https://github.com/nutechsoftware/alarmdecoder/issues/45
50 pythonImportsCheck = [ "alarmdecoder" ];
53 description = "Python interface for the Alarm Decoder (AD2USB, AD2SERIAL and AD2PI) devices";
54 homepage = "https://github.com/nutechsoftware/alarmdecoder";
55 license = licenses.mit;
56 maintainers = with maintainers; [ fab ];