Commit Graph

7 Commits

Author SHA1 Message Date
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
Jan Tojnar
ac83abceb5 python313.pkgs.installer: Fix build
Python 3.13 removed `importlib.resources.read_binary` breaking the build of `installer` package.
2024-02-10 16:59:37 +01:00
Martin Weinelt
8f3162f83f
python3.pkgs.pythonRuntimeDepsCheckHook: init
Implements a hook, that checks whether all dependencies, as specified by
the wheel manifest, are present in the current environment.

Complains about missing packages, as well as version specifier
mismatches.
2023-12-20 20:10:22 +01:00
DavHau
c57e6b692a python3.pkgs.pypaBuildHook: fix conflicts
This modifies the pypaBuildHook to not propagate its own python dependencies into the build environment. This prevents package conflicts.

- modify pypa-build-hook.sh to call pyproject-build via an absolute path. This removes the need of putting the dependencies inside the hook's propagatedBuildInputs
- remove the hook's dependencies from propagatedBuildInputs
- add a passthru test to the hook testing for the fix
2023-09-12 21:04:26 +02:00
Theodore Ni
b53cef70f2 python3.pkgs.bootstrap.build: init at 0.10.0
Co-authored-by: K900 <me@0upti.me>
2023-08-20 10:59:46 +02:00
Theodore Ni
8fe3d15c17 python3.pkgs.bootstrap.installer: init at 0.7.0
Co-authored-by: K900 <me@0upti.me>
2023-08-20 10:59:46 +02:00
Theodore Ni
5d2290bb58 python3.pkgs.bootstrap.flit-core: init at 3.8.0
Co-authored-by: K900 <me@0upti.me>
2023-08-20 10:59:46 +02:00