diff --git a/pkgs/development/python-modules/alarmdecoder/default.nix b/pkgs/development/python-modules/alarmdecoder/default.nix index eea8f62d2d70..9b049468fe95 100644 --- a/pkgs/development/python-modules/alarmdecoder/default.nix +++ b/pkgs/development/python-modules/alarmdecoder/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, mock, pyftdi, pyopenssl, @@ -15,24 +14,16 @@ buildPythonPackage rec { pname = "alarmdecoder"; - version = "1.13.13"; + version = "1.13.14"; pyproject = true; src = fetchFromGitHub { owner = "nutechsoftware"; repo = "alarmdecoder"; rev = version; - hash = "sha256-dMOC8znhnCAn4fKSnT9Vw1oGzDRN72d6m8RWD1NQ6Ms="; + hash = "sha256-qjn6OY8N1Miuou2aCHGhAQJtOEH1kE6XM8k1TPAibGU="; }; - patches = [ - (fetchpatch { - name = "use-setuptools_scm.patch"; - url = "https://github.com/nutechsoftware/alarmdecoder/commit/e9fc6aa76d7925bb61a3c53716f2b6e25c9ca342.patch"; - hash = "sha256-vt48QfbkcwQmMgJckpawENVMselVx17jrCNKkZ+s95k="; - }) - ]; - postPatch = '' substituteInPlace test/test_{ad2,devices,messages}.py \ --replace-fail assertEquals assertEqual @@ -61,9 +52,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "alarmdecoder" ]; meta = with lib; { - changelog = "https://github.com/nutechsoftware/alarmdecoder/releases/tag/${src.rev}"; description = "Python interface for the Alarm Decoder (AD2USB, AD2SERIAL and AD2PI) devices"; homepage = "https://github.com/nutechsoftware/alarmdecoder"; + changelog = "https://github.com/nutechsoftware/alarmdecoder/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };