8 buildPythonPackage rec {
11 format = "setuptools";
14 inherit pname version;
15 hash = "sha256-7my7EBrxqFnH/oTyomTAWQILDLf+NTX5QkMAq1aPa9U=";
19 sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
22 # errors with vendored libs
25 pythonImportsCheck = [
29 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
30 mkdir -p $out/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
31 $out/bin/inv --print-completion-script=zsh >$out/share/zsh/site-functions/_inv
32 $out/bin/inv --print-completion-script=bash >$out/share/bash-completion/completions/inv.bash
33 $out/bin/inv --print-completion-script=fish >$out/share/fish/vendor_completions.d/inv.fish
37 changelog = "https://www.pyinvoke.org/changelog.html";
38 description = "Pythonic task execution";
39 homepage = "https://www.pyinvoke.org/";
40 license = licenses.bsd2;
41 maintainers = with maintainers; [ ];