Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2022-11-04 00:16:50 +00:00 committed by GitHub
commit a0c026a0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
156 changed files with 1321 additions and 591 deletions

View File

@ -1670,9 +1670,9 @@ If you need to change a package's attribute(s) from `configuration.nix` you coul
```nix
nixpkgs.config.packageOverrides = super: {
python = super.python.override {
python3 = super.python3.override {
packageOverrides = python-self: python-super: {
twisted = python-super.twisted.overrideAttrs (oldAttrs: {
twisted = python-super.twisted.overridePythonAttrs (oldAttrs: {
src = super.fetchPypi {
pname = "twisted";
version = "19.10.0";

View File

@ -1135,10 +1135,10 @@ rec {
type = toType;
});
config = mkMerge [
{
(optionalAttrs (options ? warnings) {
warnings = optional (warn && fromOpt.isDefined)
"The option `${showOption from}' defined in ${showFiles fromOpt.files} has been renamed to `${showOption to}'.";
}
})
(if withPriority
then mkAliasAndWrapDefsWithPriority (setAttrByPath to) fromOpt
else mkAliasAndWrapDefinitions (setAttrByPath to) fromOpt)

View File

@ -348,6 +348,13 @@ checkConfigOutput 'ok' config.freeformItems.foo.bar ./adhoc-freeformType-survive
# because of an `extendModules` bug, issue 168767.
checkConfigOutput '^1$' config.sub.specialisation.value ./extendModules-168767-imports.nix
# doRename works when `warnings` does not exist.
checkConfigOutput '^1234$' config.c.d.e ./doRename-basic.nix
# doRename adds a warning.
checkConfigOutput '^"The option `a\.b. defined in `.*/doRename-warnings\.nix. has been renamed to `c\.d\.e.\."$' \
config.result \
./doRename-warnings.nix
cat <<EOF
====== module tests ======
$pass Pass

View File

@ -0,0 +1,11 @@
{ lib, ... }: {
imports = [
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
];
options = {
c.d.e = lib.mkOption {};
};
config = {
a.b = 1234;
};
}

View File

@ -0,0 +1,14 @@
{ lib, config, ... }: {
imports = [
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
];
options = {
warnings = lib.mkOption { type = lib.types.listOf lib.types.str; };
c.d.e = lib.mkOption {};
result = lib.mkOption {};
};
config = {
a.b = 1234;
result = lib.concatStringsSep "%" config.warnings;
};
}

View File

@ -3478,6 +3478,12 @@
githubId = 8852888;
name = "David Izquierdo";
};
djacu = {
email = "daniel.n.baker@gmail.com";
github = "djacu";
githubId = 7043297;
name = "Daniel Baker";
};
djanatyn = {
email = "djanatyn@gmail.com";
github = "djanatyn";
@ -4450,6 +4456,13 @@
githubId = 9959940;
name = "Andreas Fehn";
};
felipeqq2 = {
name = "Felipe Silva";
email = "felipeqq2@outlook.com";
github = "felipeqq2";
githubId = 71830138;
keys = [{ fingerprint = "F5F0 2BCE 3580 BF2B 707A AA8C 2FD3 4A9E 2671 91B8"; }];
};
felixscheinost = {
name = "Felix Scheinost";
email = "felix.scheinost@posteo.de";
@ -9422,6 +9435,12 @@
githubId = 11706080;
name = "Moritz Clasmeier";
};
mtoohey = {
name = "Matthew Toohey";
email = "contact@mtoohey.com";
github = "mtoohey31";
githubId = 36740602;
};
MtP = {
email = "marko.nixos@poikonen.de";
github = "MtP76";

View File

@ -720,6 +720,13 @@
been removed due to lack of upstream maintenance.
</para>
</listitem>
<listitem>
<para>
The <literal>trace</literal> binary from
<literal>perf-linux</literal> package has been removed, due to
being a duplicate of the <literal>perf</literal> binary.
</para>
</listitem>
<listitem>
<para>
The <literal>aws</literal> package has been removed due to
@ -833,6 +840,16 @@
due to upstream dropping support.
</para>
</listitem>
<listitem>
<para>
<literal>cassandra_2_1</literal> and
<literal>cassandra_2_2</literal> have been removed. Please
update to <literal>cassandra_3_11</literal> or
<literal>cassandra_3_0</literal>. See the
<link xlink:href="https://github.com/apache/cassandra/blob/cassandra-3.11.14/NEWS.txt">changelog</link>
for more information about the upgrade process.
</para>
</listitem>
<listitem>
<para>
<literal>mysql57</literal> has been removed. Please update to
@ -857,6 +874,13 @@
option, and it is enabled by default, for servers.
</para>
</listitem>
<listitem>
<para>
<literal>percona-server56</literal> has been removed. Please
migrate to <literal>mysql</literal> or
<literal>mariadb</literal> if possible.
</para>
</listitem>
<listitem>
<para>
<literal>stylua</literal> no longer accepts
@ -1153,6 +1177,13 @@
<link xlink:href="options.html#opt-systemd.oomd.enableUserServices">systemd.oomd.enableUserServices</link>.
</para>
</listitem>
<listitem>
<para>
The <literal>tt-rss</literal> service performs two database
migrations when you first use its web UI after upgrade.
Consider backing up its database before updating.
</para>
</listitem>
<listitem>
<para>
The <literal>pass-secret-service</literal> package now

View File

@ -235,6 +235,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
`python3.pkgs.influxgraph` packages, have been removed due to lack of upstream
maintenance.
- The `trace` binary from `perf-linux` package has been removed, due to being a duplicate of the `perf` binary.
- The `aws` package has been removed due to being abandoned by the upstream. It is recommended to use `awscli` or `awscli2` instead.
- The [CEmu TI-84 Plus CE emulator](https://ce-programming.github.io/CEmu) package has been renamed to `cemu-ti`. The [Cemu Wii U emulator](https://cemu.info) is now packaged as `cemu`.
@ -261,11 +263,15 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
- `k3s` no longer supports docker as runtime due to upstream dropping support.
- `cassandra_2_1` and `cassandra_2_2` have been removed. Please update to `cassandra_3_11` or `cassandra_3_0`. See the [changelog](https://github.com/apache/cassandra/blob/cassandra-3.11.14/NEWS.txt) for more information about the upgrade process.
- `mysql57` has been removed. Please update to `mysql80` or `mariadb`. See the [upgrade guide](https://mariadb.com/kb/en/upgrading-from-mysql-to-mariadb/) for more information.
- Consequently, `cqrlog` and `amorok` now use `mariadb` instead of `mysql57` for their embedded databases. Running `mysql_upgrade` may be neccesary.
- `k3s` supports `clusterInit` option, and it is enabled by default, for servers.
- `percona-server56` has been removed. Please migrate to `mysql` or `mariadb` if possible.
- `stylua` no longer accepts `lua52Support` and `luauSupport` overrides, use `features` instead, which defaults to `[ "lua54" "luau" ]`.
- `pkgs.fetchNextcloudApp` has been rewritten to circumvent impurities in e.g. tarballs from GitHub and to make it easier to
@ -352,6 +358,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
[systemd.oomd.enableRootSlice](options.html#opt-systemd.oomd.enableRootSlice),
[systemd.oomd.enableSystemSlice](options.html#opt-systemd.oomd.enableSystemSlice),
and [systemd.oomd.enableUserServices](options.html#opt-systemd.oomd.enableUserServices).
- The `tt-rss` service performs two database migrations when you first use its web UI after upgrade. Consider backing up its database before updating.
- The `pass-secret-service` package now includes systemd units from upstream, so adding it to the NixOS `services.dbus.packages` option will make it start automatically as a systemd user service when an application tries to talk to the libsecret D-Bus API.

View File

@ -378,7 +378,7 @@ in
'')
cfg.xmppEnvironments))
+ ''
${pkgs.jre8_headless}/bin/java -Djava.util.logging.config.file=${./logging.properties-journal} -Dconfig.file=${configFile} -jar ${pkgs.jibri}/opt/jitsi/jibri/jibri.jar --config /var/lib/jibri/jibri.json
${pkgs.jdk11_headless}/bin/java -Djava.util.logging.config.file=${./logging.properties-journal} -Dconfig.file=${configFile} -jar ${pkgs.jibri}/opt/jitsi/jibri/jibri.jar --config /var/lib/jibri/jibri.json
'';
environment.HOME = "/var/lib/jibri";

View File

@ -110,8 +110,6 @@ in {
cage = handleTest ./cage.nix {};
cagebreak = handleTest ./cagebreak.nix {};
calibre-web = handleTest ./calibre-web.nix {};
cassandra_2_1 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_2_1; };
cassandra_2_2 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_2_2; };
cassandra_3_0 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_3_0; };
cassandra_3_11 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_3_11; };
ceph-multi-node = handleTestOn ["x86_64-linux"] ./ceph-multi-node.nix {};

View File

@ -34,9 +34,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.wait_for_unit("prosody.service")
machine.wait_for_unit("jibri.service")
machine.wait_until_succeeds(
"journalctl -b -u jitsi-videobridge2 -o cat | grep -q 'Performed a successful health check'", timeout=30
)
machine.wait_until_succeeds(
"journalctl -b -u prosody -o cat | grep -q 'Authenticated as focus@auth.machine'", timeout=31
)

View File

@ -0,0 +1,61 @@
{ lib
, stdenv
, fetchFromGitLab
, meson
, ninja
, pkg-config
, glib
, gtk3
, libsoup
, keybinder3
, gst_all_1
, wrapGAppsHook
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "goodvibes";
version = "0.7.5";
src = fetchFromGitLab {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-CE9f0GnXr7wSpp8jyW0ZxGKx16r6tOaObzQXKcy5nPY=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook
appstream-glib
desktop-file-utils
];
buildInputs = [
glib
gtk3
libsoup
keybinder3
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
]);
postPatch = ''
patchShebangs scripts
'';
meta = with lib; {
description = "A lightweight internet radio player";
homepage = "https://gitlab.com/goodvibes/goodvibes";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -1,6 +1,5 @@
{ lib
, stdenv
, fetchpatch
, fetchFromGitHub
, rustPlatform
, meson
@ -22,26 +21,18 @@
stdenv.mkDerivation rec {
pname = "netease-cloud-music-gtk";
version = "2.0.2";
version = "2.0.3";
src = fetchFromGitHub {
owner = "gmg137";
repo = pname;
rev = version;
hash = "sha256-0pmuzdRQBdUS4ORh3zJQWb/hbhk7SY3P4QMwoy4Mgp8=";
hash = "sha256-A3mvf6TZ3+aiWA6rg9G5NMaDKvO0VQzwIM1t0MaTpTc=";
};
patches = [
(fetchpatch {
name = "add-cargo-lock-for-2.0.2.patch";
url = "https://github.com/gmg137/netease-cloud-music-gtk/commit/21b5d40d49e661fe7bd35ed10bb8b883ef7fcd9f.patch";
hash = "sha256-pSgc+yJQMNyLPYUMc1Kp/Kr+++2tH8srIM5PgVeoZ+E=";
})
];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src patches;
hash = "sha256-7Z5i5Xqtk4ZbBXSVYg1e05ENa2swC88Ctd2paE60Yyo=";
inherit src;
hash = "sha256-Y7rZTbg0zd/eoo6E8TmV8JJPs1N0bLlBjvB6W07Kelg=";
};
nativeBuildInputs = [

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "tagger";
version = "2022.10.5";
version = "2022.10.6";
src = fetchFromGitHub {
owner = "nlogozzo";
repo = "NickvisionTagger";
rev = version;
hash = "sha256-rkpeecJUOBom0clrwftBa/VxACTihfMfWVmfbZhMQ50=";
hash = "sha256-eo7H2pNtSChUAqjO0ocFjsGt4I0e8ZOHbZ/GoZgUva8=";
};
nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
let
pname = "ledger-live-desktop";
version = "2.49.0";
version = "2.49.2";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-5HrPeLeMPh6hc1OLZVSPWMSV+ZwjgQyUmFCW+ZyYdCA=";
hash = "sha256-8KGZRTJu3uGFyf4vogoC9kDrKegD8Op4Z7gqQK+UFl8=";
};
appimageContents = appimageTools.extractType2 {

View File

@ -2,6 +2,8 @@
, trivialBuild
, fetchFromGitHub
, emacs
, evil
, markdown-mode
}:
trivialBuild rec {
@ -15,11 +17,9 @@ trivialBuild rec {
hash = "sha256-HBBuZ1VWIn6kwK5CtGIvHM1+9eiNiKPH0GUsyvpUVN8=";
};
buildInputs = [
emacs
] ++ propagatedUserEnvPkgs;
buildInputs = propagatedUserEnvPkgs;
propagatedUserEnvPkgs = with emacs.pkgs; [
propagatedUserEnvPkgs = [
evil
markdown-mode
];

View File

@ -9,11 +9,11 @@ let
in
stdenv.mkDerivation rec {
pname = "vis";
version = "0.7";
version = "0.8";
src = fetchFromGitHub {
rev = "v${version}";
sha256 = "1g05ncsnk57kcqm9wsv6sz8b24kyzj8r5rfpa1wfwj8qkjzx3vji";
sha256 = "sha256-XvWj6fZxzXeRA5oCAqIIwlfjrJcHnDrjeiPExEQKSkY=";
repo = "vis";
owner = "martanne";
};

View File

@ -18,17 +18,17 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
sha256 = {
x86_64-linux = "0cf6zlwslii30877p5vb0varxs6ai5r1g9wxx1b45yrmp7rvda91";
x86_64-darwin = "0j9kb7j2rvrgc2dzxhi1nzs78lzhpkfk3gcqcq84hcsga0n59y03";
aarch64-linux = "1bf2kvnd2pz2sk26bq1wm868bvvmrg338ipysmryilhk0l490vcx";
aarch64-darwin = "1rwwrzabxgw2wryi6rp8sc1jqps54p7a3cjpn4q94kds8rk5j0qn";
armv7l-linux = "0p2kwfq74lz43vpfh90xfrqsz7nwgcjsvqwkifkchp1m3xnil742";
x86_64-linux = "1dcp6r78kaq3wzcw7dfra59kfpdzqy9qnlyp1ywayxh610ryjyfc";
x86_64-darwin = "0ypxjh5z0v83y0wb22m942qqlvx5df7k4dk8ip9wqd4p7h8540q8";
aarch64-linux = "1qq4zg0j3rpx06cqaic7a1x7ckk5wf8w1gp5y8hwhvkym4s8g4i7";
aarch64-darwin = "18hrsvr7hgmlpi64dbk581i516my6c5zwz6g8awp4fhxilk0wbrg";
armv7l-linux = "1y357ci4gllxg26m5qdv9652i5rra5vj972l7kdnxiimfgm6h83b";
}.${system} or throwSystem;
in
callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.72.2";
version = "1.73.0";
pname = "vscode";
executableName = "code" + lib.optionalString isInsiders "-insiders";

View File

@ -3,13 +3,13 @@
mkDerivation rec {
pname = "AusweisApp2";
version = "1.24.3";
version = "1.24.4";
src = fetchFromGitHub {
owner = "Governikus";
repo = "AusweisApp2";
rev = version;
sha256 = "sha256-zwAmMj9Px27e/xJPAsOUh4saCZNQYBdse0bcZu8M3xA=";
sha256 = "sha256-YO0K8L03n/KQcINRKwls8BxG8nv5k3Myd95AU8agigI=";
};
nativeBuildInputs = [ cmake pkg-config ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "dstask";
version = "0.23.1";
version = "0.25";
src = fetchFromGitHub {
owner = "naggie";
repo = pname;
rev = "v${version}";
sha256 = "0rfz8jim0xqcwdb5n28942v9r3hbvhjrwdgzvbwc9f9psqg2s8d2";
sha256 = "sha256-nsEn9ZhrSWO0kltyEXaehMcFpqVbivSsXOxu/AX7A9U=";
};
# Set vendorSha256 to null because dstask vendors its dependencies (meaning
@ -30,8 +30,6 @@ buildGoModule rec {
"-X github.com/naggie/dstask.GIT_COMMIT=v${version}"
];
subPackages = [ "cmd/dstask.go" ];
meta = with lib; {
description = "Command line todo list with super-reliable git sync";
homepage = src.meta.homepage;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "logseq";
version = "0.8.9";
version = "0.8.10";
src = fetchurl {
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
sha256 = "sha256-s9xG2SLkuaz8wRK47ywSw9JjsJlRjaMNeRmQY0ZnrK8=";
sha256 = "sha256-n6uRMkV/+U2M0/FjQJx0LIDGgeIX6TY58j2sweSmlbc=";
name = "${pname}-${version}.AppImage";
};

View File

@ -34,13 +34,13 @@
stdenv.mkDerivation rec {
pname = "waybar";
version = "0.9.14";
version = "0.9.15";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = version;
sha256 = "sha256-1tnFBUB7/MjnrCkfKOR2SZ/GB5Ik115zsnwjkNMB05E=";
sha256 = "sha256-u2nEMS0lJ/Kf09+mWYWQLji9MVgjYAfUi5bmPEfTfFc=";
};
nativeBuildInputs = [

View File

@ -19,16 +19,16 @@ let
in
buildGoModule rec {
pname = "argo";
version = "3.4.2";
version = "3.4.3";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo";
rev = "v${version}";
sha256 = "sha256-ST5XVgij1h+4EWLlwdFmIYZ0RPSH5IoTw0YdP0a+Sa4=";
sha256 = "sha256-eVd3tH77Z3AlNpMEx+xnOQTELXFeGTLIslE++++Sdkw=";
};
vendorSha256 = "sha256-h6Ioy1wBOAOCGcqcLlPyqX5pyx22BIiHKx4ct0HmnyA=";
vendorSha256 = "sha256-n8NAxfNZ/q2gdA5N7dTNgvdB549aiRxFPJO4UsfIn2U=";
doCheck = false;

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "argocd";
version = "2.4.15";
version = "2.5.1";
src = fetchFromGitHub {
owner = "argoproj";
repo = "argo-cd";
rev = "v${version}";
sha256 = "sha256-2D9JYQshq9riZsZxFpV10b8bnkg82Jnh4Cx/TSryZ4I=";
sha256 = "sha256-UwMJnmvwcN/OuIbFJJEE7A5WFjzfvpe5ljMmbSLQsnA=";
};
vendorSha256 = "sha256-n6elT6ETOtbZsFqfwMo9d2qqamS8jdrROjFjStNkalc=";
vendorSha256 = "sha256-LmIvNenKV6ie2FZBj/jN70pKe1m8kFg/IQ8z5q8tO8A=";
# Set target as ./cmd per cli-local
# https://github.com/argoproj/argo-cd/blob/master/Makefile#L227
@ -26,7 +26,7 @@ buildGoModule rec {
"-X ${package_url}.gitCommit=${src.rev}"
"-X ${package_url}.gitTag=${src.rev}"
"-X ${package_url}.gitTreeState=clean"
"-X ${package_url}.kubectlVersion=v0.23.1"
"-X ${package_url}.kubectlVersion=v0.24.2"
# NOTE: Update kubectlVersion when upgrading this package with
# https://github.com/argoproj/argo-cd/blob/v${version}/go.mod#L95
# Per https://github.com/argoproj/argo-cd/blob/master/Makefile#L18

View File

@ -2,17 +2,17 @@
buildGoModule rec {
pname = "glooctl";
version = "1.12.31";
version = "1.12.33";
src = fetchFromGitHub {
owner = "solo-io";
repo = "gloo";
rev = "v${version}";
hash = "sha256-t/i1UhPfhT7+HAhVBhZKQezqpFrBrzimUHjIozQeJnk=";
hash = "sha256-T/fkQxRcwDYppGpAu1sBg8Oe8dAa4Bk/jt4jYMikPBE=";
};
subPackages = [ "projects/gloo/cli/cmd" ];
vendorSha256 = "sha256-MRBnwpuqYElxA4V1x7F4wccKV3T51RopfT37QUr7G4Y=";
vendorSha256 = "sha256-G26BfTdXMQP0U4FDRYkJNfUOGfqow714WPNBnBrXLZQ=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "temporal-cli";
version = "1.17.0";
version = "1.17.1";
src = fetchFromGitHub {
owner = "temporalio";
repo = "tctl";
rev = "v${version}";
sha256 = "sha256-XEN4Ntt7yHng1+3E5SlxthEWPXJ+kSx9L1GbW9bV03Y=";
sha256 = "sha256-rdDtgSM2wZsHYv9tBNdcSHYXdvvEk5wqdLr1KjoPz1E=";
};
vendorSha256 = "sha256-9bgovXVj+qddfDSI4DTaNYH4H8Uc4DZqeVYG5TWXTNw=";

View File

@ -147,14 +147,13 @@
"version": "1.0.0"
},
"baiducloud": {
"deleteVendor": true,
"hash": "sha256-mM4wikawrXdePX2ZemsjyoHrf0LQ0gwoUspcbvBUSeA=",
"hash": "sha256-NKeCPoyeWGWyWScCqCsm4s0U9zCojJ6+OOr+nDdIFqM=",
"owner": "baidubce",
"provider-source-address": "registry.terraform.io/baidubce/baiducloud",
"repo": "terraform-provider-baiducloud",
"rev": "v1.16.3",
"vendorHash": "sha256-UxVRz0Nhz6jqXPlAAJZ+GJFu30JJ4hYvVi5OlXInE0g=",
"version": "1.16.3"
"rev": "v1.17.0",
"vendorHash": null,
"version": "1.17.0"
},
"bigip": {
"hash": "sha256-uSe+J4AlW8Dt96BVF1ZI/yrgWUbZsl64b/D+k5ysHC0=",
@ -350,13 +349,13 @@
"version": "0.14.1"
},
"docker": {
"hash": "sha256-hUKe9VjaNbiPhbxyFKly5PlKWngU2pl6ygwRJSokxr8=",
"hash": "sha256-/vz4rjENlVl9gqtxfqCV+k2SgsHZBcmA9Mz10Y2ay/E=",
"owner": "kreuzwerker",
"provider-source-address": "registry.terraform.io/kreuzwerker/docker",
"repo": "terraform-provider-docker",
"rev": "v2.22.0",
"vendorHash": "sha256-9dsmWkIYrN+GDd/r7kKYUyj+77hKuVilfpVUMpQMseo=",
"version": "2.22.0"
"rev": "v2.23.0",
"vendorHash": "sha256-0JRJAwc4LbPXi6GJdrIGwuIaCzaP5MtIMuijYoOEjYA=",
"version": "2.23.0"
},
"elasticsearch": {
"hash": "sha256-+cktPArBOysc4V+uR3KWsVlxtxSIbuVMCmPSU21xF/U=",
@ -451,24 +450,24 @@
"version": "3.18.0"
},
"google": {
"hash": "sha256-LyPvK1IPCCfYcRfh9nPyPBZh1cU3sSkUb6tYKUko2C4=",
"hash": "sha256-MvLzXucKSqyTO9bjbXtBzh3XsOizw0waMGDFhrYtoWM=",
"owner": "hashicorp",
"provider-source-address": "registry.terraform.io/hashicorp/google",
"proxyVendor": true,
"repo": "terraform-provider-google",
"rev": "v4.42.0",
"rev": "v4.42.1",
"vendorHash": "sha256-Hzl95NLEZlvTBpCGJYzF5rtHWfYe26TwW0pbtqWmxOo=",
"version": "4.42.0"
"version": "4.42.1"
},
"google-beta": {
"hash": "sha256-Yi5nFjnYXFztqQURX3LIdmFNam7Ebhp0jTTXyTcX28Q=",
"hash": "sha256-dtj1LWIXvjInGtbXy5FBdNmQzp+PRKXpnYzsSL/fIaE=",
"owner": "hashicorp",
"provider-source-address": "registry.terraform.io/hashicorp/google-beta",
"proxyVendor": true,
"repo": "terraform-provider-google-beta",
"rev": "v4.42.0",
"rev": "v4.42.1",
"vendorHash": "sha256-Hzl95NLEZlvTBpCGJYzF5rtHWfYe26TwW0pbtqWmxOo=",
"version": "4.42.0"
"version": "4.42.1"
},
"googleworkspace": {
"hash": "sha256-dedYnsKHizxJZibuvJOMbJoux0W6zgKaK5fxIofKqCY=",
@ -580,13 +579,13 @@
"version": "0.1.2"
},
"ibm": {
"hash": "sha256-OcOmcTZe2J0cz9glVi/oLp55QrhsOpT0sj0PS32vnow=",
"hash": "sha256-zxPl76D5ddw+7WowQf4LY9MYTGfX3CMEBQofXKwbowQ=",
"owner": "IBM-Cloud",
"provider-source-address": "registry.terraform.io/IBM-Cloud/ibm",
"repo": "terraform-provider-ibm",
"rev": "v1.46.0",
"vendorHash": "sha256-Zhk2Q7tnL3P/uLo/61o/XiiMKBdmb2749S/Ax1ZrxAo=",
"version": "1.46.0"
"rev": "v1.47.0",
"vendorHash": "sha256-Ggiu+nGTABxK+HiBvY2l/l3+Gqg4GoczZJf69v3Ylfk=",
"version": "1.47.0"
},
"icinga2": {
"hash": "sha256-Y/Oq0aTzP+oSKPhHiHY9Leal4HJJm7TNDpcdqkUsCmk=",
@ -843,13 +842,13 @@
"version": "1.7.1"
},
"oci": {
"hash": "sha256-PSkD2HXGmSimJYQPZKuVCGvEa0sSNc4XMRRrM5O+/QE=",
"hash": "sha256-7822cLdHruCOYu0UGX5KV0f4+W2lQSb2b5SaLDM8cts=",
"owner": "oracle",
"provider-source-address": "registry.terraform.io/oracle/oci",
"repo": "terraform-provider-oci",
"rev": "v4.96.0",
"rev": "v4.98.0",
"vendorHash": null,
"version": "4.96.0"
"version": "4.98.0"
},
"okta": {
"hash": "sha256-COGXHUjXYGB2QDY0iBG+MvNcxGy87vpGIerQU2XXEmw=",
@ -888,13 +887,13 @@
"version": "1.49.0"
},
"opentelekomcloud": {
"hash": "sha256-oqagD7YK/HyAoeI5WBrHuAmWiLoz/1441zne8vqN3A8=",
"hash": "sha256-L28nrY2/UBi/W/mmK5ZPQub2Jf9vMethQo6JsSkepwU=",
"owner": "opentelekomcloud",
"provider-source-address": "registry.terraform.io/opentelekomcloud/opentelekomcloud",
"repo": "terraform-provider-opentelekomcloud",
"rev": "v1.31.6",
"vendorHash": "sha256-AuxvQffKOHPqda8nMJPxWVMui9+d8IhmbPsZK/9A1yI=",
"version": "1.31.6"
"rev": "v1.31.7",
"vendorHash": "sha256-wEtpZzrQoL0yJLsviwHI019KI04O+FAkXMsaJFztL/8=",
"version": "1.31.7"
},
"opsgenie": {
"hash": "sha256-DhECesGkBaQuk43pF4xk6zln+FzgL+1A1rSm0sqg7XQ=",
@ -1086,13 +1085,13 @@
"version": "0.7.1"
},
"spotinst": {
"hash": "sha256-mcj16B7VM5mc5UUXSLdcGApPac6xPU86H0lgpeR1FMs=",
"hash": "sha256-9i8mHWn9+ey0tHPXOjZyNixcrdgAl2Y8sJq/q4WlZzo=",
"owner": "spotinst",
"provider-source-address": "registry.terraform.io/spotinst/spotinst",
"repo": "terraform-provider-spotinst",
"rev": "v1.86.0",
"rev": "v1.87.0",
"vendorHash": "sha256-INJLhHiMs/bk3Y8/shtQaW10bUnuhCXdTa8wCNZf0+U=",
"version": "1.86.0"
"version": "1.87.0"
},
"stackpath": {
"hash": "sha256-nTR9HgSmuNCt7wxE4qqIH2+HA2igzqVx0lLRx6FoKrE=",
@ -1131,13 +1130,13 @@
"version": "0.13.5"
},
"tencentcloud": {
"hash": "sha256-0nPMT5jZxqKbCLQmjBywCBh1T2P2Q1NdghXH12BXaE4=",
"hash": "sha256-lWePRU8kmOjOq9giCMdU5Aeb74WR/s6wIzShjzDBFjc=",
"owner": "tencentcloudstack",
"provider-source-address": "registry.terraform.io/tencentcloudstack/tencentcloud",
"repo": "terraform-provider-tencentcloud",
"rev": "v1.78.6",
"rev": "v1.78.7",
"vendorHash": null,
"version": "1.78.6"
"version": "1.78.7"
},
"tfe": {
"hash": "sha256-MDlRwB2iVi/Rv7/UtukI6mIDImz8Gnpm5Qv5R6EDpiU=",
@ -1158,13 +1157,13 @@
"version": "1.0.0"
},
"time": {
"hash": "sha256-tDYrKU/kggrv/p8QZ0LbHjQSOaNrQ0qy9ekY7DAXqEA=",
"hash": "sha256-FehWmIkL0o2pleafN/mlBa46cdFqCFUS+coOwFPdb9M=",
"owner": "hashicorp",
"provider-source-address": "registry.terraform.io/hashicorp/time",
"repo": "terraform-provider-time",
"rev": "v0.9.0",
"vendorHash": "sha256-I4CnaSyn32S7FM56dYWZhzGUKByP2DXD0t/eBOL2ALs=",
"version": "0.9.0"
"rev": "v0.9.1",
"vendorHash": "sha256-MLh/we8KNrDBy2BAMZ6B/gBe0p3xJ7l/imNzTHciJjs=",
"version": "0.9.1"
},
"tls": {
"hash": "sha256-DBOkfvT0+mlgaWiBHggZUKvHL8jLZjQjRi0xFZKgcoM=",

View File

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "gmailctl";
version = "0.10.5";
version = "0.10.6";
src = fetchFromGitHub {
owner = "mbrt";
repo = "gmailctl";
rev = "v${version}";
sha256 = "sha256-H1Nuu/T55e5zWUmofKoyVSA4TaJBdK+JeZtw+G/sC54=";
sha256 = "sha256-OpRkBHNWRrBhh6nGrV7dZT01xsSlbANCk+g7b8SidG0=";
};
vendorSha256 = "sha256-ivkTtcvoH+i58iQM9T0xio0YUeMhNzDcmrCSuGFljEI=";
vendorSha256 = "sha256-+r0WHrKARcxW1hUY1HwAXk0X6ZQrbgBj9+GjIJV5DS0=";
nativeBuildInputs = [
installShellFiles

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ... }:
{ lib, stdenv, fetchurl, libxcrypt, ... }:
stdenv.mkDerivation rec {
pname = "resilio-sync";
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
install -D rslsync "$out/bin/rslsync"
patchelf \
--interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc ]} "$out/bin/rslsync"
--set-rpath ${lib.makeLibraryPath [ stdenv.cc.libc libxcrypt ]} "$out/bin/rslsync"
'';
meta = with lib; {

View File

@ -4,16 +4,16 @@ let
common = { stname, target, postInstall ? "" }:
buildGoModule rec {
pname = stname;
version = "1.22.0";
version = "1.22.1";
src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
hash = "sha256-jAXxgSm0eEdFylukYGhIGtA0KniMiln1BIfuGZoboSM=";
hash = "sha256-XndTMPO1lN6bsjeHbvrZ+i4VwaKoUOcWOfbVQ2E7/eo=";
};
vendorSha256 = "sha256-yabX1A4Q/0ZQFMCrvO5oCI5y0o/dqQy3IplxZ6SsHuw=";
vendorSha256 = "sha256-ZxA05K5zKmQIm2R525DNXpGXqwM33j3PCuPN5d2qcj8=";
doCheck = false;

View File

@ -0,0 +1,43 @@
{ lib, writeScript, qt5, fetchurl, autoPatchelfHook }:
qt5.mkDerivation rec {
pname = "synology-cloud-sync-decryption-tool";
version = "027";
src = fetchurl {
url = "https://global.download.synology.com/download/Utility/SynologyCloudSyncDecryptionTool/${version}/Linux/x86_64/SynologyCloudSyncDecryptionTool-${version}_x64.tar.gz";
sha256 = "sha256-EWxADvkfhnMwHIauJj3pH6SvSkkrc4cwAhsf1pWOOWQ=";
};
nativeBuildInputs = [ autoPatchelfHook ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp $NIX_BUILD_TOP/SynologyCloudSyncDecryptionTool $out/bin
runHook postInstall
'';
passthru.updateScript = writeScript "update-synology-cloud-sync-decryption-tool" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl common-updater-scripts
set -euo pipefail
version="$(curl -s https://www.synology.com/en-uk/releaseNote/SynologyCloudSyncDecryptionTool \
| grep -oP '(?<=data-version=")\d+' \
| head -1)"
update-source-version synology-cloud-sync-decryption-tool "$version"
'';
meta = with lib; {
description = "A desktop tool to decrypt data encrypted by Cloud Sync.";
homepage = "https://kb.synology.com/en-global/DSM/help/SynologyCloudSyncDecryptionTool/synologycloudsyncdecryptiontool";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ kalbasit ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -11,22 +11,23 @@
rustPlatform.buildRustPackage rec {
pname = "karlender";
version = "0.6.2";
version = "0.7.1";
src = fetchFromGitLab {
owner = "loers";
repo = "karlender";
owner = "floers";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YF46C+Vz7eGl4lqOQXqiQqaa6ieo1p8l6QCh4oNSJEg=";
hash = "sha256-dgxhXxtwQvaWMLCh8ac67L+R6jnJQdFzoyWKyrboPTk=";
};
cargoSha256 = "sha256-Kx5K2tp5PAQWac8LVrmOsk8Qf9m34SJ1vyfv7Ef2Wr0=";
cargoHash = "sha256-DsayK3wk2BVG2tqijWWQqUv5uPb/lcZXmwy8pbmd430=";
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
glib
];
buildInputs = [
gtk4
libadwaita
@ -52,7 +53,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Mobile-friendly GTK calendar application";
homepage = "https://gitlab.com/loers/karlender";
homepage = "https://gitlab.com/floers/karlender";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ chuangzhu ];
platforms = platforms.linux;

View File

@ -41,12 +41,12 @@
stdenv.mkDerivation rec {
pname = "zotero";
version = "6.0.15";
version = "6.0.16";
src = fetchurl {
url =
"https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
sha256 = "sha256-h/hyaRjunVkVoHmVpru481goN73Ano1TDRDDg5AVoTI=";
sha256 = "sha256-PqC7PqpRSm/Yt3pK8TuzcrhtfJSeJX6th2xb2n/Bul8=";
};
nativeBuildInputs = [ wrapGAppsHook ];

View File

@ -13,13 +13,13 @@
mkDerivation rec {
pname = "guglielmo";
version = "0.3";
version = "0.4";
src = fetchFromGitHub {
owner = "marcogrecopriolo";
repo = pname;
rev = "v${version}";
sha256 = "0s1iz9s0k897jayiwl3yr9ylpclw6bzcpmzhxqn0mkd7jhgfl4vx";
sha256 = "sha256-djBQTYbpgPFBtQZ9fZBpECP20RxB49AdxLbq8mUU6rg=";
};
postInstall = ''

View File

@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
name = "CVE-2022-27419";
url = "https://github.com/merbanan/rtl_433/commit/37455483889bd1c641bdaafc493d1cc236b74904.patch";
sha256 = "172jndh8x5nlcbx2jp5y8fgfxsawwfz95037pcjp170gf93ijy88";
}) ( fetchpatch {
name = "CVE-2022-25051";
url = "https://github.com/merbanan/rtl_433/commit/2dad7b9fc67a1d0bfbe520fbd821678b8f8cc7a8.patch";
sha256 = "sha256-IfxwdnuA7WbaVdxMTln069mA5hKNuPz+XYQaNA4YY24=";
})];
nativeBuildInputs = [ pkg-config cmake ];

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "gh";
version = "2.18.1";
version = "2.19.0";
src = fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-igtbMrm4cgaBWxjvv8UjqvPNFSi1UxNgplWYArqRRi0=";
sha256 = "sha256-SqKjN9Met+NsfaQO3PGTPua/ZVaorYbSJHWeXgEm524=";
};
vendorSha256 = "sha256-XWquL/+47t467kOYpDgMmT7t3hbdCiPQnatRW+VtaYc=";
vendorSha256 = "sha256-VWeUVdrAzbS7OmHHZIPlyq6WVj4I39n7ozS7n3ReqJk=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -0,0 +1,56 @@
{ lib
, stdenv
, fetchurl
, makeWrapper
, copyDesktopItems
, makeDesktopItem
, jre
}:
stdenv.mkDerivation rec {
pname = "gitnuro";
version = "1.1.0";
src = fetchurl {
url = "https://github.com/JetpackDuba/Gitnuro/releases/download/v${version}/Gitnuro-linux-${version}.jar";
hash = "sha256-tAFFl14mmXhLr6V/vTDe9lwX7trsaTWgIqkwxD3mBUw=";
};
icon = fetchurl {
url = "https://raw.githubusercontent.com/JetpackDuba/Gitnuro/4cfc45069c176f807d9bfb1a7cba410257078d3c/icons/logo.svg";
hash = "sha256-QGJcWTSJesIpDArOWiS3Kn1iznzeMFzvqS+CuNXh3as=";
};
dontUnpack = true;
nativeBuildInputs = [
makeWrapper
copyDesktopItems
];
installPhase = ''
runHook preInstall
makeWrapper ${jre}/bin/java $out/bin/gitnuro --add-flags "-jar $src"
install -Dm444 $icon $out/share/icons/hicolor/scalable/apps/com.jetpackduba.Gitnuro.svg
runHook postInstall
'';
desktopItems = [
(makeDesktopItem {
name = "Gitnuro";
exec = "gitnuro";
icon = "com.jetpackduba.Gitnuro";
desktopName = "Gitnuro";
categories = [ "Development" ];
comment = meta.description;
})
];
meta = with lib; {
description = "A FOSS Git multiplatform client based on Compose and JGit";
homepage = "https://gitnuro.jetpackduba.com";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "lefthook";
version = "1.1.3";
version = "1.1.4";
src = fetchFromGitHub {
rev = "v${version}";
owner = "evilmartians";
repo = "lefthook";
sha256 = "sha256-TV7ogO7mfRMpLekRAedJsdRJUBbPyxPO9MCoGg6uCno=";
sha256 = "sha256-e3kNr9FMcqznKLFXA8gNTBjaMyXhrWzIxMmX7r6aaWA=";
};
vendorSha256 = "sha256-NTZz0EDIjGdh8dD9jxbNVdWb7NFJsdtnMp7H6Ni0EbQ=";

View File

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
sha256 = "HckYYikXa9+p8l/Y+oLAoFi2pgwcyAfHUH7IqTwPHfg=";
};
patches = lib.optionals stdenv.isDarwin [
# The flag breaks the build on darwin and doesn't seem necessary
./no-version-script-ld-flag.patch
];
nativeBuildInputs = [
pkg-config
gobject-introspection
@ -46,8 +51,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/libgovirt";
description = "GObject wrapper for the oVirt REST API";
maintainers = [ maintainers.amarshall ];
platforms = platforms.linux;
maintainers = with maintainers; [ amarshall atemu ];
platforms = with platforms; linux ++ darwin;
license = licenses.lgpl21Plus;
};
}

View File

@ -0,0 +1,14 @@
--- a/govirt/Makefile.in
+++ b/govirt/Makefile.in
@@ -511,8 +511,7 @@
libgovirt_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-export-dynamic \
- -no-undefined \
- -Wl,--version-script=$(srcdir)/govirt.sym
+ -no-undefined
libgovirt_la_CFLAGS = \
$(WARNINGFLAGS_C)
Diff finished. Fri Oct 28 10:36:38 2022

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "nixpacks";
version = "0.11.5";
version = "0.11.6";
src = fetchFromGitHub {
owner = "railwayapp";
repo = pname;
rev = "v${version}";
sha256 = "sha256-QLF49k8f8YYwPl26pyz9/bbO4IO0KqSlgTFNjbvPf7k=";
sha256 = "sha256-9b1j3hY4ChlLIXmNsIjt6SjqHOYSqdY98amV36WPU74=";
};
cargoSha256 = "sha256-u0L3NJ4ku5ETBx6PKgVStrcSCX4I7E6GNtW+iv3yy2g=";
cargoSha256 = "sha256-s34mYMaHElBTD7I6QZtGsVTZUbVkcSmavvLs2k4mJDw=";
# skip test due FHS dependency
doCheck = false;

View File

@ -14,7 +14,7 @@
, gtkSupport ? !stdenv.isDarwin && !xenSupport && !nixosTestRunner, gtk3, gettext, vte, wrapGAppsHook
, vncSupport ? !nixosTestRunner, libjpeg, libpng
, smartcardSupport ? !nixosTestRunner, libcacard
, spiceSupport ? !stdenv.isDarwin && !nixosTestRunner, spice, spice-protocol
, spiceSupport ? true && !nixosTestRunner, spice, spice-protocol
, ncursesSupport ? !nixosTestRunner, ncurses
, usbredirSupport ? spiceSupport, usbredir
, xenSupport ? false, xen

View File

@ -29,7 +29,7 @@
assert spiceSupport -> (
gdbm != null
&& libcap != null
&& (stdenv.isLinux -> libcap != null)
&& spice-gtk_libsoup2 != null
&& spice-protocol != null
);
@ -76,12 +76,13 @@ stdenv.mkDerivation rec {
libvirt-glib
libxml2
vte
] ++ optionals spiceSupport [
] ++ optionals spiceSupport ([
gdbm
libcap
spice-gtk_libsoup2
spice-protocol
];
] ++ optionals stdenv.isLinux [
libcap
]);
# Required for USB redirection PolicyKit rules file
propagatedUserEnvPkgs = optional spiceSupport spice-gtk_libsoup2;
@ -94,8 +95,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A viewer for remote virtual machines";
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
maintainers = with maintainers; [ raskin atemu ];
platforms = with platforms; linux ++ darwin;
license = licenses.gpl2;
};
passthru = {

View File

@ -1,20 +1,18 @@
{ lib, fetchgit }:
{ lib, fetchzip }:
let
version = "2.010";
in (fetchgit {
name = "go-font-${version}";
url = "https://go.googlesource.com/image";
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
in (fetchzip {
name = "go-font-${version}";
url = "https://go.googlesource.com/image/+archive/${rev}/font/gofont/ttfs.tar.gz";
stripRoot = false;
postFetch = ''
mv $out source
cd source
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/doc/go-font
cp font/gofont/ttfs/* $out/share/fonts/truetype
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
mv $out/*.ttf $out/share/fonts/truetype
mv $out/README $out/share/doc/go-font/LICENSE
'';
sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "monocraft";
version = "1.2";
version = "1.4";
src = fetchFromGitHub {
owner = "IdreesInc";
repo = "Monocraft";
rev = "v${version}";
sha256 = "sha256-frg7LcMv6zWPWxkr6RIl01fC68THELbb45mJVqefXC0=";
sha256 = "sha256-YF0uPCc+dajJtG6mh/JpoSr6GirAhif5L5sp6hFmKLE=";
};
dontConfigure = true;

View File

@ -154,6 +154,11 @@ stdenv.mkDerivation rec {
"-DHIP_COMMON_DIR=${hip}"
"-DROCCLR_PATH=${rocclr}"
"-DHIP_VERSION_BUILD_ID=0"
# Temporarily set variables to work around upstream CMakeLists issue
# Can be removed once https://github.com/ROCm-Developer-Tools/hipamd/issues/55 is fixed
"-DCMAKE_INSTALL_BINDIR=bin"
"-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DCMAKE_INSTALL_LIBDIR=lib"
];
postInstall = ''

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "cpp-utilities";
version = "5.19.0";
version = "5.20.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sygt30x5S2n24ONMBRzNyLZcnl4hM4tUFpX/Yx6ZSMM=";
sha256 = "sha256-KOvRNo8qd8nXhh/f3uAN7jOsNMTX8dJRGUHJXP+FdEs=";
};
nativeBuildInputs = [ cmake ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libpg_query";
version = "13-2.1.2";
version = "13-2.2.0";
src = fetchFromGitHub {
owner = "pganalyze";
repo = "libpg_query";
rev = version;
sha256 = "sha256-Y0oIcpZ0CPbFvyTC6YrSjcs14jk/K5pIyJjTo5vV5sQ=";
sha256 = "sha256-gEkcv/j8ySUYmM9lx1hRF/SmuQMYVHwZAIYOaCQWAFs=";
};
nativeBuildInputs = [ which ];

View File

@ -104,16 +104,7 @@ in {
};
libressl_3_6 = generic {
version = "3.6.0";
hash = "sha256-GxLe/Lvb2+2oaSnkIQAK8PQjM63UgX/SbA2aGuxHhAQ=";
patches = [
# Fix endianness detection on aarch64-darwin, issue #181187
(fetchpatch {
name = "fix-endian-header-detection.patch";
url = "https://patch-diff.githubusercontent.com/raw/libressl-portable/portable/pull/771.patch";
sha256 = "sha256-in5U6+sl0HB9qMAtUL6Py4X2rlv0HsqRMIQhhM1oThE=";
})
];
version = "3.6.1";
hash = "sha256-rPrGExbpO5GcKNYtUwN8pzTehcRrTXA/Gf2Dlc8AZ3Q=";
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libspiro";
version = "20220722";
version = "20221101";
src = fetchFromGitHub {
owner = "fontforge";
repo = pname;
rev = version;
sha256 = "sha256-qNff53wyf8YhFVOn169K7smCXrSxdiZWxWOU8VTcjSI=";
sha256 = "sha256-/9UCrdq69RO22593qiA8pZ4qfY9UVGqlGYB9zatsOgw=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];

View File

@ -9,7 +9,7 @@
, galliumDrivers ? ["auto"]
, vulkanDrivers ? ["auto"]
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
, vulkanLayers ? [ "device-select" "overlay" ]
, vulkanLayers ? lib.optionals (!stdenv.isDarwin) [ "device-select" "overlay" ] # No Vulkan support on Darwin
, OpenGL, Xplugin
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light && !valgrind-light.meta.broken, valgrind-light
, enableGalliumNine ? stdenv.isLinux

View File

@ -13,6 +13,7 @@
let
mostOfVersion = builtins.concatStringsSep "."
(lib.take 3 (lib.versions.splitVersion version));
platform = "${stdenv.hostPlatform.parsed.kernel.name}-${stdenv.hostPlatform.parsed.cpu.name}";
in
stdenv.mkDerivation {
@ -20,7 +21,9 @@ stdenv.mkDerivation {
inherit version;
src = fetchurl {
url = "https://developer.download.nvidia.com/compute/cutensor/${mostOfVersion}/local_installers/libcutensor-${stdenv.hostPlatform.parsed.kernel.name}-${stdenv.hostPlatform.parsed.cpu.name}-${version}.tar.gz";
url = if lib.versionOlder mostOfVersion "1.3.3"
then "https://developer.download.nvidia.com/compute/cutensor/${mostOfVersion}/local_installers/libcutensor-${platform}-${version}.tar.gz"
else "https://developer.download.nvidia.com/compute/cutensor/redist/libcutensor/${platform}/libcutensor-${platform}-${version}-archive.tar.xz";
inherit hash;
};

View File

@ -22,6 +22,7 @@
, libopus
, gst_all_1
, orc
, gdk-pixbuf
}:
let
@ -43,6 +44,9 @@ stdenv.mkDerivation rec {
sha256 = "1xd0xffw0g5vvwbq4ksmm3jjfq45f9dw20xpmi82g1fj9f7wy85k";
};
patches = [
./remove-rt-on-darwin.patch
];
postPatch = ''
install ${doxygen_sh} doxygen.sh
patchShebangs build-aux
@ -65,7 +69,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
alsa-lib
cyrus_sasl
glib
gst_all_1.gst-plugins-base
@ -84,6 +87,10 @@ stdenv.mkDerivation rec {
python3.pkgs.pyparsing
spice-protocol
zlib
] ++ lib.optionals stdenv.isLinux [
alsa-lib
] ++ lib.optionals stdenv.isDarwin [
gdk-pixbuf
];
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
@ -108,7 +115,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.spice-space.org/";
license = licenses.lgpl21;
maintainers = [ maintainers.bluescreen303 ];
platforms = platforms.linux;
maintainers = with maintainers; [ bluescreen303 atemu ];
platforms = with platforms; linux ++ darwin;
};
}

View File

@ -0,0 +1,18 @@
--- a/meson.build
+++ b/meson.build
@@ -103,11 +103,11 @@
spice_server_deps += dependency(dep)
endforeach
-if host_machine.system() != 'windows'
+if (host_machine.system() != 'windows' and host_machine.system() != 'darwin')
foreach dep : ['rt', 'm']
spice_server_deps += compiler.find_library(dep)
endforeach
-else
+elif host_machine.system() == 'windows'
foreach dep : ['ws2_32', 'shlwapi']
spice_server_deps += compiler.find_library(dep)
endforeach
Diff finished. Sun Oct 16 06:09:35 2022

View File

@ -0,0 +1,33 @@
{ lib, stdenv, fetchurl, unzip, makeWrapper, jre_headless }:
stdenv.mkDerivation rec {
pname = "maestro";
version = "1.11.3";
src = fetchurl {
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro-${version}.zip";
sha256 = "0hjsrwp6d1k68p0qhn7v9689ihy06ssnfpi8dj61jw6r64c234m4";
};
dontUnpack = true;
nativeBuildInputs = [ unzip makeWrapper ];
installPhase = ''
mkdir $out
unzip $src -d $out
mv $out/maestro-$version/* $out
rm -rf $out/maestro-$version
'';
postFixup = ''
wrapProgram $out/bin/maestro --prefix PATH : "${lib.makeBinPath [ jre_headless ]}"
'';
meta = with lib; {
description = "Mobile UI Automation tool";
homepage = "https://maestro.mobile.dev/";
license = licenses.asl20;
platforms = lib.platforms.all;
maintainers = with maintainers; [ SubhrajyotiSen ];
};
}

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "adax-local";
version = "0.1.4";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -17,8 +17,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAdaxLocal";
rev = version;
hash = "sha256-pzhaBRCn02asT0ZLt1EmnaX2g5wr/CoiItWJ/ZYe0Ok=";
rev = "refs/tags/${version}";
hash = "sha256-V3jSBdYDo32oTAGNTvHJi+GSwlL3keSDhXpNpMoCkWs=";
};
propagatedBuildInputs = [

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "aioaladdinconnect";
version = "0.1.46";
version = "0.1.47";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "AIOAladdinConnect";
inherit version;
hash = "sha256-tSPoumEWdlzyxHhyXd7jD58pdJzfw1CCJM1MYBAdxOk=";
hash = "sha256-1q5CX5vtdK+rNDE6GtIobuacv6dkHhRJ+kirbX62us8=";
};
propagatedBuildInputs = [

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "aliyun-python-sdk-config";
version = "2.2.0";
version = "2.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FQNj11G2d985KkpVycJyUqugul/EXu4PpuvD/YGPkBc=";
hash = "sha256-Me5z68cOfLt8PDHaZ1b/F/KG5mtYAW3LXmNd+0epha8=";
};
propagatedBuildInputs = [

View File

@ -12,6 +12,7 @@
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, pythonOlder
, python-daemon
, pyyaml
, six
@ -19,12 +20,14 @@
buildPythonPackage rec {
pname = "ansible-runner";
version = "2.2.1";
version = "2.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zZtssRdAEbTi4KWZPU0E2SjN5f4iqJk67UQ4STOHwYI=";
hash = "sha256-mcTfu+reRGOXvRqeC/BQhz2KBrWSbVXSQIWyld2/Ecs=";
};
nativeBuildInputs = [

View File

@ -1,31 +1,40 @@
{ lib
, blinker
, buildPythonPackage
, fetchPypi
, flask
, pythonOlder
, webob
}:
buildPythonPackage rec {
pname = "bugsnag";
version = "4.2.1";
version = "4.3.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-PT6XaKz3QFAEhCmS7jXKK7xxscNlpbhGpCKQIRuSt6U=";
hash = "sha256-9q6Cp/reUJJ3XGMT9BV+4z5AxJdP8izfzgjOpS84/Tc=";
};
propagatedBuildInputs = [
webob
];
passthru.optional-dependencies = {
flask = [
blinker
flask
];
};
pythonImportsCheck = [
"bugsnag"
];
# no tests
# Module ha no tests
doCheck = false;
meta = with lib; {

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "casbin";
version = "1.17.3";
version = "1.17.4";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = pname;
repo = "pycasbin";
rev = "refs/tags/v${version}";
hash = "sha256-b/bA1ClBdj25aPoniszqRtNih+qzJuLMiGkNoV1cv7c=";
hash = "sha256-idcqNWocy4dDh7zv3gz81wHp+9WX5PptXGHI9uqM69M=";
};
propagatedBuildInputs = [

View File

@ -1,33 +1,51 @@
{ config, lib, buildPythonPackage, fetchFromGitHub, isPy3k
, filelock, protobuf, numpy, pytestCheckHook, mock, typing-extensions
, cupy, cudaSupport ? config.cudaSupport or false
{ lib
, buildPythonPackage
, config
, cudaSupport ? config.cudaSupport or false
, cupy
, fetchFromGitHub
, filelock
, mock
, numpy
, protobuf
, pytestCheckHook
, pythonOlder
, six
, typing-extensions
}:
buildPythonPackage rec {
pname = "chainer";
version = "7.8.1.post1";
disabled = !isPy3k; # python2.7 abandoned upstream
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "chainer";
repo = "chainer";
rev = "refs/tags/v${version}";
sha256 = "sha256-epwnExmyCWmwaOz+mJnAl1peEeHLBdQGC62BlLfSTQQ=";
hash = "sha256-epwnExmyCWmwaOz+mJnAl1peEeHLBdQGC62BlLfSTQQ=";
};
propagatedBuildInputs = [
filelock
protobuf
numpy
protobuf
six
typing-extensions
] ++ lib.optionals cudaSupport [ cupy ];
checkInputs = [
pytestCheckHook
mock
] ++ lib.optionals cudaSupport [
cupy
];
pytestFlagsArray = [ "tests/chainer_tests/utils_tests" ];
checkInputs = [
mock
pytestCheckHook
];
pytestFlagsArray = [
"tests/chainer_tests/utils_tests"
];
preCheck = ''
# cf. https://github.com/chainer/chainer/issues/8621
@ -43,6 +61,10 @@ buildPythonPackage rec {
"ideep"
];
pythonImportsCheck = [
"chainer"
];
meta = with lib; {
description = "A flexible framework of neural networks for deep learning";
homepage = "https://chainer.org/";

View File

@ -9,12 +9,12 @@ let
inherit (cudaPackages) cudatoolkit cudnn cutensor nccl;
in buildPythonPackage rec {
pname = "cupy";
version = "11.1.0";
version = "11.2.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4TtvmQrd172HCQWvQp+tUQhNCFf4YA3TIGod9aRoTt0=";
sha256 = "sha256-wzNh8RejR6Y/aZbql0RtF/HAOPGh9TPlAkZCNQdpI+I=";
};
# See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Seting both
@ -70,8 +70,5 @@ in buildPythonPackage rec {
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ hyphon81 ];
# See https://github.com/NixOS/nixpkgs/pull/179912#issuecomment-1206265922.
broken = true;
};
}

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, bash
, openssh
, pytestCheckHook
, stdenv
}:
buildPythonPackage rec {
pname = "deploykit";
version = "1.0.1";
src = fetchFromGitHub {
owner = "numtide";
repo = pname;
rev = version;
hash = "sha256-eKyqsGgnJmF2wUYa7HjC1Jwsh03qVTJEP1MtL7JL4Ts=";
};
buildInputs = [
setuptools
];
checkInputs = [
bash
openssh
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [ "test_ssh" ];
# don't swallow stdout/stderr
pytestFlagsArray = [ "-s" ];
meta = with lib; {
description = "Execute commands remote via ssh and locally in parallel with python";
homepage = "https://github.com/numtide/deploykit";
license = licenses.mit;
maintainers = with maintainers; [ mic92 zowoq ];
platforms = platforms.unix;
};
}

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "dinghy";
version = "0.13.4";
version = "0.14.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "nedbat";
repo = pname;
rev = version;
hash = "sha256-H3AFKKtSiFD3LqyWaIYB4LncPaH2/eptuKS4BN0cNBQ=";
hash = "sha256-zhSSEI5h7ZCQeytAFbevowhITghaG4vu81C4pDb6xUg=";
};
propagatedBuildInputs = [

View File

@ -43,14 +43,14 @@
buildPythonPackage rec {
pname = "Django";
version = "4.1.2";
version = "4.1.3";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-uNhDcUgQq4jVk0RQfURHvoss8SpJAxNjtu7Z8bmyKA8=";
hash = "sha256-Z4u/yGBOskbtVOIGPwdl8TsyGlBSa9yMsflD7af6MfE=";
};
patches = [

View File

@ -0,0 +1,47 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, yarl
}:
buildPythonPackage rec {
pname = "energyflip-client";
version = "0.2.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dennisschroer";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-neuZ6pZWW/Rgexu/iCEymjnxi5l/IuLKPFn6S9U4DgU=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
yarl
];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"energyflip"
];
meta = with lib; {
description = "Library to communicate with the API behind EnergyFlip";
homepage = "https://github.com/dennisschroer/energyflip-client";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,17 +1,43 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, cython
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fastrlock";
version = "0.8";
version = "0.8.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "9cc100ed0924b32173d7de705a82fdf1257cdf60af1952a13f64759307b40931";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "scoder";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-KYJd1wGJo+z34cY0YfsRbpC9IsQY/VJqycGpMmLmaVk=";
};
nativeBuildInputs = [
cython
];
# Todo: Check why the tests have an import error
doCheck = false;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"fastrlock"
];
meta = with lib; {
description = "RLock implementation for CPython";
homepage = "https://github.com/scoder/fastrlock";
description = "A fast RLock implementation for CPython";
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "filetype";
version = "1.1.0";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-r+SgAClgH2bSObcmiAZcx8IZ3sHJJ5lPkLgl6eU9j5M=";
hash = "sha256-ZrVs1kdL9B2MVGYDR9N6/MP30ZcGSN42XBAu93VIqts=";
};
checkInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "flipr-api";
version = "1.4.3";
version = "1.4.4";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "cnico";
repo = pname;
rev = version;
sha256 = "sha256-aTDZB1kUlvvxoio7EAl2KPHW/JkCcuIEPD4T4NN6FX8=";
sha256 = "sha256-LcxLJQ2MAif4yC+/SvO7IEa1lNOV67FgJU1UWT4ope4=";
};
nativeBuildInputs = [

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "gcal-sync";
version = "1.1.0";
version = "2.1.0";
disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "gcal_sync";
rev = "refs/tags/${version}";
hash = "sha256-IiBwqpglVC+M1NXSmidSEDjKcGn76aqPZclXK0vKsm8=";
hash = "sha256-FKrZPiN4rSk5iFhGAXVuKhEeekOnPxdFslP4SMUrQIE=";
};
propagatedBuildInputs = [

View File

@ -8,13 +8,12 @@
, pythonOlder
, requests
, responses
, six
, typing-extensions
}:
buildPythonPackage rec {
pname = "globus-sdk";
version = "3.13.0";
version = "3.14.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -23,7 +22,7 @@ buildPythonPackage rec {
owner = "globus";
repo = "globus-sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-d8c/kMfDMz5Z9O7OtAz2hAXQHqTlJ8oKcL9Yk+6MsA4=";
hash = "sha256-lCqiBlyf0cUqsmSlCmt+jXTBGsXyCioZ232zd5rVqiA=";
};
propagatedBuildInputs = [
@ -38,7 +37,6 @@ buildPythonPackage rec {
mypy
pytestCheckHook
responses
six
];
postPatch = ''

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "hahomematic";
version = "2022.10.10";
version = "2022.11.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "danielperna84";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-msSAZAKJFN4bjnJABuAI+rZ5HJSzKFkq4LV2jat6Tas=";
sha256 = "sha256-fEsH5yaGI/y8Qg9WnKm8uCrwEbSwhKlF6kixS3iPVXg=";
};
nativeBuildInputs = [

View File

@ -26,29 +26,16 @@
buildPythonPackage rec {
pname = "junos-eznc";
version = "2.6.3";
version = "2.6.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "Juniper";
repo = "py-junos-eznc";
rev = version;
hash = "sha256-XhQJwtS518AzSwyaWE392nfNdYe9+iYHvXxQsjJfzI8=";
hash = "sha256-BoHT6ejccInfREbYtW6psm3fvsQxLS1vpj/aPDqqpnY=";
};
patches = [
(fetchpatch {
# Fixes tests with lxml>=4.8.0; remove > 2.6.3
url = "https://github.com/Juniper/py-junos-eznc/commit/048f750bb7357b6f6b9db8ad64bea479298c74fb.patch";
hash = "sha256-DYVj0BNPwDSbxDrzHhaq4F4kz1bliXB6Au3I63mRauc=";
})
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "ncclient==0.6.9" "ncclient"
'';
propagatedBuildInputs = [
jinja2
lxml

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "lxmf";
version = "0.2.2";
version = "0.2.3";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "markqvist";
repo = "lxmf";
rev = "refs/tags/${version}";
hash = "sha256-DmJcxbAVaNUTe1ulVmYeI0Kdtm0Lz83akjH4ttZsgZg=";
hash = "sha256-A8FKwKyRFFYkT4eEv7JHI/pjKCfJhk8NkUfUrmsxO90=";
};
propagatedBuildInputs = [

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "meshtastic";
version = "2.0.1";
version = "2.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "meshtastic";
repo = "Meshtastic-python";
rev = "refs/tags/${version}";
hash = "sha256-2m63OSVyhZgptBln+b65zX3609Liwq5V2a78UQThHyE=";
hash = "sha256-Z2/nzsHRpaykqLRkJoPdNGSLNbJvd4GOUpTYl8MG8mw=";
};
propagatedBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "nomadnet";
version = "0.2.5";
version = "0.2.6";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "markqvist";
repo = "NomadNet";
rev = version;
hash = "sha256-iPgdXii3SZWxSTpILBLIWY6vpBTnrpGnEosD/ttN/Yk=";
hash = "sha256-IcWHqPVfqHYw2k/EtIYruhBC8nz4UgjTz0psaa5Ki4c=";
};
propagatedBuildInputs = [

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "openai";
version = "0.24.0";
version = "0.25.0";
format = "setuptools";
disabled = pythonOlder "3.7.1";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "openai";
repo = "openai-python";
rev = "v${version}";
hash = "sha256-0bXJoEq8FHRNaFMjncIwDbJROtFz/IJ4gD+LfvmtFUg=";
hash = "sha256-bwv7lpdDYlk+y3KBjv7cSvaGr3v02riNCUfPFh6yv1I=";
};
propagatedBuildInputs = [

View File

@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "peaqevcore";
version = "7.1.9";
version = "7.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ytW+liDg3H0l6znuosG/b17QJJXai4GG7ca7oUQ2eZI=";
hash = "sha256-xkoa9nn/b1cDcbOxT4YT2mx8XqaA/kui/cG8xWf26yc=";
};
postPatch = ''

View File

@ -14,16 +14,16 @@
buildPythonPackage rec {
pname = "pipdeptree";
version = "2.3.1";
version = "2.3.3";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "naiquevin";
owner = "tox-dev";
repo = "pipdeptree";
rev = "refs/tags/${version}";
hash = "sha256-X3SVQzBg+QjBSewRsfiyLqIea0duhe1nUf8ancWLvcI=";
hash = "sha256-ivqu9b+4FhGa5y+WnKRk4nF6MR4Vj62pSs2d7ycIZMc=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -38,7 +38,9 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
graphviz = [ graphviz ];
graphviz = [
graphviz
];
};
checkInputs = [
@ -54,7 +56,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Command line utility to show dependency tree of packages";
homepage = "https://github.com/naiquevin/pipdeptree";
homepage = "https://github.com/tox-dev/pipdeptree";
changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ charlesbaynham ];
};

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "prayer-times-calculator";
version = "0.0.6";
version = "0.0.7";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "uchagani";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-0hXbgzEKrWk79Ldd37fqnkOELa+dAGtc80RQfDZ1JTI=";
sha256 = "sha256-fIfv10oi5Lv1dj5Y5CYI94/UdWG3bAY/ENCiMTkO0RE=";
};
propagatedBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "pydmd";
version = "0.4.0.post2210";
version = "0.4.0.post2211";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "mathLab";
repo = "PyDMD";
rev = "refs/tags/v${version}";
sha256 = "sha256-2GSmd+OxdGW9XdLGL08Bnrz0WCtTAYQtYHf2gM5CFIE=";
sha256 = "sha256-DTKw7Gy2w+zas9u62SN6QDhoeMEjSk/Ej09do38yfNY=";
};
propagatedBuildInputs = [

View File

@ -1,49 +1,47 @@
{ lib
, buildPythonPackage
, fetchpatch
, fetchPypi
, isPy3k
, pytestCheckHook
, coverage
, flit-core
, ghostscript
, pillow
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pydyf";
version = "0.1.2";
disabled = !isPy3k;
version = "0.5.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "pydyf";
sha256 = "sha256-Hi9d5IF09QXeAlp9HnzwG73ZQiyoq5RReCvwDuF4YCw=";
inherit pname version;
hash = "sha256-UedRrhUEA3wfwfSBURkTewEYAs1fbDU52wZsRVsUp+E=";
};
patches = [
# Fix tests for Ghostscript 9.56
# Remove after v0.1.3 has been released
(fetchpatch {
url = "https://github.com/CourtBouillon/pydyf/commit/d4c34823f1d15368753c9c26f7acc7a24fc2d979.patch";
sha256 = "sha256-2hHZW/q5CbStbpSJYbm3b23qKXANEb5jbPGQ83uHC+Q=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--isort --flake8 --cov --no-cov-on-fail" ""
'';
nativeBuildInputs = [
flit-core
];
checkInputs = [
pytestCheckHook
coverage
ghostscript
pillow
pytestCheckHook
];
pythonImportsCheck = [
"pydyf"
];
meta = with lib; {
homepage = "https://doc.courtbouillon.org/pydyf/stable/";
description = "Low-level PDF generator written in Python and based on PDF specification 1.7";
homepage = "https://doc.courtbouillon.org/pydyf/stable/";
license = licenses.bsd3;
maintainers = with maintainers; [ rprecenth ];
};

View File

@ -0,0 +1,68 @@
{ lib
, bleak
, bleak-retry-connector
, bluetooth-sensor-state-data
, buildPythonPackage
, events
, fetchFromGitHub
, freezegun
, home-assistant-bluetooth
, poetry-core
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
, transitions
}:
buildPythonPackage rec {
pname = "pysnooz";
version = "0.8.3";
format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "AustinBrunkhorst";
repo = pname;
rev = "v${version}";
hash = "sha256-K99sE9vxJo6grkp04DmTKOVqdfpQI0kUzJjSR6gnSew=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'transitions = "^0.8.11"' 'transitions = ">0.8.11"' \
--replace " --cov=pysnooz --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
bleak
bleak-retry-connector
bluetooth-sensor-state-data
events
home-assistant-bluetooth
transitions
];
checkInputs = [
freezegun
pytest-asyncio
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [
"pysnooz"
];
meta = with lib; {
description = "Library to control SNOOZ white noise machines";
homepage = "https://github.com/AustinBrunkhorst/pysnooz";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12,16 +12,16 @@
buildPythonPackage rec {
pname = "pysolcast";
version = "1.0.7";
version = "1.0.11";
format = "setuptools";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "mcaulifn";
repo = "solcast";
rev = "v${version}";
sha256 = "J4D7W89Qz1Nv4DeqOmHVAWfmThlY5puBjSClRkfwhVw=";
hash = "sha256-iK3WCpl7K/PUccNkOQK7q4k7JjwHAEydU47c8tb4wvc=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
@ -53,9 +53,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for interacting with the Solcast API";
homepage = "https://github.com/mcaulifn/solcast";
# No license statement present
# https://github.com/mcaulifn/solcast/issues/70
license = with licenses; [ unfree ];
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "rns";
version = "0.3.17";
version = "0.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "markqvist";
repo = "Reticulum";
rev = "refs/tags/${version}";
hash = "sha256-2e1mUDIDxgjGY4PGfgtbGwkktQfH1LsAczXKVW4jCLA=";
hash = "sha256-tWqXhVpg6hxMrbesLRXjbhtEXOOrGh787+z0tliEmNE=";
};
propagatedBuildInputs = [

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "scramp";
version = "1.4.3";
version = "1.4.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "tlocke";
repo = "scramp";
rev = version;
hash = "sha256-BKZam2zLS/SK6rqiUkoeFpQ0bO4pU8CKVNhOM1fv10Y=";
hash = "sha256-WOyv1fLSXG7p+WKs2QSwlsh8FSK/lxp6I1hPY0VIkKo=";
};
nativeBuildInputs = [

View File

@ -375,7 +375,7 @@ let
# FIXME: this checksum is currently wrong, since the tensorflow dependency fetch is broken on darwin
"sha256-j2k9Q+k41nq5nP1VjjkkNjXRov1uAda4RCMDMAthjr0="
else
"sha256-zH3xNFEU2JR0Ww8bpD4mCiorGtao0WVPP4vklVMgS4A=";
"sha256-3nAjP6WH6xhvVyA6ZGZ6ZpsTTUCQohNIiQhVn1eWpr8=";
};
buildAttrs = {

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, nbformat
, nbclient
, ipykernel
, pandas
, pytestCheckHook
, traitlets
}:
buildPythonPackage rec {
pname = "testbook";
version = "0.4.2";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nteract";
repo = pname;
rev = version;
sha256 = "sha256-qaDgae/5TRpjmjOf7aom7TC5HLHp0PHM/ds47AKtq8U=";
};
propagatedBuildInputs = [
nbclient
nbformat
];
checkInputs = [
ipykernel
pandas
pytestCheckHook
traitlets
];
pythonImportsCheck = [
"testbook"
];
meta = with lib; {
description = "A unit testing framework extension for testing code in Jupyter Notebooks";
homepage = "https://testbook.readthedocs.io/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ djacu ];
};
}

View File

@ -1,39 +1,38 @@
{ buildPythonPackage
, fetchPypi
, fetchpatch
, pytestCheckHook
{ lib
, stdenv
, buildPythonPackage
, cairosvg
, flit-core
, fonttools
, pydyf
, pyphen
, cffi
, cssselect2
, html5lib
, tinycss2
, fetchPypi
, flit-core
, fontconfig
, fonttools
, ghostscript
, glib
, harfbuzz
, html5lib
, pango
, fontconfig
, lib
, stdenv
, ghostscript
, isPy3k
, substituteAll
, pillow
, pydyf
, pyphen
, pytestCheckHook
, pythonOlder
, substituteAll
, tinycss2
}:
buildPythonPackage rec {
pname = "weasyprint";
version = "54.3";
disabled = !isPy3k;
version = "57.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "weasyprint";
sha256 = "sha256-4E2gQGMFZsRMqiAgM/B/hYdl9TZwkEWoCXOfPQSOidY=";
hash = "sha256-e29cwTgZ6afYdIwdvw6NJET3pIGKmDOfgtzKqCK/kRs=";
};
patches = [
@ -46,12 +45,6 @@ buildPythonPackage rec {
pangocairo = "${pango.out}/lib/libpangocairo-1.0${stdenv.hostPlatform.extensions.sharedLibrary}";
harfbuzz = "${harfbuzz.out}/lib/libharfbuzz${stdenv.hostPlatform.extensions.sharedLibrary}";
})
# Disable tests for new Ghostscript
# Remove when next version is released
(fetchpatch {
url = "https://github.com/Kozea/WeasyPrint/commit/e544398b00d76bc0317ea7e2abe40dc46b380910.patch";
sha256 = "sha256-oQO3j9Mo1x98WaLPROxsOn0qkeYRJrCx5QWWKoHvabE=";
})
];
nativeBuildInputs = [
@ -96,9 +89,13 @@ buildPythonPackage rec {
export HOME=$TMPDIR
'';
pythonImportsCheck = [
"weasyprint"
];
meta = with lib; {
homepage = "https://weasyprint.org/";
description = "Converts web documents to PDF";
homepage = "https://weasyprint.org/";
license = licenses.bsd3;
maintainers = with maintainers; [ elohmeier ];
};

View File

@ -1,10 +1,10 @@
diff --git a/weasyprint/text/ffi.py b/weasyprint/text/ffi.py
index 0734cbea..22e31a5e 100644
index 09f614aad..cbe9a73dd 100644
--- a/weasyprint/text/ffi.py
+++ b/weasyprint/text/ffi.py
@@ -387,22 +387,11 @@ def _dlopen(ffi, *names):
return ffi.dlopen(names[0]) # pragma: no cover
@@ -415,22 +415,11 @@ def _dlopen(ffi, *names):
with suppress((OSError, FileNotFoundError)):
os.add_dll_directory(dll_directory)
-gobject = _dlopen(
- ffi, 'gobject-2.0-0', 'gobject-2.0', 'libgobject-2.0-0',
@ -18,7 +18,7 @@ index 0734cbea..22e31a5e 100644
- 'libharfbuzz-0.dll')
-fontconfig = _dlopen(
- ffi, 'fontconfig-1', 'fontconfig', 'libfontconfig', 'libfontconfig.so.1',
- 'libfontconfig-1.dylib', 'libfontconfig-1.dll')
- 'libfontconfig.1.dylib', 'libfontconfig-1.dll')
-pangoft2 = _dlopen(
- ffi, 'pangoft2-1.0-0', 'pangoft2-1.0', 'libpangoft2-1.0-0',
- 'libpangoft2-1.0.so.0', 'libpangoft2-1.0.dylib', 'libpangoft2-1.0-0.dll')
@ -28,5 +28,4 @@ index 0734cbea..22e31a5e 100644
+fontconfig = _dlopen(ffi, '@fontconfig@')
+pangoft2 = _dlopen(ffi, '@pangoft2@')
gobject.g_type_init()
gobject.g_type_init()

View File

@ -0,0 +1,50 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "zamg";
version = "0.1.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "killer0071234";
repo = "python-zamg";
rev = "refs/tags/v${version}";
hash = "sha256-mVJ1zuh3v803XgynQiUvt6whTmXxGS7SEtr6IDm4kz4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"zamg"
];
meta = with lib; {
description = "Library to read weather data from ZAMG Austria";
homepage = "https://github.com/killer0071234/python-zamg";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
version = "10.3.4";
version = "10.4";
pname = "checkstyle";
src = fetchurl {
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
sha256 = "sha256-HOKEbBU2jo7AJmSMVG2j1yM4VfcdN+Tl/MiazxtKYHw=";
sha256 = "sha256-x/13rqb3NOP4ML2HoddkmRrEwBAsG97Z2iLLoJCu2PQ=";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -81,7 +81,7 @@ buildBazelPackage rec {
rm -rf $bazelOut/external/com_google_protobuf
'';
sha256 = "sha256-R+Hc9ldYcKgAXETKr2+Hk7IrjJ93WkrjyJ1SQRoM9V4=";
sha256 = "sha256-AiSUwoa0JKChSSPSi1EWTpUKQggmOsjLB6fRMCAgUyE=";
};
buildAttrs = {

View File

@ -26,12 +26,12 @@
}:
let
version = "5.2.0";
version = "5.3.2";
sourceRoot = ".";
src = fetchurl {
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
sha256 = "sha256-ggqU27FAce1tjCZs8MCA7LJlpe6mUwdXlInEZiwtWCo=";
hash = "sha256-OICtkZWS0ePkDFBvE7Ms0KLibxKdh8troXDxgB19e4I=";
};
# Update with `eval $(nix-build -A bazel_5.updater)`,

View File

@ -2,11 +2,11 @@
buildGraalvmNativeImage rec {
pname = "clj-kondo";
version = "2022.10.14";
version = "2022.11.02";
src = fetchurl {
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "sha256-pLISiyrkHFii69KNlJc/csA4mpNACDWjfu05BL4bRVg=";
sha256 = "sha256-FLnij5ff7+tP+SoBnB2zVEpuWRG2MYp9avTrh2q6g4k=";
};
extraNativeImageBuildArgs = [

View File

@ -46,7 +46,7 @@ let
in
stdenv.mkDerivation rec {
pname = "github-runner";
version = "2.299.0";
version = "2.299.1";
inherit sdkSource;
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
owner = "actions";
repo = "runner";
rev = "v${version}";
hash = "sha256-/grYaWhpd6jZx/gkWC3L+BoZcB6WKVMZzMGfwDhBRr0=";
hash = "sha256-o6N7GDfSEWX6QaEga5hQpbpDcBh7Alcy9mK3QlODTbs=";
};
nativeBuildInputs = [

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "esbuild";
version = "0.15.12";
version = "0.15.13";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
sha256 = "sha256-NyujxnBi55wMmLW488gmimcywfeO6WWAnx/y0KqhR7o=";
sha256 = "sha256-iQei9YSJIKnqsWK26Eh6l3yafvRKPZ2YdHhQqybsfVg=";
};
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";

View File

@ -18,13 +18,13 @@ let
in
buildGoModule rec {
pname = "faas-cli";
version = "0.14.11";
version = "0.15.2";
src = fetchFromGitHub {
owner = "openfaas";
repo = "faas-cli";
rev = version;
sha256 = "sha256-QecoAdsl4Nf4tCOsvHeZdSjBqQG+vXejRe8Q39jNNVI=";
sha256 = "sha256-kHpZeon85hU1cn2UmLNvC43z2nbWGFt6fWJDljwZANI=";
};
vendorSha256 = null;

View File

@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl, jre_headless, makeWrapper }:
stdenv.mkDerivation rec{
pname = "flyway";
version = "9.6.0";
version = "9.7.0";
src = fetchurl {
url = "mirror://maven/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
sha256 = "sha256-mf9u4FzKMBXoQ7PLUYZaYpVTuWNdSfplmzu+dKvABl8=";
sha256 = "sha256-HXLwC5T+hPbUTf4grKjCnhIMpqsFAz5yK6kH4XicLG8=";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;

Some files were not shown because too many files have changed in this diff Show More