thefuck: Fix tests, add SuperSandro2000 as maintainer
This commit is contained in:
parent
73ac41146b
commit
231ad4ac16
|
@ -1,6 +1,6 @@
|
||||||
{ lib, fetchFromGitHub, buildPythonApplication
|
{ lib, fetchFromGitHub, buildPythonApplication
|
||||||
, colorama, decorator, psutil, pyte, six
|
, colorama, decorator, psutil, pyte, six
|
||||||
, pytest, pytest-mock
|
, go, mock, pytestCheckHook, pytest-mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
|
@ -16,22 +16,12 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
|
propagatedBuildInputs = [ colorama decorator psutil pyte six ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-mock ];
|
checkInputs = [ go mock pytestCheckHook 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.
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/nvbn/thefuck";
|
homepage = "https://github.com/nvbn/thefuck";
|
||||||
description = "Magnificent app which corrects your previous console command";
|
description = "Magnificent app which corrects your previous console command";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ma27 ];
|
maintainers = with maintainers; [ ma27 SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue