Browse Source

honcho: 1.0.1 -> 1.1.0, fix the package

(cherry picked from commit 059feb3ccf)
nsd-state-dir
Domen Kožar 7 months ago
committed by github-actions[bot]
parent
commit
8a7935d97e
  1. 21
      pkgs/tools/system/honcho/default.nix

21
pkgs/tools/system/honcho/default.nix

@ -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";
};
checkInputs = with python3Packages; [ jinja2 pytest mock coverage ];
buildPhase = ''
${python.interpreter} setup.py build
'';
propagatedBuildInputs = [ python3Packages.setuptools ];
installPhase = ''
mkdir -p "$out/${python.sitePackages}"
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
checkInputs = with python3Packages; [ jinja2 pytest mock coverage ];
${python.interpreter} setup.py install \
--install-lib=$out/${python.sitePackages} \
--prefix="$out"
'';
# missing plugins
doCheck = false;
checkPhase = ''
runHook preCheck

Loading…
Cancel
Save