Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-02-13 06:16:37 +00:00
committed by GitHub
33 changed files with 281 additions and 138 deletions
+8 -9
View File
@@ -5,25 +5,24 @@ stdenv.mkDerivation rec {
pname = "smenu";
src = fetchFromGitHub {
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
owner = "p-gen";
repo = "smenu";
rev = "v${version}";
sha256 = "1p8y1fgrfb7jxmv5ycvvnqaz7ghdi50paisgzk71169fqwp1crfa";
};
buildInputs = [ ncurses ];
meta = with lib; {
homepage = "https://github.com/p-gen/smenu";
description = "Terminal selection utility";
homepage = "https://github.com/p-gen/smenu";
description = "Terminal selection utility";
longDescription = ''
Terminal utility that allows you to use words coming from the standard
input to create a nice selection window just below the cursor. Once done,
your selection will be sent to standard output.
'';
license = licenses.gpl2;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.unix;
license = licenses.gpl2Only;
maintainers = with maintainers; [ matthiasbeyer SuperSandro2000 ];
platforms = platforms.unix;
};
}
+3 -13
View File
@@ -1,6 +1,6 @@
{ lib, fetchFromGitHub, buildPythonApplication
, colorama, decorator, psutil, pyte, six
, pytest, pytest-mock
, go, mock, pytestCheckHook, pytest-mock
}:
buildPythonApplication rec {
@@ -16,22 +16,12 @@ buildPythonApplication rec {
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
checkInputs = [ pytest pytest-mock ];
checkPhase = ''
export HOME=$TMPDIR
export LANG=en_US.UTF-8
export XDG_CACHE_HOME=$TMPDIR/cache
export XDG_CONFIG_HOME=$TMPDIR/config
py.test
'';
doCheck = false; # The above is only enough for tests to pass outside the sandbox.
checkInputs = [ go mock pytestCheckHook pytest-mock ];
meta = with lib; {
homepage = "https://github.com/nvbn/thefuck";
description = "Magnificent app which corrects your previous console command";
license = licenses.mit;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ ma27 SuperSandro2000 ];
};
}