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] authored May 6, 2023
2 parents b679a61 + 805ffde commit 1fd0032
Show file tree
Hide file tree
Showing 61 changed files with 260 additions and 176 deletions.
15 changes: 6 additions & 9 deletions doc/languages-frameworks/ocaml.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ Here is a simple package example.

- It uses the `fetchFromGitHub` fetcher to get its source.

- `duneVersion = "2"` ensures that Dune version 2 is used for the
build (this is the default; valid values are `"1"`, `"2"`, and `"3"`);
note that there is also a legacy `useDune2` boolean attribute:
set to `false` it corresponds to `duneVersion = "1"`; set to `true` it
corresponds to `duneVersion = "2"`. If both arguments (`duneVersion` and
`useDune2`) are given, the second one (`useDune2`) is silently ignored.
- It also accept `duneVersion` parameter (valid value are `"1"`, `"2"`, and
`"3"`). The recommended practice it to set only if you don't want the default
value and/or it depends on something else like package version. You might see
a not-supported argument `useDune2`. The behavior was `useDune2 = true;` =>
`duneVersion = "2";` and `useDune2 = false;` => `duneVersion = "1";`. It was
used at the time when dune3 didn't existed.

- It sets the optional `doCheck` attribute such that tests will be run with
`dune runtest -p angstrom` after the build (`dune build -p angstrom`) is
Expand Down Expand Up @@ -71,7 +71,6 @@ Here is a simple package example.
buildDunePackage rec {
pname = "angstrom";
version = "0.15.0";
duneVersion = "2";
minimalOCamlVersion = "4.04";
Expand Down Expand Up @@ -104,8 +103,6 @@ buildDunePackage rec {
pname = "wtf8";
version = "1.0.2";
useDune2 = true;
minimalOCamlVersion = "4.02";
src = fetchurl {
Expand Down
47 changes: 47 additions & 0 deletions pkgs/applications/audio/butt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{ lib, stdenv, fetchurl, pkg-config, fltk13, portaudio, lame, libvorbis, libogg
, flac, libopus, libsamplerate, fdk_aac, dbus, openssl, curl }:

stdenv.mkDerivation rec {
pname = "butt";
version = "0.1.37";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-FI8xRCaGSMC6KEf5v87Q4syO3kVPWXYXgnL24+myRKo=";
};

postPatch = ''
# remove advertising
substituteInPlace src/FLTK/flgui.cpp \
--replace 'idata_radio_co_badge, 124, 61, 4,' 'nullptr, 0, 0, 0,'
'';

nativeBuildInputs = [ pkg-config ];

buildInputs = [
fltk13
portaudio
lame
libvorbis
libogg
flac
libopus
libsamplerate
fdk_aac
dbus
openssl
curl
];

postInstall = ''
cp -r usr/share $out/
'';

meta = {
description =
"butt (broadcast using this tool) is an easy to use, multi OS streaming tool";
homepage = "https://danielnoethen.de/butt/";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ ehmry ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/stellar-core/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "stellar-core";
version = "19.9.0";
version = "19.10.0";

src = fetchFromGitHub {
owner = "stellar";
repo = pname;
rev = "v${version}";
sha256 = "sha256-00bTqc3YDl/o03Y7NBsgGFwUzb2zYe/A3ccpHPIann8=";
sha256 = "sha256-BcZsj2TbeJW91aiZ2I7NbDa+rgjfs6lQUsWOnhFQXtw=";
fetchSubmodules = true;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,13 @@ let
'';
});

tokei = super.tokei.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace tokei.el \
--replace 'tokei-program "tokei"' 'tokei-program "${lib.getExe pkgs.tokei}"'
'';
});

treemacs-magit = super.treemacs-magit.overrideAttrs (attrs: {
# searches for Git at build time
nativeBuildInputs =
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/mob/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

buildGoModule rec {
pname = "mob";
version = "4.4.0";
version = "4.4.1";

src = fetchFromGitHub {
owner = "remotemobprogramming";
repo = pname;
rev = "v${version}";
sha256 = "sha256-g2l/XeSyFem2Xi/lVgfbWW+nWHxAcQV/v+2AIqB0apM=";
sha256 = "sha256-Ovp+JsNqFcOMk054khSdvPebFsv/fQD1Ghox8J3YcgA=";
};

vendorHash = null;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/spicetify-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "spicetify-cli";
version = "2.17.2";
version = "2.18.0";

src = fetchFromGitHub {
owner = "spicetify";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WVatvMdCp4BeCe5+hz933OAJIKaR4ChR22nVrl8tmIc=";
sha256 = "sha256-k9fbChpHy997Mj+U9n/iiSGDdsHZ22AoYUkCHUMGfbo=";
};

vendorHash = "sha256-mAtwbYuzkHUqG4fr2JffcM8PmBsBrnHWyl4DvVzfJCw=";
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/misc/valent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

stdenv.mkDerivation rec {
pname = "valent";
version = "unstable-2023-03-31";
version = "unstable-2023-05-01";

src = fetchFromGitHub {
owner = "andyholmes";
repo = "valent";
rev = "bb9fc25a58eeb81abea2bb651accc9538a3a82fd";
rev = "74f5d9349a60f0d9fcf88cda01713980a221d639";
fetchSubmodules = true;
sha256 = "sha256-3pEPE96gFjDGesFs/EZswuv6D3JQEpnAnlCw0IWYkR0=";
sha256 = "sha256-wqdujEKizrDFXtsjSTWpFgDL7MH3tsLTc7yd3LFgIQU=";
};

nativeBuildInputs = [
Expand Down Expand Up @@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/andyholmes/valent/";
changelog = "https://github.com/andyholmes/valent/blob/${src.rev}/CHANGELOG.md";
license = with licenses; [ gpl3Plus cc0 ];
maintainers = with maintainers; [ federicoschonborn ];
maintainers = with maintainers; [ federicoschonborn aleksana ];
platforms = platforms.linux;
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/networking/browsers/vieb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

buildNpmPackage rec {
pname = "vieb";
version = "9.7.0";
version = "9.7.1";

src = fetchFromGitHub {
owner = "Jelmerro";
repo = pname;
rev = version;
hash = "sha256-uo5V5RRDSR+f9+AqojikrlybmtcWTmB7TPXEvLG9n4E=";
hash = "sha256-1G3hhqWMClxdwt3aOmnAbEV+n2ui5X6Cgf30391OVi0=";
};

postPatch = ''
sed -i '/"electron"/d' package.json
'';

npmDepsHash = "sha256-RUpeqbb8bnSQ6sCYH8O9mL3Rpb+ZlcPi7fq6LlbkSic=";
npmDepsHash = "sha256-t8fKbh9M63CCkxwlXj3zGvP8y5uLMqbyNd8BimBhIBc=";
dontNpmBuild = true;

nativeBuildInputs = [ makeWrapper ] ++ lib.optional stdenv.isAarch64 python3;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cloudflared/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildGoModule rec {
pname = "cloudflared";
version = "2023.4.2";
version = "2023.5.0";

src = fetchFromGitHub {
owner = "cloudflare";
repo = "cloudflared";
rev = "refs/tags/${version}";
hash = "sha256-oHiaRdTEiTcGQkYoGw8TT0KZMFR8Rkce/4+cxSXAHMM=";
hash = "sha256-0zUKlacB6aTj0UQ8dIQSU8F6SvVOTAU/GdbUqbJ8okI=";
};

vendorHash = null;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/bosh-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
buildGoModule rec {
pname = "bosh-cli";

version = "7.2.2";
version = "7.2.3";

src = fetchFromGitHub {
owner = "cloudfoundry";
repo = pname;
rev = "v${version}";
sha256 = "sha256-cSix1muhmPrL7fDGznkFAOAoArZoDvptli7uRo71Dlk=";
sha256 = "sha256-sN6+hPH+VziXs94RkPdPlg6TKo/as4xC8Gd8MxAKluk=";
};
vendorHash = null;

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/cilium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "cilium-cli";
version = "0.14.0";
version = "0.14.1";

src = fetchFromGitHub {
owner = "cilium";
repo = pname;
rev = "v${version}";
sha256 = "sha256-E/14YYX4EFakzBsaUxy1SZAaBCIKmgpWlY/9EazWWFI=";
sha256 = "sha256-y7R9+YxkPWVEjcN8Czfp8UC47AAAt554XLo/nStoGLY=";
};

vendorHash = null;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/kubecm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

buildGoModule rec {
pname = "kubecm";
version = "0.22.1";
version = "0.23.0";

src = fetchFromGitHub {
owner = "sunny0826";
repo = "kubecm";
rev = "v${version}";
hash = "sha256-0oQOuBYCDNnOODM2ZSqTgOI+jHWuHTtsk2NfGIPMy5A=";
hash = "sha256-BywtQ6YVGPz5A0GE2q0zRoBZNU6HZgVbr6H0OMR05wM=";
};

vendorHash = "sha256-fVPiEDB6WFu2x5EY7NjmJEEq297QxP10593cXxxv8iI=";
vendorHash = "sha256-WZxjv4v2nfJjbzFfaDh2kE7ZBREB+Q8BmHhUrAiDd7g=";
ldflags = [ "-s" "-w" "-X github.com/sunny0826/kubecm/version.Version=${version}"];

doCheck = false;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/tilt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ buildGoModule rec {
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.32.2";
version = "0.32.3";

src = fetchFromGitHub {
owner = "tilt-dev";
repo = pname;
rev = "v${version}";
sha256 = "sha256-YB/stG+7gxIaB+vMx8PwmUm4W32fCNeRnVrOvOXba5k=";
sha256 = "sha256-5QTZUapHhSSI+UZu77IUZdflCIm+oCu4kPQVhLHCsUQ=";
};
vendorHash = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

let
pname = "zulip";
version = "5.9.5";
version = "5.10.0";

src = fetchurl {
url = "https://github.com/zulip/zulip-desktop/releases/download/v${version}/Zulip-${version}-x86_64.AppImage";
hash = "sha256-w2thmF/UA42j3u3m4L+/onilQhwMOa7IJoOMZ/ERypw=";
hash = "sha256-rfFEhoykCStFCyBasQV6Cpb5ey+wvQLMXloIR0A1z7g=";
name="${pname}-${version}.AppImage";
};

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/networking/netmaker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

buildGoModule rec {
pname = "netmaker";
version = "0.18.7";
version = "0.19.0";

src = fetchFromGitHub {
owner = "gravitl";
repo = pname;
rev = "v${version}";
hash = "sha256-XnBz5dUBu6VqxLFsBXOvdLu/LsrfyEp9MLR/+nNggBk=";
hash = "sha256-wiexultPliYD3WrLVtWUdLs762OzLAmoH66phwjOuUw=";
};

vendorHash = "sha256-a2ecHdxX82/JScRPGKpgEtrISD7qkPoZyv9kvO6SzaQ=";
vendorHash = "sha256-Msvonap1soJExzBymouY8kZJnHT4SIwpfJjBgpkO2Rw=";

inherit subPackages;

Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/office/treesheets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

stdenv.mkDerivation rec {
pname = "treesheets";
version = "unstable-2023-05-03";
version = "unstable-2023-05-04";

src = fetchFromGitHub {
owner = "aardappel";
repo = "treesheets";
rev = "b942b919a2f6b4e6d04ea62a4a82623f9e815cdd";
sha256 = "rfYEpbhfWiviojqWWMhmYjpDh04hfRPGPdDQtcqhr8o=";
rev = "3694b16809daaa59b9198cd9645662e2a8cf4650";
sha256 = "NShLLBTBS88UXWWjsSeMVxj8HnnN4yA8gmz83wdpIzE=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/fldigi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

stdenv.mkDerivation rec {
pname = "fldigi";
version = "4.1.25";
version = "4.1.26";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-TsS/OS2mXwqsk+E+9MEoETIHRWks8Hg/qw8WRmAxB2M=";
sha256 = "sha256-RIrTWjQPnn0I8bzV3kMQEesNaAkIQnhikLMaYivrWRc=";
};

nativeBuildInputs = [ pkg-config ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/build-support/ocaml/dune.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{ pname, version, nativeBuildInputs ? [], enableParallelBuilding ? true, ... }@args:

let Dune =
let dune-version = args . duneVersion or (if args.useDune2 or true then "2" else "1"); in
let dune-version = args.duneVersion or "2"; in
{ "1" = dune_1; "2" = dune_2; "3" = dune_3; }."${dune-version}"
; in

Expand Down Expand Up @@ -39,7 +39,7 @@ stdenv.mkDerivation ({

strictDeps = true;

} // (builtins.removeAttrs args [ "minimalOCamlVersion" "duneVersion" ]) // {
} // (builtins.removeAttrs args [ "minimalOCamlVersion" "duneVersion" ]) // {

name = "ocaml${ocaml.version}-${pname}-${version}";

Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/fonts/lxgw-wenkai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenvNoCC.mkDerivation rec {
pname = "lxgw-wenkai";
version = "1.250";
version = "1.300";

src = fetchurl {
url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz";
hash = "sha256-Nkd0xXYCnR0NZAk/JCxy+zOlxIxD52Px4F9o2L9mgRE=";
hash = "sha256-pPN8siF/8D78sEcXoF+vZ4BIeYWyXAuk4HBQJP+G3O8=";
};

installPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/desktops/gnome/core/gdm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ in

stdenv.mkDerivation rec {
pname = "gdm";
version = "44.0";
version = "44.1";

outputs = [ "out" "dev" ];

src = fetchurl {
url = "mirror://gnome/sources/gdm/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "ziCwoiHb+M3gBktQH9jzj3ODkVKFfEU1M36wnMUvf2w=";
sha256 = "aCZrOr59KPxGnQBnqsnF2rsMp5UswffCOKBJUfPcWw0=";
};

mesonFlags = [
Expand Down
Loading

0 comments on commit 1fd0032

Please sign in to comment.