nixpkgs/pkgs/tools/package-management
Florian Klink 96c1f0e798 python3.pkgs.reuse: make a python library
reuse actually can also be used as a python library:
https://github.com/fsfe/reuse-tool/blob/main/src/reuse/__init__.py#L11-L12

This change allows composing a python with `reuse` in `PYTHONPATH`:

```
$(nix-build -E "with import ./. {}; (python3.withPackages (ps: [ps.reuse]))")/bin/python
Python 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import reuse
>>> reuse.__doc__
'reuse is a tool for compliance with the REUSE recommendations.\n\nAlthough the API is documented, it is **NOT** guaranteed stable between minor or\neven patch releases. The semantic versioning of this program pertains\nexclusively to the reuse CLI command. If you want to use reuse as a Python\nlibrary, you should pin reuse to an exact version.\n\nHaving given the above disclaimer, the API has been relatively stable\nnevertheless, and we (the maintainers) do make some efforts to not needlessly\nchange the public API.\n'
```

vs before:
```
❯ $(nix-build -E "with import ./. {}; (python3.withPackages (_: [ reuse]))")/bin/python
Python 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import reuse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'reuse'
```
2023-12-14 23:04:43 +02:00
..
akku treewide: add mainProgram 2023-11-27 02:17:53 +01:00
apk-tools treewide: add mainProgram 2023-11-27 02:17:53 +01:00
apkg treewide: add mainProgram 2023-11-27 02:17:53 +01:00
appimage-run
appimagekit
apt-dater
apx maintainers: rename jgarcia to chewblacka 2023-11-27 17:38:13 +00:00
cde
checkinstall
ciel treewide: add mainProgram 2023-11-27 02:17:53 +01:00
clib clib: 2.8.3 -> 2.8.5 2023-11-09 06:38:11 +00:00
comma
conda
createrepo_c
deploy-rs
disnix DisnixWebService: add meta.{changelog,homepage} 2023-11-23 00:14:16 +01:00
dnf5 dnf5: 5.1.8 -> 5.1.9 2023-12-08 15:39:54 +01:00
dpkg
elm-github-install treewide: add mainProgram 2023-11-27 02:17:53 +01:00
emplace treewide: add mainProgram 2023-11-27 02:17:53 +01:00
fortran-fpm treewide: add mainProgram 2023-11-27 02:17:53 +01:00
fpm treewide: add mainProgram 2023-11-27 02:17:53 +01:00
fusesoc treewide: add mainProgram 2023-11-27 02:17:53 +01:00
gx treewide: add mainProgram 2023-11-27 02:17:53 +01:00
harmonia harmonia: 0.7.2 -> 0.7.3 2023-11-14 10:37:39 +01:00
holo-build treewide: add mainProgram 2023-11-27 02:17:53 +01:00
home-manager treewide: add mainProgram 2023-11-27 02:17:53 +01:00
libcomps libcomps: init at 0.1.20 2023-12-05 11:31:07 +01:00
libdnf libdnf: add katexochen as maintainer 2023-12-05 11:31:06 +01:00
librepo
licensee treewide: add mainProgram 2023-11-27 02:17:53 +01:00
microdnf treewide: add mainProgram 2023-11-27 02:17:53 +01:00
micromamba micromamba: 1.5.3 -> 1.5.4 2023-12-06 20:57:03 +08:00
morph treewide: add mainProgram 2023-11-27 02:17:53 +01:00
mynewt-newt
nfpm treewide: add mainProgram 2023-11-27 02:17:53 +01:00
niff treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix nixVersions.nix_2_19: 2.19.1 -> 2.19.2 2023-12-01 13:10:32 +00:00
nix-bundle
nix-doc nix-doc: 0.6.2 -> 0.6.4 2023-12-03 15:39:16 -08:00
nix-du treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-eval-jobs nix-eval-jobs: 2.18.0 -> 2.19.0 2023-12-10 12:04:27 +01:00
nix-index
nix-pin treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-prefetch treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-prefetch-scripts
nix-serve treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-simple-deploy treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-template treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-top treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-universal-prefetch treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nix-update nix-update: set meta.mainProgram 2023-11-16 21:42:13 +01:00
nix-update-source treewide: add mainProgram 2023-11-27 02:17:53 +01:00
nixpkgs-review
nox
npm-check-updates
nvd
opkg
opkg-utils
packagekit
pacman
pacup treewide: add mainProgram 2023-11-27 02:17:53 +01:00
pdm pdm: 2.10.3 -> 2.10.4 2023-11-26 22:32:27 +00:00
pkg treewide: add mainProgram 2023-11-27 02:17:53 +01:00
poetry Merge pull request #269799 from dotlambda/poetry-1.7.1 2023-11-28 22:48:31 -08:00
poetry2conda treewide: add mainProgram 2023-11-27 02:17:53 +01:00
protontricks
repro-get treewide: add mainProgram 2023-11-27 02:17:53 +01:00
rpm rpm: declare darwin as badPlatform 2023-11-24 13:34:39 +01:00
smlpkg treewide: add mainProgram 2023-11-27 02:17:53 +01:00
wapm/cli
xbps xbps: 0.59.1 -> 0.59.2; fix build 2023-11-16 21:37:24 +00:00
yarn-lock-converter treewide: add mainProgram 2023-11-27 02:17:53 +01:00