3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/invoke/default.nix
2020-05-11 22:12:12 +02:00

28 lines
486 B
Nix

{ lib
, bash
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "invoke";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
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;
};
}