depot/third_party/nixpkgs/pkgs/development/python-modules/invoke/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

27 lines
486 B
Nix

{ lib
, bash
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "invoke";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "374d1e2ecf78981da94bfaf95366216aaec27c2d6a7b7d5818d92da55aa258d3";
};
patchPhase = ''
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
'';
# errors with vendored libs
doCheck = false;
meta = {
description = "Pythonic task execution";
license = lib.licenses.bsd2;
};
}