2018-07-19 17:36:05 +01:00
|
|
|
{ lib
|
2019-03-19 16:38:55 +00:00
|
|
|
, bash
|
2018-07-19 17:36:05 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "invoke";
|
2021-08-26 20:32:36 +01:00
|
|
|
version = "1.6.0";
|
2018-07-19 17:36:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-26 20:32:36 +01:00
|
|
|
sha256 = "374d1e2ecf78981da94bfaf95366216aaec27c2d6a7b7d5818d92da55aa258d3";
|
2018-07-19 17:36:05 +01:00
|
|
|
};
|
|
|
|
|
2019-03-19 16:38:55 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
|
|
|
|
'';
|
|
|
|
|
2018-07-19 17:36:05 +01:00
|
|
|
# errors with vendored libs
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic task execution";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|