Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

70 lines
1.8 KiB
Nix

{
lib,
zlib,
fetchFromGitHub,
python3Packages,
wrapQtAppsHook,
}:
python3Packages.buildPythonApplication rec {
pname = "manuskript";
version = "0.17.0";
format = "other";
src = fetchFromGitHub {
repo = "manuskript";
owner = "olivierkes";
tag = version;
hash = "sha256-jOhbN6lMx04q60S0VOABmSNE/x9Er9exFYvWJe2INlE=";
};
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = [
python3Packages.pyqt5
python3Packages.lxml
zlib
];
patchPhase = ''
substituteInPlace manuskript/ui/welcome.py \
--replace sample-projects $out/share/manuskript/sample-projects
'';
buildPhase = "";
installPhase = ''
mkdir -p $out/share/manuskript
cp -av bin/ i18n/ libs/ manuskript/ resources/ icons/ $out
cp -r sample-projects/ $out/share/manuskript
'';
postFixup = ''
wrapQtApp $out/bin/manuskript
'';
doCheck = false;
meta = {
description = "Open-source tool for writers";
homepage = "https://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 = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ strawbee ];
platforms = lib.platforms.unix;
mainProgram = "manuskript";
};
}