Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-07-23 00:01:58 +00:00 committed by GitHub
commit dda98f3673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 437 additions and 282 deletions

View file

@ -313,6 +313,7 @@ in {
"w800rf32"
"xbee"
"zha"
"zwave"
];
in {
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";

View file

@ -1,20 +1,41 @@
{ lib, python3, fetchFromGitHub }:
with python3.pkgs; buildPythonApplication rec {
version = "4.5";
let
python3' = python3.override {
packageOverrides = self: super: {
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
version = "1.3.24";
src = oldAttrs.src.override {
inherit version;
sha256 = "ebbb777cbf9312359b897bf81ba00dae0f5cb69fba2a18265dcc18a6f5ef7519";
};
});
sqlalchemy-utils = super.sqlalchemy-utils.overridePythonAttrs (oldAttrs: rec {
version = "0.36.6";
src = oldAttrs.src.override {
inherit version;
sha256 = "0srs5w486wp5zydjs70igi5ypgxhm6h73grb85jz03fqpqaanzvs";
};
});
};
};
in
with python3'.pkgs; buildPythonApplication rec {
version = "4.6";
pname = "buku";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
rev = "v${version}";
sha256 = "1lcq5fk8d5j2kfhn9m5l2hk46v7nj4vfa22m1psz35c9zpw4px8q";
sha256 = "sha256-hr9qiP7SbloigDcs+6KVWu0SOlggMaBr7CCfY8zoJG0=";
};
checkInputs = [
pytest-cov
hypothesis
pytest
pytest-vcr
pylint
flake8
pyyaml
@ -55,8 +76,8 @@ with python3.pkgs; buildPythonApplication rec {
# Disables a test which requires internet
substituteInPlace tests/test_bukuDb.py \
--replace "@pytest.mark.slowtest" "@unittest.skip('skipping')" \
--replace "self.assertEqual(shorturl, 'http://tny.im/yt')" "" \
--replace "self.assertEqual(url, 'https://www.google.com')" ""
--replace "self.assertEqual(shorturl, \"http://tny.im/yt\")" "" \
--replace "self.assertEqual(url, \"https://www.google.com\")" ""
substituteInPlace setup.py \
--replace mypy-extensions==0.4.1 mypy-extensions>=0.4.1
'';
@ -75,7 +96,7 @@ with python3.pkgs; buildPythonApplication rec {
homepage = "https://github.com/jarun/Buku";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ matthiasbeyer infinisil ];
maintainers = with maintainers; [ matthiasbeyer infinisil ma27 ];
};
}

View file

@ -50,19 +50,25 @@ let
}
)
# Octoprint needs zeroconf >=0.24 <0.25. While this should be done in
# the mkOverride aboves, this package also has broken tests, so we need
# a proper override.
# Octoprint needs zeroconf >=0.24 <0.25. This can't be done via mkOverride, because in zeroconf 0.32
# the super package was migrated to fetchFromGitHub.
(
self: super: {
zeroconf = super.zeroconf.overrideAttrs (oldAttrs: rec {
version = "0.24.5";
src = oldAttrs.src.override {
src = super.fetchPypi {
inherit (oldAttrs) pname;
inherit version;
sha256 = "0jpgd0rk91si93857mjrizan5gc42kj1q4fi4160qgk68la88fl9";
};
buildInputs = [ self.nose ];
checkPhase = "nosetests";
pythonImportsCheck = [
"zeroconf"
];
buildInputs = with self; [
pytestCheckHook
nose
];
pytestFlagsArray = [ "zeroconf/test.py" ];
});
}
)

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.31.0";
version = "0.31.1";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JRIwPOExPbwLS7ps4pJpvIRaZ9jZZjVK+POaUHAmiPI=";
sha256 = "sha256-vc3DGYb3vp55LRguhg3nG5zH7w1lTFEI2bx7kNffvas=";
};
vendorSha256 = "sha256-lck4nabDhFA8N0lo+cIKiJjlg2TGx3qMExbblHQwbvQ=";
vendorSha256 = "sha256-lBhLaYn8adgfCXQJBsIVuwnA0vY8+tgeqE+C669AV+A=";
doCheck = false;

View file

@ -131,7 +131,7 @@ rustPlatform.buildRustPackage rec {
description = "A cross-platform, GPU-accelerated terminal emulator";
homepage = "https://github.com/alacritty/alacritty";
license = licenses.asl20;
maintainers = with maintainers; [ Br1ght0ne mic92 cole-h ma27 ];
maintainers = with maintainers; [ Br1ght0ne mic92 ma27 ];
platforms = platforms.unix;
changelog = "https://github.com/alacritty/alacritty/blob/v${version}/CHANGELOG.md";
};

View file

@ -12,8 +12,6 @@ stdenv.mkDerivation rec {
sha256 = "04ylk0y5b3jml2awmyz7m1hnymni8y1n83m0k6ychdh0px8frhm5";
};
phases = [ "unpackPhase" "postPatch" "installPhase" ];
postPatch = ''
substituteInPlace debian/anarchism.desktop \
--replace "/usr/bin/xdg-open" "${xdg-utils}/bin/xdg-open"

View file

@ -10,8 +10,6 @@ stdenv.mkDerivation rec {
stripRoot = false; # because it comes with a __MACOSX directory
};
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -pv $out/share/{doc/${pname}-${version},fonts/{opentype,truetype,WOFF,WOFF2}}
cp -v ${pname}-${version}/{FONTLOG,OFL-FAQ,OFL}.txt $out/share/doc/

View file

@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ unzip ];
phases = [ "unpackPhase" ];
dontInstall = true;
unpackPhase = ''
mkdir -p $out/share/fonts

View file

@ -1,80 +0,0 @@
{lib, stdenv, fetchurl}:
let
# HG revision in which this version of the font can be fount.
rev = "8e98053718f9a15184c93d6530885791be71b756";
urlBase = "https://googlefontdirectory.googlecode.com/hg-history/${rev}/ofl/lobstertwo";
# Just a small convenience function.
fetch = {name, path ? "/src", sha256}:
{
inherit name;
file = fetchurl {
url = "${urlBase}${path}/${name}";
inherit sha256;
};
};
fontlog =
fetch {
name = "FONTLOG.txt";
path = "";
sha256 = "0n405i8m70q95y8w43gzr5yvkj7gx7rd3xa4rx6y8qcqv5g7v9if";
};
bold =
fetch {
name = "LobsterTwo-Bold.otf";
sha256 = "0gkayn96vvgngs9xnmcyyf16q4payk79ghvl354rl93ayb3gf7x0";
};
boldItalic =
fetch {
name = "LobsterTwo-BoldItalic.otf";
sha256 = "0wznqkvwjqi9s4bg10fpp2345by3nxa0m0w6b3al3zaqyx2p1dxp";
};
italic =
fetch {
name = "LobsterTwo-Italic.otf";
sha256 = "0lpnzwgwl5fm6gqy8bylbryz0hy94mf1mp615y5sh0wikdvk570z";
};
regular =
fetch {
name = "LobsterTwo-Regular.otf";
sha256 = "147m3sa3sqqbkbw1hgjdwnw8w0y37x58g5p09s7q2vm74flcpbq1";
};
in
stdenv.mkDerivation rec {
pname = "lobstertwo";
version = "1.006";
phases = ["installPhase"];
installPhase = ''
mkdir -p $out/share/fonts/opentype
mkdir -p $out/share/doc/${pname}-${version}
cp -v ${fontlog.file} $out/share/doc/${pname}-${version}/${fontlog.name}
cp -v ${bold.file} $out/share/fonts/opentype/${bold.name}
cp -v ${boldItalic.file} $out/share/fonts/opentype/${boldItalic.name}
cp -v ${italic.file} $out/share/fonts/opentype/${italic.name}
cp -v ${regular.file} $out/share/fonts/opentype/${regular.name}
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "0if9l8pzwgfnbdjg5yblcy08dwn9yj3wzz29l0fycia46xlzd4ym";
meta = with lib; {
homepage = "https://github.com/librefonts/lobstertwo";
description = "Script font with many ligatures";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [maintainers.rycee];
broken = true; # googlecode.com RIP; can be built from sources
};
}

View file

@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
phases = [ "unpackPhase" "installPhase" ];
unpackPhase = ''
unzip -j ${meslo-lg}
unzip -j ${meslo-lg-dz}

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];
phases = [ "buildPhase" "installPhase" ];
dontUnpack = true;
buildPhase =
''

View file

@ -19,7 +19,7 @@
stdenv.mkDerivation rec {
pname = "elementary-calculator";
version = "1.6.1";
version = "1.6.2";
repoName = "calculator";
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "sha256-LGY111wPldxuSfqhZ2E2TeJjexcGbfS25RjLw+Wi99c=";
sha256 = "sha256-kOQr94PAfLPv4LjY2WDdTtlbf3/tYf+NUESZ94+L41M=";
};
passthru = {

View file

@ -125,6 +125,12 @@ let
url = "https://github.com/qt/qtwebengine/commit/199ea00a9eea13315a652c62778738629185b059.patch";
sha256 = "1b5k2g1v8913cvsgvp6ja4mcprjlk5vcwqzi0p1qq7b1wyi4f0g2";
})
# Fix invisible fonts with glibc 2.33: https://github.com/NixOS/nixpkgs/issues/131074
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/qt5-qtwebengine/raw/d122c011631137b79455850c363676c655cf9e09/f/qtwebengine-everywhere-src-5.15.5-%231904652.patch";
name = "qtwebengine-everywhere-src-5.15.5-_1904652.patch";
sha256 = "01q7hagq0ysii1jnrh5adm97vdm9cis592xr6im7accyw6hgcn7b";
})
] ++ optionals stdenv.isDarwin [
./qtwebengine-darwin-no-platform-check.patch
./qtwebengine-mac-dont-set-dsymutil-path.patch

View file

@ -1,10 +1,10 @@
{ lib, fetchFromGitHub, buildDunePackage
, ocaml-migrate-parsetree, ppx_tools_versioned
, ppxlib
}:
buildDunePackage rec {
pname = "ocaml-monadic";
version = "0.4.1";
version = "0.5.0";
useDune2 = true;
@ -12,11 +12,10 @@ buildDunePackage rec {
owner = "zepalmer";
repo = pname;
rev = version;
sha256 = "1zcwydypk5vwfn1g7srnl5076scwwq5a5y8xwcjl70pc4cpzszll";
sha256 = "1ynv3yhdqmkhkgnz6c5kv6ryjcc934sdvw9rhh8rjg2dlzlffgbw";
};
buildInputs = [ ppx_tools_versioned ];
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
buildInputs = [ ppxlib ];
meta = {
inherit (src.meta) homepage;

View file

@ -1,22 +1,34 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, protobuf
, zeroconf
}:
buildPythonPackage rec {
pname = "aioesphomeapi";
version = "2.9.0";
version = "4.1.0";
format = "setuptools";
disabled = !isPy3k;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "11259cd1f115d31b91512a209779fa813dded747408100805bc8ecf7c1c1fa82";
sha256 = "0210l2d5g76pllr2vh990k9shfv3zrknx5d2dmgqb5y90142cp76";
};
propagatedBuildInputs = [ attrs protobuf zeroconf ];
propagatedBuildInputs = [
protobuf
zeroconf
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "aioesphomeapi" ];
pythonImportsCheck = [
"aioesphomeapi"
];
meta = with lib; {
description = "Python Client for ESPHome native API";

View file

@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "aioguardian";
version = "1.0.7";
version = "1.0.8";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-KMhq86hcqoYloS/6VHsl+3KVEZBbN97ABrZlmEr32Z8=";
sha256 = "0nqsacg0yrsqr6qax4486ffk8r88ra5yixxd6r88jwscm2bmjg3p";
};
format = "pyproject";
@ -45,15 +45,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# https://github.com/bachya/aioguardian/pull/66
substituteInPlace pyproject.toml \
--replace 'asyncio_dgram = "^1.0.1"' 'asyncio_dgram = "^2.0.0"'
# https://github.com/bachya/aioguardian/pull/67
substituteInPlace pyproject.toml \
--replace "poetry>=0.12" "poetry-core"
'';
disabledTestPaths = [ "examples/" ];
pythonImportsCheck = [ "aioguardian" ];

View file

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "aiohomekit";
version = "0.3.0";
version = "0.4.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "Jc2k";
repo = pname;
rev = version;
sha256 = "sha256-chRUQyCDXW4of0XBdmKuQEzUE3Gt4A2uGlPNy+oEoco=";
sha256 = "12v9szalh3yzfqgmspk4ch8l38kzmhwzjn9jvsq632n4zhjd7qg4";
};
nativeBuildInputs = [

View file

@ -14,13 +14,13 @@
buildPythonPackage rec {
pname = "bellows";
version = "0.24.0";
version = "0.25.0";
src = fetchFromGitHub {
owner = "zigpy";
repo = "bellows";
rev = version;
sha256 = "00sa4x1qzv861z9d83lk4lp1g2pqiv9hpawj92w4qn1wnqxbz6rw";
sha256 = "1836wm8whbryp31zdaj3b6w40sx1wjsxgpjdb1x9rgmwff4d1hc0";
};
prePatch = ''

View file

@ -1,4 +1,4 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook, pytest-cov }:
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, humanfriendly, pytestCheckHook }:
buildPythonPackage rec {
pname = "capturer";

View file

@ -0,0 +1,32 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dacite";
version = "1.6.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "konradhalas";
repo = pname;
rev = "v${version}";
sha256 = "0nv2bnj3bq2v08ac4p583cnpjq2d6bv5isycgji5i5wg1y082a3d";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "dacite" ];
meta = with lib; {
description = "Python helper to create data classes from dictionaries";
homepage = "https://github.com/konradhalas/dacite";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "fastapi";
version = "0.65.2";
version = "0.67.0";
format = "flit";
src = fetchFromGitHub {
owner = "tiangolo";
repo = "fastapi";
rev = version;
sha256 = "032srvbfdy02m1b664x67lkdcx6b2bd4c9a9cb176lscjk213240";
sha256 = "15zbalyib7ndcbxvf9prj0n9n6qb4bfzhmaacsjrvdmjzmqdjgw0";
};
postPatch = ''
@ -51,7 +51,11 @@ buildPythonPackage rec {
];
# disabled tests require orjson which requires rust nightly
pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" ];
# ignoring deprecation warnings to avoid test failure from
# tests/test_tutorial/test_testing/test_tutorial001.py
pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" "-W ignore::DeprecationWarning"];
disabledTests = [ "test_get_custom_response" ];
meta = with lib; {

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, requests
}:
buildPythonPackage rec {
pname = "fritzprofiles";
version = "0.6.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1bd4sa3i1ldkg6lnsvg004csgqklvi5xk71y971qyjvsbdbwgbn3";
};
propagatedBuildInputs = [
lxml
requests
];
pythonImportsCheck = [
"fritzprofiles"
];
# no tests
doCheck = false;
meta = with lib; {
description = "Tool to switch the online time of profiles in the AVM Fritz!Box";
homepage = "https://github.com/AaronDavidSchneider/fritzprofiles";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "gios";
version = "1.0.1";
version = "1.0.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bieniu";
repo = pname;
rev = version;
sha256 = "031z5j1j961pcw8s4ajj5z2xn2jxb2hyfn3x3bxbaagwl9a5qkvn";
sha256 = "sha256-7+np1lUbBFSTJNAD6OT5k89MM+kzEj90JlulXGm36k8=";
};
propagatedBuildInputs = [

View file

@ -17,15 +17,15 @@
buildPythonPackage rec {
pname = "hap-python";
version = "3.5.0";
disabled = pythonOlder "3.5";
version = "3.5.1";
disabled = pythonOlder "3.6";
# pypi package does not include tests
src = fetchFromGitHub {
owner = "ikalchev";
repo = "HAP-python";
rev = "v${version}";
sha256 = "1vzlfx0gpidl0rzv4z94pziwm6rj4lrilly5pykgq984y708pcqf";
sha256 = "sha256-ZHTqlb7LIDp8MFNW8MFg6jX7QwaxT40cLi3H13ONLCI=";
};
propagatedBuildInputs = [

View file

@ -7,13 +7,13 @@
buildPythonPackage rec {
pname = "hatasmota";
version = "0.2.14";
version = "0.2.19";
src = fetchFromGitHub {
owner = "emontnemery";
repo = pname;
rev = version;
sha256 = "sha256-sCGUlEN1ejWhc2+9JRQ7UPqueq30u8gGSPRxbs4cnLE=";
sha256 = "sha256-h1idJJd2lPV3+tAE59gzITa7jmtBhcEpRuyflf76EAk=";
};
propagatedBuildInputs = [

View file

@ -10,7 +10,6 @@
, jupyter_server
, openapi-core
, pytest-tornasync
, pytest-cov
, ruamel-yaml
, strict-rfc3339
}:

View file

@ -2,6 +2,7 @@
, aiohttp
, aioresponses
, buildPythonPackage
, dacite
, fetchFromGitHub
, pytest-asyncio
, pytest-error-for-skips
@ -11,18 +12,19 @@
buildPythonPackage rec {
pname = "nettigo-air-monitor";
version = "0.2.6";
version = "1.0.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bieniu";
repo = pname;
rev = version;
sha256 = "0zs14g02m1ahyrhl2ihk74fp390g4672r1jjiaawmkxrvib07dvp";
sha256 = "sha256-VTKIUo3rR/HyEW/d/Nm0fm7wbgSdLGf02i8R3om1oCE=";
};
propagatedBuildInputs = [
aiohttp
dacite
];
checkInputs = [

View file

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "PlexAPI";
version = "4.5.2";
version = "4.6.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "pkkid";
repo = "python-plexapi";
rev = version;
sha256 = "sha256-9rdpisEuLUO7oO7+7SQb4fXqRG30rf4R7bSFY+QpMhM=";
sha256 = "sha256-WL5UBsvAdtfOCkVX9NI0Z2fJ2CAO+NwD8wvkvkJ2uww=";
};
propagatedBuildInputs = [

View file

@ -1,7 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, pytestCheckHook
, pytest-cov
, pytest-flake8
, pytest-mypy
, redis
}:

View file

@ -0,0 +1,61 @@
{ lib
, aiohttp
, aresponses
, async-timeout
, attrs
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "py17track";
version = "3.3.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "1rnq9ybzj2l3699mjyplc29mxla8fayh52x52cnsz21ixlfd9fky";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
async-timeout
attrs
pytz
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace ">=19.3,<21.0" ">=19.3,<22.0"
'';
# Ignore the examples directory as the files are prefixed with test_
disabledTestPaths = [ "examples/" ];
pythonImportsCheck = [ "py17track" ];
meta = with lib; {
description = "Python library to track package info from 17track.com";
homepage = "https://github.com/bachya/py17track";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "pydeconz";
version = "79";
version = "80";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Kane610";
repo = "deconz";
rev = "v${version}";
sha256 = "sha256-I29UIyHjsIymZxcE084hQoyaEMTXIIQPFcB8lsxY+UI=";
sha256 = "sha256-om1Nhqu2CU+W2k2PGP1+6jLRJihacSQDayOfTzblZKo=";
};
propagatedBuildInputs = [

View file

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "pyeight";
version = "0.1.7";
version = "0.1.9";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "mezz64";
repo = "pyEight";
rev = version;
sha256 = "sha256-kTxd6nRsPvCjrXApjKcoghOISIMho5x9/kK7OvHjKQM=";
sha256 = "1ybhs09wyzzaryghd6ijxhajp3677x63c4qzqsgln1mmxhj8wm5k";
};
propagatedBuildInputs = [

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "pysma";
version = "0.6.0";
version = "0.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "8e997cf28c3ae7ccc90caa84aa3a3ed9245fac3e9cf76efb1467e4f4800143dc";
sha256 = "sha256-nKnOWVPRFmylwUeb0yApMHdW8vGvPCLlOGkZGNYC128=";
};
propagatedBuildInputs = [

View file

@ -1,25 +1,40 @@
{ lib, fetchPypi, buildPythonPackage, python, text-unidecode }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, python
, pythonOlder
, text-unidecode
, unidecode
}:
buildPythonPackage rec {
pname = "python-slugify";
version = "4.0.1";
pname = "python-slugify";
version = "5.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270";
};
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8TODoLn8vmSaGJK5yOtPjqsdbYS4S7emJDF6+pgVnKs=";
};
propagatedBuildInputs = [ text-unidecode ];
propagatedBuildInputs = [
text-unidecode
unidecode
];
checkPhase = ''
${python.interpreter} test.py
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/un33k/python-slugify";
description = "A Python Slugify application that handles Unicode";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
};
pytestFlagsArray = [ "test.py" ];
pythonImportsCheck = [ "slugify" ];
meta = with lib; {
description = "Python Slugify application that handles Unicode";
homepage = "https://github.com/un33k/python-slugify";
license = licenses.mit;
maintainers = with maintainers; [ vrthra ];
};
}

View file

@ -18,12 +18,12 @@
buildPythonPackage rec {
name = "sfepy";
version = "2020.4";
version = "2021.2";
disabled = pythonOlder "3.8";
src = fetchurl {
url="https://github.com/sfepy/sfepy/archive/release_${version}.tar.gz";
sha256 = "1wb0ik6kjg3mksxin0abr88bhsly67fpg36qjdzabhj0xn7j1yaz";
sha256 = "1vnynxzbspj900wjyy6020l71jdv2l1wkyax7nhi6w5wvav4kfwz";
};
propagatedBuildInputs = [

View file

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "simplisafe-python";
version = "10.0.0";
version = "11.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-VF8R+dty54GuWvYs/OqWhfGtOVieuxtfndQUxHhu5lc=";
sha256 = "04fn65iwzgvxi44kgvgvxjr3nzi2f4hwlqrjxfvc5yda96qp347c";
};
nativeBuildInputs = [ poetry-core ];

View file

@ -9,7 +9,6 @@
, mock
, pysqlite ? null
, pytestCheckHook
, pytest-xdist
}:
buildPythonPackage rec {

View file

@ -5,26 +5,29 @@
}:
buildPythonPackage rec {
version = "0.1.2";
version = "1.0.1";
pname = "vultr";
src = fetchFromGitHub {
owner = "spry-group";
repo = "python-vultr";
rev = version;
sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
owner = "spry-group";
repo = "python-vultr";
rev = "v${version}";
sha256 = "00lc5hdhchvm0472p03019bp9541d8y2773xkjy8vblq9qhys8q7";
};
propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [
requests
];
# Tests disabled. They fail because they try to access the network
doCheck = false;
pythonImportsCheck = [ "vultr" ];
meta = with lib; {
description = "Vultr.com API Client";
homepage = "https://github.com/spry-group/python-vultr";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};
}

View file

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "wled";
version = "0.6.0";
version = "0.7.1";
disabled = pythonOlder "3.8";
format = "pyproject";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-wled";
rev = "v${version}";
sha256 = "sha256-aFBcSGPCT49TbqzjUv/d8agdPOCC090rNxDnE9y91Pk=";
sha256 = "02xrml9mpq3akwyryg1m7xjmgnlgi5kjvx7vkq6110ai0f9hzpwi";
};
nativeBuildInputs = [

View file

@ -1,32 +1,41 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, ifaddr
, pytest-asyncio
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zeroconf";
version = "0.31.0";
version = "0.32.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-U6GAJIRxxvgb0f/8vOA+2T19jq8QkFyRIaweqZbRmEQ=";
# no tests in pypi sdist
src = fetchFromGitHub {
owner = "jstasiak";
repo = "python-zeroconf";
rev = version;
sha256 = "02fvh5ii73rf6pg9x93pc0sl1isx2ivg3d80l6s8h35w2f4g4azf";
};
propagatedBuildInputs = [ ifaddr ];
propagatedBuildInputs = [
ifaddr
];
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "zeroconf/test.py" ];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# disable tests that expect some sort of networking in the build container
# tests that require network interaction
"test_close_multiple_times"
"test_launch_and_close"
"test_launch_and_close_context_manager"
"test_launch_and_close_v4_v6"
"test_launch_and_close_v6_only"
"test_integration_with_listener_ipv6"
@ -36,7 +45,10 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "zeroconf" ];
pythonImportsCheck = [
"zeroconf"
"zeroconf.asyncio"
];
meta = with lib; {
description = "Python implementation of multicast DNS service discovery";

View file

@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "zha-quirks";
version = "0.0.58";
version = "0.0.59";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zha-device-handlers";
rev = version;
sha256 = "sha256-QU5ssbnT3/gioQ3vM9zvlbwxqSWyKIylsV9NuFkNe+Q=";
sha256 = "1x6s44apl393as847ghbqr26h0y0h4w3wp53bs0m2nfbzjwin3i7";
};
propagatedBuildInputs = [

View file

@ -4,6 +4,7 @@
, buildPythonPackage
, coloredlogs
, fetchFromGitHub
, fetchpatch
, jsonschema
, pyserial
, pyserial-asyncio
@ -27,6 +28,14 @@ buildPythonPackage rec {
sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln";
};
patches = [
(fetchpatch {
# Fixes tests/application/test_joining.py::test_new_device_join_and_bind_complex[FormedLaunchpadCC26X2R1]
url = "https://github.com/zigpy/zigpy-znp/commit/582cffb68fdf0c5bc14d55efca2a683222d7fed7.patch";
sha256 = "0qsfziqqjnnf21gdqv3wwk50vni46i0h1liw5ysq641yjfnas9az";
})
];
propagatedBuildInputs = [
async-timeout
coloredlogs

View file

@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.33.0";
version = "0.35.1";
src = fetchFromGitHub {
owner = "zigpy";
repo = "zigpy";
rev = version;
sha256 = "sha256-oEf4GnvbQ6LY4NaNFWRmnNz1TK2tMpIVUxskhU38g4w=";
sha256 = "0y5sv8zzlkjwimknpld3fakl22cfkqv0cnw0immb7k4zb9xmls2v";
};
propagatedBuildInputs = [
@ -40,6 +40,21 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = [
# RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited
"test_remigrate_forcibly_downgraded_v4"
# RuntimeError: Event loop is closed
"test_startup"
];
pythonImportsCheck = [
"zigpy.application"
"zigpy.config"
"zigpy.exceptions"
"zigpy.types"
"zigpy.zcl"
];
meta = with lib; {
description = "Library implementing a ZigBee stack";
homepage = "https://github.com/zigpy/zigpy";

View file

@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitLab, fetchurl }:
let
version = "14.0.1";
version = "14.1.0";
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
docker_x86_64 = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/binaries/gitlab-runner-helper/gitlab-runner-helper.x86_64";
sha256 = "1i1fddsz7cr0kg4bxqisx29cwyd07zqfbpmh5mhvi5zqy0gfmcn8";
sha256 = "09p0biig07plf9qiwpsdllh6midi8kzpzk2s71rmms491g4634k2";
};
docker_arm = fetchurl {
url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/binaries/gitlab-runner-helper/gitlab-runner-helper.arm";
sha256 = "1d2ywc3cikffiwpql2kp5zg21vjinz51f76c6wdn0v35wl705fz4";
sha256 = "0z5q5y9lsznwglpg7sd5af51v9640m85v4x4dcj5j37w24bi4wq0";
};
in
buildGoPackage rec {
@ -30,7 +30,7 @@ buildGoPackage rec {
owner = "gitlab-org";
repo = "gitlab-runner";
rev = "v${version}";
sha256 = "1prvmppq5w897bd9ch5z0h6h8mndy6myv8al24cr0bjc27c6wyn7";
sha256 = "1v2yxs92awwn4m6hq6wc53whfmk6fr4l6j87amcbdzcm4ikzxcvk";
};
patches = [ ./fix-shell-path.patch ];

View file

@ -79,6 +79,6 @@ in
homepage = "http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/";
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ ardumont ma27 ];
maintainers = with maintainers; [ ardumont ];
};
}

View file

@ -127,12 +127,12 @@ in rec {
dracula = mkTmuxPlugin rec {
pluginName = "dracula";
version = "1.0.1";
version = "2.0.0";
src = fetchFromGitHub {
owner = "dracula";
repo = "tmux";
rev = "v${version}";
sha256 = "sha256-hq+sKA/EkiKia/31SY1zYPz/bxLuwm6sSrGlip1DULw=";
sha256 = "ILs+GMltb2AYNUecFMyQZ/AuETB0PCFF2InSnptVBos=";
};
meta = with lib; {
homepage = "https://draculatheme.com/tmux";

View file

@ -46,7 +46,6 @@ in stdenv.mkDerivation rec {
yarnCache = stdenv.mkDerivation {
name = "${pname}-${version}-${system}-yarn-cache";
inherit src;
phases = ["unpackPhase" "buildPhase"];
nativeBuildInputs = [ yarn' git ];
buildPhase = ''
export HOME=$PWD

View file

@ -0,0 +1,27 @@
From 3e3f5c37252a33ea1e71c39f2ca0f13940c261ad Mon Sep 17 00:00:00 2001
From: Martin Weinelt <hexa@darmstadt.ccc.de>
Date: Sat, 17 Jul 2021 16:11:23 +0200
Subject: [PATCH] tests: ignore OSErrors in hass fixture
The nix sandbox will cause OSErrors due to limitations imposed on
network interaction. This change makes it so we forgive these cases.
---
tests/conftest.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/conftest.py b/tests/conftest.py
index 1f5ffc80d0..b284727a0f 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -168,6 +168,8 @@ def hass(loop, load_registries, hass_storage, request):
continue
if isinstance(ex, ServiceNotFound):
continue
+ if isinstance(ex, OSError):
+ continue
raise ex
--
2.32.0

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2021.6.6";
version = "2021.7.0";
components = {
"abode" = ps: with ps; [ abodepy ];
"accuweather" = ps: with ps; [ accuweather ];
@ -27,6 +27,7 @@
"almond" = ps: with ps; [ aiohttp-cors pyalmond ];
"alpha_vantage" = ps: with ps; [ alpha-vantage ];
"amazon_polly" = ps: with ps; [ boto3 ];
"ambee" = ps: with ps; [ ambee ];
"ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ];
"ambient_station" = ps: with ps; [ aioambient ];
"amcrest" = ps: with ps; [ amcrest ha-ffmpeg ];
@ -90,7 +91,7 @@
"blueprint" = ps: with ps; [ ];
"bluesound" = ps: with ps; [ xmltodict ];
"bluetooth_le_tracker" = ps: with ps; [ pygatt ];
"bluetooth_tracker" = ps: with ps; [ bt_proximity pybluez ];
"bluetooth_tracker" = ps: with ps; [ bt-proximity pybluez ];
"bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense
"bme680" = ps: with ps; [ bme680 smbus-cffi ];
"bmp280" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-bmp280
@ -157,7 +158,7 @@
"deconz" = ps: with ps; [ pydeconz ];
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
"default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa home-assistant-frontend ifaddr netdisco pillow scapy sqlalchemy zeroconf ];
"default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa home-assistant-frontend ifaddr pillow scapy sqlalchemy zeroconf ];
"delijn" = ps: with ps; [ pydelijn ];
"deluge" = ps: with ps; [ deluge-client ];
"demo" = ps: with ps; [ aiohttp-cors ];
@ -276,6 +277,7 @@
"folder" = ps: with ps; [ ];
"folder_watcher" = ps: with ps; [ watchdog ];
"foobot" = ps: with ps; [ foobot-async ];
"forecast_solar" = ps: with ps; [ forecast-solar ];
"forked_daapd" = ps: with ps; [ ]; # missing inputs: pyforked-daapd pylibrespot-java
"fortios" = ps: with ps; [ fortiosapi ];
"foscam" = ps: with ps; [ libpyfoscam ];
@ -283,7 +285,8 @@
"free_mobile" = ps: with ps; [ ]; # missing inputs: freesms
"freebox" = ps: with ps; [ freebox-api ];
"freedns" = ps: with ps; [ ];
"fritz" = ps: with ps; [ fritzconnection ];
"freedompro" = ps: with ps; [ pyfreedompro ];
"fritz" = ps: with ps; [ aiohttp-cors fritzconnection fritzprofiles ifaddr xmltodict ];
"fritzbox" = ps: with ps; [ pyfritzhome ];
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
"fritzbox_netmonitor" = ps: with ps; [ fritzconnection ];
@ -520,6 +523,7 @@
"mochad" = ps: with ps; [ ]; # missing inputs: pymochad
"modbus" = ps: with ps; [ pymodbus ];
"modem_callerid" = ps: with ps; [ ]; # missing inputs: basicmodem
"modern_forms" = ps: with ps; [ aiomodernforms ];
"mold_indicator" = ps: with ps; [ ];
"monoprice" = ps: with ps; [ ]; # missing inputs: pymonoprice
"moon" = ps: with ps; [ ];
@ -732,6 +736,7 @@
"scsgate" = ps: with ps; [ ]; # missing inputs: scsgate
"search" = ps: with ps; [ aiohttp-cors ];
"season" = ps: with ps; [ ephem ];
"select" = ps: with ps; [ ];
"sendgrid" = ps: with ps; [ sendgrid ];
"sense" = ps: with ps; [ sense-energy ];
"sensehat" = ps: with ps; [ ]; # missing inputs: sense-hat
@ -742,7 +747,7 @@
"serial_pm" = ps: with ps; [ pmsensor ];
"sesame" = ps: with ps; [ ]; # missing inputs: pysesame2
"seven_segments" = ps: with ps; [ pillow ];
"seventeentrack" = ps: with ps; [ ]; # missing inputs: py17track
"seventeentrack" = ps: with ps; [ py17track ];
"sharkiq" = ps: with ps; [ sharkiqpy ];
"shell_command" = ps: with ps; [ ];
"shelly" = ps: with ps; [ aioshelly ];
@ -788,7 +793,7 @@
"somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ];
"sonarr" = ps: with ps; [ sonarr ];
"songpal" = ps: with ps; [ python-songpal ];
"sonos" = ps: with ps; [ aiohttp-cors plexapi plexauth plexwebsocket pysonos ];
"sonos" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr plexapi plexauth plexwebsocket pysonos zeroconf ];
"sony_projector" = ps: with ps; [ ]; # missing inputs: pysdcp
"soundtouch" = ps: with ps; [ aiohttp-cors ifaddr libsoundtouch zeroconf ];
"spaceapi" = ps: with ps; [ aiohttp-cors ];
@ -800,7 +805,7 @@
"sql" = ps: with ps; [ sqlalchemy ];
"squeezebox" = ps: with ps; [ pysqueezebox ];
"srp_energy" = ps: with ps; [ srpenergy ];
"ssdp" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr netdisco zeroconf ];
"ssdp" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr zeroconf ];
"starline" = ps: with ps; [ starline ];
"starlingbank" = ps: with ps; [ ]; # missing inputs: starlingbank
"startca" = ps: with ps; [ xmltodict ];
@ -907,7 +912,7 @@
"upc_connect" = ps: with ps; [ connect-box ];
"upcloud" = ps: with ps; [ upcloud-api ];
"updater" = ps: with ps; [ distro ];
"upnp" = ps: with ps; [ async-upnp-client ];
"upnp" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr zeroconf ];
"uptime" = ps: with ps; [ ];
"uptimerobot" = ps: with ps; [ ]; # missing inputs: pyuptimerobot
"uscis" = ps: with ps; [ ]; # missing inputs: uscisstatus
@ -972,13 +977,13 @@
"xeoma" = ps: with ps; [ pyxeoma ];
"xiaomi" = ps: with ps; [ ha-ffmpeg ];
"xiaomi_aqara" = ps: with ps; [ pyxiaomigateway aiohttp-cors ifaddr netdisco zeroconf ];
"xiaomi_miio" = ps: with ps; [ construct python-miio ];
"xiaomi_miio" = ps: with ps; [ construct micloud python-miio ];
"xiaomi_tv" = ps: with ps; [ pymitv ];
"xmpp" = ps: with ps; [ slixmpp ];
"xs1" = ps: with ps; [ ]; # missing inputs: xs1-api-client
"yale_smart_alarm" = ps: with ps; [ yalesmartalarmclient ];
"yamaha" = ps: with ps; [ rxv ];
"yamaha_musiccast" = ps: with ps; [ ]; # missing inputs: pymusiccast
"yamaha_musiccast" = ps: with ps; [ aiomusiccast ];
"yandex_transport" = ps: with ps; [ aioymaps ];
"yandextts" = ps: with ps; [ ];
"yeelight" = ps: with ps; [ yeelight ];

View file

@ -22,19 +22,7 @@
let
defaultOverrides = [
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
# Pinned due to API changes in aiopvpc>=2.2.0, remove after 2021.7.0
(self: super: {
aiopvpc = super.aiopvpc.overridePythonAttrs (oldAttr: rec {
version = "2.1.2";
src = fetchFromGitHub {
owner = "azogue";
repo = "aiopvpc";
rev = "v${version}";
sha256 = "0s8ki46dh39kw6qvsjcfcxa0gblyi33m3hry137kbi4lw5ws6qhr";
};
});
})
(mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
# Pinned due to API changes in iaqualink>=2.0, remove after
# https://github.com/home-assistant/core/pull/48137 was merged
@ -70,19 +58,6 @@ let
(mkOverride "ring-doorbell" "0.6.2"
"fbd537722a27b3b854c26506d894b7399bb8dc57ff36083285971227a2d46560")
# Pinned due to API changes in pyatmo>=5.1.0
(self: super: {
pyatmo = super.pyatmo.overridePythonAttrs (oldAttrs: rec {
version = "5.0.1";
src = fetchFromGitHub {
owner = "jabesq";
repo = "pyatmo";
rev = "v${version}";
sha256 = "0can9v602iqfn0l01fd7gr63qzvcngfm0qka4s1x0pldh6avxmfh";
};
});
})
# Pinned due to API changes in pyatv>=0.8.0
(self: super: {
pyatv = super.pyatv.overridePythonAttrs (olAttrs: rec {
@ -149,8 +124,6 @@ let
});
})
(mkOverride "pysma" "0.4.3" "sha256-vriMnJFS7yfTyDT1f4sx1xEBTQjqc4ZHmkdHp1vcd+Q=")
# Pinned due to API changes in eebrightbox>=0.0.5
(self: super: {
eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec {
@ -197,7 +170,7 @@ let
extraBuildInputs = extraPackages py.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2021.6.6";
hassVersion = "2021.7.0";
in with py.pkgs; buildPythonApplication rec {
pname = "homeassistant";
@ -214,11 +187,12 @@ in with py.pkgs; buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = version;
sha256 = "0r8l2qya9pdl65kq3xrnb1vhmbnxm3bj12hn1wyxmw56l8m9l5d5";
sha256 = "1dx1pmi0w265pyajmmvd7k6vb5z7s77a7b161zd0n4zsb989dil6";
};
# leave this in, so users don't have to constantly update their downstream patch handling
patches = [
./0001-tests-ignore-OSErrors-in-hass-fixture.patch
];
postPatch = ''
@ -673,7 +647,8 @@ in with py.pkgs; buildPythonApplication rec {
"somfy_mylink"
"sonarr"
"songpal"
"sonos"
# disable sonos components test because they rely on ssdp, which doesn't work in our sandbox
# "sonos"
"soundtouch"
"spaceapi"
"speedtestdotnet"
@ -735,7 +710,8 @@ in with py.pkgs; buildPythonApplication rec {
"upb"
"upcloud"
"updater"
"upnp"
# disabled, because it tries to join a multicast group and fails to find a usable network interface
# "upnp"
"uptime"
"usgs_earthquakes_feed"
"utility_meter"
@ -751,7 +727,8 @@ in with py.pkgs; buildPythonApplication rec {
"vizio"
"voicerss"
"volumio"
"vultr"
# disabled, becaused AttributeError: <class 'vultr.vultr.Vultr'> does not have the attribute 'server_list'
# "vultr"
"wake_on_lan"
"wallbox"
"water_heater"
@ -776,7 +753,8 @@ in with py.pkgs; buildPythonApplication rec {
"yandex_transport"
"yandextts"
"yeelight"
"zeroconf"
# disabled, because it tries to join a multicast group and fails to find a usable network interface
# "zeroconf"
"zerproc"
"zha"
"zodiac"
@ -826,6 +804,8 @@ in with py.pkgs; buildPythonApplication rec {
# wallbox/test_config_flow.py: Tries to connect to api.wall-box.cim: Failed to establish a new connection: [Errno -2] Name or service not known
"--deselect tests/components/wallbox/test_config_flow.py::test_form_invalid_auth"
"--deselect tests/components/wallbox/test_config_flow.py::test_form_cannot_connect"
# tests/components/default_config/test_init.py: Tries to check for updates and fails ungracefully without network access
"--deselect tests/components/default_config/test_init.py::test_setup"
# tests are located in tests/
"tests"
# dynamically add packages required for component tests
@ -861,6 +841,10 @@ in with py.pkgs; buildPythonApplication rec {
"test_onboarding_core_no_rpi_power"
# hue/test_sensor_base.py: Race condition when counting events
"test_hue_events"
# homekit/test_homekit.py: Tries to use zeroconf, which tries to join a multicast group
"test_homekit_uses_system_zeroconf"
# august/test_lock.py: AssertionError: assert 'unlocked' == 'locked'
"test_lock_update_via_pubnub"
];
preCheck = ''

View file

@ -4,11 +4,11 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20210603.0";
version = "20210707.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2UhbtaxEcOkD9Z5g9gZs+QjuVLXZGCEcmKoxRtIEYxw=";
sha256 = "sha256-6RR+T4+vS6g00+MS1ty8aFVx6WM2dE+c17+wDoPxnGg=";
};
# there is nothing to strip in this package

View file

@ -23,10 +23,16 @@ sed -i -e "s/version =.*/version = \"${TARGET_VERSION}\";/" \
sed -i -e "s/hassVersion =.*/hassVersion = \"${TARGET_VERSION}\";/" \
default.nix
./parse-requirements.py
(
# update the frontend before running parse-requirements, so it doesn't get shown as outdated
cd ../../..
nix-update --version "$FRONTEND_VERSION" home-assistant.python.pkgs.home-assistant-frontend
)
./parse-requirements.py
(
cd ../../..
nix-update --version "$TARGET_VERSION" --build home-assistant
)

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2014-06-29-1";
pname = "nix-binary-cache";
phases = ["installPhase"];
dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "jackett";
version = "0.18.372";
version = "0.18.455";
src = fetchurl {
url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz";
sha256 = "sha256-GkAKYxa5F0N9jg9TZrwt3hjkhybZTKU2Ia/gIxBRGuo=";
sha256 = "sha256-qEuhgtDtdMCHJtUcUDUmKI8FT0ti7veleI7UhwTAUfE=";
};
nativeBuildInputs = [ makeWrapper ];

View file

@ -2,23 +2,23 @@
buildGoModule rec {
pname = "grafana";
version = "8.0.5";
version = "8.0.6";
excludedPackages = [ "release_publisher" ];
excludedPackages = "\\(alert_webhook_listener\\|clean-swagger\\|release_publisher\\|slow_proxy\\|slow_proxy_mac\\)";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "sha256-tehqb86Mkg1dD4x34zHwLD9uV/PssslLDIs9bl28ap0=";
sha256 = "sha256-incw/Uv1Jeg/WAkWUgJGvdJ2OpZYfkCAvgLW/qXWXEo=";
};
srcStatic = fetchurl {
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "sha256-aVZpTQ4ERrJV3YN4U0v/tJoYkTg7vlQVe6sIIK2NE0k=";
sha256 = "sha256-JSpNAi9NvZpo0HzdDmdi1i+lNGLylHgctT6PPWHNhkk=";
};
vendorSha256 = "sha256-INvFZ9hNbtpaDXuhBPaSaqBZyi7QJ18tMk+AZjJtYjg=";
vendorSha256 = "sha256-72i2NgulRpdBZ9dwx+0VlKDzzNnBJgEKKizrLPwzUY4=";
preBuild = ''
# The testcase makes an API call against grafana.com:

View file

@ -5,28 +5,21 @@
buildGoModule rec {
pname = "trillian";
version = "1.3.11";
vendorSha256 = "0zxp1gjzcc3z6vkpc2bchbs1shwm1b28ks0jh4gf6zxpp4361j4l";
version = "1.3.13";
vendorSha256 = "1ad0vaw0k57njzk9x233iqjbplyvw66qjk8r9j7sx87pdc6a4lpb";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
sha256 = "1lh19wba90y91l5jj8ilzjqxgmqqqdvyn7pzrwvmzv7iiy18wcmh";
sha256 = "1ns394yd4js9g1psd1dkrffidyzixqvjp5lhw2x2iycrxbnm3y44";
};
# Remove tests that require networking
postPatch = ''
rm cmd/get_tree_public_key/main_test.go
'';
subPackages = [
"cmd/trillian_log_server"
"cmd/trillian_log_signer"
"cmd/trillian_map_server"
"cmd/createtree"
"cmd/deletetree"
"cmd/get_tree_public_key"
"cmd/updatetree"
];

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "exploitdb";
version = "2021-07-21";
version = "2021-07-22";
src = fetchFromGitHub {
owner = "offensive-security";
repo = pname;
rev = version;
sha256 = "sha256-VKjbVlSvJmp6GIyQ3DVPMl+ARRWslFIf7Oc2Qtb5ouI=";
sha256 = "sha256-pmi1oKam3t4iKqbisFghdVlzp1Ozmc9Nmn19JLrsams=";
};
installPhase = ''

View file

@ -449,6 +449,7 @@ mapAliases ({
linux-steam-integration = throw "linux-steam-integration has been removed, as the upstream project has been abandoned"; # added 2020-05-22
loadcaffe = throw "loadcaffe has been removed, as the upstream project has been abandoned"; # added 2020-03-28
lobster-two = google-fonts; # added 2021-07-22
lprof = throw "lprof has been removed as it's unmaintained upstream and broken in nixpkgs since a while ago"; # added 2021-02-15
lttngTools = lttng-tools; # added 2014-07-31
lttngUst = lttng-ust; # added 2014-07-31

View file

@ -22449,8 +22449,6 @@ in
lmodern = callPackage ../data/fonts/lmodern { };
lobster-two = callPackage ../data/fonts/lobster-two {};
logitech-udev-rules = callPackage ../os-specific/linux/logitech-udev-rules {};
# lohit-fonts.assamese lohit-fonts.bengali lohit-fonts.devanagari lohit-fonts.gujarati lohit-fonts.gurmukhi
@ -23982,6 +23980,8 @@ in
fritzing = libsForQt5.callPackage ../applications/science/electronics/fritzing { };
fritzprofiles = with python3.pkgs; toPythonApplication fritzprofiles;
fsv = callPackage ../applications/misc/fsv {
autoreconfHook = buildPackages.autoreconfHook269;
};

View file

@ -864,9 +864,7 @@ let
ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };
ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic {
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2;
};
ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic { };
ocaml_mysql = callPackage ../development/ocaml-modules/mysql { };

View file

@ -1770,6 +1770,8 @@ in {
d2to1 = callPackage ../development/python-modules/d2to1 { };
dacite = callPackage ../development/python-modules/dacite { };
daemonize = callPackage ../development/python-modules/daemonize { };
daemonocle = callPackage ../development/python-modules/daemonocle { };
@ -2734,6 +2736,8 @@ in {
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
fritzprofiles = callPackage ../development/python-modules/fritzprofiles { };
frozendict = callPackage ../development/python-modules/frozendict { };
frozenlist = callPackage ../development/python-modules/frozenlist { };
@ -5692,6 +5696,8 @@ in {
py-ubjson = callPackage ../development/python-modules/py-ubjson { };
py17track = callPackage ../development/python-modules/py17track { };
py2bit = callPackage ../development/python-modules/py2bit { };
py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });