Use wheel instead of pyjokes
We need an egg to install to test that pipenv works. Instead of downloading & installing pyjokes, let's use wheel since we already have it. Refs https://github.com/NixOS/nixpkgs/pull/73349#discussion_r345830233
This commit is contained in:
parent
5cbdff56ee
commit
1c406512eb
|
@ -42,7 +42,8 @@ in buildPythonApplication rec {
|
|||
doCheck = true;
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
$out/bin/pipenv install ${fetchPypi {pname="pyjokes"; version="0.6.0"; sha256="08860eedb78cbfa4618243c8db088f21c39823ece1fdaf0133e52d9c56e981a5";} }
|
||||
cp -r --no-preserve=mode ${wheel.src} $HOME/wheel-src
|
||||
$out/bin/pipenv install $HOME/wheel-src
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue