diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 4e3a5f97f432..d11524968cf8 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -3641,10 +3641,10 @@
};
expipiplus1 = {
email = "nix@monoid.al";
- matrix = "@joe:monoid.al";
+ matrix = "@ellie:monoid.al";
github = "expipiplus1";
githubId = 857308;
- name = "Joe Hermaszewski";
+ name = "Ellie Hermaszewska";
};
extends = {
email = "sharosari@gmail.com";
diff --git a/nixos/doc/manual/from_md/installation/installing.chapter.xml b/nixos/doc/manual/from_md/installation/installing.chapter.xml
index 91ab71682977..db073fa83965 100644
--- a/nixos/doc/manual/from_md/installation/installing.chapter.xml
+++ b/nixos/doc/manual/from_md/installation/installing.chapter.xml
@@ -25,8 +25,11 @@
You are logged-in automatically as nixos. The
nixos user account has an empty password so you
- can use sudo without a password.
+ can use sudo without a password:
+
+$ sudo -i
+
If you downloaded the graphical ISO image, you can run
systemctl start display-manager to start the
diff --git a/nixos/doc/manual/installation/installing.chapter.md b/nixos/doc/manual/installation/installing.chapter.md
index a0823b51e9cb..def4f37fbcaa 100644
--- a/nixos/doc/manual/installation/installing.chapter.md
+++ b/nixos/doc/manual/installation/installing.chapter.md
@@ -15,7 +15,10 @@ finished booting, it should have detected most of your hardware.
The NixOS manual is available by running `nixos-help`.
You are logged-in automatically as `nixos`. The `nixos` user account has
-an empty password so you can use `sudo` without a password.
+an empty password so you can use `sudo` without a password:
+```ShellSession
+$ sudo -i
+```
If you downloaded the graphical ISO image, you can run `systemctl
start display-manager` to start the desktop environment. If you want
diff --git a/nixos/modules/services/web-apps/plantuml-server.nix b/nixos/modules/services/web-apps/plantuml-server.nix
index 5ac3bc5226b2..f4bf43f56b98 100644
--- a/nixos/modules/services/web-apps/plantuml-server.nix
+++ b/nixos/modules/services/web-apps/plantuml-server.nix
@@ -58,8 +58,8 @@ in
graphvizPackage = mkOption {
type = types.package;
- default = pkgs.graphviz_2_32;
- defaultText = literalExpression "pkgs.graphviz_2_32";
+ default = pkgs.graphviz;
+ defaultText = literalExpression "pkgs.graphviz";
description = "Package containing the dot executable.";
};
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 55734d71976e..ba20239bf8db 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -34,7 +34,6 @@ in
avahi-with-resolved = handleTest ./avahi.nix { networkd = true; };
awscli = handleTest ./awscli.nix { };
babeld = handleTest ./babeld.nix {};
- bat = handleTest ./bat.nix {};
bazarr = handleTest ./bazarr.nix {};
bcachefs = handleTestOn ["x86_64-linux"] ./bcachefs.nix {}; # linux-4.18.2018.10.12 is unsupported on aarch64
beanstalkd = handleTest ./beanstalkd.nix {};
diff --git a/nixos/tests/bat.nix b/nixos/tests/bat.nix
deleted file mode 100644
index 0f548a590fb0..000000000000
--- a/nixos/tests/bat.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-import ./make-test-python.nix ({ pkgs, ... }: {
- name = "bat";
- meta = with pkgs.lib.maintainers; { maintainers = [ nequissimus ]; };
-
- machine = { pkgs, ... }: { environment.systemPackages = [ pkgs.bat ]; };
-
- testScript = ''
- machine.succeed("echo 'Foobar\n\n\n42' > /tmp/foo")
- assert "Foobar" in machine.succeed("bat -p /tmp/foo")
- assert "42" in machine.succeed("bat -p /tmp/foo -r 4:4")
- '';
-})
diff --git a/pkgs/applications/blockchains/ergo/default.nix b/pkgs/applications/blockchains/ergo/default.nix
index a0e648218f50..422ad8210de6 100644
--- a/pkgs/applications/blockchains/ergo/default.nix
+++ b/pkgs/applications/blockchains/ergo/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "ergo";
- version = "4.0.13";
+ version = "4.0.15";
src = fetchurl {
url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
- sha256 = "sha256-HNpyUD2Tep2XnY3lr5a3ec+NmJtt0VvJx6ujVvSugXo=";
+ sha256 = "sha256-4omuu/9EeywWDkk//4TTal/1siCe/4YMmEsIefBxsuY=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/misc/gxkb/default.nix b/pkgs/applications/misc/gxkb/default.nix
index 16268bc76c73..e496d7864571 100644
--- a/pkgs/applications/misc/gxkb/default.nix
+++ b/pkgs/applications/misc/gxkb/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "gxkb";
- version = "0.9.2";
+ version = "0.9.3";
src = fetchFromGitHub {
owner = "zen-tools";
repo = "gxkb";
rev = "v${version}";
- sha256 = "sha256-KIlosBNfGSYCgtxBuSVeSfHaLsANdLgG/P5UtAL6Hms=";
+ sha256 = "sha256-9r1eZl7PgIt2ZpK+QQHaa460imIHT3Lh5mpzcFglyWc=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.json b/pkgs/applications/networking/browsers/chromium/upstream-info.json
index 5298f985b4c0..acc11144def9 100644
--- a/pkgs/applications/networking/browsers/chromium/upstream-info.json
+++ b/pkgs/applications/networking/browsers/chromium/upstream-info.json
@@ -44,9 +44,9 @@
}
},
"ungoogled-chromium": {
- "version": "95.0.4638.54",
- "sha256": "1zb1009gg9962axn2l1krycz7ml20i8z2n3ka2psxpg68pbqivry",
- "sha256bin64": "0mf9jfzwz6nkz1yg8lndz1gmsvmdh1rxhqkv0vd9nr04h5x9b41a",
+ "version": "95.0.4638.69",
+ "sha256": "1rzg48mbd5n75nq2rfwknyxpmfrddds199ic82c736kcgirpv8rq",
+ "sha256bin64": "1jhxm12sdlgvgnny0p56xsfyxd78mwn9qwc20c33qfvwxrzp9ajp",
"deps": {
"gn": {
"version": "2021-08-11",
@@ -55,8 +55,8 @@
"sha256": "031znmkbm504iim5jvg3gmazj4qnkfc7zg8aymjsij18fhf7piz0"
},
"ungoogled-patches": {
- "rev": "95.0.4638.54-1",
- "sha256": "01jkkz5224aaj5cgdmqknf8v73fyaw4q8bzbqa520a0lvl7hwbg5"
+ "rev": "95.0.4638.69-1",
+ "sha256": "19azr4m4rd6za9vgcggijyq9x54jrjp0n07y4falgjrdz9q4f7aj"
}
}
}
diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix
index 91ccf67f5579..8b956d7f068a 100644
--- a/pkgs/applications/networking/cluster/argocd/default.nix
+++ b/pkgs/applications/networking/cluster/argocd/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "argocd";
- version = "2.1.2";
+ version = "2.1.5";
commit = "7af9dfb3524c13e941ab604e36e49a617fe47d2e";
tag = "v${version}";
@@ -10,7 +10,7 @@ buildGoModule rec {
owner = "argoproj";
repo = "argo-cd";
rev = tag;
- sha256 = "1pr48z1qhv7xxnllr00zz2v0ygxmq2hjdyk0j3zazflnqr2mc596";
+ sha256 = "sha256-dFhbYw7SAo7/eumqIEWpLqgQWFAWeAEvfqWsbya6cCA=";
};
vendorSha256 = "sha256-N45yRlBGZ/c9ve2YPcWA26pylV8hzxjPh6evKtkgnoc=";
diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix
index 0867306e2f94..06a8f162ccbf 100644
--- a/pkgs/applications/networking/cluster/fluxcd/default.nix
+++ b/pkgs/applications/networking/cluster/fluxcd/default.nix
@@ -1,9 +1,9 @@
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
let
- version = "0.19.1";
- sha256 = "184f5q3aa4p6gjdmr8x6a97rzaj64ws8bf3q8sz4xjyznznwcpp0";
- manifestsSha256 = "1xxf572yvjmik7dvijz810lxzfj7irddznl4icidn7hrljzjrv95";
+ version = "0.20.0";
+ sha256 = "06n4d7l00lmrrs7s41mjfk06c0cj04v0s0mbs9b3ppzbws07wca5";
+ manifestsSha256 = "03hfnqc19n3iz47a5137lmwq4mgd6dxcl6ml057kq1bxm2qsq3y4";
manifests = fetchzip {
url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
@@ -23,7 +23,7 @@ buildGoModule rec {
inherit sha256;
};
- vendorSha256 = "sha256-1ZIeS42LoreZKkzDNZxmF17HeDWWVo49CaZDrIR2U9g=";
+ vendorSha256 = "sha256-WkPdBipgEOBy0qjPaX7zGfspWfCtiFB1MUMHLlHGB/U=";
postUnpack = ''
cp -r ${manifests} source/cmd/flux/manifests
diff --git a/pkgs/applications/networking/hyprspace/default.nix b/pkgs/applications/networking/hyprspace/default.nix
index 89c04508b70f..037feccca4ed 100644
--- a/pkgs/applications/networking/hyprspace/default.nix
+++ b/pkgs/applications/networking/hyprspace/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "hyprspace";
- version = "0.1.6";
+ version = "0.1.7";
propagatedBuildInputs = lib.optional stdenv.isDarwin iproute2mac;
@@ -10,10 +10,10 @@ buildGoModule rec {
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "sha256-g0oyI3jnqQADyOrpnK4IvpFQPEwNrpvyDS+DhBDXZGg=";
+ sha256 = "sha256-Ecdxs6see4uexY6DatZ/VSGgWR81zRjo3AeAsXSjJ4A=";
};
- vendorSha256 = "sha256-rw75xNBBV58F+HBVtD/EslPWxZxLbI3/mJVdJF4usKI=";
+ vendorSha256 = "sha256-nFiBHhtvTu9Ya6n1KUF+pOXrksHMOph7ABVtGSWVWlo=";
meta = with lib; {
description = "A Lightweight VPN Built on top of Libp2p for Truly Distributed Networks.";
diff --git a/pkgs/applications/networking/p2p/rqbit/default.nix b/pkgs/applications/networking/p2p/rqbit/default.nix
index 0a77a64916e1..0220b12bd4b8 100644
--- a/pkgs/applications/networking/p2p/rqbit/default.nix
+++ b/pkgs/applications/networking/p2p/rqbit/default.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "rqbit";
- version = "2.1.0";
+ version = "2.1.2";
src = fetchFromGitHub {
owner = "ikatson";
repo = "rqbit";
rev = "v${version}";
- sha256 = "1dyf1sjfiwrrigk1186mzvx5vn196h45imvily394ky2di633av5";
+ sha256 = "0b9wxjwnhhs3vi1x55isdqck67lh1r7nf3dwmhlwcg5887smwp5c";
};
- cargoSha256 = "02z5gdmir1x80axnv516hs00478c7zbb30rdsbs966yh1725w12z";
+ cargoSha256 = "1s278d73mwqpq3n5vmrn5jb6g5dafaaplnhs8346pwcc6y16w3d3";
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
diff --git a/pkgs/applications/radio/wsjtx/default.nix b/pkgs/applications/radio/wsjtx/default.nix
index 8dbdd5d4ff27..3e889c210649 100644
--- a/pkgs/applications/radio/wsjtx/default.nix
+++ b/pkgs/applications/radio/wsjtx/default.nix
@@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
pname = "wsjtx";
- version = "2.4.0";
+ version = "2.5.1";
# This is a "superbuild" tarball containing both wsjtx and a hamlib fork
src = fetchurl {
url = "http://physics.princeton.edu/pulsar/k1jt/wsjtx-${version}.tgz";
- sha256 = "sha256-LpfGzI/Hpsp7/K0ZZu2EFVlvWcN0cnAQ1RNAxCMugcg=";
+ sha256 = "sha256-aof+OavQ+IBw3eef1+bQ9YwIXCdecYiADS+eRXTrmvQ=";
};
# Hamlib builds with autotools, wsjtx builds with cmake
diff --git a/pkgs/applications/video/kodi/unwrapped.nix b/pkgs/applications/video/kodi/unwrapped.nix
index 1ad0dee49c7e..7221e668f4e1 100644
--- a/pkgs/applications/video/kodi/unwrapped.nix
+++ b/pkgs/applications/video/kodi/unwrapped.nix
@@ -38,15 +38,15 @@ assert usbSupport -> !udevSupport; # libusb-compat-0_1 won't be used if udev is
assert gbmSupport || waylandSupport || x11Support;
let
- kodiReleaseDate = "20211006";
- kodiVersion = "19.2";
+ kodiReleaseDate = "20211024";
+ kodiVersion = "19.3";
rel = "Matrix";
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "${kodiVersion}-${rel}";
- sha256 = "sha256-w5m7xlnjQDJ4l75b3ctF0wMZ4kqi+H0X6WFLs0gV6lM=";
+ sha256 = "02bnknk87zzv9j6b6k9c0xx47q2gh399j6v25rm94g7rhzf8phbw";
};
ffmpeg = stdenv.mkDerivation rec {
diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix
index dcb0fc070475..85c80532b511 100644
--- a/pkgs/development/libraries/folly/default.nix
+++ b/pkgs/development/libraries/folly/default.nix
@@ -19,13 +19,13 @@
stdenv.mkDerivation (rec {
pname = "folly";
- version = "2021.09.20.00";
+ version = "2021.10.25.00";
src = fetchFromGitHub {
owner = "facebook";
repo = "folly";
rev = "v${version}";
- sha256 = "sha256-aFTFUtRQOGCDR3pbpw1ViuMFm02GSq04u9GgE9pq33A=";
+ sha256 = "sha256-+di8Dzt5NRbqIydBR4sB6bUbQrZZ8URUosdP2JGQMec=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/gfbgraph/default.nix b/pkgs/development/libraries/gfbgraph/default.nix
index 7f4625b66512..d84dd96ce2f4 100644
--- a/pkgs/development/libraries/gfbgraph/default.nix
+++ b/pkgs/development/libraries/gfbgraph/default.nix
@@ -1,36 +1,52 @@
-{ lib, stdenv, fetchurl, pkg-config, glib, librest, gnome-online-accounts
-, gnome, libsoup, json-glib, gobject-introspection
-, gtk-doc, pkgs, docbook-xsl-nons, autoconf, automake, libtool }:
+{ stdenv
+, lib
+, fetchurl
+, pkg-config
+, glib
+, librest
+, gnome-online-accounts
+, gnome
+, libsoup
+, json-glib
+, gobject-introspection
+, gtk-doc
+, pkgs
+, docbook-xsl-nons
+}:
stdenv.mkDerivation rec {
pname = "gfbgraph";
- version = "0.2.4";
+ version = "0.2.5";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0";
+ sha256 = "nLOBs/eLoRNt+Xrz8G47EdzCqzOawI907aD4BX1mA+M=";
};
nativeBuildInputs = [
- pkg-config gobject-introspection gtk-doc
- docbook-xsl-nons autoconf automake libtool
+ pkg-config
+ gobject-introspection
+ gtk-doc
+ docbook-xsl-nons
];
- buildInputs = [ glib gnome-online-accounts ];
- propagatedBuildInputs = [ libsoup json-glib librest ];
- configureFlags = [ "--enable-introspection" "--enable-gtk-doc" ];
+ buildInputs = [
+ glib
+ gnome-online-accounts
+ ];
- prePatch = ''
- patchShebangs autogen.sh
- substituteInPlace autogen.sh \
- --replace "which" "${pkgs.which}/bin/which"
- '';
+ propagatedBuildInputs = [
+ libsoup
+ json-glib
+ librest
+ ];
- preConfigure = ''
- NOCONFIGURE=1 ./autogen.sh
- '';
+ configureFlags = [
+ "--enable-introspection"
+ "--enable-gtk-doc"
+ ];
enableParallelBuilding = true;
@@ -45,7 +61,7 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Projects/GFBGraph";
description = "GLib/GObject wrapper for the Facebook Graph API";
maintainers = teams.gnome.members;
- license = licenses.lgpl2;
+ license = licenses.lgpl21Plus;
platforms = platforms.linux;
};
}
diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix
index cfac0519c2aa..c1c57c60786f 100644
--- a/pkgs/development/libraries/rocksdb/default.nix
+++ b/pkgs/development/libraries/rocksdb/default.nix
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "rocksdb";
- version = "6.23.3";
+ version = "6.25.3";
src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-SsDqhjdCdtIGNlsMj5kfiuS3zSGwcxi4KV71d95h7yk=";
+ sha256 = "sha256-9Fs+znK7oEEBoPbRhNdVHuangBpuIVEvlxJNeNoEJZA=";
};
nativeBuildInputs = [ cmake ninja ];
@@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
buildInputs = lib.optional enableJemalloc jemalloc;
- NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move";
+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy -Wno-error=pessimizing-move"
+ + lib.optionalString stdenv.cc.isClang "-Wno-error=unused-private-field";
cmakeFlags = [
"-DPORTABLE=1"
diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix
index f4ed369517ca..eae189ce4044 100644
--- a/pkgs/development/python-modules/cirq-core/default.nix
+++ b/pkgs/development/python-modules/cirq-core/default.nix
@@ -3,6 +3,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
+, duet
, matplotlib
, networkx
, numpy
@@ -29,7 +30,7 @@
buildPythonPackage rec {
pname = "cirq-core";
- version = "0.12.0";
+ version = "0.13.1";
disabled = pythonOlder "3.6";
@@ -37,7 +38,7 @@ buildPythonPackage rec {
owner = "quantumlib";
repo = "cirq";
rev = "v${version}";
- sha256 = "sha256-NPaADiRoPL0KoLugtk0vsnTGuRDK85e4j9kHv9aO/Po=";
+ sha256 = "sha256-MVfJ8iEeW8gFvCNTqrWfYpNNYuDAufHgcjd7Nh3qp8U=";
};
sourceRoot = "source/${pname}";
@@ -50,6 +51,7 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
+ duet
matplotlib
networkx
numpy
diff --git a/pkgs/development/python-modules/cirq-rigetti/default.nix b/pkgs/development/python-modules/cirq-rigetti/default.nix
index 781ce0eaa656..8717b09a49ce 100644
--- a/pkgs/development/python-modules/cirq-rigetti/default.nix
+++ b/pkgs/development/python-modules/cirq-rigetti/default.nix
@@ -39,7 +39,8 @@ buildPythonPackage rec {
--replace "httpx~=0.15.5" "httpx" \
--replace "idna~=2.10" "idna" \
--replace "requests~=2.18" "requests" \
- --replace "pyjwt~=1.7.1" "pyjwt"
+ --replace "pyjwt~=1.7.1" "pyjwt" \
+ --replace "qcs-api-client~=0.8.0" "qcs-api-client"
'';
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/cirq/default.nix b/pkgs/development/python-modules/cirq/default.nix
index f8afdcbbb050..bd6a06cd95d5 100644
--- a/pkgs/development/python-modules/cirq/default.nix
+++ b/pkgs/development/python-modules/cirq/default.nix
@@ -1,7 +1,12 @@
{ lib
, buildPythonPackage
+, cirq-aqt
, cirq-core
, cirq-google
+, cirq-ionq
+, cirq-pasqal
+, cirq-rigetti
+, cirq-web
# test inputs
, pytestCheckHook
}:
@@ -11,8 +16,13 @@ buildPythonPackage rec {
inherit (cirq-core) version src meta;
propagatedBuildInputs = [
+ cirq-aqt
cirq-core
+ cirq-ionq
cirq-google
+ cirq-rigetti
+ cirq-pasqal
+ cirq-web
];
# pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here
@@ -20,8 +30,13 @@ buildPythonPackage rec {
# Don't run submodule or development tool tests
disabledTestPaths = [
- "cirq-google"
+ "cirq-aqt"
"cirq-core"
+ "cirq-google"
+ "cirq-ionq"
+ "cirq-pasqal"
+ "cirq-rigetti"
+ "cirq-web"
"dev_tools"
];
diff --git a/pkgs/development/python-modules/duet/default.nix b/pkgs/development/python-modules/duet/default.nix
new file mode 100644
index 000000000000..fd770785d27a
--- /dev/null
+++ b/pkgs/development/python-modules/duet/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pytestCheckHook
+, typing-extensions
+}:
+
+buildPythonPackage rec {
+ pname = "duet";
+ version = "0.2.1";
+
+ src = fetchFromGitHub {
+ owner = "google";
+ repo = "duet";
+ rev = "v${version}";
+ sha256 = "sha256-hK2Cx7dSm1mGM2z9oCoRogfa2aIsjyJcdpSSfdHhPmw=";
+ };
+
+ propagatedBuildInputs = [ typing-extensions ];
+
+ checkInputs = [ pytestCheckHook ];
+
+ meta = with lib; {
+ description = "A simple future-based async library for python";
+ homepage = "https://github.com/google/duet";
+ maintainers = with maintainers; [ drewrisinger ];
+ };
+}
diff --git a/pkgs/development/python-modules/jedi/default.nix b/pkgs/development/python-modules/jedi/default.nix
index 4e4aa0a94f18..814c8acbf91f 100644
--- a/pkgs/development/python-modules/jedi/default.nix
+++ b/pkgs/development/python-modules/jedi/default.nix
@@ -40,6 +40,9 @@ buildPythonPackage rec {
disabledTests = [
# Assertions mismatches with pytest>=6.0
"test_completion"
+
+ # sensitive to platform, causes false negatives on darwin
+ "test_import"
] ++ lib.optionals (stdenv.isAarch64 && pythonOlder "3.9") [
# AssertionError: assert 'foo' in ['setup']
"test_init_extension_module"
diff --git a/pkgs/development/python-modules/mypy-boto3-s3/default.nix b/pkgs/development/python-modules/mypy-boto3-s3/default.nix
index 4229b235e3ce..5a38e98bf8c4 100644
--- a/pkgs/development/python-modules/mypy-boto3-s3/default.nix
+++ b/pkgs/development/python-modules/mypy-boto3-s3/default.nix
@@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "mypy-boto3-s3";
- version = "1.19.4";
+ version = "1.19.7";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "47a2d1a5c7ea77a70d001d0f3ae6f2b06d3e533f817b165bb67e3dad1c2d0c11";
+ sha256 = "1e5e8a19b8ebc3118d32ce1e13ad3cc5f90d34b613779b66dfdec0658cf7036f";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/pynetbox/default.nix b/pkgs/development/python-modules/pynetbox/default.nix
index e6759e736a94..c59cc21c15ca 100644
--- a/pkgs/development/python-modules/pynetbox/default.nix
+++ b/pkgs/development/python-modules/pynetbox/default.nix
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "pynetbox";
- version = "6.1.3";
+ version = "6.2.0";
src = fetchFromGitHub {
owner = "netbox-community";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-ALDNnKgnOjYladDRVothjm3/2Jv1eNxR2wSS+ZL/Fqk=";
+ sha256 = "1j91m5g4qxkf59m506aw6vfhv1db1z393924qq3zbyg3wqwq1rxx";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
diff --git a/pkgs/development/python-modules/pyquil/default.nix b/pkgs/development/python-modules/pyquil/default.nix
index c9f71b6414db..f984bcc2dea6 100644
--- a/pkgs/development/python-modules/pyquil/default.nix
+++ b/pkgs/development/python-modules/pyquil/default.nix
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
+, fetchpatch
, importlib-metadata
, ipython
, lark-parser
@@ -15,13 +16,14 @@
, pythonOlder
, qcs-api-client
, retry
+, respx
, rpcq
, scipy
}:
buildPythonPackage rec {
pname = "pyquil";
- version = "3.0.0";
+ version = "3.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -30,9 +32,17 @@ buildPythonPackage rec {
owner = "rigetti";
repo = pname;
rev = "v${version}";
- sha256 = "0070pslz6vvyavm5pm27q2bng2mfmkb41v5czzckz7m8db3b1r2x";
+ sha256 = "sha256-OU7/LjcpCxvqlcfdlm5ll4f0DYXf0yxNprM8Muu2wyg=";
};
+ patches = [
+ (fetchpatch {
+ name = "pyquil-pr-1404-unpin-qcs-api-client-version-pyproject.patch";
+ url = "https://github.com/rigetti/pyquil/commit/2e35a4fdf65262fdf39c5091aeddfa3f3564925a.patch";
+ sha256 = "sha256-KGDNU2wpzsuifQSbbkoMwaFXspHW6zyIJ5GRZbw+lUY=";
+ })
+ ];
+
nativeBuildInputs = [
poetry-core
];
@@ -55,6 +65,7 @@ buildPythonPackage rec {
pytest-httpx
pytest-mock
pytestCheckHook
+ respx
ipython
];
@@ -67,6 +78,7 @@ buildPythonPackage rec {
# Tests require network access
"test/e2e/"
"test/unit/test_api.py"
+ "test/unit/test_engagement_manager.py"
"test/unit/test_operator_estimation.py"
"test/unit/test_wavefunction_simulator.py"
"test/unit/test_compatibility_v2_operator_estimation.py"
diff --git a/pkgs/development/python-modules/spacy-transformers/default.nix b/pkgs/development/python-modules/spacy-transformers/default.nix
index 5c5536c18b71..de085f20209c 100644
--- a/pkgs/development/python-modules/spacy-transformers/default.nix
+++ b/pkgs/development/python-modules/spacy-transformers/default.nix
@@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "spacy-transformers";
- version = "1.1.1";
+ version = "1.1.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "f66c4b08c3afe2c9f01bc4a377af3c62ea9c1aa7b67ff51f62b9be73d6609e49";
+ sha256 = "b84c195dc21a28582579dea3f76c90222e29ee0d99b6adf38ade75646ed2746e";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/trimesh/default.nix b/pkgs/development/python-modules/trimesh/default.nix
index 129317be9c02..c96ab4cd55e9 100644
--- a/pkgs/development/python-modules/trimesh/default.nix
+++ b/pkgs/development/python-modules/trimesh/default.nix
@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "trimesh";
- version = "3.9.34";
+ version = "3.9.35";
src = fetchPypi {
inherit pname version;
- sha256 = "5bdef3efae82eaee902541376561f74b143f228f5de45ca3f6a883af3bb7d1e1";
+ sha256 = "1632a09c7b3c152170dbad05b796033540feba4746a8e9c4a437eaa563c47bc9";
};
propagatedBuildInputs = [ numpy ];
diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix
index de17aa849227..a46c0b1b4ef5 100644
--- a/pkgs/development/python-modules/xml2rfc/default.nix
+++ b/pkgs/development/python-modules/xml2rfc/default.nix
@@ -22,13 +22,13 @@
buildPythonPackage rec {
pname = "xml2rfc";
- version = "3.10.0";
+ version = "3.11.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-DJjGQAYFhXjAiJhWzxpQ0jRUSrnsNCcNz1KfPEjBoKE=";
+ sha256 = "sha256-V1Epv5TJ4+Gnh096jeQIN0HOCj+GoCdQW/Pol5iBrFw=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/ruby-modules/rbenv/default.nix b/pkgs/development/ruby-modules/rbenv/default.nix
index c3c462332691..5eeeaa4b3913 100644
--- a/pkgs/development/ruby-modules/rbenv/default.nix
+++ b/pkgs/development/ruby-modules/rbenv/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "rbenv";
- version = "1.1.2";
+ version = "1.2.0";
nativeBuildInputs = [ installShellFiles ];
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "rbenv";
repo = "rbenv";
rev = "v${version}";
- sha256 = "12i050vs35iiblxga43zrj7xwbaisv3mq55y9ikagkr8pj1vmq53";
+ sha256 = "sha256-m/Yy5EK8pLTBFcsgKCrNvQrPFFIlYklXXZbjN4Nmm9c=";
};
postPatch = ''
diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix
index 4572ede05367..54cea3727f21 100644
--- a/pkgs/development/tools/analysis/flow/default.nix
+++ b/pkgs/development/tools/analysis/flow/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "flow";
- version = "0.160.1";
+ version = "0.163.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "v${version}";
- sha256 = "sha256-tIKQBJ+nlUzY3+jHlXOAMfCLVJfRXZiveSkKaDMz/hI=";
+ sha256 = "sha256-8O7EuYMNEa0M3HS0U10VbkevxL/cnySXHkT1WdI4Z84=";
};
installPhase = ''
diff --git a/pkgs/development/tools/clj-kondo/default.nix b/pkgs/development/tools/clj-kondo/default.nix
index c4b90813a338..97f41b0c8a7e 100644
--- a/pkgs/development/tools/clj-kondo/default.nix
+++ b/pkgs/development/tools/clj-kondo/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "clj-kondo";
- version = "2021.09.25";
+ version = "2021.10.19";
src = fetchurl {
url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
- sha256 = "sha256-kS6bwsYH/cbjJlIeiDAy6QsAw+D1uHp26d4NBLfStjg=";
+ sha256 = "sha256-i0OeQPZfQPUeXC/Bs84I91IahBKK6W1mFix97s8/lVA=";
};
dontUnpack = true;
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
runHook preBuild
- # https://github.com/clj-kondo/clj-kondo/blob/v2021.09.25/script/compile#L17-L21
+ # https://github.com/clj-kondo/clj-kondo/blob/v2021.10.19/script/compile#L17-L21
args=("-jar" "$src"
"-H:CLibraryPath=${graalvm11-ce.lib}/lib"
# Required to build babashka on darwin. Do not remove.
diff --git a/pkgs/development/tools/hcloud/default.nix b/pkgs/development/tools/hcloud/default.nix
index 0b5df99eef13..4cc9722ed4ee 100644
--- a/pkgs/development/tools/hcloud/default.nix
+++ b/pkgs/development/tools/hcloud/default.nix
@@ -2,18 +2,18 @@
buildGoModule rec {
pname = "hcloud";
- version = "1.28.0";
+ version = "1.28.1";
src = fetchFromGitHub {
owner = "hetznercloud";
repo = "cli";
rev = "v${version}";
- sha256 = "sha256-ySCfU/VWZz6tSZbrbhT/OIoxme+Y53eFtlVTI43yNVA=";
+ sha256 = "sha256-gEXQaVBzvOifnCN8TWfadTgypHy+u7lZw+qoyW+mEKU=";
};
nativeBuildInputs = [ installShellFiles ];
- vendorSha256 = "sha256-G3kiaYoCyoltyS/OlecJHaYWpeFax1qonOJZr30wSV8=";
+ vendorSha256 = "sha256-SURFlHCrWqTjdHO9ZUmtR2nmKwt0S7rpA6jQ0dDD/EE=";
doCheck = false;
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index cc12ff401fae..bf79e1dc25de 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -30,6 +30,7 @@
, nodePackages
, skim
, sqlite
+, statix
, stylish-haskell
, tabnine
, vim
@@ -527,6 +528,21 @@ self: super: {
'';
});
+ statix = buildVimPluginFrom2Nix rec {
+ inherit (statix) pname src meta;
+ version = "0.1.0";
+ dependencies = with self; [ statix ];
+ postPatch = ''
+ # check that version is up to date
+ grep 'pname = "statix-vim"' -A 1 flake.nix \
+ | grep -F 'version = "${version}"' flake.nix
+
+ cd vim-plugin
+ substituteInPlace ftplugin/nix.vim --replace statix ${statix}/bin/statix
+ substituteInPlace plugin/statix.vim --replace statix ${statix}/bin/statix
+ '';
+ };
+
sved =
let
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix
index 67e611e9bb7d..01bfd6b4c2c9 100644
--- a/pkgs/servers/monitoring/grafana-agent/default.nix
+++ b/pkgs/servers/monitoring/grafana-agent/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "grafana-agent";
- version = "0.18.4";
+ version = "0.20.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "agent";
- sha256 = "sha256-NlktNBVljMgcivB0N/X3aAEJyZK2GyDD7o86qx/5YmQ=";
+ sha256 = "sha256-oe5uUG3uQnobH94J3ndI35pnw7zExqtoXJ3Ro9lSrrc=";
};
- vendorSha256 = "sha256-MZGOZB/mS3pmZuI35E/QkaNLLhbuW2DfZiih9OCXMj0=";
+ vendorSha256 = "sha256-uQEcoAxodMMSv0vEKtcmXYzZ50YYdywHG3S07UONN84=";
patches = [
# https://github.com/grafana/agent/issues/731
diff --git a/pkgs/tools/misc/bat/default.nix b/pkgs/tools/misc/bat/default.nix
index de0f13c77fd0..a46a32d6a88b 100644
--- a/pkgs/tools/misc/bat/default.nix
+++ b/pkgs/tools/misc/bat/default.nix
@@ -1,6 +1,5 @@
{ lib
, stdenv
-, nixosTests
, rustPlatform
, fetchFromGitHub
, pkg-config
@@ -41,7 +40,18 @@ rustPlatform.buildRustPackage rec {
checkFlags = [ "--skip=pager_more" "--skip=pager_most" ];
- passthru.tests = { inherit (nixosTests) bat; };
+ doInstallCheck = true;
+ installCheckPhase = ''
+ runHook preInstallCheck
+
+ testFile=$(mktemp /tmp/bat-test.XXXX)
+ echo -ne 'Foobar\n\n\n42' > $testFile
+ $out/bin/bat -p $testFile | grep "Foobar"
+ $out/bin/bat -p $testFile -r 4:4 | grep 42
+ rm $testFile
+
+ runHook postInstallCheck
+ '';
meta = with lib; {
description = "A cat(1) clone with syntax highlighting and Git integration";
diff --git a/pkgs/tools/misc/chezmoi/default.nix b/pkgs/tools/misc/chezmoi/default.nix
index 415fed33170c..ba8fb3507695 100644
--- a/pkgs/tools/misc/chezmoi/default.nix
+++ b/pkgs/tools/misc/chezmoi/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "chezmoi";
- version = "2.6.1";
+ version = "2.7.3";
src = fetchFromGitHub {
owner = "twpayne";
repo = "chezmoi";
rev = "v${version}";
- sha256 = "sha256-x5KqDVy+thIymZHsmyO+WsGq0IBb2cZxogKsjzunC2o=";
+ sha256 = "sha256-xn9DSbAqfSK7CokxVRrHuOO62oSXKGR0/HZYadLLd74=";
};
- vendorSha256 = "sha256-8NhJfA9q6di/IPL53U/dwGNAAdtuBX5Lf6fhTk4Mz0Q=";
+ vendorSha256 = "sha256-e+LsFlF83OGbhajaGGyWARv7O6dI6ZKm3yhDqrgmMpk=";
doCheck = false;
diff --git a/pkgs/tools/misc/fluent-bit/default.nix b/pkgs/tools/misc/fluent-bit/default.nix
index f744c52b76b7..795e2b39b7b2 100644
--- a/pkgs/tools/misc/fluent-bit/default.nix
+++ b/pkgs/tools/misc/fluent-bit/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "fluent-bit";
- version = "1.8.6";
+ version = "1.8.9";
src = fetchFromGitHub {
owner = "fluent";
repo = "fluent-bit";
rev = "v${version}";
- sha256 = "sha256-JYE4ReFiYSDx/0dlA8OkQw3rEpUEQDguTWoHC1r1fUc=";
+ sha256 = "sha256-b+MZuZQB/sl0HcioU1KCxH3TNiXYSPBfC9dBKqCVeXk=";
};
nativeBuildInputs = [ cmake flex bison ];
diff --git a/pkgs/tools/misc/goreleaser/default.nix b/pkgs/tools/misc/goreleaser/default.nix
index 13b9f661a640..c2caab58af5e 100644
--- a/pkgs/tools/misc/goreleaser/default.nix
+++ b/pkgs/tools/misc/goreleaser/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "goreleaser";
- version = "0.179.0";
+ version = "0.183.0";
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-E8a1S6CPPd8xsdt/tu1VmWxQCMUp8dEPB5H2IL4jj1k=";
+ sha256 = "sha256-bH6Crsyo1D2wBlQJK4P13Jc9x5ItaNOV1P7o16z8LS8=";
};
- vendorSha256 = "sha256-qF7mULIQrFs/SAMm/dUcYPs1urLKKg6w7hgkuJ2AivQ=";
+ vendorSha256 = "sha256-netkm/oqf7FQuuF0kjQjoopOQADPrVStIhMdEYx43FE=";
ldflags = [
"-s"
diff --git a/pkgs/tools/misc/plantuml-server/default.nix b/pkgs/tools/misc/plantuml-server/default.nix
index eef6cdc11d5f..6afaf0fbb348 100644
--- a/pkgs/tools/misc/plantuml-server/default.nix
+++ b/pkgs/tools/misc/plantuml-server/default.nix
@@ -1,13 +1,13 @@
{ lib, stdenv, fetchFromGitHub, maven, jdk8_headless }:
let
- version = "1.2021.7";
+ version = "1.2021.12";
src = fetchFromGitHub {
owner = "plantuml";
repo = "plantuml-server";
rev = "v${version}";
- sha256 = "sha256-kY7b3ocm1zudGIf72MNMZDUG2t2FFqucRr3kRaFv7mo=";
+ sha256 = "sha256:016mrs4djbaid1ma5922dvq372pphbzzmjzsjalj2dqp60538xll";
};
# perform fake build to make a fixed-output derivation out of the files downloaded from maven central
@@ -28,7 +28,7 @@ let
installPhase = ''find $out/.m2 -type f -regex '.+\(\.lastUpdated\|resolver-status\.properties\|_remote\.repositories\)' -delete'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
- outputHash = "sha256-HzT5rBycrd48KskWKAGtkMKdCDQ8NPYADVWZh8K0ll4=";
+ outputHash = "sha256:12w1iw9c5j7y9hhaip07j3aszjiiakkww1v3zszlj15fj8jgqyf2";
};
in
diff --git a/pkgs/tools/networking/frp/default.nix b/pkgs/tools/networking/frp/default.nix
index 1fc91277ef3b..80108f77fe53 100644
--- a/pkgs/tools/networking/frp/default.nix
+++ b/pkgs/tools/networking/frp/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "frp";
- version = "0.37.1";
+ version = "0.38.0";
src = fetchFromGitHub {
owner = "fatedier";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-TEVSxTzMgoIPcIUmhtRnFSp3xClJmOsIUjpKEr5sId8=";
+ sha256 = "sha256-wdK8o+Id7+YiSk7nZv04kTYa/9YOypstlecu6TPFI6w=";
};
- vendorSha256 = "sha256-4vvIobj1I7FbPVJJG4NZogwv4BMo7GRa5Fo5gO2Daws=";
+ vendorSha256 = "sha256-R//kD9A6U9m/7Q7FPToA5kn0kzR7W/A82HezA/+dCFY=";
doCheck = false;
diff --git a/pkgs/tools/networking/grpcui/default.nix b/pkgs/tools/networking/grpcui/default.nix
index 1fa47ba917fc..14d790fedecd 100644
--- a/pkgs/tools/networking/grpcui/default.nix
+++ b/pkgs/tools/networking/grpcui/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "grpcui";
- version = "1.1.0";
+ version = "1.2.0";
src = fetchFromGitHub {
owner = "fullstorydev";
repo = pname;
rev = "v${version}";
- sha256 = "1l8ldx7nx2pa2ac5znss0j0dhapn3syj02xqys4jz22hr5gvfj6m";
+ sha256 = "sha256-gHzafx3nIrdLyiGlz5v6pJ8XVT+7tDN59rsdfp1V/Q0=";
};
- vendorSha256 = "15qgpbsl41swifw8w1lx0pbniwv3rf35127ald7h1r157vfa0r8b";
+ vendorSha256 = "sha256-6K644KSmFEA60yMnw7GmCmycsb5x2stvc0unyV4pF9g=";
doCheck = false;
diff --git a/pkgs/tools/networking/ytcc/default.nix b/pkgs/tools/networking/ytcc/default.nix
index 1c83acc2a186..7b6104e25fc3 100644
--- a/pkgs/tools/networking/ytcc/default.nix
+++ b/pkgs/tools/networking/ytcc/default.nix
@@ -1,24 +1,28 @@
-{ lib, python3Packages, fetchFromGitHub, gettext }:
+{ lib, python3Packages, fetchFromGitHub, gettext, installShellFiles }:
python3Packages.buildPythonApplication rec {
pname = "ytcc";
- version = "2.5.1";
+ version = "2.5.2";
src = fetchFromGitHub {
owner = "woefe";
repo = "ytcc";
rev = "v${version}";
- sha256 = "1w2frcy51kwsvd486awhpl5kkm11zj1nw3nnv9337316gfs213nw";
+ sha256 = "0xpinilb8rnha35laxq076p6v7hdis6davr9ckm5xycs3m4aj7s8";
};
- nativeBuildInputs = [ gettext ];
+ postPatch = ''
+ substituteInPlace setup.py --replace "youtube_dl" "yt_dlp"
+ '';
+
+ nativeBuildInputs = [ gettext installShellFiles ];
propagatedBuildInputs = with python3Packages; [
click
feedparser
lxml
sqlalchemy
- youtube-dl
+ yt-dlp
wcwidth
];
@@ -38,10 +42,14 @@ python3Packages.buildPythonApplication rec {
"test_download"
];
+ postInstall = ''
+ installManPage doc/ytcc.1
+ '';
+
meta = {
description = "Command Line tool to keep track of your favourite YouTube channels without signing up for a Google account";
homepage = "https://github.com/woefe/ytcc";
license = lib.licenses.gpl3Plus;
- maintainers = with lib.maintainers; [ marius851000 ];
+ maintainers = with lib.maintainers; [ marius851000 marsam ];
};
}
diff --git a/pkgs/tools/networking/zerotierone/default.nix b/pkgs/tools/networking/zerotierone/default.nix
index f2afb6d3baeb..7344b12180e6 100644
--- a/pkgs/tools/networking/zerotierone/default.nix
+++ b/pkgs/tools/networking/zerotierone/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "zerotierone";
- version = "1.6.6";
+ version = "1.8.1";
src = fetchFromGitHub {
owner = "zerotier";
repo = "ZeroTierOne";
rev = version;
- sha256 = "0pi22252c21gxmjcgwmagkrnp5y1hhqrm9jkjj9pg1nlzzrlyrnm";
+ sha256 = "sha256-nr5qvo/SLzQ16B/83lCzlQ5zduPGxOhfqWat/Grsf/Q=";
};
preConfigure = ''
diff --git a/pkgs/tools/nix/statix/default.nix b/pkgs/tools/nix/statix/default.nix
new file mode 100644
index 000000000000..944abac0d34d
--- /dev/null
+++ b/pkgs/tools/nix/statix/default.nix
@@ -0,0 +1,28 @@
+{ lib, rustPlatform, fetchFromGitHub, withJson ? true }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "statix";
+ # also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix
+ # the version can be found in flake.nix of the source code
+ version = "0.3.1";
+
+ src = fetchFromGitHub {
+ owner = "nerdypepper";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "sha256-Jh3ErzK8vqEdDtZP7O/PAmHQznUTB18nCQwfckFxyLA=";
+ };
+
+ cargoSha256 = "sha256-y+vBHAHTe++tYOWWQ5ioFlprRfDximZE8KSGNNBSPAk=";
+
+ cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];
+
+ cargoCheckFlags = cargoBuildFlags;
+
+ meta = with lib; {
+ description = "Lints and suggestions for the nix programming language";
+ homepage = "https://github.com/nerdypepper/statix";
+ license = licenses.mit;
+ maintainers = with maintainers; [ figsoda nerdypepper ];
+ };
+}
diff --git a/pkgs/tools/system/consul-template/default.nix b/pkgs/tools/system/consul-template/default.nix
index 020e56a1526b..b811ea5f39f7 100644
--- a/pkgs/tools/system/consul-template/default.nix
+++ b/pkgs/tools/system/consul-template/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "consul-template";
- version = "0.27.0";
+ version = "0.27.1";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "consul-template";
rev = "v${version}";
- sha256 = "sha256-XzsewkHaFIq1kvFDHIsnhfhtLPLFRin7YrhiZuF1+co=";
+ sha256 = "sha256-t6oqey2GlGOOxGuhlYnQeYzw1vR7qeiM+tSqzp3L3g0=";
};
- vendorSha256 = "sha256-/4ZY4YRGsUSL2e6uYPJ9tWEvXDjU5/L56yf49pUkJ2E=";
+ vendorSha256 = "sha256-my4ECzmvrPhbKlcEptQ0xi4lYxHm42IrEsOvcetuMeQ=";
# consul-template tests depend on vault and consul services running to
# execute tests so we skip them here
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4c9839efcbdc..c85c716499f5 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -15175,6 +15175,8 @@ with pkgs;
sselp = callPackage ../tools/X11/sselp{ };
+ statix = callPackage ../tools/nix/statix { };
+
stm32cubemx = callPackage ../development/embedded/stm32/stm32cubemx { };
stm32flash = callPackage ../development/embedded/stm32/stm32flash { };
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 0efae541addf..3a13b8282875 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2315,6 +2315,8 @@ in {
duecredit = callPackage ../development/python-modules/duecredit { };
+ duet = callPackage ../development/python-modules/duet { };
+
dufte = callPackage ../development/python-modules/dufte { };
dugong = callPackage ../development/python-modules/dugong { };