3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/howdoi/default.nix

34 lines
665 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, six
, requests-cache
, pygments
, pyquery
, cachelib
, appdirs
}:
buildPythonPackage rec {
pname = "howdoi";
2020-08-16 18:31:03 +01:00
version = "2.0.3";
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:03 +01:00
sha256 = "ed8acb75779f598a831224f33fa991c51764872574a128e9b2f11b83fcace010";
};
propagatedBuildInputs = [ six requests-cache pygments pyquery cachelib appdirs ];
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
description = "Instant coding answers via the command line";
homepage = "https://pypi.python.org/pypi/howdoi";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}