28 lines
486 B
Nix
28 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;
|
|
};
|
|
}
|