2016-08-11 19:26:18 +02:00
|
|
|
{ stdenv, zlib, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-05-28 14:59:57 +02:00
|
|
|
pname = "manuskript";
|
2018-12-15 10:32:15 +01:00
|
|
|
version = "0.8.0";
|
2016-08-11 19:26:18 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-05-28 14:59:57 +02:00
|
|
|
repo = pname;
|
2016-08-11 19:26:18 +02:00
|
|
|
owner = "olivierkes";
|
|
|
|
rev = version;
|
2018-12-15 10:32:15 +01:00
|
|
|
sha256 = "0vqz02p3m9n4hk2jplnklr9s6niqdm5iykab6nblqdm4plb04c34";
|
2016-08-11 19:26:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
python3Packages.pyqt5
|
|
|
|
python3Packages.lxml
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
2016-08-29 22:55:45 +02:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace manuskript/ui/welcome.py \
|
2018-05-28 14:59:57 +02:00
|
|
|
--replace sample-projects $out/share/${pname}/sample-projects
|
2016-08-29 22:55:45 +02:00
|
|
|
'';
|
|
|
|
|
2016-08-11 19:26:18 +02:00
|
|
|
buildPhase = '''';
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-05-28 14:59:57 +02:00
|
|
|
mkdir -p $out/share/${pname}
|
2016-08-29 22:55:45 +02:00
|
|
|
cp -av bin/ i18n/ libs/ manuskript/ resources/ icons/ $out
|
2018-05-28 14:59:57 +02:00
|
|
|
cp -r sample-projects/ $out/share/${pname}
|
2016-08-11 19:26:18 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A open-source tool for writers";
|
|
|
|
homepage = http://www.theologeek.ch/manuskript;
|
2016-08-29 22:55:45 +02:00
|
|
|
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.
|
|
|
|
'';
|
2016-08-11 19:26:18 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.steveej ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|