nixpkgs/pkgs/development/python-modules/invoke/default.nix

28 lines
486 B
Nix
Raw Normal View History

{ lib
, bash
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "invoke";
2021-03-24 09:28:14 +00:00
version = "1.5.0";
src = fetchPypi {
inherit pname version;
2021-03-24 09:28:14 +00:00
sha256 = "f0c560075b5fb29ba14dad44a7185514e94970d1b9d57dcd3723bec5fed92650";
};
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;
};
}