Merge pull request #144021 from NixOS/backport-144016-to-release-21.05
[Backport release-21.05] honcho: 1.0.1 -> 1.1.0, fix the package
This commit is contained in:
commit
f0869b1a2c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user