Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-02-17 12:20:00 +00:00
committed by GitHub
36 changed files with 943 additions and 378 deletions
+6 -4
View File
@@ -1,16 +1,18 @@
{ lib, fetchFromGitHub, python2Packages }:
{ lib, fetchFromGitHub, python3Packages }:
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "bmap-tools";
version = "3.4";
version = "3.6";
src = fetchFromGitHub {
owner = "intel";
repo = "bmap-tools";
rev = "v${version}";
sha256 = "0p0pdwvyf9b4czi1pnhclm1ih8kw78nk2sj4if5hwi7s5423wk5q";
sha256 = "01xzrv5nvd2nvj91lz4x9s91y9825j9pj96z0ap6yvy3w2dgvkkl";
};
propagatedBuildInputs = with python3Packages; [ six ];
# tests fail only on hydra.
doCheck = false;
+7 -3
View File
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub, bash }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "neofetch";
version = "7.1.0";
@@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "0i7wpisipwzk0j62pzaigbiq42y1mn4sbraz4my2jlz6ahwf00kv";
};
dontBuild = true;
strictDeps = true;
buildInputs = [ bash ];
postPatch = ''
patchShebangs --host neofetch
'';
makeFlags = [
"PREFIX=${placeholder "out"}"
+18 -14
View File
@@ -1,26 +1,30 @@
{ lib, stdenv, fetchurl, readline }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, readline }:
stdenv.mkDerivation rec {
pname = "rlwrap";
version = "0.43";
version = "0.45";
src = fetchurl {
url = "https://github.com/hanslub42/rlwrap/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "0bzb7ylk2770iv59v2d0gypb21y2xn87m299s9rqm6rdi2vx11lf";
src = fetchFromGitHub {
owner = "hanslub42";
repo = "rlwrap";
rev = "v${version}";
sha256 = "1ppkjdnxrxh99g4xaiaglm5bmp24006rfahci0cn1g7zwilkjy8s";
};
postPatch = ''
substituteInPlace src/readline.c \
--replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))"
'';
nativeBuildInputs = [ autoreconfHook perl ];
buildInputs = [ readline ];
# Be high-bit-friendly
preBuild = ''
sed -i src/readline.c -e "s@[*]p [<] ' '@(*p >= 0) \\&\\& (*p < ' ')@"
'';
meta = {
meta = with lib; {
description = "Readline wrapper for console programs";
homepage = "https://github.com/hanslub42/rlwrap";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ];
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}