Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-03-06 06:17:00 +00:00
committed by GitHub
71 changed files with 2342 additions and 2424 deletions
+15 -7
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, tcl, makeWrapper, autoreconfHook }:
{ lib, stdenv, buildPackages, fetchurl, tcl, makeWrapper, autoreconfHook, fetchpatch }:
stdenv.mkDerivation rec {
pname = "expect";
@@ -9,19 +9,27 @@ stdenv.mkDerivation rec {
sha256 = "0d1cp5hggjl93xwc8h1y6adbnrvpkk0ywkd00inz9ndxn21xm9s9";
};
buildInputs = [ tcl ];
nativeBuildInputs = [ makeWrapper autoreconfHook ];
hardeningDisable = [ "format" ];
patches = [
(fetchpatch {
url = "https://raw.githubusercontent.com/buildroot/buildroot/c05e6aa361a4049eabd8b21eb64a34899ef83fc7/package/expect/0001-enable-cross-compilation.patch";
sha256 = "1jwx2l1slidvcpahxbyqs942l81jd62rzbxliyd9lwysk38c8b6b";
})
];
postPatch = ''
sed -i "s,/bin/stty,$(type -p stty),g" configure.in
'';
nativeBuildInputs = [ autoreconfHook makeWrapper tcl ];
buildInputs = [ tcl ];
strictDeps = true;
hardeningDisable = [ "format" ];
configureFlags = [
"--with-tcl=${tcl}/lib"
"--with-tcl=${buildPackages.tcl}/lib"
"--with-tclinclude=${tcl}/include"
"--exec-prefix=\${out}"
"--exec-prefix=${placeholder "out"}"
];
postInstall = ''
+5 -1
View File
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1jivnjswlhwjfg5v9nwfg3vfssvqbdxxf9znwmfb5dgfblg9wxw9";
};
postPatch = ''
substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc'
'';
installPhase = ''
mkdir -p $out/bin $out/share/man/man6
cp gti $out/bin
@@ -18,7 +22,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "http://r-wos.org/hacks/gti";
homepage = "https://r-wos.org/hacks/gti";
license = licenses.mit;
description = "Humorous typo-based git runner; drives a car over the terminal";
maintainers = with maintainers; [ fadenb ];