Merge remote-tracking branch 'upstream/staging-next' into HEAD

This commit is contained in:
Jörg Thalheim
2021-04-17 16:37:04 +02:00
239 changed files with 7439 additions and 3748 deletions
+3 -5
View File
@@ -21,15 +21,13 @@ let
# This includes the complete source so the per-script derivations can run the tests.
core = stdenv.mkDerivation rec {
pname = "bat-extras";
# there hasn't been a release since 2020-05-01 but there are important bugfixes
# to the test suite so we'll pull the latest commit as of 2020-06-17.
version = "20200515-dev"; # latest commit was dated 2020-05-15
version = "2021.04.06";
src = fetchFromGitHub {
owner = "eth-p";
repo = pname;
rev = "3029b6749f61f7514e9eef30e035cfab0e31eb1d";
sha256 = "08mb94k2n182ql97c5s5j1v7np25ivynn5g0418whrx11ra41wr7";
rev = "v${version}";
sha256 = "sha256-MphI2n+oHZrw8bPohNGeGdST5LS1c6s/rKqtpcR9cLo=";
fetchSubmodules = true;
};
+34
View File
@@ -0,0 +1,34 @@
{ stdenv, lib, fetchFromGitHub, installShellFiles }:
stdenv.mkDerivation rec {
pname = "cpufetch";
version = "0.94";
src = fetchFromGitHub {
owner = "Dr-Noob";
repo = "cpufetch";
rev = "v${version}";
sha256 = "1gncgkhqd8bnz254qa30yyl10qm28dwx6aif0dwrj38z5ql40ck9";
};
nativeBuildInputs = [ installShellFiles ];
installPhase = ''
runHook preInstall
mkdir $out
install -Dm755 cpufetch $out/bin/cpufetch
install -Dm644 LICENSE $out/share/licenses/cpufetch/LICENSE
installManPage cpufetch.8
runHook postInstall
'';
meta = with lib; {
description = "Simplistic yet fancy CPU architecture fetching tool";
license = licenses.mit;
homepage = "https://github.com/Dr-Noob/cpufetch";
changelog = "https://github.com/Dr-Noob/cpufetch/releases/tag/v${version}";
maintainers = with maintainers; [ devhell ];
};
}
+3 -3
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "grit";
version = "0.2.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "climech";
repo = "grit";
rev = "v${version}";
sha256 = "0v4i8xdf1pgkmwad5jb6n6s4rx48zk57wij0ppzg6zb725wy7r8a";
sha256 = "sha256-c8wBwmXFjpst6UxL5zmTxMR4bhzpHYljQHiJFKiNDms=";
};
vendorSha256 = "0a1lqfn710fgvrvbimd92102fhjs1wa7r8i0l7s5m7jxks629hw8";
vendorSha256 = "sha256-iMMkjJ5dnlr0oSCifBQPWkInQBCp1bh23s+BcKzDNCg=";
meta = with lib; {
description = "A multitree-based personal task manager";
+4 -4
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "lf";
version = "21";
version = "22";
src = fetchFromGitHub {
owner = "gokcehan";
repo = "lf";
rev = "r${version}";
sha256 = "0j7c21lsgcc39ng9ni94y3zfcqwyf9jc52fi8mcpkp0lpcx5ava9";
sha256 = "10zmac9xza2v7l13zkavmc34ppcpmb82v8dxvrv4ggm261ns1abr";
};
vendorSha256 = "15fl9v69wkzwzpq6x4xhcd5g6xyck3mlpbz1bbb61l75jjzg913m";
vendorSha256 = "1yjsig2x6zrxdjnds6nqqq3r3g5lq8g9dvmz60nbifqhcx112bcw";
nativeBuildInputs = [ installShellFiles ];
@@ -35,6 +35,6 @@ buildGoModule rec {
changelog = "https://github.com/gokcehan/lf/releases/tag/r${version}";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
maintainers = with maintainers; [ ];
};
}
+7 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenvNoCC, fetchFromGitHub, bash }:
{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils }:
stdenvNoCC.mkDerivation rec {
pname = "neofetch";
@@ -13,10 +13,16 @@ stdenvNoCC.mkDerivation rec {
strictDeps = true;
buildInputs = [ bash ];
nativeBuildInputs = [ makeWrapper ];
postPatch = ''
patchShebangs --host neofetch
'';
postInstall = ''
wrapProgram $out/bin/neofetch \
--prefix PATH : ${lib.makeBinPath [ pciutils ]}
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
"SYSCONFDIR=${placeholder "out"}/etc"
+8 -4
View File
@@ -3,22 +3,26 @@
rustPlatform.buildRustPackage rec {
pname = "tremor";
version = "0.10.1";
version = "0.11.0";
src = fetchFromGitHub {
owner = "tremor-rs";
repo = "tremor-runtime";
rev = "v${version}";
sha256 = "1z1khxfdj2j0xf7dp0x2cd9kl6r4qicp7kc4p4sdky2yib66512y";
sha256 = "19g0ijkclrza6s0qcbwwh3lhlkisy00ffcl0c0d7dfqwrcisgz57";
};
cargoSha256 = "sha256-rN/d6BL2d0D0ichQR6v0543Bh/Y2ktz8ExMH50M8B8c=";
cargoSha256 = "1xv205czb2z6qpqi6vslyrx2n21510qqa11i2hwya3jdcc9lkrsd";
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
buildInputs = [ openssl ];
# TODO export TREMOR_PATH($out/lib) variable
postInstall = ''
# Copy the standard library to $out/lib
cp -r ${src}/tremor-script/lib/ $out
installShellCompletion --cmd tremor \
--bash <($out/bin/tremor completions bash) \
--fish <($out/bin/tremor completions fish) \
@@ -30,7 +34,7 @@ rustPlatform.buildRustPackage rec {
# OPENSSL_NO_VENDOR - If set, always find OpenSSL in the system, even if the vendored feature is enabled.
OPENSSL_NO_VENDOR = 1;
cargoBuildFlags = [ "--all" ];
cargoBuildFlags = [ "-p tremor-cli" ];
meta = with lib; {
description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation";
-24
View File
@@ -5,13 +5,6 @@
, withFzf ? true
, fzf
, libiconv
# checkInputs
, fish
, powershell
, shellcheck
, shfmt
, xonsh
, zsh
}:
rustPlatform.buildRustPackage rec {
@@ -27,23 +20,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
# tests are broken on darwin
doCheck = !stdenv.isDarwin;
# fish needs a writable HOME for whatever reason
preCheck = ''
export HOME=$(mktemp -d)
'';
checkInputs = [
fish
powershell
shellcheck
shfmt
xonsh
zsh
];
postPatch = lib.optionalString withFzf ''
substituteInPlace src/fzf.rs \
--replace '"fzf"' '"${fzf}/bin/fzf"'