Commit Graph

21 Commits

Author SHA1 Message Date
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
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Anderson Torres
6dba240f79 treewide: remove dtzWill as maintainer [orphans]
Since theey is not active in a long span of time.

All the packages in this commit are now orphan.
2024-07-17 13:52:45 -03:00
Martin Weinelt
6603af69da
catt: pin pychromecast at 13.1.0 2024-03-07 02:44:57 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Martin Weinelt
72ea34da13 catt: 0.12.7 -> 0.12.11
https://github.com/skorokithakis/catt/blob/v0.12.11/CHANGELOG.md
2023-09-27 15:34:44 +02:00
Vladimír Čunát
9312c54bd0
treewide: drop a test in click 7.1.2
Man, copy&paste to five places is just great :-/

The referenced upstream patch should fix the compatibility,
but it won't apply cleanly to this version, so I dropped the test.
2023-08-07 17:04:03 +02:00
Weijia Wang
6e7c0b97d4 treewide: make fetchPypi more explicit 2023-05-25 21:37:59 +03:00
Martin Weinelt
f63ed27bb1 catt: Use hash and SRI hashes
With the python package set moving to hash, overriding the fetcher and
reintroducing sha256 breaks eval, due to multiple hashes passed.

Also set an explicit format in buildPythonApplication.
2023-03-03 23:59:30 +01:00
Martin Weinelt
0deebc3b24
python310Packages.pychromecast: Normalize attribute name 2023-02-19 21:36:03 +01:00
Martin Weinelt
556b0dbafd catt: Fix duplicate hashes 2023-01-05 13:20:51 +01:00
Fabian Affolter
d339c45815 catt: 0.12.2 -> 0.12.7 2022-06-13 12:55:11 +02:00
Fabian Affolter
aaf2a121e7 catt: override dependency releases 2021-09-21 10:41:20 +02:00
Artturin
4be43bf7ed catt: 0.12.1 -> 0.12.2 + relax click and zeroconf dependencies 2021-08-06 16:24:55 +03:00
R. RyanTM
6bfe98e543 catt: 0.12.0 -> 0.12.1 2021-03-22 00:32:43 +00:00
Fabian Affolter
3db167c684 catt: 0.11.0 -> 0.12.0 2021-02-22 20:14:25 +01:00
Jonathan Ringer
d32c437639 catt: fix pychromecast version 2020-09-04 11:03:02 -07:00
Daiderd Jordan
b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Luke Clifton
3994f07caa catt: 0.10.3 -> 0.11.0 2020-03-04 18:04:55 +08:00
R. RyanTM
1c438a0cd0 catt: 0.10.2 -> 0.10.3 2020-02-10 18:11:15 +01:00
Will Dietz
2bfd58a9cd
catt: init at 0.10.2 2019-10-24 03:25:56 -05:00