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";
|
2018-10-14 16:42:59 +01:00
|
|
|
version = "1.2.0";
|
2018-07-19 17:36:05 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-14 16:42:59 +01:00
|
|
|
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
|
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;
|
|
|
|
};
|
|
|
|
}
|