parent
e6b6b82d79
commit
73c8614a07
|
@ -17,13 +17,13 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "mcomix3";
|
pname = "mcomix3";
|
||||||
version = "unstable-2020-11-23";
|
version = "unstable-2021-04-23";
|
||||||
|
|
||||||
# no official release on pypi/github and no build system
|
# no official release on pypi/github and no build system
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "${pname}";
|
repo = "${pname}";
|
||||||
owner = "multiSnow";
|
owner = "multiSnow";
|
||||||
rev = "cdcb27533dc7ee2ebf7b0a8ab5ba10e61c0b8ff8";
|
rev = "139344e23898c28484328fc29fd0c6659affb12d";
|
||||||
sha256 = "0q9xgl60ryf7qmy5vgzgfry4rvw5j9rb4d1ilxmpjmvm7dd3fm2k";
|
sha256 = "0q9xgl60ryf7qmy5vgzgfry4rvw5j9rb4d1ilxmpjmvm7dd3fm2k";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -46,6 +46,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
substituteInPlace mime/*.desktop \
|
||||||
|
--replace "Exec=mcomix" "Exec=mcomix3"
|
||||||
${python3.executable} installer.py --srcdir=mcomix --target=$libdir
|
${python3.executable} installer.py --srcdir=mcomix --target=$libdir
|
||||||
mv $libdir/mcomix/mcomixstarter.py $out/bin/${pname}
|
mv $libdir/mcomix/mcomixstarter.py $out/bin/${pname}
|
||||||
mv $libdir/mcomix/comicthumb.py $out/bin/comicthumb
|
mv $libdir/mcomix/comicthumb.py $out/bin/comicthumb
|
||||||
|
|
Loading…
Reference in a new issue