Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2021-05-11 09:09:10 +02:00
224 changed files with 6308 additions and 10564 deletions
+25
View File
@@ -0,0 +1,25 @@
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "atuin";
version = "0.7.1";
src = fetchFromGitHub {
owner = "ellie";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jjGP8YeHnEr0f9RONwA6wZT872C0jXTvSRdt9zAu6KE=";
};
cargoSha256 = "0vy6q3hjp374lyg00zxim8aplh83iq3f4rrmpz5vnpwbag1fdql3";
meta = with lib; {
description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
homepage = "https://github.com/ellie/atuin";
license = licenses.mit;
maintainers = [ maintainers.onsails ];
};
}
+3
View File
@@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub, bash, makeWrapper, bat
# batdiff, batgrep, and batwatch
, coreutils
, getconf
, less
# batgrep
, ripgrep
@@ -48,6 +49,7 @@ let
# Run the library tests as they don't have external dependencies
doCheck = true;
checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
checkPhase = ''
runHook preCheck
# test list repeats suites. Unique them
@@ -104,6 +106,7 @@ let
dontBuild = true; # we've already built
doCheck = true;
checkInputs = lib.optionals stdenv.isDarwin [ getconf ];
checkPhase = ''
runHook preCheck
bash ./test.sh --compiled --suite ${name}
+2
View File
@@ -23,6 +23,7 @@ let
efiSystemsBuild = {
i686-linux.target = "i386";
x86_64-linux.target = "x86_64";
armv7l-linux.target = "arm";
aarch64-linux.target = "aarch64";
};
@@ -31,6 +32,7 @@ let
efiSystemsInstall = {
i686-linux.target = "i386";
x86_64-linux.target = "x86_64";
armv7l-linux.target = "arm";
aarch64-linux.target = "arm64";
};
+3 -3
View File
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, gnugrep, nix, nixFlakes }:
{ lib, stdenv, fetchFromGitHub, gnugrep, nixFlakes }:
stdenv.mkDerivation rec {
pname = "nix-direnv";
version = "1.2.4";
version = "1.2.5";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nix-direnv";
rev = version;
sha256 = "sha256-87x+MRQ1SjtN+wNCy42VJwlRwgQzHjNEK3J1bkvo7eQ=";
sha256 = "sha256-sqEodshg6nm3O4RK63ht8u6FU98bF/1i6frS50oyZY8=";
};
# Substitute instead of wrapping because the resulting file is
+3 -3
View File
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "topgrade";
version = "6.8.0";
version = "6.9.0";
src = fetchFromGitHub {
owner = "r-darwish";
repo = pname;
rev = "v${version}";
sha256 = "sha256-PPOsb9bne0q/WGAL3W2RGo/0yxyz/XXU3xYXKcCIqX0=";
sha256 = "sha256-FW0vGwMHUgFSMggZoT+koSkub4xSKeQ+PNlvFjGIy7o=";
};
cargoSha256 = "sha256-E5cURTLVVAUKygdbWUlptEsReodqw2GTAUNd21dkSvQ=";
cargoSha256 = "sha256-+JNQITHP5rwbfavBeb4/IUo5FThhKcKDRwGeT5m6k5k=";
buildInputs = lib.optional stdenv.isDarwin Foundation;
+4 -3
View File
@@ -1,5 +1,5 @@
{ lib, rustPlatform, pkg-config, cmake, llvmPackages, openssl, fetchFromGitHub
, installShellFiles }:
, installShellFiles, stdenv, Security, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "tremor";
@@ -16,7 +16,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
buildInputs = [ openssl ];
buildInputs = [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ];
# TODO export TREMOR_PATH($out/lib) variable
postInstall = ''
@@ -40,7 +41,7 @@ rustPlatform.buildRustPackage rec {
description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation";
homepage = "https://www.tremor.rs/";
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
platforms = platforms.x86_64;
maintainers = with maintainers; [ humancalico ];
};
}
+26
View File
@@ -0,0 +1,26 @@
{ lib, stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "xcd";
version = "1.2";
src = fetchurl {
url = "https://www.muppetlabs.com/~breadbox/pub/software/${pname}-${version}.tar.gz";
sha256 = "1cgwspy08q05rhxbp7m1yrrix252i9jzfcfbzmhdvlgf5bfpl25g";
};
buildInputs = [ ncurses ];
installPhase = ''
runHook preInstall
install -D $pname $out/bin/$pname
runHook postInstall
'';
meta = with lib; {
description = "Colorized hexdump tool";
homepage = "https://www.muppetlabs.com/~breadbox/software/xcd.html";
maintainers = [ maintainers.xfnw ];
license = licenses.mit;
platforms = platforms.unix;
};
}