Merge pull request #225799 from fabaff/pythonegardia-bump

python310Packages.pythonegardia: 1.0.51 -> 1.0.52
This commit is contained in:
Nick Cao
2023-04-12 11:08:50 +08:00
committed by GitHub
@@ -1,14 +1,13 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, requests
, pythonOlder
}:
buildPythonPackage rec {
pname = "pythonegardia";
version = "1.0.51";
version = "1.0.52";
format = "setuptools";
disabled = pythonOlder "3.8";
@@ -16,23 +15,14 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "jeroenterheerdt";
repo = "python-egardia";
rev = "v${version}";
sha256 = "7HindS++jcV3GRn/SKoTMpVOchOnLojy/TY0HZjtyD8=";
rev = "refs/tags/v${version}";
sha256 = "sha256-lQ/7tH74MllwFe2kF5OcYSb4rQd+yJU1W6ztG4Z6Y0U=";
};
propagatedBuildInputs = [
requests
];
patches = [
# Adjust search path, https://github.com/jeroenterheerdt/python-egardia/pull/33
(fetchpatch {
name = "search-path.patch";
url = "https://github.com/jeroenterheerdt/python-egardia/commit/6b7bf5b7b2211e3557e0f438586b9d03b9bae440.patch";
sha256 = "wUSfmF0SrKCITQJJsHgkGgPZFouaB/zbVqupK6fARHY=";
})
];
# Project has no tests, only two test file for manual interaction
doCheck = false;
@@ -43,6 +33,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python interface with Egardia/Woonveilig alarms";
homepage = "https://github.com/jeroenterheerdt/python-egardia";
changelog = "https://github.com/jeroenterheerdt/python-egardia/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};