Flowtrack: private period tracker with cycle predictions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-18 08:37:13 +01:00
commit 94372c6abc
19 changed files with 2166 additions and 0 deletions

26
package.nix Normal file
View file

@ -0,0 +1,26 @@
{ lib, stdenvNoCC, makeWrapper, python3 }:
stdenvNoCC.mkDerivation {
pname = "flowtrack";
version = "1.0.0";
src = ./.;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/flowtrack $out/bin
cp app.py $out/share/flowtrack/app.py
cp -r static $out/share/flowtrack/static
makeWrapper ${python3}/bin/python3 $out/bin/flowtrack \
--add-flags "$out/share/flowtrack/app.py"
runHook postInstall
'';
meta = {
description = "Private, self-hosted period tracker with cycle predictions";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "flowtrack";
};
}