Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-06-05 18:02:10 +00:00 committed by GitHub
commit 23f7318bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 2211 additions and 825 deletions

View File

@ -125,13 +125,15 @@ in
};
config = lib.mkIf cfg.enable {
systemd.services.self-deploy = {
systemd.services.self-deploy = rec {
inherit (cfg) startAt;
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "oneshot";
requires = lib.mkIf (!(isPathType cfg.repository)) [ "network-online.target" ];
after = requires;
environment.GIT_SSH_COMMAND = lib.mkIf (cfg.sshKeyFile != null)
"${pkgs.openssh}/bin/ssh -i ${lib.escapeShellArg cfg.sshKeyFile}";

View File

@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
pname = "mix-deps-${pname}";
mixEnv = "test";
src = "${src}/app/server/beam/tau";
sha256 = "sha256-MvwUyVTS23vQKLpGxz46tEVCs/OyYk5dDaBlv+kYg1M=";
hash = "sha256-MvwUyVTS23vQKLpGxz46tEVCs/OyYk5dDaBlv+kYg1M=";
};
strictDeps = true;

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "Subtitlr";
version = "0.1.0";
version = "0.1.1";
src = fetchFromGitHub {
owner = "yoanbernabeu";
repo = pname;
rev = version;
hash = "sha256-fwDIE8DFVd7NRhi8bBmFxrmGdT2ZtSFWBaynV+xz3ms=";
hash = "sha256-1EjOpWVTp7CqwqSJAhqicvY2crzw1n7Id+TIwYrSQAs=";
};
vendorHash = "sha256-t92nz42sv8bE0JIkSFB2+WBz1Um8kcRSotpXcPIy3eQ=";
vendorHash = "sha256-ZgJCk9vbbQ0dcYSdKm0Cbw2AmwjpMvGb5zJkgbD+xig=";
ldflags = [ "-s" "-w" ];

View File

@ -13,9 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
# 'make check' requires internet connection
doCheck = true;
checkPhase = ''
make test
'';
checkTarget = "test";
meta = {
description = "Tiniest x86-64-linux emulator";

View File

@ -7,6 +7,7 @@
, writeText
, makeDesktopItem
, xvfb-run
, qt5
}:
python3Packages.buildPythonApplication rec {
@ -77,6 +78,8 @@ python3Packages.buildPythonApplication rec {
pyside2
streamdeck
xlib
] ++ lib.optionals stdenv.isLinux [
qt5.qtwayland
];
nativeCheckInputs = [

View File

@ -25,9 +25,7 @@ python3.pkgs.buildPythonApplication rec {
./configdir.patch
];
nativeBuildInputs = [ intltool pandoc wrapGAppsHook ];
buildInputs = [ gobject-introspection ];
nativeBuildInputs = [ intltool pandoc wrapGAppsHook gobject-introspection ];
propagatedBuildInputs = [
gtk3

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,32 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage {
pname = "egglog";
version = "unstable-2023-05-22";
src = fetchFromGitHub {
owner = "egraphs-good";
repo = "egglog";
rev = "5242b50051c339d55009860d4dff80125fdcedfd";
hash = "sha256-N04CfITLEr4D4s6bUi0eRQdAVy6Ztq3Ml0365of7i0U=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"symbol_table-0.2.0" = "sha256-f9UclMOUig+N5L3ibBXou0pJ4S/CQqtaji7tnebVbis=";
"symbolic_expressions-5.0.3" = "sha256-mSxnhveAItlTktQC4hM8o6TYjgtCUgkdZj7i6MR4Oeo=";
};
};
meta = with lib; {
description = "A fixpoint reasoning system that unifies Datalog and equality saturation";
homepage = "https://github.com/egraphs-good/egglog";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "egg-smol";
};
}

View File

@ -44,6 +44,11 @@ stdenv.mkDerivation rec {
postPatch = ''
sed -e 's@/usr/bin/less@${less}/bin/less@' -i src/unix/terminal.cc
'' + lib.optionalString (lib.versionAtLeast boost.version "1.73") ''
find . -type f -exec sed -i \
-e 's/ E(/ internal_E(/g' \
-e 's/{E(/{internal_E(/g' \
{} +
'';
CXXFLAGS=" --std=c++11 ";

View File

@ -47,13 +47,13 @@ let
in
stdenv.mkDerivation rec {
pname = "mkvtoolnix";
version = "76.0";
version = "77.0";
src = fetchFromGitLab {
owner = "mbunkus";
repo = "mkvtoolnix";
rev = "release-${version}";
sha256 = "sha256-jeuok3sspLQRnLCYvsmIbjhuf00eSS/4FjmzlRyzYzc=";
sha256 = "t+kfFS5c8w+c9wxNh59nceFesfdMy8qvHlUqDbZAxkk=";
};
nativeBuildInputs = [

View File

@ -57,11 +57,11 @@ let
in
stdenv.mkDerivation rec {
pname = "cardboard";
version = "0.pre+unstable=2021-05-10";
version = "unstable=2021-05-10";
src = fetchFromGitLab {
owner = "cardboardwm";
repo = pname;
repo = "cardboard";
rev = "b54758d85164fb19468f5ca52588ebea576cd027";
hash = "sha256-Kn5NyQSDyX7/nn2bKZPnsuepkoppi5XIkdu7IDy5r4w=";
};
@ -73,6 +73,7 @@ stdenv.mkDerivation rec {
pkg-config
unzip
];
buildInputs = [
ffmpeg
libGL
@ -93,12 +94,12 @@ stdenv.mkDerivation rec {
];
postPatch = ''
(cd subprojects
tar xvf ${cereal-wrap}
unzip ${cereal-wrapdb}
cp -r ${expected-wrap} ${expected-wrap.name}
cp -r ${wlroots-wrap} ${wlroots-wrap.name}
)
pushd subprojects
tar xvf ${cereal-wrap}
unzip ${cereal-wrapdb}
cp -r ${expected-wrap} ${expected-wrap.name}
cp -r ${wlroots-wrap} ${wlroots-wrap.name}
popd
sed '1i#include <functional>' -i cardboard/ViewAnimation.h # gcc12
'';
@ -112,11 +113,15 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=array-bounds" ]; # gcc12
meta = with lib; {
meta = {
homepage = "https://gitlab.com/cardboardwm/cardboard";
description = "A scrollable, tiling Wayland compositor inspired on PaperWM";
license = licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ AndersonTorres ];
inherit (wayland.meta) platforms;
knownVulnerabilities = [
"CVE-2020-11104 (inherited from cereal 1.3.0)"
"CVE-2020-11105 (inherited from cereal 1.3.0)"
];
};
}

View File

@ -21,7 +21,7 @@ mixRelease {
mixFodDeps = fetchMixDeps {
pname = "mix-deps-${pname}";
inherit src version elixir;
sha256 = "sha256-jF1Plkz1D85aWkiNgeBlJmHndhr7us+8+m/gMkXHvDw=";
hash = "sha256-jF1Plkz1D85aWkiNgeBlJmHndhr7us+8+m/gMkXHvDw=";
};
# elixir-ls is an umbrella app

View File

@ -2,7 +2,8 @@
{ pname
, version
, sha256
, hash ? ""
, sha256 ? ""
, src
, mixEnv ? "prod"
, debug ? false
@ -13,6 +14,12 @@
, ...
}@attrs:
let
hash_ =
if hash != "" then { outputHashAlgo = null; outputHash = hash; }
else if sha256 != "" then { outputHashAlgo = "sha256"; outputHash = sha256; }
else { outputHashAlgo = "sha256"; outputHash = lib.fakeSha256; };
in
stdenvNoCC.mkDerivation (attrs // {
nativeBuildInputs = [ elixir hex cacert git ];
@ -51,10 +58,8 @@ stdenvNoCC.mkDerivation (attrs // {
runHook postInstall
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = sha256;
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
inherit meta;
})
} // hash_)

View File

@ -28,14 +28,14 @@ let
in
buildPythonPackage rec {
pname = "vyper";
version = "0.3.8";
version = "0.3.9";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-x3MTKxXZgAT35o8pekGxSXhcr5MrrRPr86+3Lab4qn8=";
sha256 = "sha256-4UBSH4qRBgsy+VO9XzosWedM65R1lTo9ml2C95T9OAA=";
};
nativeBuildInputs = [

View File

@ -53,6 +53,7 @@
, enableLTO ? stdenv.is64bit && stdenv.isLinux
, reproducibleBuild ? false
, pythonAttr ? "python${sourceVersion.major}${sourceVersion.minor}"
, noldconfigPatch ? ./. + "/${sourceVersion.major}.${sourceVersion.minor}/no-ldconfig.patch"
} @ inputs:
# Note: this package is used for bootstrapping fetchurl, and thus
@ -252,7 +253,7 @@ in with passthru; stdenv.mkDerivation {
# ctypes.util.find_library during the loading of the uuid module
# (since it will do a futile invocation of gcc (!) to find
# libuuid, slowing down program startup a lot).
(./. + "/${sourceVersion.major}.${sourceVersion.minor}/no-ldconfig.patch")
noldconfigPatch
# Make sure that the virtualenv activation scripts are
# owner-writable, so venvs can be recreated without permission
# errors.
@ -284,7 +285,7 @@ in with passthru; stdenv.mkDerivation {
sha256 = "1h18lnpx539h5lfxyk379dxwr8m2raigcjixkf133l4xy3f4bzi2";
}
)
] ++ optionals (pythonOlder "3.12") [
] ++ optionals (pythonAtLeast "3.7" && pythonOlder "3.12") [
# LDSHARED now uses $CC instead of gcc. Fixes cross-compilation of extension modules.
./3.8/0001-On-all-posix-systems-not-just-Darwin-set-LDSHARED-if.patch
# Use sysconfigdata to find headers. Fixes cross-compilation of extension modules.

View File

@ -8,113 +8,12 @@
, makeScopeWithSplicing
, pythonPackagesExtensions
, stdenv
}:
}@args:
(let
# Common passthru for all Python interpreters.
passthruFun =
{ implementation
, libPrefix
, executable
, sourceVersion
, pythonVersion
, packageOverrides
, sitePackages
, hasDistutilsCxxPatch
, pythonOnBuildForBuild
, pythonOnBuildForHost
, pythonOnBuildForTarget
, pythonOnHostForHost
, pythonOnTargetForTarget
, pythonAttr ? null
, self # is pythonOnHostForTarget
}: let
pythonPackages = let
ensurePythonModules = items: let
exceptions = [
stdenv
];
providesSetupHook = lib.attrByPath [ "provides" "setupHook"] false;
valid = value: pythonPackages.hasPythonModule value || providesSetupHook value || lib.elem value exceptions;
func = name: value:
if lib.isDerivation value then
lib.extendDerivation (valid value || throw "${name} should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.") {} value
else
value;
in lib.mapAttrs func items;
in ensurePythonModules (callPackage
# Function that when called
# - imports python-packages.nix
# - adds spliced package sets to the package set
# - applies overrides from `packageOverrides` and `pythonPackagesOverlays`.
({ pkgs, stdenv, python, overrides }: let
pythonPackagesFun = import ./python-packages-base.nix {
inherit stdenv pkgs lib;
python = self;
};
otherSplices = {
selfBuildBuild = pythonOnBuildForBuild.pkgs;
selfBuildHost = pythonOnBuildForHost.pkgs;
selfBuildTarget = pythonOnBuildForTarget.pkgs;
selfHostHost = pythonOnHostForHost.pkgs;
selfTargetTarget = pythonOnTargetForTarget.pkgs or {}; # There is no Python TargetTarget.
};
hooks = import ./hooks/default.nix;
keep = lib.extends hooks pythonPackagesFun;
extra = _: {};
optionalExtensions = cond: as: lib.optionals cond as;
pythonExtension = import ../../../top-level/python-packages.nix;
python2Extension = import ../../../top-level/python2-packages.nix;
extensions = lib.composeManyExtensions ([
pythonExtension
] ++ (optionalExtensions (!self.isPy3k) [
python2Extension
]) ++ pythonPackagesExtensions ++ [
overrides
]);
aliases = self: super: lib.optionalAttrs config.allowAliases (import ../../../top-level/python-aliases.nix lib self super);
in makeScopeWithSplicing
otherSplices
keep
extra
(lib.extends (lib.composeExtensions aliases extensions) keep))
{
overrides = packageOverrides;
python = self;
});
in rec {
isPy27 = pythonVersion == "2.7";
isPy37 = pythonVersion == "3.7";
isPy38 = pythonVersion == "3.8";
isPy39 = pythonVersion == "3.9";
isPy310 = pythonVersion == "3.10";
isPy311 = pythonVersion == "3.11";
isPy312 = pythonVersion == "3.12";
isPy2 = lib.strings.substring 0 1 pythonVersion == "2";
isPy3 = lib.strings.substring 0 1 pythonVersion == "3";
isPy3k = isPy3;
isPyPy = lib.hasInfix "pypy" interpreter;
buildEnv = callPackage ./wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
withPackages = import ./with-packages.nix { inherit buildEnv pythonPackages;};
pkgs = pythonPackages;
interpreter = "${self}/bin/${executable}";
inherit executable implementation libPrefix pythonVersion sitePackages;
inherit sourceVersion;
pythonAtLeast = lib.versionAtLeast pythonVersion;
pythonOlder = lib.versionOlder pythonVersion;
inherit hasDistutilsCxxPatch;
# TODO: rename to pythonOnBuild
# Not done immediately because its likely used outside Nixpkgs.
pythonForBuild = pythonOnBuildForHost.override { inherit packageOverrides; self = pythonForBuild; };
tests = callPackage ./tests.nix {
python = self;
};
inherit pythonAttr;
};
passthruFun = import ./passthrufun.nix args;
sources = {
python310 = {

View File

@ -0,0 +1,103 @@
{ lib, stdenv, callPackage, pythonPackagesExtensions, config, makeScopeWithSplicing, ... }:
{ implementation
, libPrefix
, executable
, sourceVersion
, pythonVersion
, packageOverrides
, sitePackages
, hasDistutilsCxxPatch
, pythonOnBuildForBuild
, pythonOnBuildForHost
, pythonOnBuildForTarget
, pythonOnHostForHost
, pythonOnTargetForTarget
, pythonAttr ? null
, self # is pythonOnHostForTarget
}: let
pythonPackages = let
ensurePythonModules = items: let
exceptions = [
stdenv
];
providesSetupHook = lib.attrByPath [ "provides" "setupHook"] false;
valid = value: pythonPackages.hasPythonModule value || providesSetupHook value || lib.elem value exceptions;
func = name: value:
if lib.isDerivation value then
lib.extendDerivation (valid value || throw "${name} should use `buildPythonPackage` or `toPythonModule` if it is to be part of the Python packages set.") {} value
else
value;
in lib.mapAttrs func items;
in ensurePythonModules (callPackage
# Function that when called
# - imports python-packages.nix
# - adds spliced package sets to the package set
# - applies overrides from `packageOverrides` and `pythonPackagesOverlays`.
({ pkgs, stdenv, python, overrides }: let
pythonPackagesFun = import ./python-packages-base.nix {
inherit stdenv pkgs lib;
python = self;
};
otherSplices = {
selfBuildBuild = pythonOnBuildForBuild.pkgs;
selfBuildHost = pythonOnBuildForHost.pkgs;
selfBuildTarget = pythonOnBuildForTarget.pkgs;
selfHostHost = pythonOnHostForHost.pkgs;
selfTargetTarget = pythonOnTargetForTarget.pkgs or {}; # There is no Python TargetTarget.
};
hooks = import ./hooks/default.nix;
keep = lib.extends hooks pythonPackagesFun;
extra = _: {};
optionalExtensions = cond: as: lib.optionals cond as;
pythonExtension = import ../../../top-level/python-packages.nix;
python2Extension = import ../../../top-level/python2-packages.nix;
extensions = lib.composeManyExtensions ([
pythonExtension
] ++ (optionalExtensions (!self.isPy3k) [
python2Extension
]) ++ pythonPackagesExtensions ++ [
overrides
]);
aliases = self: super: lib.optionalAttrs config.allowAliases (import ../../../top-level/python-aliases.nix lib self super);
in makeScopeWithSplicing
otherSplices
keep
extra
(lib.extends (lib.composeExtensions aliases extensions) keep))
{
overrides = packageOverrides;
python = self;
});
in rec {
isPy27 = pythonVersion == "2.7";
isPy37 = pythonVersion == "3.7";
isPy38 = pythonVersion == "3.8";
isPy39 = pythonVersion == "3.9";
isPy310 = pythonVersion == "3.10";
isPy311 = pythonVersion == "3.11";
isPy312 = pythonVersion == "3.12";
isPy2 = lib.strings.substring 0 1 pythonVersion == "2";
isPy3 = lib.strings.substring 0 1 pythonVersion == "3";
isPy3k = isPy3;
isPyPy = lib.hasInfix "pypy" interpreter;
buildEnv = callPackage ./wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
withPackages = import ./with-packages.nix { inherit buildEnv pythonPackages;};
pkgs = pythonPackages;
interpreter = "${self}/bin/${executable}";
inherit executable implementation libPrefix pythonVersion sitePackages;
inherit sourceVersion;
pythonAtLeast = lib.versionAtLeast pythonVersion;
pythonOlder = lib.versionOlder pythonVersion;
inherit hasDistutilsCxxPatch;
# TODO: rename to pythonOnBuild
# Not done immediately because its likely used outside Nixpkgs.
pythonForBuild = pythonOnBuildForHost.override { inherit packageOverrides; self = pythonForBuild; };
tests = callPackage ./tests.nix {
python = self;
};
inherit pythonAttr;
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libxc";
version = "6.1.0";
version = "6.2.0";
src = fetchFromGitLab {
owner = "libxc";
repo = "libxc";
rev = version;
hash = "sha256-PqKqZbL9Y7lKu7tKo+DfAhoEeFSsYWEcwiFX41VhRIs=";
hash = "sha256-VILqlvACQyccaXXS+UE25+LzE74+52pI66RUrVS0esI=";
};
nativeBuildInputs = [ perl cmake gfortran ];
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DENABLE_FORTRAN=ON"
"-DBUILD_SHARED_LIBS=ON"
"-DENABLE_XHOST=OFF"
# Force compilation of higher derivatives
"-DDISABLE_VXC=0"
"-DDISABLE_FXC=0"

View File

@ -17,6 +17,8 @@ let
in
final: prev: {
inherit nodejs;
"@angular/cli" = prev."@angular/cli".override {
prePatch = ''
export NG_CLI_ANALYTICS=false

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, setuptools-scm
, botocore
, pytestCheckHook
@ -25,6 +26,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
botocore
setuptools # Needs pkg_resources at runtime.
];
patches = [

View File

@ -0,0 +1,65 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, poetry-core
, grpcio
, protobuf
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "grpc-interceptor";
version = "0.15.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "d5h-foss";
repo = pname;
rev = "v${version}";
sha256 = "md7pwlahF5kiaydLATdW7Yde8iVVcBEjCIGP5qRLwXw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
grpcio
protobuf
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"grpc_interceptor"
];
meta = with lib; {
description = "Simplified gRPC interceptors";
homepage = "https://github.com/d5h-foss/grpc-interceptor";
changelog = "https://github.com/d5h-foss/grpc-interceptor/releases/tag/v${version}";
longDescription = ''
Simplified Python gRPC interceptors.
The Python gRPC package provides service interceptors, but they're a bit
hard to use because of their flexibility. The gRPC interceptors don't
have direct access to the request and response objects, or the service
context. Access to these are often desired, to be able to log data in the
request or response, or set status codes on the context.
'';
license = licenses.mit;
maintainers = with maintainers; [ tomaskala ];
};
}

View File

@ -25,15 +25,15 @@ in
rustPlatform.buildRustPackage rec {
pname = "diesel-cli";
version = "2.0.1";
version = "2.1.0";
src = fetchCrate {
inherit version;
crateName = "diesel_cli";
sha256 = "sha256-IHxK5hI0RYNFQQe/Kfao0Zw8L3bs1gdN1xwmO4kKi08=";
hash = "sha256-FdmjfywvDD3mo1d1pUQMYvebo5AUTa99gQbQuOWmZZk=";
};
cargoSha256 = "sha256-KoTeDzUk/KbUx+4NLVifX3yehm4V13LJ/YUmzoUSuDM=";
cargoHash = "sha256-onPzM9E53VUogZdIu3jAeB4dL3MC2FP3b6QWZ5Tr3j0=";
nativeBuildInputs = [ installShellFiles pkg-config ];

View File

@ -6,16 +6,16 @@
buildNpmPackage rec {
pname = "ansible-language-server";
version = "1.0.4";
version = "1.0.5";
src = fetchFromGitHub {
owner = "ansible";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-IBySScjfF2bIbiOv09uLMt9QH07zegm/W1vmGhdWxGY=";
hash = "sha256-OpYxG6rSPCu2jWyOU1+Dt4LM/3pZKaQyJE8emykh2K4=";
};
npmDepsHash = "sha256-rJ1O2OsrJhTIfywK9/MRubwwcCmMbu61T4zyayg+mAU=";
npmDepsHash = "sha256-pK8Kn4w3QFcfjm0F1bEK9La36wTbmuGzkKMeBIc/9eo=";
npmBuildScript = "compile";
# We remove/ignore the prepare and prepack scripts because they run the

View File

@ -0,0 +1,38 @@
{ lib
, rustPlatform
, fetchCrate
, installShellFiles
, stdenv
}:
rustPlatform.buildRustPackage rec {
pname = "planus";
version = "0.4.0";
src = fetchCrate {
pname = "planus-cli";
inherit version;
hash = "sha256-KpX4KSA2MjfRS8M0WVYpY4hoSvOOB7MUz7YKZwEGqj8=";
};
cargoHash = "sha256-yT/ZK5GG0rXpiaCQlQclK2iY8BXhhmiW/UDX9aL8wBQ=";
nativeBuildInputs = [
installShellFiles
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd planus \
--bash <($out/bin/planus generate-completions bash) \
--fish <($out/bin/planus generate-completions fish) \
--zsh <($out/bin/planus generate-completions zsh)
'';
meta = with lib; {
description = "An alternative compiler for flatbuffers";
homepage = "https://github.com/planus-org/planus";
changelog = "https://github.com/planus-org/planus/blob/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
};
}

File diff suppressed because it is too large Load Diff

View File

@ -12,13 +12,13 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-shuttle";
version = "0.17.0";
version = "0.18.0";
src = fetchFromGitHub {
owner = "shuttle-hq";
repo = "shuttle";
rev = "v${version}";
hash = "sha256-w2PkrkHMthGRqWW8PQIoRY41S3qPib5JDKDV6I6ESAw=";
hash = "sha256-8i7iYJ9j3NP7otA6d0ow9S6aV2TGxKtYlGS0FXTXUbM=";
};
cargoLock = {
@ -51,11 +51,6 @@ rustPlatform.buildRustPackage rec {
"init::shuttle_init_tests::"
];
# Cargo.lock is outdated
preConfigure = ''
cargo metadata --offline
'';
meta = with lib; {
description = "A cargo command for the shuttle platform";
homepage = "https://shuttle.rs";

View File

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "zed";
version = "1.7.0";
version = "1.8.1";
src = fetchFromGitHub {
owner = "brimdata";
repo = pname;
rev = "v${version}";
sha256 = "sha256-laqHFrRp83IE75RgAmxxTsq7c48RDapAJQFXWI1NO2o=";
sha256 = "sha256-3YLQi/9YTUDyprlSjzCACffF6eXwLbmfsU/LPhEriqA=";
};
vendorHash = "sha256-Uy8GR+mNVElx+MOu8IxHjBhp1GT5nLqqizQH9q1s0wA=";
vendorHash = "sha256-n/7HV3dyV8qsJeEk+vikZvuM5G7nf0QOwVBtInJdU2k=";
subPackages = [ "cmd/zed" "cmd/zq" ];

View File

@ -0,0 +1,32 @@
{ lib
, fetchFromGitHub
, rustPlatform
, nix-update-script
}:
let
pname = "gluesql";
version = "0.14.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "gluesql";
repo = pname;
rev = "v${version}";
hash = "sha256-z2fpyPJfyPtO13Ly7XRmMW3rp6G3jNLsMMFz83Wmr0E=";
};
cargoHash = "sha256-xInwN/wZpHD3/vKcA+oYL9tmSD7P7/L8ZZOXZq0gkac=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "GlueSQL is quite sticky. It attaches to anywhere.";
homepage = "https://github.com/gluesql/gluesql";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
platforms = platforms.all;
};
}

View File

@ -19,7 +19,7 @@ beamPackages.mixRelease rec {
mixFodDeps = beamPackages.fetchMixDeps {
pname = "mix-deps-${pname}";
inherit src version;
sha256 = "rwWGs4fGeuyV6BBFgCyyDwKf/YLgs1wY0xnHYy8iioE=";
hash = "sha256-rwWGs4fGeuyV6BBFgCyyDwKf/YLgs1wY0xnHYy8iioE=";
};
installPhase = ''

View File

@ -25,7 +25,7 @@ let
mixFodDeps = beamPackages.fetchMixDeps {
pname = "${pname}-deps";
inherit src version;
sha256 = "1ikcskp4gvvdprl65x1spijdc8dz6klnrnkvgy2jbk0b3d7yn1v5";
hash = "sha256-ZQfrTxsLzCWFf3vabOk0vyHWZLw69GJovm3vR+7UbMY=";
};
yarnDeps = mkYarnModules {

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "zsh-forgit";
version = "23.05.0";
version = "23.06.0";
src = fetchFromGitHub {
owner = "wfxr";
repo = "forgit";
rev = version;
sha256 = "sha256-oBPN8ehz00cDIs6mmGfCBzuDQMLG5z3G6KetJ1FK7e8=";
sha256 = "sha256-HxdTRv4OFf7Bh3FnTB7FMjhizCLH5DbuOHzQq2SYfAE=";
};
strictDeps = true;

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "unparam";
version = "unstable-2021-12-14";
version = "unstable-2023-03-12";
src = fetchFromGitHub {
owner = "mvdan";
repo = "unparam";
rev = "d0ef000c54e5fbf955d67422b0495b9f29b354da";
sha256 = "sha256-fH/LcshpOk+UFfQ5dE2eHi6Oi5cm8umeXoyHJvhpAbE=";
rev = "e84e2d14e3b88193890ff95d72ecb81312f36589";
sha256 = "sha256-kbEdOqX/p/FrNfWQ2WjXX+lERprSV2EI9l+kapHuFi4=";
};
vendorSha256 = "sha256-pfIxWvJYAus4DShTcBI1bwn/Q2c5qWvCwPCwfUsv8c0=";
vendorSha256 = "sha256-gEZFAMcr1okqG2IXcS3hDzZKMINohd2JzxezGbzyeBE=";
subPackages = [ "." ];

View File

@ -1,20 +1,23 @@
{ buildGoModule
{ lib
, buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "dnsx";
version = "1.1.1";
version = "1.1.4";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "dnsx";
rev = "v${version}";
sha256 = "sha256-5ZWBUgW3esdH+9APU5Z9Hn9VtA6VQqvUfJp5C42791k=";
rev = "refs/tags/v${version}";
hash = "sha256-FNPAsslKmsLrUtiw+GlXLppsEk/VB02jkZLmrB8zZOI=";
};
vendorSha256 = "sha256-71JqgJZyx+9NTw08D7V5PPc84ExjGYdieCvFPTDSrs8=";
vendorSha256 = "sha256-QXmy+Ph0lKguAoIWfc41z7XH7jXGc601DD6v292Hzj0=";
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Fast and multi-purpose DNS toolkit";
@ -25,6 +28,7 @@ buildGoModule rec {
resolvers.
'';
homepage = "https://github.com/projectdiscovery/dnsx";
changelog = "https://github.com/projectdiscovery/dnsx/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};

View File

@ -6,17 +6,17 @@
buildGoModule rec {
pname = "kubescape";
version = "2.3.4";
version = "2.3.5";
src = fetchFromGitHub {
owner = "kubescape";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-REUB7EsRZtgOImMaGyX2UGwWjTYZGfrIlwPNHV0NjbU=";
hash = "sha256-jCtEy2W3srfu65HABTgzAhFKlECtpDtR8mary5r/jW4=";
fetchSubmodules = true;
};
vendorHash = "sha256-VLEyfnLyXujzMQd/HBfjQ6MQcM/hav0SCEl3G2lxKbo=";
vendorHash = "sha256-mcaA0PLQFoL/Vc+Te2rtzyJHueJpYfn1VjPF9qxi4NI=";
nativeBuildInputs = [
installShellFiles

View File

@ -3499,6 +3499,8 @@ with pkgs;
glaxnimate = libsForQt5.callPackage ../applications/video/glaxnimate { };
gluesql = callPackage ../servers/sql/gluesql { };
gmid = callPackage ../servers/gemini/gmid { };
gmni = callPackage ../applications/networking/browsers/gmni { };
@ -4779,6 +4781,8 @@ with pkgs;
eggdrop = callPackage ../tools/networking/eggdrop { };
egglog = callPackage ../applications/science/logic/egglog { };
ekam = callPackage ../development/tools/build-managers/ekam { };
eksctl = callPackage ../tools/admin/eksctl { };
@ -6394,9 +6398,7 @@ with pkgs;
unionfs-fuse = callPackage ../tools/filesystems/unionfs-fuse { };
unparam = callPackage ../tools/misc/unparam {
buildGoModule = buildGo119Module; # go 1.20 build failure
};
unparam = callPackage ../tools/misc/unparam { };
inherit (nodePackages) uppy-companion;
@ -19059,6 +19061,8 @@ with pkgs;
picotool = callPackage ../development/tools/picotool { };
planus = callPackage ../development/tools/misc/planus { };
pmccabe = callPackage ../development/tools/misc/pmccabe { };
pkgconf-unwrapped = callPackage ../development/tools/misc/pkgconf { };
@ -32648,7 +32652,6 @@ with pkgs;
monotone = callPackage ../applications/version-management/monotone {
lua = lua5;
boost = boost170;
};
monotoneViz = callPackage ../applications/version-management/monotone-viz {

View File

@ -4380,6 +4380,8 @@ self: super: with self; {
grpc-google-iam-v1 = callPackage ../development/python-modules/grpc-google-iam-v1 { };
grpc-interceptor = callPackage ../development/python-modules/grpc-interceptor { };
grpcio = callPackage ../development/python-modules/grpcio { };
grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { };