Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 32 lines 635 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, requests-cache 6, pygments 7, pyquery 8, python 9}: 10 11buildPythonPackage rec { 12 pname = "howdoi"; 13 version = "1.1.14"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "b85b8e551bf47ff157392660f0fc5b9eb3eacb78516a5823f7b774ec61955db5"; 18 }; 19 20 propagatedBuildInputs = [ six requests-cache pygments pyquery ]; 21 22 preCheck = '' 23 export HOME=$(mktemp -d) 24 ''; 25 26 meta = with lib; { 27 description = "Instant coding answers via the command line"; 28 homepage = https://pypi.python.org/pypi/howdoi; 29 license = licenses.mit; 30 maintainers = [ maintainers.costrouc ]; 31 }; 32}