Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-01-06 06:01:11 +00:00 committed by GitHub
commit ea5e5050f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 109 additions and 28 deletions

View file

@ -711,6 +711,13 @@ self: super: {
inherit parinfer-rust; inherit parinfer-rust;
playground = super.playground.overrideAttrs (old: {
dependencies = with self; [
# we need the 'query' grammer to make
(nvim-treesitter.withPlugins (p: [ p.query ]))
];
});
plenary-nvim = super.plenary-nvim.overrideAttrs (old: { plenary-nvim = super.plenary-nvim.overrideAttrs (old: {
postPatch = '' postPatch = ''
sed -Ei lua/plenary/curl.lua \ sed -Ei lua/plenary/curl.lua \

View file

@ -9,15 +9,20 @@
, libXtst , libXtst
}: }:
# Known issues:
# - The daemon can't be started from the GUI, because pkexec requires a shell
# registered in /etc/shells. The nix's bash is not in there when running
# cpu-x from nixpkgs.
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cpu-x"; pname = "cpu-x";
version = "4.5.1"; version = "4.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "X0rg"; owner = "X0rg";
repo = "CPU-X"; repo = "CPU-X";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-rmRfKw2KMLsO3qfy2QznCIugvM2CLSxBUDgIzONYULk="; sha256 = "sha256-VPmwnzoOBNLDYZsoEknbcX7QP2Tcm08pL/rw1uCK8xM=";
}; };
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook nasm makeWrapper ]; nativeBuildInputs = [ cmake pkg-config wrapGAppsHook nasm makeWrapper ];
@ -40,7 +45,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Free software that gathers information on CPU, motherboard and more"; description = "Free software that gathers information on CPU, motherboard and more";
homepage = src.meta.homepage; homepage = "https://thetumultuousunicornofdarkness.github.io/CPU-X";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ viraptor ]; maintainers = with maintainers; [ viraptor ];

View file

@ -84,11 +84,11 @@
"vendorHash": "sha256-U88K2CZcN7xh1rPmkZpbRWgj3+lPKN7hkB9T60jR1JQ=" "vendorHash": "sha256-U88K2CZcN7xh1rPmkZpbRWgj3+lPKN7hkB9T60jR1JQ="
}, },
"auth0": { "auth0": {
"hash": "sha256-87T0ta5xU61COOfIZ1CP3TTWdCyd6RKLJ2hqShq+giM=", "hash": "sha256-BlMYx6Ockk8YpiA0wCu2tBwhUIznFJ9b4knSeKA6M/g=",
"homepage": "https://registry.terraform.io/providers/auth0/auth0", "homepage": "https://registry.terraform.io/providers/auth0/auth0",
"owner": "auth0", "owner": "auth0",
"repo": "terraform-provider-auth0", "repo": "terraform-provider-auth0",
"rev": "v0.41.0", "rev": "v0.42.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-OhtomdRIjKxELnSQGbZvrHAE1ag4VAyuSOMrZvZ5q0s=" "vendorHash": "sha256-OhtomdRIjKxELnSQGbZvrHAE1ag4VAyuSOMrZvZ5q0s="
}, },
@ -112,13 +112,13 @@
"vendorHash": null "vendorHash": null
}, },
"aws": { "aws": {
"hash": "sha256-EN8b2mkGys9td4XmTJ4N/Hi1T3EhLo0nv6Mludu3Mso=", "hash": "sha256-73g1/5JJ9OJ4LtImxIRQ+kwjT/vTyolFUScAcitZ+G4=",
"homepage": "https://registry.terraform.io/providers/hashicorp/aws", "homepage": "https://registry.terraform.io/providers/hashicorp/aws",
"owner": "hashicorp", "owner": "hashicorp",
"repo": "terraform-provider-aws", "repo": "terraform-provider-aws",
"rev": "v4.48.0", "rev": "v4.49.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-BplPkGuyoljbGZnX7uDuEJsWZFWAXKe/asma9/wCGRM=" "vendorHash": "sha256-L4EoUqkA5/nAs65G+mvXfFt/FzrCN/BmJoFSCP4PC7Q="
}, },
"azuread": { "azuread": {
"hash": "sha256-itaFeOEnoTIJfACvJZCIe9RWNVgewdVFZzXUK7yGglQ=", "hash": "sha256-itaFeOEnoTIJfACvJZCIe9RWNVgewdVFZzXUK7yGglQ=",
@ -340,11 +340,11 @@
"vendorHash": "sha256-z0vos/tZDUClK/s2yrXZG2RU8QgA8IM6bJj6jSdCnBk=" "vendorHash": "sha256-z0vos/tZDUClK/s2yrXZG2RU8QgA8IM6bJj6jSdCnBk="
}, },
"docker": { "docker": {
"hash": "sha256-+zKOwEMWOZoq4fau/Ieo+s+p+fTb4thMqfhrEnopiVQ=", "hash": "sha256-70nwqQOMncOOeX/ulrzBqTAqQyHELwM1V8/ZC+jUyXE=",
"homepage": "https://registry.terraform.io/providers/kreuzwerker/docker", "homepage": "https://registry.terraform.io/providers/kreuzwerker/docker",
"owner": "kreuzwerker", "owner": "kreuzwerker",
"repo": "terraform-provider-docker", "repo": "terraform-provider-docker",
"rev": "v2.24.0", "rev": "v2.25.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-OdZQb81d7N1TdbDWEImq2U3kLkCPdhRk38+8T8fu+F4=" "vendorHash": "sha256-OdZQb81d7N1TdbDWEImq2U3kLkCPdhRk38+8T8fu+F4="
}, },
@ -480,11 +480,11 @@
"vendorHash": "sha256-s6VwvxHXny5gCrbxiRI3F7w3HR3lq2NeiHZgTiU37m0=" "vendorHash": "sha256-s6VwvxHXny5gCrbxiRI3F7w3HR3lq2NeiHZgTiU37m0="
}, },
"gridscale": { "gridscale": {
"hash": "sha256-k87g+MwzKl++VfKerzRllHsKN8Y8AyEFm1yWV5xrgwI=", "hash": "sha256-ahYCrjrJPEItGyqbHYtgkIH/RzMyxBQkebSAyd8gwYo=",
"homepage": "https://registry.terraform.io/providers/gridscale/gridscale", "homepage": "https://registry.terraform.io/providers/gridscale/gridscale",
"owner": "gridscale", "owner": "gridscale",
"repo": "terraform-provider-gridscale", "repo": "terraform-provider-gridscale",
"rev": "v1.16.2", "rev": "v1.17.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": null "vendorHash": null
}, },
@ -507,11 +507,11 @@
"vendorHash": null "vendorHash": null
}, },
"heroku": { "heroku": {
"hash": "sha256-6SNBi4hSGD6XhUSmIOjmPVzo2HnvRBGFW1jMHJLDhuI=", "hash": "sha256-UGA01N4ToEb3eSKCI2raI3ZXFeRm0MVVXVWgAc7im9g=",
"homepage": "https://registry.terraform.io/providers/heroku/heroku", "homepage": "https://registry.terraform.io/providers/heroku/heroku",
"owner": "heroku", "owner": "heroku",
"repo": "terraform-provider-heroku", "repo": "terraform-provider-heroku",
"rev": "v5.1.9", "rev": "v5.1.10",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": null "vendorHash": null
}, },
@ -1095,11 +1095,11 @@
"vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw=" "vendorHash": "sha256-2wPmLpjhG6QgG+BUCO0oIzHjBOWIOYuptgdtSIm9TZw="
}, },
"tencentcloud": { "tencentcloud": {
"hash": "sha256-vXd0yZ57bEdZ0OcIANMWdDN8PzOKnXJKw7HgjcOhSeE=", "hash": "sha256-6rwpOXd/1iCgCDhWI7e5GuQu112KaYIvkgdyRpehI7I=",
"homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud", "homepage": "https://registry.terraform.io/providers/tencentcloudstack/tencentcloud",
"owner": "tencentcloudstack", "owner": "tencentcloudstack",
"repo": "terraform-provider-tencentcloud", "repo": "terraform-provider-tencentcloud",
"rev": "v1.79.3", "rev": "v1.79.4",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": null "vendorHash": null
}, },
@ -1177,12 +1177,12 @@
"vendorHash": "sha256-jyGp0HIu+VxZ7n6Cctq6pi6Z7IKZ7W7FeqnGXk9Pt7o=" "vendorHash": "sha256-jyGp0HIu+VxZ7n6Cctq6pi6Z7IKZ7W7FeqnGXk9Pt7o="
}, },
"vault": { "vault": {
"hash": "sha256-y5pK+sZ1xWnzlhT4sFUy5Mp6sggLLtaY4Cx2OPamDIc=", "hash": "sha256-aNyCUDV1yjpmbPNYlxuJNaiXtG3fJySxRsDLJx/hZ04=",
"homepage": "https://registry.terraform.io/providers/hashicorp/vault", "homepage": "https://registry.terraform.io/providers/hashicorp/vault",
"owner": "hashicorp", "owner": "hashicorp",
"proxyVendor": true, "proxyVendor": true,
"repo": "terraform-provider-vault", "repo": "terraform-provider-vault",
"rev": "v3.11.0", "rev": "v3.12.0",
"spdx": "MPL-2.0", "spdx": "MPL-2.0",
"vendorHash": "sha256-EOBNoEW9GI21IgXSiEN93B3skxfCrBkNwLxGXaso1oE=" "vendorHash": "sha256-EOBNoEW9GI21IgXSiEN93B3skxfCrBkNwLxGXaso1oE="
}, },

View file

@ -101,7 +101,7 @@ let
interpreter = "${pkgs.bash}/bin/bash"; interpreter = "${pkgs.bash}/bin/bash";
}; };
# Like writeScriptBIn but the first line is a shebang to bash # Like writeScriptBin but the first line is a shebang to bash
writeBashBin = name: writeBashBin = name:
writeBash "/bin/${name}"; writeBash "/bin/${name}";

View file

@ -0,0 +1,65 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pydantic
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiopurpleair";
version = "2022.12.1";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-YmJH4brWkTpgzyHwu9UnIWrY5qlDCmMtvF+KxQFXwfk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pydantic = "^1.10.2"' 'pydantic = "*"'
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
pydantic
];
checkInputs = [
aresponses
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_.
"examples/"
];
pythonImportsCheck = [
"aiopurpleair"
];
meta = with lib; {
description = "Python library for interacting with the PurpleAir API";
homepage = "https://github.com/bachya/aiopurpleair";
changelog = "https://github.com/bachya/aiopurpleair/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -7,14 +7,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "py-tree-sitter"; pname = "py-tree-sitter";
version = "unstable-2022-02-08"; version = "0.20.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tree-sitter"; owner = "tree-sitter";
repo = "py-tree-sitter"; repo = "py-tree-sitter";
rev = "9c8261d36e55d9e4a6543dc9e570bfd7911ed7bf"; rev = "v${version}";
sha256 = "sha256-YDe9m85LIPNumo9mrhMMotUspq/8B3t5kt2ScMJI+hY="; sha256 = "sha256-mdV5zGvVI1MltmOD1BtXxsKB/yigk8d56WwLlX6Uizg=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "android-udev-rules"; pname = "android-udev-rules";
version = "20220611"; version = "20230104";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "M0Rf30"; owner = "M0Rf30";
repo = "android-udev-rules"; repo = "android-udev-rules";
rev = version; rev = version;
sha256 = "sha256-Ug/c6xBxllyztA+5gpuE3X7DXUuJH2mjFjtKuTVTZYA="; sha256 = "sha256-tbejLvig+eTG+DHAchWEMMydd6ePRKyfRVPp6uDhP70=";
}; };
installPhase = '' installPhase = ''

View file

@ -2674,7 +2674,8 @@
gridnet gridnet
]; ];
"purpleair" = ps: with ps; [ "purpleair" = ps: with ps; [
]; # missing inputs: aiopurpleair aiopurpleair
];
"push" = ps: with ps; [ "push" = ps: with ps; [
aiohttp-cors aiohttp-cors
]; ];
@ -4551,6 +4552,7 @@
"proximity" "proximity"
"prusalink" "prusalink"
"pure_energie" "pure_energie"
"purpleair"
"push" "push"
"pushbullet" "pushbullet"
"pushover" "pushover"

View file

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ouch"; pname = "ouch";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ouch-org"; owner = "ouch-org";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-XB0J7Qeru+FX5YprepglfTndS8b3zsAw1b9mc4n6EdA="; sha256 = "sha256-WzdKr0i31qNRm1EpMZ/W4fOfKKItmvz6BYFbJWcfoHo=";
}; };
cargoSha256 = "sha256-aW1aDXxs64ScocrnlsGy2+NAs6aC8F0/S1f32f9BDJU="; cargoSha256 = "sha256-UhKcWpNuRNyA+uUw5kx84Y2F1Swr05m7JUM1+9lXYPM=";
nativeBuildInputs = [ installShellFiles pkg-config ]; nativeBuildInputs = [ installShellFiles pkg-config ];

View file

@ -278,6 +278,8 @@ self: super: with self; {
aiopulse = callPackage ../development/python-modules/aiopulse { }; aiopulse = callPackage ../development/python-modules/aiopulse { };
aiopurpleair = callPackage ../development/python-modules/aiopurpleair { };
aiopvapi = callPackage ../development/python-modules/aiopvapi { }; aiopvapi = callPackage ../development/python-modules/aiopvapi { };
aiopvpc = callPackage ../development/python-modules/aiopvpc { }; aiopvpc = callPackage ../development/python-modules/aiopvpc { };