honcho: 1.0.1 -> 1.1.0, fix the package

This commit is contained in:
Domen Kožar 2021-10-31 11:44:38 -06:00
parent 50f4571c35
commit 059feb3ccf

View File

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