1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-05 15:22:36 +03:00
nixpkgs/pkgs/development/python-modules/invoke/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
644 B
Nix
Raw Normal View History

{ lib
, bash
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "invoke";
2022-11-04 16:38:00 +10:00
version = "1.7.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
2022-11-04 16:38:00 +10:00
hash = "sha256-QbQoNC1GaoITXVqzcRloWpiXE3Qr5G5Co6OZ1oVXkxQ=";
};
postPatch = ''
sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py
'';
# errors with vendored libs
doCheck = false;
pythonImportsCheck = [
"invoke"
];
meta = with lib; {
description = "Pythonic task execution";
homepage = "https://www.pyinvoke.org/";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}