python313Packages.alarmdecoder: 1.13.13 -> 1.13.14
Changelog: https://github.com/nutechsoftware/alarmdecoder/releases/tag/1.13.14
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user