honcho: 1.0.1 -> 1.1.0, fix the package

(cherry picked from commit 059feb3ccf8f87b3b93bfdd164ab1e43e0298645)
This commit is contained in:
Domen Kožar 2021-10-31 11:44:38 -06:00 committed by github-actions[bot]
parent 3c0f229486
commit 8a7935d97e
1 changed files with 6 additions and 15 deletions

View File

@ -8,30 +8,21 @@ in
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "1.0.1"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nickstenning"; owner = "nickstenning";
repo = "honcho"; repo = "honcho";
rev = "v${version}"; rev = "v${version}";
sha256 = "11bd87474qpif20xdcn0ra1idj5k16ka51i658wfpxwc6nzsn92b"; sha256 = "1y0r8dw4pqcq7r4n58ixjdg1iy60lp0gxsd7d2jmhals16ij71rj";
}; };
propagatedBuildInputs = [ python3Packages.setuptools ];
checkInputs = with python3Packages; [ jinja2 pytest mock coverage ]; checkInputs = with python3Packages; [ jinja2 pytest mock coverage ];
buildPhase = '' # missing plugins
${python.interpreter} setup.py build doCheck = false;
'';
installPhase = ''
mkdir -p "$out/${python.sitePackages}"
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
${python.interpreter} setup.py install \
--install-lib=$out/${python.sitePackages} \
--prefix="$out"
'';
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck