2018-07-19 18:36:05 +02:00
|
|
|
{ lib
|
2019-03-19 17:38:55 +01:00
|
|
|
, bash
|
2018-07-19 18:36:05 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "invoke";
|
2018-10-14 17:42:59 +02:00
|
|
|
version = "1.2.0";
|
2018-07-19 18:36:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-14 17:42:59 +02:00
|
|
|
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
|
2018-07-19 18:36:05 +02:00
|
|
|
};
|
|
|
|
|
2019-03-19 17:38:55 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
|
|
|
|
'';
|
|
|
|
|
2018-07-19 18:36:05 +02:00
|
|
|
# errors with vendored libs
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pythonic task execution";
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|