nixpkgs/pkgs/top-level
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
..
pkg-config ruby_3_0: drop 2023-11-17 16:03:00 +01:00
agda-packages.nix
aliases.nix Merge pull request #271569 from kirillrdy/hipchat 2023-12-13 09:50:21 -08:00
all-packages.nix python3.pkgs.reuse: make a python library 2023-12-14 23:04:43 +02:00
beam-packages.nix
by-name-overlay.nix
config.nix config.rocmSupport: init option 2023-11-14 01:50:59 +01:00
coq-packages.nix coqPackages.VST: 2.12 → 2.13 2023-11-27 03:57:47 +01:00
cubocore-packages.nix
cuda-packages.nix cudaPackages.saxpy: only available from CUDA 11.4 and on 2023-12-07 16:45:56 +00:00
darwin-packages.nix
default.nix
dhall-packages.nix
dotnet-packages.nix
emacs-packages.nix
emscripten-packages.nix
gnuradio-packages.nix
hare-third-party.nix hareThirdParty.hare-json: init at unstable-2023-09-21 2023-12-03 23:14:38 +07:00
haskell-packages.nix haskell.compiler.ghc865Binary: don't pass llvmPackages_6 2023-12-04 19:43:07 +01:00
haxe-packages.nix
impure.nix
java-packages.nix mkAdoptopenjdk: allow missing {jre,jdk}-openj9 attribute 2023-11-30 09:36:06 +01:00
kodi-packages.nix
linux-kernels.nix linux/hardened/patches/6.6: init at 6.6.6-hardened1 2023-12-12 16:01:46 -06:00
lua-packages.nix
make-tarball.nix
metrics.nix
nim-overrides.nix nimOverrides: warn on bad version of hashlib 2023-12-10 09:26:02 +00:00
nixpkgs-basic-release-checks.nix
ocaml-packages.nix ocamlPackages.gluten-eio: init at 0.5.0 2023-12-04 07:28:12 +01:00
octave-packages.nix
packages-config.nix
perl-packages.nix perlPackages.AudioScan: switch to slimserver fork, 1.01 -> 1.05 2023-12-13 16:04:46 -05:00
php-packages.nix Merge pull request #273378 from shyim/frankenphp-extension-support 2023-12-11 10:19:58 +01:00
python2-packages.nix
python-aliases.nix Merge pull request #272576 from NixOS/home-assistant 2023-12-10 14:51:43 +01:00
python-packages.nix python3.pkgs.reuse: make a python library 2023-12-14 23:04:43 +02:00
qt5-packages.nix Merge pull request #270726 from atorres1985-contrib/openshot 2023-12-06 01:52:15 +01:00
qt6-packages.nix Merge pull request #260886 from OPNA2608/init/lomiri/qzxing 2023-12-02 12:04:56 +01:00
release-alternatives.nix
release-cross.nix
release-cuda.nix
release-haskell.nix haskell.compiler.ghc884: remove at 8.8.4 2023-12-04 19:42:44 +01:00
release-lib.nix
release-python.nix release-python.nix: remove dreamed-up config option 2023-12-12 17:53:28 +01:00
release-r.nix
release-small.nix
release.nix pkgs/top-level/release: drop nodejs 16 exception 2023-11-20 18:50:14 +01:00
ruby-packages.nix rubyPackages: update 2023-11-30 04:20:00 +00:00
splice.nix
stage.nix
unixtools.nix
wine-packages.nix