pythonPackages.howdoi: refactor fix HOME requirement
This commit is contained in:
parent
55fc2d6375
commit
c0d6bd8743
@ -1,5 +1,12 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, six, requests-cache, pygments, pyquery }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, six
|
||||||
|
, requests-cache
|
||||||
|
, pygments
|
||||||
|
, pyquery
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "howdoi";
|
pname = "howdoi";
|
||||||
@ -12,9 +19,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
|
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Instant coding answers via the command line";
|
description = "Instant coding answers via the command line";
|
||||||
homepage = https://pypi.python.org/pypi/howdoi;
|
homepage = https://pypi.python.org/pypi/howdoi;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user