Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-05-10 18:28:17 +00:00
committed by GitHub
110 changed files with 899 additions and 1407 deletions
+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}
+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
+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;
};
}