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";
2020-05-09 10:01:50 +00:00
version = "1.3.1";
src = fetchPypi {
inherit pname version;
2020-05-09 10:01:50 +00:00
sha256 = "dae041ff458e1ef05448aae3b76e8c2a176c4b7c6a9d5e8ce880f16251803661";
};
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;
};
}