Package Codo for Nix (flake or nixpkgs)

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
build-system, cli

Research direction

Start by reading the codo script, especially _auto_update_allowed(), and check how the existing Homebrew, Scoop, and AUR packages invoke it. Add a flake.nix that packages the script with Python 3 and keeps codo update from writing under /nix/store; verify that nix run github:DomaAI/Codo works and that nix build followed by ./result/bin/codo version succeeds.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Codo is packaged for Homebrew, Scoop, AUR (codo-bin) and winget. Nix and NixOS users have no package.

Task: a flake.nix in this repo (so nix run github:DomaAI/Codo works) that packages the single file codo script with Python 3 (stdlib only, no dependencies), and optionally a nixpkgs PR later. A CI job that runs nix build and ./result/bin/codo version would keep it working.

Note: codo update must not try to replace a file in the Nix store; check _auto_update_allowed() and skip paths under /nix/store.

Dominant language
Python
Stars
5
Forks
0
Avg merge
8h 19m
Merged PRs (30d)
11

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DomaAI/Codo

All issues in DomaAI/Codo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.