Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 16, 2023
2 parents 954d533 + f26a52b commit 2280dc4
Show file tree
Hide file tree
Showing 37 changed files with 1,340 additions and 336 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/ncmpc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ assert pcreSupport -> pcre != null;

stdenv.mkDerivation rec {
pname = "ncmpc";
version = "0.47";
version = "0.48";

src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "ncmpc";
rev = "v${version}";
sha256 = "sha256-7vywLMiIUfRx9/fCmUH1AGUB63bT8z7wabgm3CuLLUs=";
sha256 = "sha256-89hBaWFwMPBqSWDmsXND0PEc1a9Fte+p1ho5tWuZFlY=";
};

buildInputs = [ glib ncurses libmpdclient boost ]
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/editors/vscode/extensions/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3286,6 +3286,9 @@ let
};

aliases = super: {
_1Password = super."1Password";
_2gua = super."2gua";
_4ops = super."4ops";
Arjun.swagger-viewer = super.arjun.swagger-viewer;
jakebecker.elixir-ls = super.elixir-lsp.vscode-elixir-ls;
jpoissonnier.vscode-styled-components = super.styled-components.vscode-styled-components;
Expand All @@ -3294,9 +3297,6 @@ let
ms-vscode.PowerShell = super.ms-vscode.powershell;
rioj7.commandOnAllFiles = super.rioj7.commandonallfiles;
WakaTime.vscode-wakatime = super.wakatime.vscode-wakatime;
_1Password = throw ''_1Password has been replaced with "1Password"'';
_2gua = throw ''_2gua has been replaced with "2gua"'';
_4ops = throw ''_4ops has been replaced with "4ops"'';
};

# TODO: add overrides overlay, so that we can have a generated.nix
Expand Down
15 changes: 9 additions & 6 deletions pkgs/applications/misc/syncthingtray/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ mkDerivation
, lib
, stdenv
, fetchFromGitHub
, substituteAll
, qtbase
Expand All @@ -14,11 +15,12 @@
, kio
, plasma-framework
, qttools
, iconv
, webviewSupport ? true
, jsSupport ? true
, kioPluginSupport ? true
, plasmoidSupport ? true
, systemdSupport ? true
, kioPluginSupport ? stdenv.isLinux
, plasmoidSupport ? stdenv.isLinux
, systemdSupport ? stdenv.isLinux
/* It is possible to set via this option an absolute exec path that will be
written to the `~/.config/autostart/syncthingtray.desktop` file generated
during runtime. Alternatively, one can edit the desktop file themselves after
Expand All @@ -44,7 +46,7 @@ mkDerivation rec {
qtutilities
boost
qtforkawesome
]
] ++ lib.optionals stdenv.isDarwin [ iconv ]
++ lib.optionals webviewSupport [ qtwebengine ]
++ lib.optionals jsSupport [ qtdeclarative ]
++ lib.optionals kioPluginSupport [ kio ]
Expand All @@ -59,7 +61,8 @@ mkDerivation rec {
;

# No tests are available by upstream, but we test --help anyway
doInstallCheck = true;
# Don't test on Darwin because output is .app
doInstallCheck = !stdenv.isDarwin;
installCheckPhase = ''
$out/bin/syncthingtray --help | grep ${version}
'';
Expand All @@ -79,6 +82,6 @@ mkDerivation rec {
description = "Tray application and Dolphin/Plasma integration for Syncthing";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}
32 changes: 32 additions & 0 deletions pkgs/applications/networking/instant-messengers/iamb/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, rustPlatform
, fetchFromGitHub
, darwin
, stdenv
}:

rustPlatform.buildRustPackage rec {
pname = "iamb";
version = "0.0.7";

src = fetchFromGitHub {
owner = "ulyssa";
repo = "iamb";
rev = "v${version}";
hash = "sha256-KKr7dfFSffkFgqcREy/3RIIn5c5IxhFR7CjFJqCmqdM=";
};

cargoHash = "sha256-/OBGRE9zualLnMh9Ikh9s9IE9b8mEmAC/H5KUids8a8=";

buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];

meta = with lib; {
description = "A Matrix client for Vim addicts";
homepage = "https://github.com/ulyssa/iamb";
changelog = "https://github.com/ulyssa/iamb/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ meain ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
pname = "signal-cli";
version = "0.11.7";
version = "0.11.8";

# Building from source would be preferred, but is much more involved.
src = fetchurl {
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}-Linux.tar.gz";
hash = "sha256-oN80HQkPpJfhM4WBaRm4ytmhLjSokjEpfMhP6/XnQXs=";
hash = "sha256-lpCPPYkT+q9oYR32rHUGTJI4TmTvy01ttpJxeTSGxVo=";
};

buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ];
Expand Down
17 changes: 2 additions & 15 deletions pkgs/applications/science/electronics/nvc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,15 @@

stdenv.mkDerivation rec {
pname = "nvc";
version = "1.9.0";
version = "1.9.1";

src = fetchFromGitHub {
owner = "nickg";
repo = pname;
rev = "r${version}";
hash = "sha256-hsoEAFSXI2bvzZV33jdg1849fipPQlUu3MZVvht54fI=";
hash = "sha256-UeA+6RKZMttLThyAf80ONximXRJNw5mUNM+cyCDTcGM=";
};

patches = [
# TODO: remove me on next release
(fetchpatch {
url = "https://github.com/nickg/nvc/commit/c857e16c33851f8a5386b97bc0dada2836b5db83.patch";
hash = "sha256-rvZHI1iQXT9zLpCugg5mGmMZBRbTe9PSHtDG7FVZ67Q=";
})
];

# TODO: recheck me on next release
postPatch = lib.optionalString stdenv.isLinux ''
sed -i "/vhpi4/d" test/regress/testlist.txt
'';

nativeBuildInputs = [
autoreconfHook
check
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/science/math/form/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ lib, stdenv, fetchurl, gmp, zlib }:

stdenv.mkDerivation {
version = "4.3.0";
version = "4.3.1";
pname = "form";

# This tarball is released by author, it is not downloaded from tag, so can't use fetchFromGitHub
src = fetchurl {
url = "https://github.com/vermaseren/form/releases/download/v4.3.0/form-4.3.0.tar.gz";
sha256 = "sha256-sjTg0JX3PssJBM3DsNjYMjqfp/RncKUvsiJnxiSq+/Y=";
url = "https://github.com/vermaseren/form/releases/download/v4.3.1/form-4.3.1.tar.gz";
sha256 = "sha256-8fUS3DT+m71rGfLf7wX8uZEt+0PINop1t5bsRy7ou84=";
};

buildInputs = [ gmp zlib ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/version-management/hut/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@

buildGoModule rec {
pname = "hut";
version = "0.2.0";
version = "0.3.0";

src = fetchFromSourcehut {
owner = "~emersion";
repo = "hut";
rev = "v${version}";
sha256 = "sha256-g9KbOtZaBAgy/iBBh/Tv5ULJNnNzwzZpA6DOynl+dnk=";
sha256 = "sha256-kr5EWQ3zHUp/oNPZV2d3j9AyoEmHEX8/rETiMKTBi3s=";
};

vendorSha256 = "sha256-vuAx8B34Za+GEtekFOUaY07hBk3O2OaJ1JmulbIhwbs=";
vendorHash = "sha256-aoqGb7g8UEC/ydmL3GbWGy3HDD1kfDJOMeUP4nO9waA=";

nativeBuildInputs = [
scdoc
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/gleam/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

rustPlatform.buildRustPackage rec {
pname = "gleam";
version = "0.27.0";
version = "0.28.2";

src = fetchFromGitHub {
owner = "gleam-lang";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-RkpHmrxKiMtXOPKd8qBREike2sJ3NZcrc7RIxG08eyI=";
hash = "sha256-4sYHI3yh5KvLxdpWkCMya7v5aXG+FvvK7hmpOkX1R28=";
};

nativeBuildInputs = [ git pkg-config ];

buildInputs = [ openssl ] ++
lib.optionals stdenv.isDarwin [ Security libiconv ];

cargoSha256 = "sha256-QluOPKEkofRRE+UxNe60f+sA8Ov3um25kl2F/pt19js=";
cargoSha256 = "sha256-7RLeLZS28eIGObisRRI3skSkplWZGnyikvD3qfFDpU8=";

meta = with lib; {
description = "A statically typed language for the Erlang VM";
Expand Down
9 changes: 7 additions & 2 deletions pkgs/development/libraries/cpp-utilities/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, fetchFromGitHub
, cmake
, cppunit
, iconv
}:

stdenv.mkDerivation rec {
Expand All @@ -18,19 +19,23 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];
nativeCheckInputs = [ cppunit ];
buildInputs = lib.optionals stdenv.isDarwin [
iconv # needed on Darwin, see https://github.com/Martchus/cpp-utilities/issues/4
];
# Otherwise, tests fail since the resulting shared object libc++utilities.so is only available in PWD of the make files
preCheck = ''
checkFlagsArray+=(
"LD_LIBRARY_PATH=$PWD"
)
'';
doCheck = true;
# tests fail on Darwin
doCheck = !stdenv.isDarwin;

meta = with lib; {
homepage = "https://github.com/Martchus/cpp-utilities";
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}
4 changes: 4 additions & 0 deletions pkgs/development/libraries/duckdb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
++ lib.optionals withOdbc [ unixODBC ];

cmakeFlags = [
"-DBUILD_AUTOCOMPLETE_EXTENSION=ON"
"-DBUILD_ICU_EXTENSION=ON"
"-DBUILD_PARQUET_EXTENSION=ON"
"-DBUILD_TPCH_EXTENSION=ON"
Expand All @@ -55,6 +56,7 @@ stdenv.mkDerivation rec {
"-DBUILD_TPCE=ON"
"-DBUILD_ODBC_DRIVER=${enableFeature withOdbc}"
"-DJDBC_DRIVER=${enableFeature withJdbc}"
] ++ lib.optionals doInstallCheck [
# development settings
"-DBUILD_UNITTESTS=ON"
];
Expand Down Expand Up @@ -86,6 +88,8 @@ stdenv.mkDerivation rec {
"test/fuzzer/pedro/buffer_manager_out_of_memory.test"
"test/sql/storage/compression/bitpacking/bitpacking_size_calculation.test"
"test/sql/copy/parquet/delta_byte_array_length_mismatch.test"
"test/sql/function/timestamp/test_icu_strptime.test"
"test/sql/timezone/test_icu_timezone.test"
# these are only hidden if no filters are passed in
"[!hide]"
# this test apparently never terminates
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/qtforkawesome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
description = "Library that bundles ForkAwesome for use within Qt applications";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}

2 changes: 1 addition & 1 deletion pkgs/development/libraries/qtutilities/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
description = "Common Qt related C++ classes and routines used by @Martchus' applications such as dialogs, widgets and models Topics";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}
48 changes: 48 additions & 0 deletions pkgs/development/python-modules/django-bootstrap3/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, django
, pytest-django
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "django-bootstrap3";
version = "23.1";
format = "pyproject";

src = fetchPypi {
inherit pname version;
hash = "sha256-cJW3xmqJ87rreOoCh5nr15XSlzn8hgJGBCLnwqGUrTA=";
};

nativeBuildInputs = [
setuptools
];

buildInputs = [
django
];

pythonImportsCheck = [
"bootstrap3"
];

nativeCheckInputs = [
pytest-django
pytestCheckHook
];

env.DJANGO_SETTINGS_MODULE = "tests.app.settings";

meta = with lib; {
description = "Bootstrap 3 integration for Django";
homepage = "https://github.com/zostera/django-bootstrap3";
changelog = "https://github.com/zostera/django-bootstrap3/blob/${version}/CHANGELOG.md";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}


Loading

0 comments on commit 2280dc4

Please sign in to comment.