mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
ca0876bcba
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-invoke/versions
28 lines
474 B
Nix
28 lines
474 B
Nix
{ lib
|
|
, bash
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "invoke";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1nn7gad0rvy492acpyhkrp01zsk86acf34qhsvq4xmm6x39788n5";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|