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";
|
2019-08-20 12:58:20 +02:00
|
|
|
version = "1.3.0";
|
2018-07-19 18:36:05 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 12:58:20 +02:00
|
|
|
sha256 = "1nn7gad0rvy492acpyhkrp01zsk86acf34qhsvq4xmm6x39788n5";
|
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;
|
|
|
|
};
|
|
|
|
}
|