aboutcode-org / aboutcode-org/scancode-toolkit

Add support for guix packages

Open
#2,824 0 comments 1 reaction 0 assignees View on GitHub
new feature package scan
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

We should add support for https://guix.gnu.org/ packages
guix is based on nix (see https://github.com/nexB/scancode-toolkit/issues/2823 )

In contrast with nux that uses its nix language, guix is based on Guile scheme.
The doc for how packages are defined is at https://guix.gnu.org/manual/en/html_node/Defining-Packages.html
These package definitions are peculiar in that many are baked in a single scheme file like this https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm#n38451 (which contains about 70K lines of scheme, and this just for the rust crates)

See https://framagit.org/upt/upt-guix/-/blob/master/upt_guix/upt_guix.py for an example for Python code that creates guix scripts.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.