Merge pull request #94240 from sternenseemann/kitty-0.18.2
kitty: 0.18.1 → 0.18.2
This commit is contained in:
commit
b95c871be5
@ -20,14 +20,14 @@
|
|||||||
with python3Packages;
|
with python3Packages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "kitty";
|
pname = "kitty";
|
||||||
version = "0.18.1";
|
version = "0.18.2";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kovidgoyal";
|
owner = "kovidgoyal";
|
||||||
repo = "kitty";
|
repo = "kitty";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1g4mfgygyl143k0k6d3cb8b2l05ahiamlcqs1iqi66pc73cax4z6";
|
sha256 = "0x6h8g017mbpjkpkb1y8asyfdc48bgjzmj5gachsp5cf5jcqwir2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -85,8 +85,14 @@ buildPythonApplication rec {
|
|||||||
|
|
||||||
checkInputs = [ pillow ];
|
checkInputs = [ pillow ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase =
|
||||||
${python.interpreter} test.py
|
let buildBinPath =
|
||||||
|
if stdenv.isDarwin
|
||||||
|
then "kitty.app/Contents/MacOS"
|
||||||
|
else "linux-package/bin";
|
||||||
|
in
|
||||||
|
''
|
||||||
|
env PATH="${buildBinPath}:$PATH" ${python.interpreter} test.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user