Merge pull request #116258 from fabaff/bump-hass-nabucasa

This commit is contained in:
Sandro 2021-03-14 16:53:33 +01:00 committed by GitHub
commit e57fd8cf44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -9,16 +9,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "convertdate"; pname = "convertdate";
version = "2.3.1"; version = "2.3.2";
disabled = isPy27; disabled = isPy27;
# Tests are not available in the PyPI tarball so use GitHub instead. # Tests are not available in the PyPI tarball so use GitHub instead.
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fitnr"; owner = "fitnr";
repo = pname; repo = pname;
rev = version; rev = "v${version}";
sha256 = "1g8sgd3xc9viy0kb1i4xp6bdn1hzwhrnk8kmismla88scivrhq32"; sha256 = "0k7j59sbqwyi72vcjx5vsh3qb6hxfnkfjkd2i6f6lckdr1bkh7fz";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -30,6 +29,8 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "convertdate" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/fitnr/convertdate"; homepage = "https://github.com/fitnr/convertdate";
description = "Utils for converting between date formats and calculating holidays"; description = "Utils for converting between date formats and calculating holidays";

View File

@ -15,13 +15,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hass-nabucasa"; pname = "hass-nabucasa";
version = "0.41.0"; version = "0.42.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nabucasa"; owner = "nabucasa";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ewWw3PyJGRHP23J6WBBWs9YGl4vTb9/j/soZ6n5wbLM="; sha256 = "sha256-vDgjuNgwNp9cDgiCNxhACOcuaxcrR+0DW/U5OaSW0n4=";
}; };
postPatch = '' postPatch = ''
@ -49,7 +49,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/NabuCasa/hass-nabucasa"; homepage = "https://github.com/NabuCasa/hass-nabucasa";
description = "Home Assistant cloud integration by Nabu Casa, inc."; description = "Home Assistant cloud integration by Nabu Casa, inc.";
license = licenses.gpl3; license = licenses.gpl3Only;
maintainers = with maintainers; [ Scriptkiddi ]; maintainers = with maintainers; [ Scriptkiddi ];
}; };
} }