2021-02-05 17:12:51 +00:00
|
|
|
{ lib, zlib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "manuskript";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "0.13.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = pname;
|
|
|
|
owner = "olivierkes";
|
|
|
|
rev = version;
|
2022-01-03 16:56:52 +00:00
|
|
|
hash = "sha256-TEmAamNdqBK7bu62tLtJl05wBI6hga84PQSrWiMPROY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapQtAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
python3Packages.pyqt5
|
|
|
|
python3Packages.lxml
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace manuskript/ui/welcome.py \
|
|
|
|
--replace sample-projects $out/share/${pname}/sample-projects
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildPhase = "";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/${pname}
|
|
|
|
cp -av bin/ i18n/ libs/ manuskript/ resources/ icons/ $out
|
|
|
|
cp -r sample-projects/ $out/share/${pname}
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapQtApp $out/bin/manuskript
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A open-source tool for writers";
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://www.theologeek.ch/manuskript";
|
2020-04-24 23:36:52 +00: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.
|
|
|
|
'';
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl3;
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = [ ];
|
2021-03-23 19:22:30 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|