snapshot pre-cleanup-2026-05-23T19-39-41Z

This commit is contained in:
2026-05-23 23:32:28 +02:00
parent c8ee6d85fe
commit 30e8029a6b
35 changed files with 353 additions and 229 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
{ ... }:
{
flake.packages.custom-syllabes = { pkgs, ... }:
perSystem = { pkgs, ... }: {
# counts how many syllabes in a string.
# not perfect. Does not handle silents e in french
# but that's what I use for writing poetry
pkgs.writers.writePython3Bin "custom-syllabes" {
packages.custom-syllabes = pkgs.writers.writePython3Bin "custom-syllabes" {
libraries = with pkgs; [
python3Packages.pyphen
];
@@ -27,4 +27,4 @@
print(f"{total} ({'/'.join(chunks)})")
'';
}
};}