Commit Graph

14 Commits

Author SHA1 Message Date
adisbladis
68a70f098a python3.pkgs.can: Rename to python-can
This is correct name on PyPi: https://pypi.org/project/python-can
2024-08-12 18:28:04 +12:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Robert Schütz
40fe5ef128 expliot: use SRI hashes 2023-03-09 15:40:25 -08:00
Fabian Affolter
ddbdd15287 expliot: relax pymodbus constraint
- switch to pythonRelaxDepsHook
2023-01-22 11:04:36 +01:00
Martin Weinelt
afb7fbe697 expliot: Relax zeroconf constraint 2023-01-05 03:12:02 +01:00
Fabian Affolter
b5a62999aa expliot: don't run tests of cmd2 override 2022-08-09 00:01:45 +02:00
Fabian Affolter
06b3a5ac7d expliot: relax dependency constraints 2022-03-12 20:53:30 +01:00
Fabian Affolter
d53978239b expliot: releax pynetdicom constraint 2021-12-28 11:07:59 -08:00
Fabian Affolter
8c769a34e7 expliot: fix build 2021-09-20 00:34:27 +02:00
Robert Schütz
0e19a6cbc3 expliot: 0.9.7 -> 0.9.8 2021-05-07 12:25:13 +02:00
Fabian Affolter
876deb4103 expliot: 0.9.6 -> 0.9.7 2021-04-03 14:52:17 +02:00
Fabian Affolter
e70d4b62b6 expliot: init at 0.9.6 2021-03-14 02:21:13 +01:00