Commit Graph

94 Commits

Author SHA1 Message Date
Cosima Neidahl
3b821b4b16
Merge pull request #330385 from eljamm/naja
naja: init at 0-unstable-2024-07-21
2024-08-04 10:34:31 +02: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
OPNA2608
f728dd56af naja: Mark broken on Darwin, add temporary note about maintenance 2024-08-01 14:54:39 +02:00
zimbatm
091f5f6540 nar-serve: 0.6.1 -> 0.7.0 2024-07-31 09:57:36 +02:00
zimbatm
7266ad59ce nar-serve: move to by-name 2024-07-31 09:10:29 +02:00
eljamm
03f1c7eefa
naja: init at 0-unstable-2024-07-21
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-07-30 22:00:19 +01:00
Peder Bergebakken Sundt
209ede3d0b
Merge pull request #329260 from nadiaholmquist/nanoboyadvance-disable-portable
nanoboyadvance: Disable portable mode
2024-07-30 21:58:40 +02:00
Nick Cao
b7aed13df5
Merge pull request #329768 from r-ryantm/auto-update/narsil
narsil: 1.3.0-84-g042c39e9c -> 1.3.0-85-g68f1491ca
2024-07-25 18:46:29 -04:00
Nick Cao
644961d614
Merge pull request #329760 from r-ryantm/auto-update/namespace-cli
namespace-cli: 0.0.386 -> 0.0.388
2024-07-25 18:38:29 -04:00
R. Ryantm
55b72a47ab narsil: 1.3.0-84-g042c39e9c -> 1.3.0-85-g68f1491ca 2024-07-25 00:44:55 +00:00
R. Ryantm
7e20223bf6 namespace-cli: 0.0.386 -> 0.0.388 2024-07-24 23:54:23 +00:00
Peder Bergebakken Sundt
3e3d630605
Merge pull request #326350 from x123/x123-update-narsil
narsil: 1.3.0-49-gc042b573a -> 1.3.0-84-g042c39e9c
2024-07-25 01:45:35 +02:00
Nadia Holmquist Pedersen
3f7e984342 nanoboyadvance: Disable portable mode 2024-07-22 22:11:38 +02:00
R. Ryantm
3e2f30fe50 namespace-cli: 0.0.381 -> 0.0.386 2024-07-14 06:13:50 +00:00
x123
6e44ea5353 narsil: add x123 as maintainer 2024-07-11 18:58:12 +02:00
x123
7640cf52d5 narsil: 1.3.0-49-gc042b573a -> 1.3.0-84-g042c39e9c 2024-07-11 18:58:12 +02:00
x123
504308e427 narsil: set updateScript 2024-07-11 18:58:09 +02:00
x123
3695eebfd4 narsil: add changelog 2024-07-11 18:31:29 +02:00
x123
2279f8b280 narsil: refactor 2024-07-11 18:30:00 +02:00
Weijia Wang
699de1eff6
Merge pull request #325153 from r-ryantm/auto-update/naps2
naps2: 7.4.2 -> 7.4.3
2024-07-07 20:05:49 +02:00
R. Ryantm
008282d408 naps2: 7.4.2 -> 7.4.3 2024-07-07 01:22:27 +00:00
Jan van Brügge
12e9433747
naproche: unstable-2024-01-18 -> unstable-2024-05-19 2024-07-06 18:39:04 +01:00
R. Ryantm
628afbfa24 namespace-cli: 0.0.380 -> 0.0.381 2024-07-03 12:39:05 +00:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02:00
Jan Tojnar
98c35c10ff nautilus: Format 2024-07-01 08:26:44 +02:00
Jan Tojnar
c7c4be759d nautilus-python: Clean up
- Format with nixpkgs-fmt
- Convert to finalAttrs pattern
2024-07-01 08:26:44 +02:00
Jan Tojnar
04393cdded nautilus-python: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
Jan Tojnar
2be24442bb nautilus: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
Nick Cao
059f8dec11
Merge pull request #322947 from r-ryantm/auto-update/namespace-cli
namespace-cli: 0.0.377 -> 0.0.380
2024-06-27 15:50:27 -04:00
R. Ryantm
eeb77e70f9 namespace-cli: 0.0.377 -> 0.0.380 2024-06-27 15:37:28 +00:00
Alexandros Liarokapis
e36b4564d2 nanopb: 0.4.6 -> 0.4.8
This commit:
- Bumps the nanopb version
- Adds all runtime configuration options
- Implements proper cross-compilation support which is the main use-case of the library.
- Uses newer `finalAttrs` form of `mkDerivation` to allow for easier attribute overrides.

The cross-compilation support is achieved by splitting the package into two sub-packages
consisting of the build-time generator and the runtime library.

Nanopb explicitely supports this by providing specialized `GENERATOR` and
`RUNTIME` CMake configuration options.

The top-level package uses `propagatedNativeBuildInputs` and `propagatedBuildInputs` to propagate
the sub-packages and also adds convenient symlinks to make certain use cases easier.

== GENERATOR ==

The generator is a mostly ready-to-be-packaged python module tree.
We patch the library to also include the missing `__init__.py` and we
also fix the `PYTHON_INSTDIR` variable to follow best practice and to
prevent the library from attempting to install to a global directory.

We package the python module using `buildPythonPackage` and internally
override python in order to wrap the `nanopb_generator.py` executable.

We do *not* wrap `nanob_generator.py` due to it also being imported directly from python when
used through `protoc-gen-nanopb`.

== RUNTIME ==

The runtime is a simple library that consists of the common
functionality among generated headers/sources.

It is configured through `preprocessor definitions` and consumer projects *must*
be compiled with the same definitions.

This is currently achieved by exposing all configuration options through the top-level overrides and
patching the CMakeLists.txt so that the definitions are added to the to-be-installed
CMake targets as PUBLIC properties.
2024-06-26 22:15:27 +03:00
R. Ryantm
a70bfe0067 namespace-cli: 0.0.376 -> 0.0.377 2024-06-21 12:58:30 +00:00
R. Ryantm
a24f70ac88 namespace-cli: 0.0.374 -> 0.0.376 2024-06-13 15:08:10 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Peder Bergebakken Sundt
8d6d005af6
Merge pull request #317993 from misuzu/nats-kafka
nats-kafka: init at 1.4.2
2024-06-08 16:15:09 +02:00
misuzu
2ecd61f340 nats-kafka: init at 1.4.2 2024-06-07 14:43:48 +03:00
R. Ryantm
24f06496a0 namespace-cli: 0.0.373 -> 0.0.374 2024-06-06 03:46:46 +00:00
Elian Doran
51b6fa9e28
naps2: 7.4.0 -> 7.4.2 2024-06-04 19:52:56 +03:00
R. Ryantm
31d3e2a100 namespace-cli: 0.0.372 -> 0.0.373 2024-05-29 04:52:16 +00:00
R. Ryantm
e5bb012796 namespace-cli: 0.0.371 -> 0.0.372 2024-05-23 07:48:58 +00:00
Martin Weinelt
98d2dbc78d
Merge pull request #312591 from r-ryantm/auto-update/navidrome
navidrome: 0.52.0 -> 0.52.5
2024-05-21 21:43:12 +02:00
R. Ryantm
9ed538df59 namespace-cli: 0.0.369 -> 0.0.371 2024-05-18 15:17:12 +00:00
R. Ryantm
0d2c664238 navidrome: 0.52.0 -> 0.52.5 2024-05-18 04:32:19 +00:00
R. Ryantm
cd567cd188 namespace-cli: 0.0.360 -> 0.0.369 2024-05-12 10:48:23 +00:00
nu-nu-ko
aac46ef627
navidrome: move to by-name 2024-05-10 21:16:30 +12:00
Weijia Wang
0a2530acbb
Merge pull request #307282 from r-ryantm/auto-update/namespace-cli
namespace-cli: 0.0.359 -> 0.0.360
2024-05-02 09:30:54 +02:00
Peder Bergebakken Sundt
b79f8c53c2
Merge pull request #301259 from TomaSajt/nanoboyadvance
nanoboyadvance: init at 1.8.1
2024-04-28 01:48:18 +02:00
R. Ryantm
9147a61da3 namespace-cli: 0.0.359 -> 0.0.360 2024-04-27 18:29:53 +00:00