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

32 lines
626 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, six
, requests-cache
, pygments
, pyquery
}:
buildPythonPackage rec {
pname = "howdoi";
2018-11-04 10:35:02 +00:00
version = "1.1.14";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:02 +00:00
sha256 = "b85b8e551bf47ff157392660f0fc5b9eb3eacb78516a5823f7b774ec61955db5";
};
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
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 ];
};
}