aboutcode-org / aboutcode-org/scancode-toolkit

Add support for nix packages

Đang mở
#2,823 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
new feature package scan
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

We should add support for https://nixos.org/ packages
An example of a nix "derivation" is at https://github.com/nix-community/nix-direnv/blob/master/flake.nix
This is like a package manifest.
For instance, this is one of the packages of ScanCode in nix:
https://github.com/NixOS/nixpkgs/blob/nixos-21.11/pkgs/development/python-modules/pyahocorasick/default.nix#L29

Of note: it uses its own "language" for license declaration. We may need a simple pygmars-based nix parser. Check also https://framagit.org/upt/upt-nix/-/blob/master/upt_nix/upt_nix.py

Some other pointers include:
- https://github.com/pombredanne/nix-derivation-tool

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.