2019-02-24 17:49:39 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, requests-cache
|
|
|
|
, pygments
|
|
|
|
, pyquery
|
|
|
|
}:
|
2018-04-03 13:08:17 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "howdoi";
|
2018-11-04 10:35:02 +00:00
|
|
|
version = "1.1.14";
|
2018-04-03 13:08:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:02 +00:00
|
|
|
sha256 = "b85b8e551bf47ff157392660f0fc5b9eb3eacb78516a5823f7b774ec61955db5";
|
2018-04-03 13:08:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
|
|
|
|
|
2019-02-24 17:49:39 +00:00
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-04-03 13:08:17 +01:00
|
|
|
description = "Instant coding answers via the command line";
|
|
|
|
homepage = https://pypi.python.org/pypi/howdoi;
|
|
|
|
license = licenses.mit;
|
2019-02-24 17:49:39 +00:00
|
|
|
maintainers = [ maintainers.costrouc ];
|
2018-04-03 13:08:17 +01:00
|
|
|
};
|
|
|
|
}
|