Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-06-02 00:02:21 +00:00 committed by GitHub
commit d6b9d24302
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 2956 additions and 2225 deletions

View file

@ -26,10 +26,14 @@ The `wrapFirefox` function allows to pass policies, preferences and extensions t
Pocket = false; Pocket = false;
Snippets = false; Snippets = false;
}; };
UserMessaging = { UserMessaging = {
ExtensionRecommendations = false; ExtensionRecommendations = false;
SkipOnboarding = true; SkipOnboarding = true;
}; };
SecurityDevices = {
# Use a proxy module rather than `nixpkgs.config.firefox.smartcardSupport = true`
"PKCS#11 Proxy Module" = "${pkgs.p11-kit}/lib/p11-kit-proxy.so";
};
}; };
extraPrefs = '' extraPrefs = ''

View file

@ -663,6 +663,70 @@ However, this is done in it's own phase, and not dependent on whether `doCheck =
This can also be useful in verifying that the package doesn't assume commonly This can also be useful in verifying that the package doesn't assume commonly
present packages (e.g. `setuptools`) present packages (e.g. `setuptools`)
#### Using pythonRelaxDepsHook {#using-pythonrelaxdepshook}
It is common for upstream to specify a range of versions for its package
dependencies. This makes sense, since it ensures that the package will be built
with a subset of packages that is well tested. However, this commonly causes
issues when packaging in Nixpkgs, because the dependencies that this package
may need are too new or old for the package to build correctly. We also cannot
package multiple versions of the same package since this may cause conflicts
in `PYTHONPATH`.
One way to side step this issue is to relax the dependencies. This can be done
by either removing the package version range or by removing the package
declaration entirely. This can be done using the `pythonRelaxDepsHook` hook. For
example, given the following `requirements.txt` file:
```
pkg1<1.0
pkg2
pkg3>=1.0,<=2.0
```
we can do:
```
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = [ "pkg1" "pkg3" ];
pythonRemoveDeps = [ "pkg2" ];
```
which would result in the following `requirements.txt` file:
```
pkg1
pkg3
```
Another option is to pass `true`, that will relax/remove all dependencies, for
example:
```
nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDeps = true;
```
which would result in the following `requirements.txt` file:
```
pkg1
pkg2
pkg3
```
In general you should always use `pythonRelaxDeps`, because `pythonRemoveDeps`
will convert build errors in runtime errors. However `pythonRemoveDeps` may
still be useful in exceptional cases, and also to remove dependencies wrongly
declared by upstream (for example, declaring `black` as a runtime dependency
instead of a dev dependency).
Keep in mind that while the examples above are done with `requirements.txt`,
`pythonRelaxDepsHook` works by modifying the resulting wheel file, so it should
work in any of the formats supported by `buildPythonPackage` currently,
with the exception of `other` (see `format` in
[`buildPythonPackage` parameters](#buildpythonpackage-parameters) for more details).
### Develop local package {#develop-local-package} ### Develop local package {#develop-local-package}
As a Python developer you're likely aware of [development mode](http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode) As a Python developer you're likely aware of [development mode](http://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode)
@ -1197,6 +1261,8 @@ are used in `buildPythonPackage`.
to run commands only after venv is first created. to run commands only after venv is first created.
- `wheelUnpackHook` to move a wheel to the correct folder so it can be installed - `wheelUnpackHook` to move a wheel to the correct folder so it can be installed
with the `pipInstallHook`. with the `pipInstallHook`.
- `pythonRelaxDepsHook` will relax Python dependencies restrictions for the package.
See [example usage](#using-pythonrelaxdepshook).
### Development mode {#development-mode} ### Development mode {#development-mode}

View file

@ -17,7 +17,7 @@ in {
}; };
}; };
config = { config = lib.mkIf cfg.enable {
boot = { boot = {
extraModulePackages = [ pkgs.new-lg4ff ]; extraModulePackages = [ pkgs.new-lg4ff ];
kernelModules = [ "hid-logitech-new" ]; kernelModules = [ "hid-logitech-new" ];

View file

@ -3,30 +3,26 @@
with lib; with lib;
let let
cfg = config.services.localtime; cfg = config.services.localtimed;
in { in {
options = { options = {
services.localtime = { services.localtimed = {
enable = mkOption { enable = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Enable <literal>localtime</literal>, simple daemon for keeping the system Enable <literal>localtimed</literal>, a simple daemon for keeping the
timezone up-to-date based on the current location. It uses geoclue2 to system timezone up-to-date based on the current location. It uses
determine the current location and systemd-timedated to actually set geoclue2 to determine the current location.
the timezone.
''; '';
}; };
}; };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.geoclue2 = { services.geoclue2.appConfig.localtimed = {
enable = true; isAllowed = true;
appConfig.localtime = { isSystem = true;
isAllowed = true;
isSystem = true;
};
}; };
# Install the polkit rules. # Install the polkit rules.
@ -34,16 +30,6 @@ in {
# Install the systemd unit. # Install the systemd unit.
systemd.packages = [ pkgs.localtime ]; systemd.packages = [ pkgs.localtime ];
users.users.localtimed = { systemd.services.localtime.wantedBy = [ "multi-user.target" ];
description = "localtime daemon";
isSystemUser = true;
group = "localtimed";
};
users.groups.localtimed = {};
systemd.services.localtime = {
wantedBy = [ "multi-user.target" ];
serviceConfig.Restart = "on-failure";
};
}; };
} }

View file

@ -904,6 +904,18 @@ final: prev:
meta.homepage = "https://github.com/akinsho/bufferline.nvim/"; meta.homepage = "https://github.com/akinsho/bufferline.nvim/";
}; };
bullets-vim = buildVimPluginFrom2Nix {
pname = "bullets.vim";
version = "2022-06-01";
src = fetchFromGitHub {
owner = "dkarter";
repo = "bullets.vim";
rev = "f3b4ae71f60b5723077a77cfe9e8776a3ca553ac";
sha256 = "1dfgxdmvzjqjc1viqx2nmzzrjr2n7c6931d3iypv96p2zywld99s";
};
meta.homepage = "https://github.com/dkarter/bullets.vim/";
};
calendar-vim = buildVimPluginFrom2Nix { calendar-vim = buildVimPluginFrom2Nix {
pname = "calendar.vim"; pname = "calendar.vim";
version = "2022-03-21"; version = "2022-03-21";

View file

@ -8,6 +8,7 @@
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@chemzqm/neovim": "5.7.9",
"log4js": "3.0.6", "log4js": "3.0.6",
"neovim": "4.2.1", "neovim": "4.2.1",
"socket.io": "2.1.1", "socket.io": "2.1.1",

View file

@ -74,6 +74,7 @@ https://github.com/fruit-in/brainfuck-vim/,,
https://github.com/famiu/bufdelete.nvim/,, https://github.com/famiu/bufdelete.nvim/,,
https://github.com/jlanzarotta/bufexplorer/,, https://github.com/jlanzarotta/bufexplorer/,,
https://github.com/akinsho/bufferline.nvim/,, https://github.com/akinsho/bufferline.nvim/,,
https://github.com/dkarter/bullets.vim/,,
https://github.com/mattn/calendar-vim/,,mattn-calendar-vim https://github.com/mattn/calendar-vim/,,mattn-calendar-vim
https://github.com/itchyny/calendar.vim/,, https://github.com/itchyny/calendar.vim/,,
https://github.com/bkad/camelcasemotion/,, https://github.com/bkad/camelcasemotion/,,

View file

@ -277,6 +277,23 @@ let
}; };
}; };
attilabuti.brainfuck-syntax = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "brainfuck-syntax";
publisher = "attilabuti";
version = "0.0.1";
sha256 = "sha256-ZcZlHoa2aoCeruMWbUUgfFHsPqyWmd2xFY6AKxJysYE=";
};
meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/attilabuti.brainfuck-syntax/changelog";
description = "VSCode extension providing syntax highlighting support for Brainfuck";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=attilabuti.brainfuck-syntax";
homepage = "https://github.com/attilabuti/brainfuck-syntax";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
ms-python.vscode-pylance = buildVscodeMarketplaceExtension { ms-python.vscode-pylance = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "vscode-pylance"; name = "vscode-pylance";
@ -321,6 +338,22 @@ let
}; };
}; };
badochov.ocaml-formatter = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "ocaml-formatter";
publisher = "badochov";
version = "1.14.0";
sha256 = "sha256-Iekh3vwu8iz53rPRsuu1Fx9iA/A97iMd8cPETWavnyA=";
};
meta = with lib; {
description = "VSCode Extension Formatter for OCaml language";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=badochov.ocaml-formatter";
homepage = "https://github.com/badochov/ocamlformatter-vscode";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
bbenoist.nix = buildVscodeMarketplaceExtension { bbenoist.nix = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "Nix"; name = "Nix";
@ -457,8 +490,8 @@ let
mktplcRef = { mktplcRef = {
name = "path-intellisense"; name = "path-intellisense";
publisher = "christian-kohler"; publisher = "christian-kohler";
version = "2.6.1"; version = "2.8.0";
sha256 = "sha256-ol98g3pliBlyEQ+n7cR4O04J/0QB9U8+fvf+FC0j0Fc="; sha256 = "sha256-VPzy9o0DeYRkNwTGphC51vzBTNgQwqKg+t7MpGPLahM=";
}; };
meta = with lib; { meta = with lib; {
description = "Visual Studio Code plugin that autocompletes filenames"; description = "Visual Studio Code plugin that autocompletes filenames";
@ -683,8 +716,8 @@ let
mktplcRef = { mktplcRef = {
name = "githistory"; name = "githistory";
publisher = "donjayamanne"; publisher = "donjayamanne";
version = "0.6.14"; version = "0.6.19";
sha256 = "11x116hzqnhgbryp2kqpki1z5mlnwxb0ly9r1513m5vgbisrsn0i"; sha256 = "15s2mva9hg2pw499g890v3jycncdps2dmmrmrkj3rns8fkhjn8b3";
}; };
}; };
@ -886,8 +919,8 @@ let
mktplcRef = { mktplcRef = {
name = "file-icons"; name = "file-icons";
publisher = "file-icons"; publisher = "file-icons";
version = "1.0.28"; version = "1.0.29";
sha256 = "1lyx0l42xhi2f3rdnjddc3mw7m913kjnchawi98i6vqsx3dv7091"; sha256 = "05x45f9yaivsz8a1ahlv5m8gy2kkz71850dhdvwmgii0vljc8jc6";
}; };
}; };
@ -976,6 +1009,38 @@ let
}; };
}; };
gencer.html-slim-scss-css-class-completion = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "html-slim-scss-css-class-completion";
publisher = "gencer";
version = "1.7.8";
sha256 = "18qws35qvnl0ahk5sxh4mzkw0ib788y1l97ijmpjszs0cd4bfsa6";
};
meta = with lib; {
description = "VSCode extension for SCSS";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=gencer.html-slim-scss-css-class-completion";
homepage = "https://github.com/gencer/SCSS-Everywhere";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
gitlab.gitlab-workflow = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "gitlab-workflow";
publisher = "gitlab";
version = "3.44.2";
sha256 = "sha256-S2PI+r4LrHA7tW2EMfcAkP5jUnd0mCEV72oTXMa9Xkc=";
};
meta = with lib; {
description = "GitLab extension for Visual Studio Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=gitlab.gitlab-workflow";
homepage = "https://gitlab.com/gitlab-org/gitlab-vscode-extension#readme";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
humao.rest-client = buildVscodeMarketplaceExtension { humao.rest-client = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
publisher = "humao"; publisher = "humao";
@ -1056,8 +1121,8 @@ let
mktplcRef = { mktplcRef = {
name = "Go"; name = "Go";
publisher = "golang"; publisher = "golang";
version = "0.25.1"; version = "0.33.1";
sha256 = "sha256-ZDUWN9lzDnR77W7xcMFQaaFl/6Lf/x1jgaBkwZPqGGw="; sha256 = "0dsjxs04dchw1dbzf45ryhxsb5xhalqwy40xw6cngxkp69lhf91g";
}; };
meta = { meta = {
license = lib.licenses.mit; license = lib.licenses.mit;
@ -1184,6 +1249,22 @@ let
}; };
}; };
irongeek.vscode-env = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-env";
publisher = "irongeek";
version = "0.1.0";
sha256 = "sha256-URq90lOFtPCNfSIl2NUwihwRQyqgDysGmBc3NG7o7vk=";
};
meta = with lib; {
description = "Adds formatting and syntax highlighting support for env files (.env) to Visual Studio Code";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=IronGeek.vscode-env";
homepage = "https://github.com/IronGeek/vscode-env.git";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
jakebecker.elixir-ls = buildVscodeMarketplaceExtension { jakebecker.elixir-ls = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "elixir-ls"; name = "elixir-ls";
@ -1237,8 +1318,8 @@ let
mktplcRef = { mktplcRef = {
name = "nix-ide"; name = "nix-ide";
publisher = "jnoortheen"; publisher = "jnoortheen";
version = "0.1.19"; version = "0.1.20";
sha256 = "1ms96ij6z4bysdhqgdaxx2znvczyhzx57iifbqws50m1c3m7pkx7"; sha256 = "16mmivdssjky11gmih7zp99d41m09r0ii43n17d4i6xwivagi9a3";
}; };
meta = with lib; { meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/jnoortheen.nix-ide/changelog"; changelog = "https://marketplace.visualstudio.com/items/jnoortheen.nix-ide/changelog";
@ -1650,6 +1731,22 @@ let
}; };
}; };
phoenixframework.phoenix = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "phoenix";
publisher = "phoenixframework";
version = "0.1.1";
sha256 = "sha256-AfCwU4FF8a8C9D6+lyUDbAOLlD5SpZZw8CZVGpzRoV0=";
};
meta = with lib; {
description = "Syntax highlighting support for HEEx / Phoenix templates";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=phoenixframework.phoenix";
homepage = "https://github.com/phoenixframework/vscode-phoenix";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
redhat.java = buildVscodeMarketplaceExtension { redhat.java = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "java"; name = "java";
@ -1668,8 +1765,8 @@ let
mktplcRef = { mktplcRef = {
name = "vscode-yaml"; name = "vscode-yaml";
publisher = "redhat"; publisher = "redhat";
version = "1.5.1"; version = "1.7.0";
sha256 = "sha256-JXhmgBFZdKNjgX6K7U+M/T7HEmIOBQOzQEJ5957TUuM="; sha256 = "1bbjpaypp0mq5akww5f0pkpq01j0xhhvkfr44f4lb2rdhr5nmnvc";
}; };
meta = { meta = {
license = lib.licenses.mit; license = lib.licenses.mit;
@ -1744,6 +1841,23 @@ let
}; };
}; };
prisma.prisma = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "prisma";
publisher = "Prisma";
version = "3.14.0";
sha256 = "09dlm2awd2h0xmx1vcx95kdvz3xf4f5pd7zcdg3mb0g2az4nfld7";
};
meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/Prisma.prisma/changelog";
description = "VSCode extension for syntax highlighting, formatting, auto-completion, jump-to-definition and linting for .prisma files";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=Prisma.prisma";
homepage = "https://github.com/prisma/language-tools";
license = licenses.asl20;
maintainers = with maintainers; [ superherointj ];
};
};
richie5um2.snake-trail = buildVscodeMarketplaceExtension { richie5um2.snake-trail = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "snake-trail"; name = "snake-trail";
@ -1930,6 +2044,22 @@ let
}; };
}; };
stefanjarina.vscode-eex-snippets = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-eex-snippets";
publisher = "stefanjarina";
version = "0.0.8";
sha256 = "0j8pmrs1lk138vhqx594pzxvrma4yl3jh7ihqm2kgh0cwnkbj36m";
};
meta = with lib; {
description = "VSCode extension for Elixir EEx and HTML (EEx) code snippets";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=stefanjarina.vscode-eex-snippets";
homepage = "https://github.com/stefanjarina/vscode-eex-snippets";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
stephlin.vscode-tmux-keybinding = buildVscodeMarketplaceExtension { stephlin.vscode-tmux-keybinding = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "vscode-tmux-keybinding"; name = "vscode-tmux-keybinding";
@ -2046,6 +2176,22 @@ let
}; };
}; };
theangryepicbanana.language-pascal = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "language-pascal";
publisher = "theangryepicbanana";
version = "0.1.6";
sha256 = "096wwmwpas21f03pbbz40rvc792xzpl5qqddzbry41glxpzywy6b";
};
meta = with lib; {
description = "VSCode extension for high-quality Pascal highlighting";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=theangryepicbanana.language-pascal";
homepage = "https://github.com/ALANVF/vscode-pascal-magic";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
};
tiehuis.zig = buildVscodeMarketplaceExtension { tiehuis.zig = buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "zig"; name = "zig";
@ -2063,8 +2209,8 @@ let
mktplcRef = { mktplcRef = {
name = "shellcheck"; name = "shellcheck";
publisher = "timonwong"; publisher = "timonwong";
version = "0.18.4"; version = "0.19.3";
sha256 = "00cii58md6v028h0xfvbdjvg3r44451mi0lfmjwiwif5xcw3wnlx"; sha256 = "0l8fbim19jgcdgxxgidnhdczxvhls920vrffwrac8k1y34lgfl3v";
}; };
nativeBuildInputs = [ jq moreutils ]; nativeBuildInputs = [ jq moreutils ];
postInstall = '' postInstall = ''
@ -2131,8 +2277,8 @@ let
mktplcRef = { mktplcRef = {
name = "errorlens"; name = "errorlens";
publisher = "usernamehw"; publisher = "usernamehw";
version = "3.4.1"; version = "3.5.1";
sha256 = "1mr8si7jglpjw8qzl4af1k7r68vz03fpal1dr8i0iy4ly26pz7bh"; sha256 = "17xbbr5hjrs67yazicb9qillbkp3wnaccjpnl1jlp07s0n7q4f8f";
}; };
meta = with lib; { meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/usernamehw.errorlens/changelog"; changelog = "https://marketplace.visualstudio.com/items/usernamehw.errorlens/changelog";

View file

@ -11,8 +11,8 @@ vscode-utils.buildVscodeMarketplaceExtension rec {
mktplcRef = { mktplcRef = {
name = "rescript-vscode"; name = "rescript-vscode";
publisher = "chenglou92"; publisher = "chenglou92";
version = "1.1.3"; version = "1.3.0";
sha256 = "1c1ipxgm0f0a3vlnhr0v85jr5l3rwpjzh9w8nv2jn5vgvpas0b2a"; sha256 = "sha256-Sgi7FFOpI/XOeyPOrDhwZdZ+43ilUz7oQ49yB7tiMXk=";
}; };
postPatch = '' postPatch = ''
rm -r ${analysisDir} rm -r ${analysisDir}

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "ascii-image-converter"; pname = "ascii-image-converter";
version = "1.11.0"; version = "1.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TheZoraiz"; owner = "TheZoraiz";
repo = "ascii-image-converter"; repo = "ascii-image-converter";
rev = "v${version}"; rev = "v${version}";
sha256 = "DitJnWIz1Dt9yXtyQp/z738IAmG4neYmfc49Wdjos7Q="; sha256 = "5Sa9PqhoJ/LCAHrymqVCO4bI39mQeVa4xv1z235Cxvg=";
}; };
vendorSha256 = "sha256-pKgukWKF4f/kLASjh8aKU7x9UBW/H+4C/02vxmh+qOU="; vendorSha256 = "rQS3QH9vnEbQZszG3FOr1P5HYgS63BurCNCFQTTdvZs=";
meta = with lib; { meta = with lib; {
description = "Convert images into ASCII art on the console"; description = "Convert images into ASCII art on the console";

View file

@ -118,28 +118,27 @@ let
lib.optionalAttrs usesNixExtensions { lib.optionalAttrs usesNixExtensions {
ExtensionSettings = { ExtensionSettings = {
"*" = { "*" = {
blocked_install_message = "You can't have manual extension mixed with nix extensions"; blocked_install_message = "You can't have manual extension mixed with nix extensions";
installation_mode = "blocked"; installation_mode = "blocked";
}; };
} // lib.foldr (e: ret: } // lib.foldr (e: ret:
ret // { ret // {
"${e.extid}" = { "${e.extid}" = {
installation_mode = "allowed"; installation_mode = "allowed";
}; };
} }
) {} extensions; ) {} extensions;
} // lib.optionalAttrs usesNixExtensions {
Extensions = { Extensions = {
Install = lib.foldr (e: ret: Install = lib.foldr (e: ret:
ret ++ [ "${e.outPath}/${e.extid}.xpi" ] ret ++ [ "${e.outPath}/${e.extid}.xpi" ]
) [] extensions; ) [] extensions;
}; };
} // lib.optionalAttrs smartcardSupport { } // lib.optionalAttrs smartcardSupport {
SecurityDevices = { SecurityDevices = {
"OpenSC PKCS#11 Module" = "onepin-opensc-pkcs11.so"; "OpenSC PKCS#11 Module" = "opensc-pkcs11.so";
}; };
} }
// extraPolicies; // extraPolicies;
}; };

View file

@ -0,0 +1,39 @@
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "gatekeeper";
version = "3.8.1";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "gatekeeper";
rev = "v${version}";
sha256 = "sha256-zEUH88sjgR738BXK2oSSM6jf5oHZt0VJv61BcxclG1Q=";
};
vendorSha256 = null;
nativeBuildInputs = [
installShellFiles
];
subPackages = [ "cmd/gator" ];
postInstall = ''
installShellCompletion --cmd gator \
--bash <($out/bin/gator completion bash) \
--fish <($out/bin/gator completion fish) \
--zsh <($out/bin/gator completion zsh)
'';
meta = with lib; {
description = "Policy Controller for Kubernetes";
homepage = "https://github.com/open-policy-agent/gatekeeper";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -192,9 +192,9 @@ rec {
}; };
terraform_1 = mkTerraform { terraform_1 = mkTerraform {
version = "1.2.1"; version = "1.2.2";
sha256 = "sha256-zvpKL7SsUeDu7pHSJTYbbJcn7kDcGk5M2jBMkkBLMtE="; sha256 = "sha256-LkRCumyNHVBSsXRp1ovNMGCeidK/jVCjh9H1HSE1Lm8=";
vendorSha256 = "sha256-2w0XAoja3DwztI3WxvLCUqrjW1PzSR6BU0T8TtM3TAw="; vendorSha256 = "sha256-CVgAmPM0nt0Wx+N0qs+IO5KwCWnbfif70EHjBi0bIsQ=";
patches = [ ./provider-path-0_15.patch ]; patches = [ ./provider-path-0_15.patch ];
passthru = { inherit plugins; }; passthru = { inherit plugins; };
}; };

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "purple-xmpp-upload"; pname = "purple-xmpp-upload";
version = "unstable-2017-12-31"; version = "unstable-2021-11-04";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Junker"; owner = "Junker";
repo = "purple-xmpp-http-upload"; repo = "purple-xmpp-http-upload";
rev = "178096cbfc9df165c2dc1677666439969d212b37"; rev = "f370b4a2c474c6fe4098d929d8b7c18aeba87b6b";
sha256 = "12l9rqlgb4i50xxrfnvwz9sqfk0d3c0m6l09mnvfixqi8illyvlp"; sha256 = "0n05jybmibn44xb660p08vrrbanfsyjn17w1xm9gwl75fxxq8cdc";
}; };
buildInputs = [ pidgin glib libxml2 ]; buildInputs = [ pidgin glib libxml2 ];

View file

@ -61,8 +61,9 @@ in python3.pkgs.buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace 'cloup = "^0.13.0"' 'cloup = "*"' \ --replace "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term" "" \
--replace 'mapbox-earcut = "^0.12.10"' 'mapbox-earcut = "*"' \ --replace 'cloup = "^0.13.0"' 'cloup = "*"' \
--replace 'mapbox-earcut = "^0.12.10"' 'mapbox-earcut = "*"' \
''; '';
buildInputs = [ cairo ]; buildInputs = [ cairo ];
@ -106,7 +107,6 @@ in python3.pkgs.buildPythonApplication rec {
checkInputs = [ checkInputs = [
python3.pkgs.pytest-cov
python3.pkgs.pytest-xdist python3.pkgs.pytest-xdist
python3.pkgs.pytestCheckHook python3.pkgs.pytestCheckHook

View file

@ -14,7 +14,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "intel-media-driver"; pname = "intel-media-driver";
version = "22.3.0"; version = "22.4.2";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
owner = "intel"; owner = "intel";
repo = "media-driver"; repo = "media-driver";
rev = "intel-media-${version}"; rev = "intel-media-${version}";
sha256 = "sha256-TQmXU/Roij6U6NTt3oywhjpPJzaFeR4hhVor11mgaRE="; sha256 = "sha256-wJiXtRPv9t34GujUhkhDKmIblMMR8yx8Fe1Xony6QVY=";
}; };
patches = [ patches = [

File diff suppressed because it is too large Load diff

View file

@ -1,20 +1,21 @@
{ lib { lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, numpy
, astropy , astropy
, astropy-helpers , astropy-helpers
, buildPythonPackage
, cython
, fetchpatch
, fetchPypi
, matplotlib , matplotlib
, reproject , numpy
, pillow
, pyavm , pyavm
, pyregion , pyregion
, pillow
, scikitimage
, cython
, shapely
, pytest
, pytest-astropy , pytest-astropy
, pytestCheckHook
, pythonOlder
, reproject
, scikitimage
, shapely
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,36 +23,48 @@ buildPythonPackage rec {
version = "2.1.0"; version = "2.1.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
pname = "aplpy"; pname = "aplpy";
inherit version; inherit version;
sha256 = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4="; hash = "sha256-KCdmBwQWt7IfHsjq7pWlbSISEpfQZDyt+SQSTDaUCV4=";
}; };
nativeBuildInputs = [
astropy-helpers
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy
cython
astropy astropy
cython
matplotlib matplotlib
reproject numpy
pillow
pyavm pyavm
pyregion pyregion
pillow reproject
scikitimage scikitimage
shapely shapely
]; ];
nativeBuildInputs = [ astropy-helpers ]; checkInputs = [
checkInputs = [ pytest pytest-astropy ]; pytest-astropy
pytestCheckHook
];
checkPhase = '' preCheck = ''
OPENMP_EXPECTED=0 pytest aplpy OPENMP_EXPECTED=0
''; '';
pythonImportsCheck = [
"aplpy"
];
meta = with lib; { meta = with lib; {
description = "The Astronomical Plotting Library in Python"; description = "The Astronomical Plotting Library in Python";
homepage = "http://aplpy.github.io"; homepage = "http://aplpy.github.io";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.smaret ]; maintainers = with maintainers; [ smaret ];
}; };
} }

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "async-upnp-client"; pname = "async-upnp-client";
version = "0.29.0"; version = "0.31.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "StevenLooman"; owner = "StevenLooman";
repo = "async_upnp_client"; repo = "async_upnp_client";
rev = version; rev = version;
sha256 = "sha256-IzT48ABfk/v8VZJRJEMU/Rsi6mJG4IvtF7HNRv6TLeA="; sha256 = "sha256-jxipSHSsipnKJF+d7tez9M6bBlwV4r8XGQ2elI0jsVc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -3,17 +3,17 @@
, pythonOlder , pythonOlder
, fetchFromGitHub , fetchFromGitHub
, pbr , pbr
, requests , httpx
, pycryptodome , pycryptodome
, pyjwt , pyjwt
, pytestCheckHook , pytestCheckHook
, requests-mock , respx
, time-machine , time-machine
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bimmer-connected"; pname = "bimmer-connected";
version = "0.8.12"; version = "0.9.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "bimmerconnected"; owner = "bimmerconnected";
repo = "bimmer_connected"; repo = "bimmer_connected";
rev = version; rev = version;
hash = "sha256-0yXEm8cjzw1ClSP8a5TB9RrugzgHSu40tTtyNQU4dfY="; hash = "sha256-ylhvUX5af248KIT54SIe26WP8tysqjZd2y/+Fi+VqHM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,14 +32,14 @@ buildPythonPackage rec {
PBR_VERSION = version; PBR_VERSION = version;
propagatedBuildInputs = [ propagatedBuildInputs = [
requests httpx
pycryptodome pycryptodome
pyjwt pyjwt
]; ];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
requests-mock respx
time-machine time-machine
]; ];

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, aioresponses
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "bond-async";
version = "0.1.20";
disabled = pythonOlder "3.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "bondhome";
repo = "bond-async";
rev = "v${version}";
hash = "sha256-iBtbHS3VzSB6wfWDFq5UVd3++x3HtQbWQ6soPYfcHiM=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"bond_async"
];
meta = {
description = "Asynchronous Python wrapper library over Bond Local API";
homepage = "https://github.com/bondhome/bond-async";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -1,14 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }: { lib
, buildPythonPackage
, fetchPypi
, hatchling
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bracex"; pname = "bracex";
version = "2.2.1"; version = "2.3.post1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21"; sha256 = "sha256-57I/yLLNBtPewGkrqr7LJJ3alOBqYXkB/wOmxW/XFpM=";
}; };
nativeBuildInputs = [
hatchling
];
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bracex" ]; pythonImportsCheck = [ "bracex" ];

View file

@ -1,41 +1,54 @@
{ stdenv { lib
, lib , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi
, dask , dask
, scipy , fetchPypi
, numpy
, pims , pims
, scikitimage
, pytestCheckHook , pytestCheckHook
, pythonOlder
, scikitimage
, scipy
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2021.12.0";
pname = "dask-image"; pname = "dask-image";
version = "2021.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "35be49626bd01c3e3892128126a27d5ee3266a198a8e3c7e30d59eaef712fcf9"; hash = "sha256-Nb5JYmvQHD44khKBJqJ9XuMmahmKjjx+MNWervcS/Pk=";
}; };
propagatedBuildInputs = [ dask scipy pims ]; propagatedBuildInputs = [
dask
prePatch = '' numpy
substituteInPlace setup.cfg --replace "--flake8" "" scipy
''; pims
];
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
scikitimage scikitimage
]; ];
pythonImportsCheck = [ "dask_image" ]; postPatch = ''
substituteInPlace setup.cfg \
--replace "--flake8" ""
'';
pythonImportsCheck = [
"dask_image"
];
meta = with lib; { meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64); broken = (stdenv.isLinux && stdenv.isAarch64);
homepage = "https://github.com/dask/dask-image";
description = "Distributed image processing"; description = "Distributed image processing";
homepage = "https://github.com/dask/dask-image";
license = licenses.bsdOriginal; license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }

View file

@ -1,6 +1,5 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchpatch
, fetchFromGitHub , fetchFromGitHub
, numpy , numpy
, packaging , packaging
@ -11,22 +10,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "db-dtypes"; pname = "db-dtypes";
version = "1.0.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "googleapis"; owner = "googleapis";
repo = "python-db-dtypes-pandas"; repo = "python-db-dtypes-pandas";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-7u/E0ICiz7LQfuplm/mkGlWrgGEPqeMwM3CUhfH6868="; hash = "sha256-T/cyJ0PY5p/y8CKrmeAa9nvnuRs4hd2UKiYiMHLaa7A=";
}; };
patches = [
(fetchpatch {
url = "https://github.com/googleapis/python-db-dtypes-pandas/commit/fb30adfd427d3df9919df00b096210ba1eb1b91d.patch";
sha256 = "sha256-39kZtYGbn3U1WXiDTczki5EM6SjUlSRXz8UMcdTU20g=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
packaging packaging

View file

@ -39,14 +39,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Django"; pname = "Django";
version = "4.0.4"; version = "4.0.5";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ToF3hYUkQXVjzAQw8p6iSZRtgx6ssAaKFFVoZYffQLU="; hash = "sha256-90MaXecneWbzeFVXw5KEMzR9mYweZFkyRQE3iikeWqs=";
}; };
patches = lib.optional withGdal patches = lib.optional withGdal

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dsmr-parser"; pname = "dsmr-parser";
version = "0.32"; version = "0.33";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "ndokter"; owner = "ndokter";
repo = "dsmr_parser"; repo = "dsmr_parser";
rev = "v${version}"; rev = "v${version}";
sha256 = "0hi69gdcmsp5yaspsfbpc3x76iybg20cylxyaxm131fpd5wwan9l"; sha256 = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -26,7 +26,7 @@ buildPythonPackage rec {
hash = "sha256-zOxlC4NdSBkhOMhTKa4Dc15s7VjpstnCFG1shMBvpT4="; hash = "sha256-zOxlC4NdSBkhOMhTKa4Dc15s7VjpstnCFG1shMBvpT4=";
}; };
patches = lib.optionals (lib.versionAtLeast werkzeug.version "2.1.0") [ patches = [
./werkzeug-2.1.0-compat.patch ./werkzeug-2.1.0-compat.patch
]; ];

View file

@ -16,14 +16,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-api-core"; pname = "google-api-core";
version = "2.7.1"; version = "2.8.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-sPpXflEvDI4GM4a5dHGLhhRYanmMWJTtNL7fJW2driQ="; sha256 = "sha256-lYAkxqo0YLCPNXQSMQdqTdmkyBmmo51E2pYn/r6LKPA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -12,11 +12,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-iot"; pname = "google-cloud-iot";
version = "2.4.1"; version = "2.5.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-AjGoEAAI8aTACtcZp7zT5n9y6WCMc4GOfgUusUVXAVk="; sha256 = "sha256-bZ2Zn4r+hQ2MfkgXmJPYWbKy3tYlTkYh6ohmWQA/75U=";
}; };
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ]; propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];

View file

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-resource-manager"; pname = "google-cloud-resource-manager";
version = "1.4.1"; version = "1.5.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-NUqFkvIwfaqz3MZEUoLqO7hFCVwV5124+lA8LGzccl0="; hash = "sha256-U5OoT8Usm2XGB6ya14vzLnI2yO44tvtKSDP0D5xRM4I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -13,14 +13,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-securitycenter"; pname = "google-cloud-securitycenter";
version = "1.10.0"; version = "1.11.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-VaU6DRkq1pOESSOSynRRjaljp68C1X2H8anjHeHorbI="; hash = "sha256-+etRN3Q7Y1oYtQy0Fkoj6ujhx4gD5y+fUriu/eitIQM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -14,11 +14,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-spanner"; pname = "google-cloud-spanner";
version = "3.13.0"; version = "3.14.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-Y+MA7Nlx3+8eaBptI6eZgSPGc4MvxSrA9YA+K+VSblw="; sha256 = "sha256-QOUMedRvbEEDwr1RIsS8tEdvk++OmPBXC4Q5XLzWASs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -12,11 +12,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-tasks"; pname = "google-cloud-tasks";
version = "2.8.1"; version = "2.9.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-VfRDZRgwq1pOwjzmq6mdbVqcT6wQdD6qOMivQn4Ua10="; sha256 = "sha256-MjXGDlqRDFn2whxnEm1lf0G+vU9U/S3BmNvi47aEJro=";
}; };
propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ]; propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];

View file

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "googleapis-common-protos"; pname = "googleapis-common-protos";
version = "1.56.0"; version = "1.56.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-QAdQB5W8/CadJ58PfSU64Y1twf9dWnNhP/5FIDix7F8="; sha256 = "sha256-sJtW9UYwcMIVN1PvEj8H0uSSNeiRSOmyRZ7I7S9o19M=";
}; };
propagatedBuildInputs = [ grpc protobuf ]; propagatedBuildInputs = [ grpc protobuf ];

View file

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "grpc-google-iam-v1"; pname = "grpc-google-iam-v1";
version = "0.12.3"; version = "0.12.4";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0bfb5b56f648f457021a91c0df0db4934b6e0c300bd0f2de2333383fe958aa72"; sha256 = "sha256-PwrCyUC5qFXXzn4x/eKL3bDZrDYtMtB8ZxSDBpMaDjA=";
}; };
propagatedBuildInputs = [ grpcio googleapis-common-protos ]; propagatedBuildInputs = [ grpcio googleapis-common-protos ];

View file

@ -1,6 +1,7 @@
{ lib { lib
, aiohttp , aiohttp
, aresponses , aresponses
, asynctest
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, poetry-core , poetry-core
@ -12,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "omnikinverter"; pname = "omnikinverter";
version = "0.7.0"; version = "0.8.1";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "klaasnicolaas"; owner = "klaasnicolaas";
repo = "python-omnikinverter"; repo = "python-omnikinverter";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IiU7nhwH0Mc6s+g9WtJugpORuL0qGNJFKDY5hvxIZAU="; hash = "sha256-OQWk+ae+hSLLdH0uLVPauoNeQpXgxkvflXFyaiFe108=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -35,6 +36,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
aresponses aresponses
asynctest
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
]; ];

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "plexapi"; pname = "plexapi";
version = "4.10.1"; version = "4.11.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "pkkid"; owner = "pkkid";
repo = "python-plexapi"; repo = "python-plexapi";
rev = version; rev = version;
sha256 = "sha256-0j3uf3wSDFSyDGo3oRi99KNKfhuGP2puSi0KgVjsXnQ="; sha256 = "sha256-N4ic1DDMAHnHYYoD59ZHFqlgLlvFZV8Nn7V47NDXE5U=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "pyialarmxr";
version = "1.0.18";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bigmoby";
repo = pname;
rev = version;
hash = "sha256-Q1NsPLA1W4nxSG/9jlMf6BkC3ZrUrhl8oDX7U4aAjxM=";
};
propagatedBuildInputs = [
lxml
xmltodict
];
# Module has no test
doCheck = false;
pythonImportsCheck = [
"pyialarmxr"
];
meta = with lib; {
description = "Library to interface with Antifurto365 iAlarmXR systems";
homepage = "https://github.com/bigmoby/pyialarmxr";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,51 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-homewizard-energy";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "DCSBL";
repo = pname;
rev = "v${version}";
hash = "sha256-ioISqRFZZCojTJ/KYS8QUtoEpBNOPqY9lC9NFbZyh5A=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"homewizard_energy"
];
meta = with lib; {
description = "Library to communicate with HomeWizard Energy devices";
homepage = "https://github.com/DCSBL/python-homewizard-energy";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyws66i";
version = "1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ssaenger";
repo = pname;
rev = "v${version}";
hash = "sha256-NTL2+xLqSNsz4YdUTwr0nFjhm1NNgB8qDnWSoE2sizY=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyws66i"
];
meta = with lib; {
description = "Library to interface with WS66i 6-zone amplifier";
homepage = "https://github.com/bigmoby/pyialarmxr";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,29 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, types-enum34
, types-ipaddress
}:
buildPythonPackage rec {
pname = "types-cryptography";
version = "3.3.21";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-rRucYxWcAJ+GdsfkGk1ZXfuW6MA6/6Lmk+FheQi7QJ4=";
};
pythonImportsCheck = [
"cryptography-stubs"
];
propagatedBuildInputs = [ types-enum34 types-ipaddress ];
meta = with lib; {
description = "Typing stubs for cryptography";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};
}

View file

@ -1,28 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, types-cryptography
}:
buildPythonPackage rec {
pname = "types-paramiko";
version = "2.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-q2iT1fzl7QaWTWGTntanFoqxSVKUWpCZWmKKXoKl4WE=";
};
pythonImportsCheck = [
"paramiko-stubs"
];
propagatedBuildInputs = [ types-cryptography ];
meta = with lib; {
description = "Typing stubs for paramiko";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};
}

View file

@ -1,55 +1,54 @@
{ lib { lib
, beautifulsoup4
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, webob
, six
, beautifulsoup4
, waitress
, pyquery
, wsgiproxy2
, pastedeploy , pastedeploy
, pyquery
, pytestCheckHook , pytestCheckHook
, pythonOlder
, six
, waitress
, webob
, wsgiproxy2
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.0.0";
pname = "webtest"; pname = "webtest";
disabled = isPy27; # paste.deploy is not longer a valid import version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
pname = "WebTest"; pname = "WebTest";
inherit version; inherit version;
sha256 = "54bd969725838d9861a9fa27f8d971f79d275d94ae255f5c501f53bb6d9929eb"; hash = "sha256-VL2WlyWDjZhhqfon+Nlx950nXZSuJV9cUB9Tu22ZKes=";
}; };
postPatch = ''
substituteInPlace setup.py --replace "nose<1.3.0" "nose"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
webob
six
beautifulsoup4 beautifulsoup4
six
waitress waitress
webob
]; ];
checkInputs = [ checkInputs = [
pytestCheckHook
pastedeploy pastedeploy
wsgiproxy2
pyquery pyquery
pytestCheckHook
wsgiproxy2
]; ];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "webtest" ]; pythonImportsCheck = [
"webtest"
];
meta = with lib; { meta = with lib; {
description = "Helper to test WSGI applications"; description = "Helper to test WSGI applications";
homepage = "https://webtest.readthedocs.org/en/latest/"; homepage = "https://webtest.readthedocs.org/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ fab ];
}; };
} }

View file

@ -1,30 +1,39 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, six
, webob , webob
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "WSGIProxy2"; pname = "wsgiproxy2";
version = "0.4.2"; version = "0.5.1";
format = "setuptools";
src = fetchPypi { disabled = pythonOlder "3.7";
inherit pname version;
extension = "zip"; src = fetchFromGitHub {
sha256 = "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4"; owner = "gawel";
repo = "WSGIProxy2";
rev = version;
hash = "sha256-ouofw3cBQzBwSh3Pdtdl7KI2pg/T/z3qoh8zoeiKiSs=";
}; };
propagatedBuildInputs = [ six webob ]; propagatedBuildInputs = [
webob
];
# circular dep on webtest # Circular dependency on webtest
doCheck = false; doCheck = false;
pythonImportsCheck = [
"wsgiproxy"
];
meta = with lib; { meta = with lib; {
homepage = "http://pythonpaste.org/wsgiproxy/";
description = "HTTP proxying tools for WSGI apps"; description = "HTTP proxying tools for WSGI apps";
homepage = "https://wsgiproxy2.readthedocs.io/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ domenkozar ]; maintainers = with maintainers; [ domenkozar ];
}; };
} }

View file

@ -0,0 +1,43 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, paho-mqtt
, pydantic
, pythonOlder
}:
buildPythonPackage rec {
pname = "yolink-api";
version = "0.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "YoSmart-Inc";
repo = pname;
rev = "v${version}";
hash = "sha256-LCdPg+T6GMcE8NF32caWgC5lnaN7KOj2gZA/JHPcZKI=";
};
propagatedBuildInputs = [
aiohttp
paho-mqtt
pydantic
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"yolink"
];
meta = with lib; {
description = "Library to interface with Yolink";
homepage = "https://github.com/YoSmart-Inc/yolink-api";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zwave-js-server-python"; pname = "zwave-js-server-python";
version = "0.37.0"; version = "0.37.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "home-assistant-libs"; owner = "home-assistant-libs";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-321voxogSkeHMsMdLnrjwG3vQOgGDcMjDen0EUKYE1U="; hash = "sha256-ciIodpa1ekOqC6wa4r3qxJKW1gzTdoRqeLLaTW/yJQs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2022.5.5"; version = "2022.6.0";
components = { components = {
"abode" = ps: with ps; [ "abode" = ps: with ps; [
abodepy abodepy
@ -140,6 +140,9 @@
pyatv pyatv
zeroconf zeroconf
]; ];
"application_credentials" = ps: with ps; [
aiohttp-cors
];
"apprise" = ps: with ps; [ "apprise" = ps: with ps; [
apprise apprise
]; ];
@ -236,6 +239,8 @@
aiohttp-cors aiohttp-cors
securetar securetar
]; ];
"baf" = ps: with ps; [
]; # missing inputs: aiobafi6
"baidu" = ps: with ps; [ "baidu" = ps: with ps; [
]; # missing inputs: baidu-aip ]; # missing inputs: baidu-aip
"balboa" = ps: with ps; [ "balboa" = ps: with ps; [
@ -288,7 +293,7 @@
bimmer-connected bimmer-connected
]; ];
"bond" = ps: with ps; [ "bond" = ps: with ps; [
bond-api bond-async
]; ];
"bosch_shc" = ps: with ps; [ "bosch_shc" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -952,6 +957,10 @@
"geo_rss_events" = ps: with ps; [ "geo_rss_events" = ps: with ps; [
georss-generic-client georss-generic-client
]; ];
"geocaching" = ps: with ps; [
aiohttp-cors
geocachingapi
];
"geofency" = ps: with ps; [ "geofency" = ps: with ps; [
aiohttp-cors aiohttp-cors
]; ];
@ -1049,6 +1058,16 @@
"hangouts" = ps: with ps; [ "hangouts" = ps: with ps; [
hangups hangups
]; ];
"hardkernel" = ps: with ps; [
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
"hardware" = ps: with ps; [
];
"harman_kardon_avr" = ps: with ps; [ "harman_kardon_avr" = ps: with ps; [
hkavr hkavr
]; ];
@ -1139,7 +1158,7 @@
homematicip homematicip
]; ];
"homewizard" = ps: with ps; [ "homewizard" = ps: with ps; [
aiohwenergy python-homewizard-energy
]; ];
"homeworks" = ps: with ps; [ "homeworks" = ps: with ps; [
pyhomeworks pyhomeworks
@ -1187,6 +1206,9 @@
"ialarm" = ps: with ps; [ "ialarm" = ps: with ps; [
pyialarm pyialarm
]; ];
"ialarm_xr" = ps: with ps; [
pyialarmxr
];
"iammeter" = ps: with ps; [ "iammeter" = ps: with ps; [
]; # missing inputs: iammeter ]; # missing inputs: iammeter
"iaqualink" = ps: with ps; [ "iaqualink" = ps: with ps; [
@ -1379,6 +1401,9 @@
"launch_library" = ps: with ps; [ "launch_library" = ps: with ps; [
pylaunches pylaunches
]; ];
"laundrify" = ps: with ps; [
laundrify-aio
];
"lcn" = ps: with ps; [ "lcn" = ps: with ps; [
pypck pypck
]; ];
@ -1863,7 +1888,6 @@
ondilo ondilo
]; ];
"onewire" = ps: with ps; [ "onewire" = ps: with ps; [
pi1wire
pyownet pyownet
]; ];
"onkyo" = ps: with ps; [ "onkyo" = ps: with ps; [
@ -2138,13 +2162,21 @@
]; ];
"rainforest_eagle" = ps: with ps; [ "rainforest_eagle" = ps: with ps; [
aioeagle aioeagle
ueagle eagle100
]; ];
"rainmachine" = ps: with ps; [ "rainmachine" = ps: with ps; [
regenmaschine regenmaschine
]; ];
"random" = ps: with ps; [ "random" = ps: with ps; [
]; ];
"raspberry_pi" = ps: with ps; [
aiohttp-cors
fnvhash
home-assistant-frontend
lru-dict
pillow
sqlalchemy
];
"raspyrfm" = ps: with ps; [ "raspyrfm" = ps: with ps; [
]; # missing inputs: raspyrfm-client ]; # missing inputs: raspyrfm-client
"rdw" = ps: with ps; [ "rdw" = ps: with ps; [
@ -2227,8 +2259,6 @@
]; ];
"rpi_camera" = ps: with ps; [ "rpi_camera" = ps: with ps; [
]; ];
"rpi_gpio" = ps: with ps; [
]; # missing inputs: RPi.GPIO
"rpi_power" = ps: with ps; [ "rpi_power" = ps: with ps; [
rpi-bad-power rpi-bad-power
]; ];
@ -2287,6 +2317,7 @@
"scrape" = ps: with ps; [ "scrape" = ps: with ps; [
beautifulsoup4 beautifulsoup4
jsonpath jsonpath
lxml
xmltodict xmltodict
]; ];
"screenlogic" = ps: with ps; [ "screenlogic" = ps: with ps; [
@ -3035,6 +3066,9 @@
]; ];
"worxlandroid" = ps: with ps; [ "worxlandroid" = ps: with ps; [
]; ];
"ws66i" = ps: with ps; [
pyws66i
];
"wsdot" = ps: with ps; [ "wsdot" = ps: with ps; [
]; ];
"x10" = ps: with ps; [ "x10" = ps: with ps; [
@ -3103,6 +3137,10 @@
aioftp aioftp
ha-ffmpeg ha-ffmpeg
]; ];
"yolink" = ps: with ps; [
aiohttp-cors
yolink-api
];
"youless" = ps: with ps; [ "youless" = ps: with ps; [
youless-api youless-api
]; ];
@ -3182,6 +3220,7 @@
"airtouch4" "airtouch4"
"airvisual" "airvisual"
"airzone" "airzone"
"aladdin_connect"
"alarm_control_panel" "alarm_control_panel"
"alarmdecoder" "alarmdecoder"
"alert" "alert"
@ -3196,6 +3235,7 @@
"apache_kafka" "apache_kafka"
"api" "api"
"apple_tv" "apple_tv"
"application_credentials"
"apprise" "apprise"
"aprs" "aprs"
"arcam_fmj" "arcam_fmj"
@ -3353,6 +3393,7 @@
"geo_json_events" "geo_json_events"
"geo_location" "geo_location"
"geo_rss_events" "geo_rss_events"
"geocaching"
"geofency" "geofency"
"geonetnz_quakes" "geonetnz_quakes"
"geonetnz_volcano" "geonetnz_volcano"
@ -3378,6 +3419,8 @@
"guardian" "guardian"
"habitica" "habitica"
"hangouts" "hangouts"
"hardkernel"
"hardware"
"harmony" "harmony"
"hassio" "hassio"
"hddtemp" "hddtemp"
@ -3407,6 +3450,7 @@
"hvv_departures" "hvv_departures"
"hyperion" "hyperion"
"ialarm" "ialarm"
"ialarm_xr"
"iaqualink" "iaqualink"
"icloud" "icloud"
"ifttt" "ifttt"
@ -3447,6 +3491,7 @@
"kulersky" "kulersky"
"lastfm" "lastfm"
"launch_library" "launch_library"
"laundrify"
"lcn" "lcn"
"light" "light"
"litterrobot" "litterrobot"
@ -3586,6 +3631,7 @@
"rainforest_eagle" "rainforest_eagle"
"rainmachine" "rainmachine"
"random" "random"
"raspberry_pi"
"rdw" "rdw"
"recollect_waste" "recollect_waste"
"recorder" "recorder"
@ -3778,6 +3824,7 @@
"wled" "wled"
"workday" "workday"
"worldclock" "worldclock"
"ws66i"
"wsdot" "wsdot"
"xbox" "xbox"
"xiaomi" "xiaomi"
@ -3789,6 +3836,7 @@
"yandex_transport" "yandex_transport"
"yandextts" "yandextts"
"yeelight" "yeelight"
"yolink"
"youless" "youless"
"zeroconf" "zeroconf"
"zerproc" "zerproc"

View file

@ -72,19 +72,6 @@ let
}); });
}) })
(self: super: {
huawei-lte-api = super.huawei-lte-api.overridePythonAttrs (oldAttrs: rec {
version = "1.4.18";
src = fetchFromGitHub {
owner = "Salamek";
repo = "huawei-lte-api";
rev = version;
sha256 = "1qaqxmh03j10wa9wqbwgc5r3ays8wfr7bldvsm45fycr3qfyn5fg";
};
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ python3.pkgs.dicttoxml ];
});
})
# Pinned due to API changes in pyruckus>0.12 # Pinned due to API changes in pyruckus>0.12
(self: super: { (self: super: {
pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec { pyruckus = super.pyruckus.overridePythonAttrs (oldAttrs: rec {
@ -179,7 +166,7 @@ let
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs); extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2022.5.5"; hassVersion = "2022.6.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -197,7 +184,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = version; rev = version;
hash = "sha256-uVB3Yg3f0fNkq2rav7hmbJ9IAMg0UIrdMshJVgOharA="; hash = "sha256-8s6CyTNA61UgrflpQ/RZnAPa/xI4VFdEQJnN25k3vuc=";
}; };
# leave this in, so users don't have to constantly update their downstream patch handling # leave this in, so users don't have to constantly update their downstream patch handling
@ -210,24 +197,18 @@ in python.pkgs.buildPythonApplication rec {
postPatch = let postPatch = let
relaxedConstraints = [ relaxedConstraints = [
"aiohttp"
"async_timeout"
"attrs" "attrs"
"awesomeversion" "awesomeversion"
"bcrypt" "bcrypt"
"cryptography"
"httpx" "httpx"
"jinja2" "PyJWT"
"pip"
"requests"
"yarl"
]; ];
in '' in ''
sed -r -i \ sed -r -i \
${lib.concatStringsSep "\n" (map (package: ${lib.concatStringsSep "\n" (map (package:
''-e 's@${package}[<>=]+.*@${package}@g' \'' ''-e 's@${package}[<>=]+.*@${package}@g' \''
) relaxedConstraints)} ) relaxedConstraints)}
setup.cfg setup.cfg
substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"' substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"'
''; '';

View file

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # 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 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20220504.1"; version = "20220531.0";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
sha256 = "sha256-EU9I/0+EmcNr7eYq3Z5J5/KiWu+Qz0+wn7UZMJFBxp0="; sha256 = "sha256-NySYrHmU1OV11WZSqe6GURPKnwcLukXF0QUxxlPXUG4=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View file

@ -14,6 +14,7 @@ let
lovelace = [ PyChromecast ]; lovelace = [ PyChromecast ];
nest = [ av ]; nest = [ av ];
onboarding = [ pymetno radios rpi-bad-power ]; onboarding = [ pymetno radios rpi-bad-power ];
raspberry_pi = [ rpi-bad-power ];
tomorrowio = [ pyclimacell ]; tomorrowio = [ pyclimacell ];
version = [ aioaseko ]; version = [ aioaseko ];
voicerss = [ mutagen ]; voicerss = [ mutagen ];

View file

@ -3,14 +3,14 @@ let
package = (import ./node.nix { inherit pkgs; inherit (stdenv.hostPlatform) system; }).package; package = (import ./node.nix { inherit pkgs; inherit (stdenv.hostPlatform) system; }).package;
in in
package.override rec { package.override rec {
version = "1.25.1"; version = "1.25.2";
reconstructLock = true; reconstructLock = true;
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "Koenkk"; owner = "Koenkk";
repo = "zigbee2mqtt"; repo = "zigbee2mqtt";
rev = version; rev = version;
sha256 = "IMRpT4BQvnsk8rl2bxiUbzVp4UcEaPLsniKneOq7Av4="; sha256 = "E7D2lAXEgi0Vy9sVUzsLxY6G06hnUQxergCAOcSvDng=";
}; };
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt; passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
# This file has been generated by node2nix 1.9.0. Do not edit! # This file has been generated by node2nix 1.11.1. Do not edit!
{pkgs ? import <nixpkgs> { {pkgs ? import <nixpkgs> {
inherit system; inherit system;

View file

@ -98,10 +98,10 @@ let
# Allow granular checks to allow only some non-source-built packages # Allow granular checks to allow only some non-source-built packages
# Example: # Example:
# {pkgs, ...}: # { pkgs, ... }:
# { # {
# allowNonSource = false; # allowNonSource = false;
# allowNonSourcePredicate = with lib.lists; pkg: !(any (p: !p.isSource && p!=lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance)); # allowNonSourcePredicate = with pkgs.lib.lists; pkg: !(any (p: !p.isSource && p != lib.sourceTypes.binaryFirmware) (toList pkg.meta.sourceProvenance));
# } # }
allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false); allowNonSourcePredicate = config.allowNonSourcePredicate or (x: false);

View file

@ -135,7 +135,6 @@ in buildPythonApplication rec {
dbus-python dbus-python
gst-python gst-python
idna idna
ipaddress
lz4 lz4
netifaces netifaces
numpy numpy

View file

@ -159,7 +159,6 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
javaproperties javaproperties
jsondiff jsondiff
# urllib3[secure] # urllib3[secure]
ipaddress
# shell completion # shell completion
argcomplete argcomplete
]; ];

View file

@ -27,13 +27,13 @@
let let
inherit (lib) attrNames attrValues concatMap; inherit (lib) attrNames attrValues concatMap;
builtinPlugins = import ./builtin-plugins.nix inputs; mkPlugin = { enable ? !disableAllPlugins, builtin ? false, propagatedBuildInputs ? [ ], testPaths ? [ ], wrapperBins ? [ ] }: {
inherit enable builtin propagatedBuildInputs testPaths wrapperBins;
mkPlugin = { enable ? !disableAllPlugins, propagatedBuildInputs ? [ ], testPaths ? [ ], wrapperBins ? [ ] }: {
inherit enable propagatedBuildInputs testPaths wrapperBins;
}; };
allPlugins = lib.mapAttrs (_: mkPlugin) (lib.recursiveUpdate builtinPlugins pluginOverrides); basePlugins = lib.mapAttrs (_: a: { builtin = true; } // a) (import ./builtin-plugins.nix inputs);
allPlugins = lib.mapAttrs (_: mkPlugin) (lib.recursiveUpdate basePlugins pluginOverrides);
builtinPlugins = lib.filterAttrs (_: p: p.builtin) allPlugins;
enabledPlugins = lib.filterAttrs (_: p: p.enable) allPlugins; enabledPlugins = lib.filterAttrs (_: p: p.enable) allPlugins;
disabledPlugins = lib.filterAttrs (_: p: !p.enable) allPlugins; disabledPlugins = lib.filterAttrs (_: p: !p.enable) allPlugins;
@ -117,7 +117,7 @@ python3Packages.buildPythonApplication rec {
\( -name '*.py' -o -path 'beetsplug/*/__init__.py' \) -print \ \( -name '*.py' -o -path 'beetsplug/*/__init__.py' \) -print \
| sed -n -re 's|^beetsplug/([^/.]+).*|\1|p' \ | sed -n -re 's|^beetsplug/([^/.]+).*|\1|p' \
| sort -u > plugins_available | sort -u > plugins_available
${diffPlugins (attrNames allPlugins) "plugins_available"} ${diffPlugins (attrNames builtinPlugins) "plugins_available"}
export BEETS_TEST_SHELL="${bashInteractive}/bin/bash --norc" export BEETS_TEST_SHELL="${bashInteractive}/bin/bash --norc"
export HOME="$(mktemp -d)" export HOME="$(mktemp -d)"

View file

@ -40,7 +40,7 @@ lib.makeExtensible (self: {
}; };
pluginOverrides = { pluginOverrides = {
# unstable has a new plugin, so we register it here. # unstable has a new plugin, so we register it here.
limit = { }; limit = { builtin = true; };
}; };
}; };

View file

@ -78,15 +78,12 @@ pythonPackages.buildPythonApplication rec {
idna idna
pygobject3 pygobject3
fasteners fasteners
ipaddress
lockfile lockfile
paramiko paramiko
pyasn1 pyasn1
pycrypto pycrypto
pydrive2 pydrive2
future future
] ++ lib.optionals (!isPy3k) [
enum
]; ];
checkInputs = [ checkInputs = [

View file

@ -1,23 +1,23 @@
{stdenv, lib, fetchurl, dub, ncurses, ldc, zlib, removeReferencesTo }: {stdenv, lib, fetchurl, dub, ncurses, ldc, zlib, removeReferencesTo }:
let let
_d_ae_ver = "0.0.3100"; _d_ae_ver = "0.0.3141";
_d_btrfs_ver = "0.0.12"; _d_btrfs_ver = "0.0.12";
_d_ncurses_ver = "0.0.149"; _d_ncurses_ver = "0.0.149";
_d_emsi_containers_ver = "0.9.0"; _d_emsi_containers_ver = "0.9.0";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "btdu"; pname = "btdu";
version = "0.3.1"; version = "0.4.0";
srcs = [ srcs = [
(fetchurl { (fetchurl {
url = "https://github.com/CyberShadow/${pname}/archive/v${version}.tar.gz"; url = "https://github.com/CyberShadow/${pname}/archive/v${version}.tar.gz";
sha256 = "760b2f0d28920a78b7967dd34c429125135688a3aefc57ab3a92d07bc3ef10cb"; sha256 = "1377d2ee14367deed6f0b17407a0de437450a4f381819265d98c38fbc05f792f";
}) })
(fetchurl { (fetchurl {
url = "https://github.com/CyberShadow/ae/archive/v${_d_ae_ver}.tar.gz"; url = "https://github.com/CyberShadow/ae/archive/v${_d_ae_ver}.tar.gz";
sha256 = "86fa09ef6c1be4cbe8ad1c85729054e5d691b41ff57c7980d99937ec0f45b950"; sha256 = "5ae60c637050c11733da8a67735a43e16d6082d18b74ce64b04e24e42d8f5f5f";
}) })
(fetchurl { (fetchurl {
url = "https://github.com/CyberShadow/d-btrfs/archive/v${_d_btrfs_ver}.tar.gz"; url = "https://github.com/CyberShadow/d-btrfs/archive/v${_d_btrfs_ver}.tar.gz";

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "hexyl"; pname = "hexyl";
version = "0.9.0"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sharkdp"; owner = "sharkdp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-hLDx5OzCE5iA492V3+dhaav2l8/rOVWyskrU4Gz1hf4="; sha256 = "sha256-LskDHUm45OlWbzlumaIXPXCZEBA5dXanhzgAvenJgVk=";
}; };
cargoSha256 = "sha256-CGaCMrShagK4dAdwJtaeUMJlYOlG/cH+6E1QDYGrqL0="; cargoSha256 = "sha256-qKk95hGcThu0y3ND9z3mXw1TBaVkwAOrznaqj2k3SEk=";
meta = with lib; { meta = with lib; {
changelog = "https://github.com/sharkdp/hexyl/releases/tag/v${version}"; changelog = "https://github.com/sharkdp/hexyl/releases/tag/v${version}";

View file

@ -18,7 +18,6 @@ let
six six
requests requests
websocket-client websocket-client
ipaddress
docker_pycreds docker_pycreds
uptime uptime
] ++ lib.optionals (self.pythonOlder "3.7") [ backports_ssl_match_hostname ]; ] ++ lib.optionals (self.pythonOlder "3.7") [ backports_ssl_match_hostname ];

View file

@ -1,6 +1,5 @@
{ buildGoModule { buildGoModule
, fetchFromGitHub , fetchFromGitHub
, geoclue2-with-demo-agent
, lib , lib
, m4 , m4
}: }:
@ -18,11 +17,6 @@ buildGoModule {
vendorSha256 = "sha256-12JnEU41sp9qRP07p502EYogveE+aNdfmLwlDRbIdxU="; vendorSha256 = "sha256-12JnEU41sp9qRP07p502EYogveE+aNdfmLwlDRbIdxU=";
postPatch = ''
demoPath="${geoclue2-with-demo-agent}/libexec/geoclue-2.0/demos/agent"
sed -i localtimed.go -e "s#/usr/lib/geoclue-2.0/demos/agent#$demoPath#"
'';
nativeBuildInputs = [ m4 ]; nativeBuildInputs = [ m4 ];
installPhase = '' installPhase = ''

View file

@ -12,21 +12,21 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mdcat"; pname = "mdcat";
version = "0.26.1"; version = "0.27.1";
src = fetchFromGitea { src = fetchFromGitea {
domain = "codeberg.org"; domain = "codeberg.org";
owner = "flausch"; owner = "flausch";
repo = "mdcat"; repo = "mdcat";
rev = "mdcat-${version}"; rev = "mdcat-${version}";
sha256 = "sha256-vB49EwQltonR9Uw8RRMZTPR4WkcylnIqiE0/8+t2R1Q="; sha256 = "sha256-iWFWpUyg/VYI+AKFsJe/rOYco+680l/bIHX0qXfD3u0=";
}; };
nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ]; nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ lib.optional stdenv.isDarwin Security; ++ lib.optional stdenv.isDarwin Security;
cargoSha256 = "sha256-v52ob5l5HiiZZmo88D9/ldFi0170/BuPzgKIt9ctSgU="; cargoSha256 = "sha256-e/yupkCqWZZCfD8brVb2yD4pt3ExSfwCm2bmTyjRGpA=";
checkInputs = [ ansi2html ]; checkInputs = [ ansi2html ];
# Skip tests that use the network and that include files. # Skip tests that use the network and that include files.
@ -43,15 +43,16 @@ rustPlatform.buildRustPackage rec {
postInstall = '' postInstall = ''
installManPage $releaseDir/build/mdcat-*/out/mdcat.1 installManPage $releaseDir/build/mdcat-*/out/mdcat.1
installShellCompletion --bash $releaseDir/build/mdcat-*/out/completions/mdcat.bash installShellCompletion \
installShellCompletion --fish $releaseDir/build/mdcat-*/out/completions/mdcat.fish --bash $releaseDir/build/mdcat-*/out/completions/mdcat.bash \
installShellCompletion --zsh $releaseDir/build/mdcat-*/out/completions/_mdcat --fish $releaseDir/build/mdcat-*/out/completions/mdcat.fish \
--zsh $releaseDir/build/mdcat-*/out/completions/_mdcat
''; '';
meta = with lib; { meta = with lib; {
description = "cat for markdown"; description = "cat for markdown";
homepage = "https://github.com/lunaryorn/mdcat"; homepage = "https://codeberg.org/flausch/mdcat";
license = with licenses; [ mpl20 ]; license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ davidtwco SuperSandro2000 ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };
} }

View file

@ -27073,6 +27073,8 @@ with pkgs;
hugo = callPackage ../applications/misc/hugo { buildGoModule = buildGo118Module; }; hugo = callPackage ../applications/misc/hugo { buildGoModule = buildGo118Module; };
gatekeeper = callPackage ../applications/networking/cluster/gatekeeper { };
go-org = callPackage ../applications/misc/go-org { }; go-org = callPackage ../applications/misc/go-org { };
hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { }; hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { };

View file

@ -160,6 +160,8 @@ mapAliases ({
tensorflow-tensorboard = tensorboard; # added 2022-03-06 tensorflow-tensorboard = tensorboard; # added 2022-03-06
tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25 tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05 tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29 WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29 webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
websocket_client = websocket-client; # added 2021-06-15 websocket_client = websocket-client; # added 2021-06-15

View file

@ -1325,6 +1325,8 @@ in {
bond-api = callPackage ../development/python-modules/bond-api { }; bond-api = callPackage ../development/python-modules/bond-api { };
bond-async = callPackage ../development/python-modules/bond-async { };
booleanoperations = callPackage ../development/python-modules/booleanoperations { }; booleanoperations = callPackage ../development/python-modules/booleanoperations { };
boolean-py = callPackage ../development/python-modules/boolean-py { }; boolean-py = callPackage ../development/python-modules/boolean-py { };
@ -7412,6 +7414,8 @@ in {
pyialarm = callPackage ../development/python-modules/pyialarm { }; pyialarm = callPackage ../development/python-modules/pyialarm { };
pyialarmxr = callPackage ../development/python-modules/pyialarmxr { };
pyicloud = callPackage ../development/python-modules/pyicloud { }; pyicloud = callPackage ../development/python-modules/pyicloud { };
PyICU = callPackage ../development/python-modules/pyicu { }; PyICU = callPackage ../development/python-modules/pyicu { };
@ -8452,6 +8456,8 @@ in {
python-hglib = callPackage ../development/python-modules/python-hglib { }; python-hglib = callPackage ../development/python-modules/python-hglib { };
python-homewizard-energy = callPackage ../development/python-modules/python-homewizard-energy { };
python-hosts = callPackage ../development/python-modules/python-hosts { }; python-hosts = callPackage ../development/python-modules/python-hosts { };
python-hpilo = callPackage ../development/python-modules/python-hpilo { }; python-hpilo = callPackage ../development/python-modules/python-hpilo { };
@ -8843,6 +8849,8 @@ in {
pywlroots = callPackage ../development/python-modules/pywlroots { }; pywlroots = callPackage ../development/python-modules/pywlroots { };
pyws66i = callPackage ../development/python-modules/pyws66i { };
pyxattr = callPackage ../development/python-modules/pyxattr { }; pyxattr = callPackage ../development/python-modules/pyxattr { };
pyworld = callPackage ../development/python-modules/pyworld { }; pyworld = callPackage ../development/python-modules/pyworld { };
@ -10650,8 +10658,6 @@ in {
typer = callPackage ../development/python-modules/typer { }; typer = callPackage ../development/python-modules/typer { };
types-cryptography = callPackage ../development/python-modules/types-cryptography { };
types-dateutil = callPackage ../development/python-modules/types-dateutil { }; types-dateutil = callPackage ../development/python-modules/types-dateutil { };
types-decorator = callPackage ../development/python-modules/types-decorator { }; types-decorator = callPackage ../development/python-modules/types-decorator { };
@ -10666,8 +10672,6 @@ in {
types-ipaddress = callPackage ../development/python-modules/types-ipaddress { }; types-ipaddress = callPackage ../development/python-modules/types-ipaddress { };
types-paramiko = callPackage ../development/python-modules/types-paramiko { };
types-protobuf = callPackage ../development/python-modules/types-protobuf { }; types-protobuf = callPackage ../development/python-modules/types-protobuf { };
types-pytz = callPackage ../development/python-modules/types-pytz { }; types-pytz = callPackage ../development/python-modules/types-pytz { };
@ -11364,6 +11368,8 @@ in {
yoda = toPythonModule (pkgs.yoda.override { inherit python; }); yoda = toPythonModule (pkgs.yoda.override { inherit python; });
yolink-api = callPackage ../development/python-modules/yolink-api { };
youless-api = callPackage ../development/python-modules/youless-api { }; youless-api = callPackage ../development/python-modules/youless-api { };
youtube-dl = callPackage ../tools/misc/youtube-dl { }; youtube-dl = callPackage ../tools/misc/youtube-dl { };