manuskript: cleanup of install

This commit is contained in:
Michiel Leenaars 2016-08-29 22:55:45 +02:00
parent 005a147f92
commit fd69c7d944

View File

@ -17,11 +17,17 @@ python3Packages.buildPythonApplication rec {
zlib zlib
]; ];
patchPhase = ''
substituteInPlace manuskript/ui/welcome.py \
--replace sample-projects $out/share/${name}/sample-projects
'';
buildPhase = ''''; buildPhase = '''';
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out/share/${name}
cp -av * $out/ cp -av bin/ i18n/ libs/ manuskript/ resources/ icons/ $out
cp -r sample-projects/ $out/share/${name}
''; '';
doCheck = false; doCheck = false;
@ -29,6 +35,18 @@ python3Packages.buildPythonApplication rec {
meta = { meta = {
description = "A open-source tool for writers"; description = "A open-source tool for writers";
homepage = http://www.theologeek.ch/manuskript; homepage = http://www.theologeek.ch/manuskript;
longDescription = ''
Manuskript is a tool for those writer who like to organize and
plan everything before writing. The snowflake method can help you
grow your idea into a book, by leading you step by step and asking
you questions to go deeper. While writing, keep track of notes
about every characters, plot, event, place in your story.
Develop complex characters and keep track of all useful infos.
Create intricate plots, linked to your characters, and use them to
outline your story. Organize your ideas about the world your
characters live in.
'';
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.steveej ]; maintainers = [ stdenv.lib.maintainers.steveej ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;