mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
honcho: 1.0.1 -> 1.1.0, fix the package
This commit is contained in:
parent
50f4571c35
commit
059feb3ccf
1 changed files with 6 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue