Commit Graph

227 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Florian
2df5923cbe
Update octoprint plugins (#319931) 2024-08-28 15:09:20 +02:00
tri-ler
2483b8af3d octoprint.python.pkgs.timelapsepurger: init at 0.1.4 2024-08-25 10:59:02 -04:00
tri-ler
5fdb4c2b78 octoprint.python.pkgs.resource-monitor: init at 0.3.16 2024-08-25 10:59:02 -04:00
tri-ler
a4beab0a54 octoprint.python.pkgs.prusaslicerthumbnails: init at 1.0.7 2024-08-25 10:59:02 -04:00
tri-ler
a8049c4dca octoprint.python.pkgs.octopod: init at 0.3.16 2024-08-25 10:59:02 -04:00
tri-ler
3aa178fc64 octoprint.python.pkgs.obico: init at 2.5.0 2024-08-25 10:59:02 -04:00
tri-ler
8d48960962 octoprint.python.pkgs.navbartemp: init at 0.15 2024-08-25 10:59:02 -04:00
tri-ler
bc711df53a octoprint.python.pkgs.mqttchambertemperature: init at 0.0.3 2024-08-25 10:58:48 -04:00
Florian Brandes
f7e9f33a1b
octoprint: format
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-08 12:23:08 +02:00
Florian Brandes
8e1727f6c3
octoprint: fix python3.12 compat
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-08 12:22:33 +02:00
Florian Brandes
a666395a22
octoprint: 1.10.1 -> 1.10.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-06-21 08:08:26 +02:00
tri-ler
d4f7f2ec8a octoprint.python.pkgs.fullscreen: init at 0.0.6 2024-06-14 19:14:17 -04:00
tri-ler
a422af9fc3 octoprint.python.pkgs.firmwareupdater: init at 1.14.0 2024-06-14 19:14:17 -04:00
tri-ler
6b44d5c58a octoprint.plugins.printtimegenius: 2.3.1 -> 2.3.3 2024-06-14 19:14:17 -04: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
R. Ryantm
4dc2d99bf3 octoprint: 1.10.0 -> 1.10.1 2024-05-15 20:35:57 +00:00
Florian Brandes
91fe03db2e
octoprint: fix build with failing werkzeug dependency
disable checks for werkzeug where one test started to fail recently.

An update of werkzeug inside octoprint isn't possible (yet), so disable
the tests.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-05-07 05:58:49 +02:00
R. Ryantm
3acb55cdac octoprint: 1.9.3 -> 1.10.0 2024-04-25 21:25:14 +00:00
Jussi Kuokkanen
82b45bf454 treewide: remove licenses.agpl3 2024-03-21 18:09:24 +02:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01: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
Martin Weinelt
e84e611d2f octoprint: pin netaddr at 0.9.0 2024-03-12 18:25:16 +01:00
Sandro
3b7114e93c
Merge pull request #280164 from tri-ler/octoprint.plugins.printtimegenius-2.2.8-->-2.3.1 2024-02-05 15:33:52 +01:00
github-actions[bot]
5ee7600250
Merge master into staging-next 2024-01-11 12:01:18 +00:00
tri-ler
3b5f59a08e octoprint.plugins.printtimegenius: 2.2.8 -> 2.3.1 2024-01-10 19:18:06 -07:00
tri-ler
f38bb0b08a octoprint.plugins.bedlevelvisualizer: 1.1.0 -> 1.1.1, remove numpy 2024-01-10 18:00:23 -07:00
Jan Tojnar
80020c7db4 Merge branch 'master' into staging-next
; Conflicts:
;	pkgs/development/lua-modules/generated-packages.nix
;	pkgs/development/lua-modules/overrides.nix
2023-12-31 02:31:32 +01:00
Sergei Trofimovich
d7e85937ee octoprint: fix octoprint-dashboard alias definition
Without the change `tests` eval fails to discover `dashboard` as it's
used before it's definition in the same overlay.

The eval failed as:

    $ nix build --no-link -f. octoprint.tests.plugins.octoprint-dashboard
    error: attribute 'dashboard' missing
          482| } // lib.optionalAttrs config.allowAliases {
          483|   octoprint-dashboard = self.dashboard;
             |                         ^
          484| }

After the change the eval succeeds as:

    $ nix-instantiate -A octoprint.tests.plugins.dashboard
    /nix/store/gxzicbfnpfgvs2qnpdn22aica4vlncns-python3.11-octoprint-plugin-dashboard-1.18.3.drv
2023-12-30 12:22:55 +00:00
natsukium
884a6324e2
octoprint: pin pydantic_1 2023-12-20 20:15:30 +01:00
Florian Brandes
6c88874fcb octoprint: fix flask compatibility
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-10-31 19:35:36 +01:00
Florian Brandes
29441c4a47
octoprint: fix darwin build, fix hash
fixes #261934

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-10-20 10:06:35 +02:00
R. Ryantm
e20c1dc1b4 octoprint: 1.9.2 -> 1.9.3 2023-10-12 03:21:04 +00:00
natsukium
98a5f015e7
python310Packages.flask-assets: rename from flask_assets 2023-08-24 21:46:07 +09:00
Florian Brandes
477976160c
octoprint: update hash to match tag update upstream
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-08-07 07:31:21 +02:00
Florian Brandes
5658c81155
octoprint: 1.9.1 -> 1.9.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-07-18 20:11:32 +02:00
R. Ryantm
159c8b9570 octoprint: 1.9.0 -> 1.9.1 2023-06-29 22:13:38 +00:00
Florian Brandes
030bdd2e03
octoprint: 1.8.7 -> 1.9.0
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-05-30 19:56:54 +02:00
Weijia Wang
13600367b2 treewide: misc: use top-level fetchPypi 2023-05-25 17:07:31 +03:00
Sandro Jäckel
86526d707a
octoprint: test plugins with ofborg 2023-04-10 23:59:50 +02:00
Sandro Jäckel
d6e6478136
octoprint: normalize pnames and attrs 2023-04-10 02:05:33 +02:00
Sandro Jäckel
d89fe68254
octoprint.plugins.octolabse: 0.4.1 -> 0.4.2, mark broken 2023-04-09 02:10:02 +02:00
Sandro Jäckel
d779fd8706
octoprint.plugins.themeify: fix hash 2023-04-09 02:09:18 +02:00
Sandro Jäckel
b598fea8d2
octoprint.tests.plugins.abl-expert: use fetchFromGitLab 2023-04-09 02:06:17 +02:00
Sandro Jäckel
f7050cc88c
octoprint.plugins: use callPackage 2023-04-09 02:05:58 +02:00
Florian Brandes
bf4b584153
octoprint: fix build with (flask-)babel
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-03-04 20:31:33 +01:00
Florian Brandes
ae00f6e42e
octoprint: 1.8.6 -> 1.8.7
Changelog: https://github.com/OctoPrint/OctoPrint/releases/tag/1.8.7

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-03-03 13:01:33 +01:00
Nick Cao
8fa5bbcae7
octoprint: pin flask-babel to 2.0.0 2023-02-03 16:55:13 +08:00