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

28 lines
474 B
Nix
Raw Normal View History

{ lib
, bash
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "invoke";
2018-10-14 17:42:59 +02:00
version = "1.2.0";
src = fetchPypi {
inherit pname version;
2018-10-14 17:42:59 +02:00
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
};
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;
};
}