| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: clean up 'meta = with' pattern•••This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
| Ihar Hrachyshka | 2025-12-10 | 1 | -2/+2 |
| * | python3Packages: format with nixfmt | Martin Weinelt | 2024-05-22 | 1 | -1/+6 |
| * | python3.pkgs.*: Explicitly pass buildPythonPackage format parameter•••Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.
cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
| adisbladis | 2023-12-07 | 1 | -0/+1 |
| * | python3.pkgs: Migrate fetchers to use hash•••when they already rely on SRI hashes.
| Martin Weinelt | 2023-03-03 | 1 | -1/+1 |
| * | treewide: switch to nativeCheckInputs•••checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
| Guillaume Girol | 2023-01-21 | 1 | -1/+1 |
| * | python3Packages.atomicwrites: 1.4.0 -> 1.4.1 | Martin Weinelt | 2022-07-21 | 1 | -2/+2 |
| * | treewide: remove stdenv where not needed | Pavol Rusnak | 2021-01-25 | 1 | -1/+1 |
| * | treewide: with stdenv.lib; in meta -> with lib;•••Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
| Profpatsch | 2021-01-11 | 1 | -2/+2 |
| * | python: atomicwrites: 1.3.0 -> 1.4.0 | Frederik Rietdijk | 2020-06-11 | 1 | -2/+2 |
| * | treewide: Per RFC45, remove all unquoted URLs | Michael Reilly | 2020-04-10 | 1 | -1/+1 |
| * | Split buildPythonPackage into setup hooks•••This commit splits the `buildPythonPackage` into multiple setup hooks.
Generally, Python packages are built from source to wheels using `setuptools`.
The wheels are then installed with `pip`. Tests were often called with
`python setup.py test` but this is less common nowadays. Most projects
now use a different entry point for running tests, typically `pytest`
or `nosetests`.
Since the wheel format was introduced more tools were built to generate these,
e.g. `flit`. Since PEP 517 is provisionally accepted, defining a build-system
independent format (`pyproject.toml`), `pip` can now use that format to
execute the correct build-system.
In the past I've added support for PEP 517 (`pyproject`) to the Python
builder, resulting in a now rather large builder. Furthermore, it was not possible
to reuse components elsewhere. Therefore, the builder is now split into multiple
setup hooks.
The `setuptoolsCheckHook` is included now by default but in time it should
be removed from `buildPythonPackage` to make it easier to use another hook
(curently one has to pass in `dontUseSetuptoolsCheck`).
| Frederik Rietdijk | 2019-09-06 | 1 | -1/+5 |
| * | python: atomicwrites: 1.2.1 -> 1.3.0 | Frederik Rietdijk | 2019-02-17 | 1 | -2/+2 |
| * | python: atomicwrites: 1.1.5 -> 1.2.1 | Frederik Rietdijk | 2018-12-03 | 1 | -2/+2 |
| * | python: atomicwrites: 0.1.9 -> 1.1.5 | Frederik Rietdijk | 2018-04-08 | 1 | -2/+2 |
| * | pythonPackages.atomicwrites: Move to own file | Elis Hirwing | 2018-04-04 | 1 | -0/+17 |