diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5b19f29f2611..fa4603806b2f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -305,7 +305,11 @@ pkgs/development/python-modules/buildcatrust/ @ajs124 @lukegb @mweinelt /pkgs/build-support/make-hardcode-gsettings-patch @jtojnar # Cinnamon -/pkgs/desktops/cinnamon @mkg20001 +/pkgs/by-name/ci/cinnamon-* @mkg20001 +/pkgs/by-name/cj/cjs @mkg20001 +/pkgs/by-name/mu/muffin @mkg20001 +/pkgs/by-name/ne/nemo @mkg20001 +/pkgs/by-name/ne/nemo-* @mkg20001 # nim /pkgs/development/compilers/nim @ehmry diff --git a/.github/labeler.yml b/.github/labeler.yml index 2e7ad654d79b..9ef1ec30b6e9 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -12,9 +12,14 @@ - any: - changed-files: - any-glob-to-any-file: - - pkgs/desktops/cinnamon/**/* - nixos/modules/services/x11/desktop-managers/cinnamon.nix - nixos/tests/cinnamon.nix + - nixos/tests/cinnamon-wayland.nix + - pkgs/by-name/ci/cinnamon-*/**/* + - pkgs/by-name/cj/cjs/**/* + - pkgs/by-name/mu/muffin/**/* + - pkgs/by-name/ne/nemo/**/* + - pkgs/by-name/ne/nemo-*/**/* "6.topic: dotnet": - any: diff --git a/doc/build-helpers/images/dockertools.section.md b/doc/build-helpers/images/dockertools.section.md index aeb831c770c5..60342a9d0edc 100644 --- a/doc/build-helpers/images/dockertools.section.md +++ b/doc/build-helpers/images/dockertools.section.md @@ -185,6 +185,19 @@ Similarly, if you encounter errors similar to `Error_Protocol ("certificate has _Default value:_ `"gz"`.\ _Possible values:_ `"none"`, `"gz"`, `"zstd"`. +`includeNixDB` (Boolean; _optional_) + +: Populate the nix database in the image with the dependencies of `copyToRoot`. + The main purpose is to be able to use nix commands in the container. + + :::{.caution} + Be careful since this doesn't work well in combination with `fromImage`. In particular, in a multi-layered image, only the Nix paths from the lower image will be in the database. + + This also neglects to register the store paths that are pulled into the image as a dependency of one of the other values, but aren't a dependency of `copyToRoot`. + ::: + + _Default value:_ `false`. + `contents` **DEPRECATED** : This attribute is deprecated, and users are encouraged to use `copyToRoot` instead. @@ -574,6 +587,19 @@ This allows the function to produce reproducible images. _Default value:_ `true` +`includeNixDB` (Boolean; _optional_) + +: Populate the nix database in the image with the dependencies of `copyToRoot`. + The main purpose is to be able to use nix commands in the container. + + :::{.caution} + Be careful since this doesn't work well in combination with `fromImage`. In particular, in a multi-layered image, only the Nix paths from the lower image will be in the database. + + This also neglects to register the store paths that are pulled into the image as a dependency of one of the other values, but aren't a dependency of `copyToRoot`. + ::: + + _Default value:_ `false`. + `passthru` (Attribute Set; _optional_) : Use this to pass any attributes as [`passthru`](#chap-passthru) for the resulting derivation. diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ad714e25cc6d..cba9fce1d529 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6239,6 +6239,12 @@ githubId = 2147649; name = "Euan Kemp"; }; + eum3l = { + email = "eum3l@proton.me"; + githubId = 77971322; + github = "eum3l"; + name = "Emil"; + }; eureka-cpu = { email = "github.eureka@gmail.com"; github = "eureka-cpu"; @@ -7541,12 +7547,6 @@ githubId = 605072; name = "Daniel Goertzen"; }; - goibhniu = { - email = "cillian.deroiste@gmail.com"; - github = "cillianderoiste"; - githubId = 643494; - name = "Cillian de RĂ³iste"; - }; GoldsteinE = { email = "root@goldstein.rs"; github = "GoldsteinE"; diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index f8ec6075aa28..8b573381ca71 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -20,6 +20,8 @@ - [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr), proxy server to bypass Cloudflare protection. Available as [services.flaresolverr](#opt-services.flaresolverr.enable) service. +- [Goatcounter](https://www.goatcounter.com/), Easy web analytics. No tracking of personal data. Available as [services.goatcounter](options.html#opt-services.goatcocunter.enable). + - [Open-WebUI](https://github.com/open-webui/open-webui), a user-friendly WebUI for LLMs. Available as [services.open-webui](#opt-services.open-webui.enable) service. @@ -58,6 +60,8 @@ - [Improved File Manager](https://github.com/misterunknown/ifm), or IFM, a single-file web-based file manager. +- [OpenGFW](https://github.com/apernet/OpenGFW), an implementation of the Great Firewall on Linux. Available as [services.opengfw](#opt-services.opengfw.enable). + ## Backward Incompatibilities {#sec-release-24.11-incompatibilities} - `transmission` package has been aliased with a `trace` warning to `transmission_3`. Since [Transmission 4 has been released last year](https://github.com/transmission/transmission/releases/tag/4.0.0), and Transmission 3 will eventually go away, it was decided perform this warning alias to make people aware of the new version. The `services.transmission.package` defaults to `transmission_3` as well because the upgrade can cause data loss in certain specific usage patterns (examples: [#5153](https://github.com/transmission/transmission/issues/5153), [#6796](https://github.com/transmission/transmission/issues/6796)). Please make sure to back up to your data directory per your usage: @@ -107,6 +111,8 @@ moved into the top level scope (i.e., `budgie.budgie-desktop` is now `budgie-desktop`) +- All Cinnamon and XApp packages have been moved to top-level (i.e., `cinnamon.nemo` is now `nemo`). + - `services.cgit` now runs as the cgit user by default instead of root. This change requires granting access to the repositories to this user or setting the appropriate one through `services.cgit.some-instance.user`. diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 30a11980b7b6..e028704c5d0f 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -1137,6 +1137,7 @@ ./services/networking/oink.nix ./services/networking/onedrive.nix ./services/networking/openconnect.nix + ./services/networking/opengfw.nix ./services/networking/openvpn.nix ./services/networking/ostinato.nix ./services/networking/owamp.nix @@ -1397,6 +1398,7 @@ ./services/web-apps/gotosocial.nix ./services/web-apps/grocy.nix ./services/web-apps/pixelfed.nix + ./services/web-apps/goatcounter.nix ./services/web-apps/guacamole-client.nix ./services/web-apps/guacamole-server.nix ./services/web-apps/healthchecks.nix diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix index 8be2649189b9..187c70df3559 100644 --- a/nixos/modules/services/backup/restic.nix +++ b/nixos/modules/services/backup/restic.nix @@ -355,7 +355,7 @@ in ${pkgs.writeScript "backupPrepareCommand" backup.backupPrepareCommand} ''} ${optionalString (backup.initialize) '' - ${resticCmd} snapshots || ${resticCmd} init + ${resticCmd} cat config > /dev/null || ${resticCmd} init ''} ${optionalString (backup.paths != null && backup.paths != []) '' cat ${pkgs.writeText "staticPaths" (concatStringsSep "\n" backup.paths)} >> ${filesFromTmpFile} diff --git a/nixos/modules/services/networking/opengfw.nix b/nixos/modules/services/networking/opengfw.nix new file mode 100644 index 000000000000..1866e75487dd --- /dev/null +++ b/nixos/modules/services/networking/opengfw.nix @@ -0,0 +1,414 @@ +{ + lib, + pkgs, + config, + ... +}: +let + inherit (lib) + mkOption + types + mkIf + optionalString + ; + cfg = config.services.opengfw; +in +{ + options.services.opengfw = { + enable = lib.mkEnableOption '' + OpenGFW, A flexible, easy-to-use, open source implementation of GFW on Linux + ''; + + package = lib.mkPackageOption pkgs "opengfw" { default = "opengfw"; }; + + user = mkOption { + default = "opengfw"; + type = types.singleLineStr; + description = "Username of the OpenGFW user."; + }; + + dir = mkOption { + default = "/var/lib/opengfw"; + type = types.singleLineStr; + description = '' + Working directory of the OpenGFW service and home of `opengfw.user`. + ''; + }; + + logFile = mkOption { + default = null; + type = types.nullOr types.path; + example = "/var/lib/opengfw/opengfw.log"; + description = '' + File to write the output to instead of systemd. + ''; + }; + + logFormat = mkOption { + description = '' + Format of the logs. [logFormatMap](https://github.com/apernet/OpenGFW/blob/d7737e92117a11c9a6100d53019fac3b9d724fe3/cmd/root.go#L62) + ''; + default = "json"; + example = "console"; + type = types.enum [ + "json" + "console" + ]; + }; + + pcapReplay = mkOption { + default = null; + example = "./opengfw.pcap"; + type = types.nullOr types.path; + description = '' + Path to PCAP replay file. + In pcap mode, none of the actions in the rules have any effect. + This mode is mainly for debugging. + ''; + }; + + logLevel = mkOption { + description = '' + Level of the logs. [logLevelMap](https://github.com/apernet/OpenGFW/blob/d7737e92117a11c9a6100d53019fac3b9d724fe3/cmd/root.go#L55) + ''; + default = "info"; + example = "warn"; + type = types.enum [ + "debug" + "info" + "warn" + "error" + ]; + }; + + rulesFile = mkOption { + default = null; + type = types.nullOr types.path; + description = '' + Path to file containing OpenGFW rules. + ''; + }; + + settingsFile = mkOption { + default = null; + type = types.nullOr types.path; + description = '' + Path to file containing OpenGFW settings. + ''; + }; + + settings = mkOption { + default = null; + description = '' + Settings passed to OpenGFW. [Example config](https://gfw.dev/docs/build-run/#config-example) + ''; + type = types.nullOr ( + types.submodule { + options = { + replay = mkOption { + description = '' + PCAP replay settings. + ''; + default = { }; + type = types.submodule { + options = { + realtime = mkOption { + description = '' + Whether the packets in the PCAP file should be replayed in "real time" (instead of as fast as possible). + ''; + default = false; + example = true; + type = types.bool; + }; + }; + }; + }; + + io = mkOption { + description = '' + IO settings. + ''; + default = { }; + type = types.submodule { + options = { + queueSize = mkOption { + description = "IO queue size."; + type = types.int; + default = 1024; + example = 2048; + }; + local = mkOption { + description = '' + Set to false if you want to run OpenGFW on FORWARD chain. (e.g. on a router) + ''; + type = types.bool; + default = true; + example = false; + }; + rst = mkOption { + description = '' + Set to true if you want to send RST for blocked TCP connections, needs `local = false`. + ''; + type = types.bool; + default = !cfg.settings.io.local; + defaultText = "`!config.services.opengfw.settings.io.local`"; + example = false; + }; + rcvBuf = mkOption { + description = "Netlink receive buffer size."; + type = types.int; + default = 4194304; + example = 2097152; + }; + sndBuf = mkOption { + description = "Netlink send buffer size."; + type = types.int; + default = 4194304; + example = 2097152; + }; + }; + }; + }; + ruleset = mkOption { + description = '' + The path to load specific local geoip/geosite db files. + If not set, they will be automatically downloaded from (Loyalsoldier/v2ray-rules-dat)[https://github.com/Loyalsoldier/v2ray-rules-dat]. + ''; + default = { }; + type = types.submodule { + options = { + geoip = mkOption { + description = "Path to `geoip.dat`."; + default = null; + type = types.nullOr types.path; + }; + geosite = mkOption { + description = "Path to `geosite.dat`."; + default = null; + type = types.nullOr types.path; + }; + }; + }; + }; + workers = mkOption { + default = { }; + description = "Worker settings."; + type = types.submodule { + options = { + count = mkOption { + type = types.int; + description = '' + Number of workers. + Recommended to be no more than the number of CPU cores + ''; + default = 4; + example = 8; + }; + queueSize = mkOption { + type = types.int; + description = "Worker queue size."; + default = 16; + example = 32; + }; + tcpMaxBufferedPagesTotal = mkOption { + type = types.int; + description = '' + TCP max total buffered pages. + ''; + default = 4096; + example = 8192; + }; + tcpMaxBufferedPagesPerConn = mkOption { + type = types.int; + description = '' + TCP max total bufferd pages per connection. + ''; + default = 64; + example = 128; + }; + tcpTimeout = mkOption { + type = types.str; + description = '' + How long a connection is considered dead when no data is being transferred. + Dead connections are purged from TCP reassembly pools once per minute. + ''; + default = "10m"; + example = "5m"; + }; + udpMaxStreams = mkOption { + type = types.int; + description = "UDP max streams."; + default = 4096; + example = 8192; + }; + }; + }; + }; + }; + } + ); + }; + + rules = mkOption { + default = [ ]; + description = '' + Rules passed to OpenGFW. [Example rules](https://gfw.dev/docs/rules) + ''; + type = types.listOf ( + types.submodule { + options = { + name = mkOption { + description = "Name of the rule."; + example = "block google dns"; + type = types.singleLineStr; + }; + + action = mkOption { + description = '' + Action of the rule. [Supported actions](https://gfw.dev/docs/rules#supported-actions) + ''; + default = "allow"; + example = "block"; + type = types.enum [ + "allow" + "block" + "drop" + "modify" + ]; + }; + + log = mkOption { + description = "Whether to enable logging for the rule."; + default = true; + example = false; + type = types.bool; + }; + + expr = mkOption { + description = '' + [Expr Language](https://expr-lang.org/docs/language-definition) expression using [analyzers](https://gfw.dev/docs/analyzers) and [functions](https://gfw.dev/docs/functions). + ''; + type = types.str; + example = ''dns != nil && dns.qr && any(dns.questions, {.name endsWith "google.com"})''; + }; + + modifier = mkOption { + default = null; + description = '' + Modification of specified packets when using the `modify` action. [Available modifiers](https://github.com/apernet/OpenGFW/tree/master/modifier) + ''; + type = types.nullOr ( + types.submodule { + options = { + name = mkOption { + description = "Name of the modifier."; + type = types.singleLineStr; + example = "dns"; + }; + + args = mkOption { + description = "Arguments passed to the modifier."; + type = types.attrs; + example = { + a = "0.0.0.0"; + aaaa = "::"; + }; + }; + }; + } + ); + }; + }; + } + ); + + example = [ + { + name = "block v2ex http"; + action = "block"; + expr = ''string(http?.req?.headers?.host) endsWith "v2ex.com"''; + } + { + name = "block google socks"; + action = "block"; + expr = ''string(socks?.req?.addr) endsWith "google.com" && socks?.req?.port == 80''; + } + { + name = "v2ex dns poisoning"; + action = "modify"; + modifier = { + name = "dns"; + args = { + a = "0.0.0.0"; + aaaa = "::"; + }; + }; + expr = ''dns != nil && dns.qr && any(dns.questions, {.name endsWith "v2ex.com"})''; + } + ]; + }; + }; + + config = + let + format = pkgs.formats.yaml { }; + + settings = + if cfg.settings != null then + format.generate "opengfw-config.yaml" cfg.settings + else + cfg.settingsFile; + rules = if cfg.rules != [ ] then format.generate "opengfw-rules.yaml" cfg.rules else cfg.rulesFile; + in + mkIf cfg.enable { + security.wrappers.OpenGFW = { + owner = cfg.user; + group = cfg.user; + capabilities = "cap_net_admin+ep"; + source = "${cfg.package}/bin/OpenGFW"; + }; + + systemd.services.opengfw = { + description = "OpenGFW"; + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; + path = with pkgs; [ iptables ]; + + preStart = '' + ${optionalString (rules != null) "ln -sf ${rules} rules.yaml"} + ${optionalString (settings != null) "ln -sf ${settings} config.yaml"} + ''; + + script = '' + ${config.security.wrapperDir}/OpenGFW \ + -f ${cfg.logFormat} \ + -l ${cfg.logLevel} \ + ${optionalString (cfg.pcapReplay != null) "-p ${cfg.pcapReplay}"} \ + -c config.yaml \ + rules.yaml + ''; + + serviceConfig = rec { + WorkingDirectory = cfg.dir; + ExecReload = "kill -HUP $MAINPID"; + Restart = "always"; + User = cfg.user; + StandardOutput = mkIf (cfg.logFile != null) "append:${cfg.logFile}"; + StandardError = StandardOutput; + }; + }; + + users = { + groups.${cfg.user} = { }; + users.${cfg.user} = { + description = "opengfw user"; + isSystemUser = true; + group = cfg.user; + home = cfg.dir; + createHome = true; + homeMode = "750"; + }; + }; + }; + meta.maintainers = with lib.maintainers; [ eum3l ]; +} diff --git a/nixos/modules/services/web-apps/goatcounter.nix b/nixos/modules/services/web-apps/goatcounter.nix new file mode 100644 index 000000000000..318915fb88ff --- /dev/null +++ b/nixos/modules/services/web-apps/goatcounter.nix @@ -0,0 +1,80 @@ +{ + config, + lib, + pkgs, + ... +}: + +let + inherit (lib) types; + cfg = config.services.goatcounter; + stateDir = "goatcounter"; +in + +{ + options = { + services.goatcounter = { + enable = lib.mkEnableOption "goatcounter"; + + package = lib.mkPackageOption pkgs "goatcounter" { }; + + address = lib.mkOption { + type = types.str; + default = "127.0.0.1"; + description = "Web interface address."; + }; + + port = lib.mkOption { + type = types.port; + default = 8081; + description = "Web interface port."; + }; + + proxy = lib.mkOption { + type = types.bool; + default = false; + description = '' + Whether Goatcounter service is running behind a reverse proxy. Will listen for HTTPS if `false`. + Refer to [documentation](https://github.com/arp242/goatcounter?tab=readme-ov-file#running) for more details. + ''; + }; + + extraArgs = lib.mkOption { + type = with types; listOf str; + default = [ ]; + description = '' + List of extra arguments to be passed to goatcounter cli. + See {command}`goatcounter help serve` for more information. + ''; + }; + }; + }; + + config = lib.mkIf cfg.enable { + systemd.services.goatcounter = { + description = "Easy web analytics. No tracking of personal data."; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + ExecStart = lib.escapeShellArgs ( + [ + (lib.getExe cfg.package) + "serve" + "-listen" + "${cfg.address}:${toString cfg.port}" + ] + ++ lib.optionals cfg.proxy [ + "-tls" + "proxy" + ] + ++ cfg.extraArgs + ); + DynamicUser = true; + StateDirectory = stateDir; + WorkingDirectory = "%S/${stateDir}"; + Restart = "always"; + }; + }; + }; + + meta.maintainers = with lib.maintainers; [ bhankas ]; +} diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix index e94a9e015935..987f114ec5e1 100644 --- a/nixos/modules/services/x11/desktop-managers/budgie.nix +++ b/nixos/modules/services/x11/desktop-managers/budgie.nix @@ -142,7 +142,7 @@ in { ] ++ lib.optional config.networking.networkmanager.enable pkgs.networkmanagerapplet ++ (utils.removePackagesByName [ - cinnamon.nemo + nemo mate.eom mate.pluma mate.atril diff --git a/nixos/modules/services/x11/desktop-managers/cinnamon.nix b/nixos/modules/services/x11/desktop-managers/cinnamon.nix index 58fed28dae18..70fa4f0f3a5a 100644 --- a/nixos/modules/services/x11/desktop-managers/cinnamon.nix +++ b/nixos/modules/services/x11/desktop-managers/cinnamon.nix @@ -7,7 +7,7 @@ let cfg = config.services.xserver.desktopManager.cinnamon; serviceCfg = config.services.cinnamon; - nixos-gsettings-overrides = pkgs.cinnamon.cinnamon-gsettings-overrides.override { + nixos-gsettings-overrides = pkgs.cinnamon-gsettings-overrides.override { extraGSettingsOverridePackages = cfg.extraGSettingsOverridePackages; extraGSettingsOverrides = cfg.extraGSettingsOverrides; }; @@ -51,7 +51,7 @@ in environment.cinnamon.excludePackages = mkOption { default = []; - example = literalExpression "[ pkgs.cinnamon.blueberry ]"; + example = literalExpression "[ pkgs.blueman ]"; type = types.listOf types.package; description = "Which packages cinnamon should exclude from the default environment"; }; @@ -60,7 +60,7 @@ in config = mkMerge [ (mkIf cfg.enable { - services.displayManager.sessionPackages = [ pkgs.cinnamon.cinnamon-common ]; + services.displayManager.sessionPackages = [ pkgs.cinnamon-common ]; services.xserver.displayManager.lightdm.greeters.slick = { enable = mkDefault true; @@ -102,9 +102,9 @@ in services.accounts-daemon.enable = true; services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true)); services.dbus.packages = with pkgs; [ - cinnamon.cinnamon-common - cinnamon.cinnamon-screensaver - cinnamon.nemo-with-extensions + cinnamon-common + cinnamon-screensaver + nemo-with-extensions xapp ]; services.cinnamon.apps.enable = mkDefault true; @@ -138,17 +138,17 @@ in desktop-file-utils # common-files - cinnamon.cinnamon-common - cinnamon.cinnamon-session - cinnamon.cinnamon-desktop - cinnamon.cinnamon-menus - cinnamon.cinnamon-translations + cinnamon-common + cinnamon-session + cinnamon-desktop + cinnamon-menus + cinnamon-translations # utils needed by some scripts killall # session requirements - cinnamon.cinnamon-screensaver + cinnamon-screensaver # cinnamon-killer-daemon: provided by cinnamon-common networkmanagerapplet # session requirement - also nm-applet not needed @@ -156,10 +156,10 @@ in polkit_gnome # packages - cinnamon.nemo-with-extensions + nemo-with-extensions gnome-online-accounts-gtk - cinnamon.cinnamon-control-center - cinnamon.cinnamon-settings-daemon + cinnamon-control-center + cinnamon-settings-daemon libgnomekbd # theme @@ -200,7 +200,7 @@ in }) ]; - xdg.portal.configPackages = mkDefault [ pkgs.cinnamon.cinnamon-common ]; + xdg.portal.configPackages = mkDefault [ pkgs.cinnamon-common ]; # Override GSettings schemas environment.sessionVariables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-overrides}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas"; diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index b0bea263215b..cc31fbade123 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -375,6 +375,7 @@ in { gnome-xorg = handleTest ./gnome-xorg.nix {}; gns3-server = handleTest ./gns3-server.nix {}; gnupg = handleTest ./gnupg.nix {}; + goatcounter = handleTest ./goatcounter.nix {}; go-neb = handleTest ./go-neb.nix {}; gobgpd = handleTest ./gobgpd.nix {}; gocd-agent = handleTest ./gocd-agent.nix {}; diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix index c8a227eb2cf7..8c315ee731ea 100644 --- a/nixos/tests/docker-tools.nix +++ b/nixos/tests/docker-tools.nix @@ -567,6 +567,12 @@ in { docker.succeed("docker run --rm image-with-certs:latest test -r /etc/pki/tls/certs/ca-bundle.crt") docker.succeed("docker image rm image-with-certs:latest") + with subtest("buildImageWithNixDB: Has a nix database"): + docker.succeed( + "docker load --input='${examples.nix}'", + "docker run --rm ${examples.nix.imageName} nix-store -q --references /bin/bash" + ) + with subtest("buildNixShellImage: Can build a basic derivation"): docker.succeed( "${examples.nix-shell-basic} | docker load", @@ -632,5 +638,11 @@ in { "${nonRootTestImage} | docker load", "docker run --rm ${chownTestImage.imageName} | diff /dev/stdin <(echo 12345:12345)" ) + + with subtest("streamLayeredImage: with nix db"): + docker.succeed( + "${examples.nix-layered} | docker load", + "docker run --rm ${examples.nix-layered.imageName} nix-store -q --references /bin/bash" + ) ''; }) diff --git a/nixos/tests/goatcounter.nix b/nixos/tests/goatcounter.nix new file mode 100644 index 000000000000..ee3b373383e2 --- /dev/null +++ b/nixos/tests/goatcounter.nix @@ -0,0 +1,32 @@ +import ./make-test-python.nix ( + { lib, pkgs, ... }: + + { + name = "goatcounter"; + + meta.maintainers = with lib.maintainers; [ bhankas ]; + + nodes.machine = + { config, ... }: + { + virtualisation.memorySize = 2048; + + services.goatcounter = { + enable = true; + proxy = true; + }; + }; + + testScript = '' + start_all() + machine.wait_for_unit("goatcounter.service") + # wait for goatcounter to fully come up + + with subtest("goatcounter service starts"): + machine.wait_until_succeeds( + "curl -sSfL http://localhost:8081/ > /dev/null", + timeout=30 + ) + ''; + } +) diff --git a/pkgs/applications/audio/a2jmidid/default.nix b/pkgs/applications/audio/a2jmidid/default.nix index 517db11c2865..c82e0012d2bc 100644 --- a/pkgs/applications/audio/a2jmidid/default.nix +++ b/pkgs/applications/audio/a2jmidid/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { description = "Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system"; homepage = "https://a2jmidid.ladish.org/"; license = licenses.gpl2Only; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; }; } diff --git a/pkgs/applications/audio/ams-lv2/default.nix b/pkgs/applications/audio/ams-lv2/default.nix index bf0e3275ca6b..6195a5a4b46e 100644 --- a/pkgs/applications/audio/ams-lv2/default.nix +++ b/pkgs/applications/audio/ams-lv2/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { description = "LV2 port of the internal modules found in Alsa Modular Synth"; homepage = "https://github.com/blablack/ams-lv2"; license = licenses.gpl3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; # Build uses `-msse` and `-mfpmath=sse` badPlatforms = [ "aarch64-linux" ]; diff --git a/pkgs/applications/audio/ardour/7.nix b/pkgs/applications/audio/ardour/7.nix index 86a50ef0606e..0466742b6198 100644 --- a/pkgs/applications/audio/ardour/7.nix +++ b/pkgs/applications/audio/ardour/7.nix @@ -207,6 +207,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; mainProgram = "ardour7"; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ]; + maintainers = with maintainers; [ magnetophon mitchmindtree ]; }; } diff --git a/pkgs/applications/audio/ardour/default.nix b/pkgs/applications/audio/ardour/default.nix index 9aaff5539268..bb969408bac1 100644 --- a/pkgs/applications/audio/ardour/default.nix +++ b/pkgs/applications/audio/ardour/default.nix @@ -214,6 +214,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; mainProgram = "ardour8"; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu magnetophon mitchmindtree ]; + maintainers = with maintainers; [ magnetophon mitchmindtree ]; }; } diff --git a/pkgs/applications/audio/bristol/default.nix b/pkgs/applications/audio/bristol/default.nix index 96f99e54ffc7..94754a3b1cc5 100644 --- a/pkgs/applications/audio/bristol/default.nix +++ b/pkgs/applications/audio/bristol/default.nix @@ -55,6 +55,6 @@ stdenv.mkDerivation rec { homepage = "https://bristol.sourceforge.net"; license = licenses.gpl3; platforms = [ "x86_64-linux" "i686-linux" ]; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/calf/default.nix b/pkgs/applications/audio/calf/default.nix index 2fa5bdae1458..d4da3a2d8691 100644 --- a/pkgs/applications/audio/calf/default.nix +++ b/pkgs/applications/audio/calf/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { homepage = "https://calf-studio-gear.org"; description = "Set of high quality open source audio plugins for musicians"; license = licenses.lgpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "calfjackhost"; }; diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix index 258eec83724e..1da0b6ee0d22 100644 --- a/pkgs/applications/audio/distrho/default.nix +++ b/pkgs/applications/audio/distrho/default.nix @@ -92,7 +92,7 @@ stdenv.mkDerivation rec { wolpertinger ''; license = with licenses; [ gpl2Only gpl3Only gpl2Plus lgpl2Plus lgpl3Only mit ]; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/applications/audio/drumgizmo/default.nix b/pkgs/applications/audio/drumgizmo/default.nix index f7d05198939b..fb0483dcdf9c 100644 --- a/pkgs/applications/audio/drumgizmo/default.nix +++ b/pkgs/applications/audio/drumgizmo/default.nix @@ -35,6 +35,6 @@ stdenv.mkDerivation rec { homepage = "https://www.drumgizmo.org"; license = licenses.lgpl3Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu maintainers.nico202 ]; + maintainers = [ maintainers.nico202 ]; }; } diff --git a/pkgs/applications/audio/drumkv1/default.nix b/pkgs/applications/audio/drumkv1/default.nix index 73d55c97f56f..345116e93825 100644 --- a/pkgs/applications/audio/drumkv1/default.nix +++ b/pkgs/applications/audio/drumkv1/default.nix @@ -19,6 +19,6 @@ mkDerivation rec { homepage = "http://drumkv1.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix index 9197a21a28e1..ff81d7689227 100644 --- a/pkgs/applications/audio/fluidsynth/default.nix +++ b/pkgs/applications/audio/fluidsynth/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { description = "Real-time software synthesizer based on the SoundFont 2 specifications"; homepage = "https://www.fluidsynth.org"; license = licenses.lgpl21Plus; - maintainers = with maintainers; [ goibhniu lovek323 ]; + maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; mainProgram = "fluidsynth"; }; diff --git a/pkgs/applications/audio/gigedit/default.nix b/pkgs/applications/audio/gigedit/default.nix index 7a367aa7ba71..d53aa51d9b56 100644 --- a/pkgs/applications/audio/gigedit/default.nix +++ b/pkgs/applications/audio/gigedit/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { homepage = "http://www.linuxsampler.org"; description = "Gigasampler file access library"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "gigedit"; }; diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 247a3bb23ecb..5b23b0e34a21 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://github.com/brummer10/guitarix"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ astsmtl goibhniu lord-valen ]; + maintainers = with maintainers; [ astsmtl lord-valen ]; platforms = platforms.linux; }; }) diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix index 1460a78d9a9b..011cb71663c1 100644 --- a/pkgs/applications/audio/hydrogen/default.nix +++ b/pkgs/applications/audio/hydrogen/default.nix @@ -29,6 +29,6 @@ stdenv.mkDerivation rec { homepage = "http://www.hydrogen-music.org"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu orivej ]; + maintainers = with maintainers; [ orivej ]; }; } diff --git a/pkgs/applications/audio/ingen/default.nix b/pkgs/applications/audio/ingen/default.nix index 46a4d3b7fff9..81bd40c8207a 100644 --- a/pkgs/applications/audio/ingen/default.nix +++ b/pkgs/applications/audio/ingen/default.nix @@ -69,10 +69,7 @@ stdenv.mkDerivation { description = "Modular audio processing system using JACK and LV2 or LADSPA plugins"; homepage = "http://drobilla.net/software/ingen"; license = lib.licenses.agpl3Plus; - maintainers = with lib.maintainers; [ - goibhniu - t4ccer - ]; + maintainers = with lib.maintainers; [ t4ccer ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/applications/audio/jack-capture/default.nix b/pkgs/applications/audio/jack-capture/default.nix index c3fc09cb088f..6f5dd4ed0d3c 100644 --- a/pkgs/applications/audio/jack-capture/default.nix +++ b/pkgs/applications/audio/jack-capture/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { mainProgram = "jack_capture"; homepage = "https://github.com/kmatheussen/jack_capture/"; license = licenses.gpl2; - maintainers = with maintainers; [ goibhniu orivej ]; + maintainers = with maintainers; [ orivej ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/applications/audio/jack-oscrolloscope/default.nix b/pkgs/applications/audio/jack-oscrolloscope/default.nix index ea2d37151c79..d3dee233fcf2 100644 --- a/pkgs/applications/audio/jack-oscrolloscope/default.nix +++ b/pkgs/applications/audio/jack-oscrolloscope/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { mainProgram = "jack_oscrolloscope"; homepage = "http://das.nasophon.de/jack_oscrolloscope"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/applications/audio/jalv/default.nix b/pkgs/applications/audio/jalv/default.nix index a528a209efa7..b17460e4e2e7 100644 --- a/pkgs/applications/audio/jalv/default.nix +++ b/pkgs/applications/audio/jalv/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { description = "Simple but fully featured LV2 host for Jack"; homepage = "http://drobilla.net/software/jalv"; license = licenses.isc; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/lash/default.nix b/pkgs/applications/audio/lash/default.nix index 090c457d44a8..e7c5a822cd4b 100644 --- a/pkgs/applications/audio/lash/default.nix +++ b/pkgs/applications/audio/lash/default.nix @@ -34,6 +34,6 @@ stdenv.mkDerivation rec { homepage = "https://www.nongnu.org/lash"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/linuxsampler/default.nix b/pkgs/applications/audio/linuxsampler/default.nix index f2d512c721a8..53e5b6e6e733 100644 --- a/pkgs/applications/audio/linuxsampler/default.nix +++ b/pkgs/applications/audio/linuxsampler/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { FAQ, please contact us. ''; license = licenses.unfree; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix index e819f2ae6b46..e1e338698f43 100644 --- a/pkgs/applications/audio/lmms/default.nix +++ b/pkgs/applications/audio/lmms/default.nix @@ -52,6 +52,6 @@ mkDerivation rec { homepage = "https://lmms.io"; license = licenses.gpl2Plus; platforms = [ "x86_64-linux" "i686-linux" ]; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/mda-lv2/default.nix b/pkgs/applications/audio/mda-lv2/default.nix index b1f0f5b53c5b..f30dd9746dec 100644 --- a/pkgs/applications/audio/mda-lv2/default.nix +++ b/pkgs/applications/audio/mda-lv2/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { homepage = "http://drobilla.net/software/mda-lv2.html"; description = "LV2 port of the MDA plugins by Paul Kellett"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/mhwaveedit/default.nix b/pkgs/applications/audio/mhwaveedit/default.nix index 42d4c38d47a3..5714de0ee7b4 100644 --- a/pkgs/applications/audio/mhwaveedit/default.nix +++ b/pkgs/applications/audio/mhwaveedit/default.nix @@ -35,6 +35,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/magnush/mhwaveedit"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/mid2key/default.nix b/pkgs/applications/audio/mid2key/default.nix index f17fd476613a..95b48779459a 100644 --- a/pkgs/applications/audio/mid2key/default.nix +++ b/pkgs/applications/audio/mid2key/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { homepage = "http://code.google.com/p/mid2key/"; description = "Simple tool which maps midi notes to simulated keystrokes"; license = licenses.gpl3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "mid2key"; }; diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix index 0f65d5cea8c7..8ef52e90f790 100644 --- a/pkgs/applications/audio/mixxx/default.nix +++ b/pkgs/applications/audio/mixxx/default.nix @@ -147,7 +147,7 @@ mkDerivation rec { description = "Digital DJ mixing software"; mainProgram = "mixxx"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ goibhniu bfortz benley ]; + maintainers = with maintainers; [ bfortz benley ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/petrifoo/default.nix b/pkgs/applications/audio/petrifoo/default.nix index 10a82bac6edb..e8298ea321c3 100644 --- a/pkgs/applications/audio/petrifoo/default.nix +++ b/pkgs/applications/audio/petrifoo/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { homepage = "https://petri-foo.sourceforge.net"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; mainProgram = "petri-foo"; }; } diff --git a/pkgs/applications/audio/pianobooster/default.nix b/pkgs/applications/audio/pianobooster/default.nix index 8a78ca046e4d..216ca845f1fa 100644 --- a/pkgs/applications/audio/pianobooster/default.nix +++ b/pkgs/applications/audio/pianobooster/default.nix @@ -67,6 +67,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/pianobooster/PianoBooster"; license = licenses.gpl3Plus; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu orivej ]; + maintainers = with maintainers; [ orivej ]; }; } diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix index 44015fc48881..a335dabf4abc 100644 --- a/pkgs/applications/audio/puredata/default.nix +++ b/pkgs/applications/audio/puredata/default.nix @@ -54,7 +54,7 @@ stdenv.mkDerivation rec { homepage = "http://puredata.info"; license = licenses.bsd3; platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ goibhniu carlthome ]; + maintainers = with maintainers; [ carlthome ]; mainProgram = "pd"; changelog = "https://msp.puredata.info/Pd_documentation/x5.htm#s1"; }; diff --git a/pkgs/applications/audio/qjackctl/default.nix b/pkgs/applications/audio/qjackctl/default.nix index 871f9012a584..6bfe6826f103 100644 --- a/pkgs/applications/audio/qjackctl/default.nix +++ b/pkgs/applications/audio/qjackctl/default.nix @@ -41,7 +41,7 @@ mkDerivation rec { mainProgram = "qjackctl"; homepage = "https://github.com/rncbc/qjackctl"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/qsampler/default.nix b/pkgs/applications/audio/qsampler/default.nix index bd4922394f6a..b4c7cf5bce1d 100644 --- a/pkgs/applications/audio/qsampler/default.nix +++ b/pkgs/applications/audio/qsampler/default.nix @@ -22,7 +22,7 @@ mkDerivation rec { description = "Graphical frontend to LinuxSampler"; mainProgram = "qsampler"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix index 4de19279b937..a575cd57978a 100644 --- a/pkgs/applications/audio/qsynth/default.nix +++ b/pkgs/applications/audio/qsynth/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { mainProgram = "qsynth"; homepage = "https://sourceforge.net/projects/qsynth"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/rakarrack/default.nix b/pkgs/applications/audio/rakarrack/default.nix index 4b693da3a622..04a05c2c6f11 100644 --- a/pkgs/applications/audio/rakarrack/default.nix +++ b/pkgs/applications/audio/rakarrack/default.nix @@ -26,6 +26,6 @@ stdenv.mkDerivation rec { homepage = "https://rakarrack.sourceforge.net"; license = licenses.gpl2; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/samplv1/default.nix b/pkgs/applications/audio/samplv1/default.nix index 991af8eac354..c2f86609d45e 100644 --- a/pkgs/applications/audio/samplv1/default.nix +++ b/pkgs/applications/audio/samplv1/default.nix @@ -22,6 +22,6 @@ mkDerivation rec { homepage = "http://samplv1.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/seq24/default.nix b/pkgs/applications/audio/seq24/default.nix index f2858f8f291f..441f858a1055 100644 --- a/pkgs/applications/audio/seq24/default.nix +++ b/pkgs/applications/audio/seq24/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { homepage = "http://www.filter24.org/seq24"; license = licenses.gpl2; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; mainProgram = "seq24"; }; } diff --git a/pkgs/applications/audio/setbfree/default.nix b/pkgs/applications/audio/setbfree/default.nix index 309cac8e8559..550c0e8d042a 100644 --- a/pkgs/applications/audio/setbfree/default.nix +++ b/pkgs/applications/audio/setbfree/default.nix @@ -48,6 +48,6 @@ stdenv.mkDerivation rec { homepage = "https://setbfree.org"; license = licenses.gpl2; platforms = [ "x86_64-linux" "i686-linux" ]; # fails on ARM and Darwin - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/sonic-visualiser/default.nix b/pkgs/applications/audio/sonic-visualiser/default.nix index cc24f396f56f..ef6ed0c695a0 100644 --- a/pkgs/applications/audio/sonic-visualiser/default.nix +++ b/pkgs/applications/audio/sonic-visualiser/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { description = "View and analyse contents of music audio files"; homepage = "https://www.sonicvisualiser.org/"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu maintainers.marcweber ]; + maintainers = [ maintainers.marcweber ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/swh-lv2/default.nix b/pkgs/applications/audio/swh-lv2/default.nix index 338877d2be21..224ab749593d 100644 --- a/pkgs/applications/audio/swh-lv2/default.nix +++ b/pkgs/applications/audio/swh-lv2/default.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { generators, surround encoders and more. ''; license = licenses.gpl3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/audio/synthv1/default.nix b/pkgs/applications/audio/synthv1/default.nix index 77dfec0dd8e6..a42671b3d303 100644 --- a/pkgs/applications/audio/synthv1/default.nix +++ b/pkgs/applications/audio/synthv1/default.nix @@ -19,6 +19,6 @@ mkDerivation rec { homepage = "https://synthv1.sourceforge.io/"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/vkeybd/default.nix b/pkgs/applications/audio/vkeybd/default.nix index 642a75f71f2f..1afac1aba558 100644 --- a/pkgs/applications/audio/vkeybd/default.nix +++ b/pkgs/applications/audio/vkeybd/default.nix @@ -24,6 +24,6 @@ stdenv.mkDerivation rec { homepage = "https://www.alsa-project.org/~tiwai/alsa.html"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/xsynth-dssi/default.nix b/pkgs/applications/audio/xsynth-dssi/default.nix index 02336f753450..788453f51955 100644 --- a/pkgs/applications/audio/xsynth-dssi/default.nix +++ b/pkgs/applications/audio/xsynth-dssi/default.nix @@ -34,6 +34,6 @@ stdenv.mkDerivation rec { homepage = "https://dssi.sourceforge.net/download.html#Xsynth-DSSI"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/applications/audio/yoshimi/default.nix b/pkgs/applications/audio/yoshimi/default.nix index 02370d22ab7a..d152eee637a1 100644 --- a/pkgs/applications/audio/yoshimi/default.nix +++ b/pkgs/applications/audio/yoshimi/default.nix @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { homepage = "https://yoshimi.github.io/"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; mainProgram = "yoshimi"; }; } diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index 096c3b0af25e..3352135d28cc 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -148,7 +148,7 @@ in stdenv.mkDerivation rec { else "https://zynaddsubfx.sourceforge.io"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ goibhniu kira-bruneau ]; + maintainers = with maintainers; [ kira-bruneau ]; platforms = platforms.all; # On macOS: diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/color-theme-solarized/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/color-theme-solarized/default.nix index 0ed96a1cda68..f8ff5ef966d0 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/color-theme-solarized/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/color-theme-solarized/default.nix @@ -8,13 +8,13 @@ melpaBuild { pname = "color-theme-solarized"; - version = "0-unstable-2017-10-24"; + version = "0-unstable-2023-02-09"; src = fetchFromGitHub { owner = "sellout"; repo = "emacs-color-theme-solarized"; - rev = "f3ca8902ea056fb8e46cb09f09c96294e31cd4ee"; - hash = "sha256-oxX0lo6sxotEiR3nPrKPE9H01HKB3ohB/p8eEHFTp5k="; + rev = "b186e5d62d0b83cbf5cf38f7eb7a199dea9a3ee3"; + hash = "sha256-7E8r56dzfD06tsQEnqU5mWSbwz9x9QPbzken2J/fhlg="; }; packageRequires = [ color-theme ]; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-conflict/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-conflict/default.nix index 74c9498b0bf7..fea6905e6f31 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-conflict/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-conflict/default.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, melpaBuild, + unstableGitUpdater, }: melpaBuild { @@ -15,6 +16,8 @@ melpaBuild { hash = "sha256-DIGvnotSQYIgHxGxtyCALHd8ZbrfkmdvjLXlkcqQ6v4="; }; + passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; + meta = { homepage = "https://github.com/ibizaman/emacs-conflict"; description = "Resolve conflicts happening when using file synchronization tools"; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/evil-markdown/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/evil-markdown/default.nix index f210907ffeda..57249b72fbb8 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/evil-markdown/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/evil-markdown/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, markdown-mode, melpaBuild, + unstableGitUpdater, }: melpaBuild { @@ -22,6 +23,8 @@ melpaBuild { markdown-mode ]; + passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; + meta = { homepage = "https://github.com/Somelauw/evil-markdown"; description = "Integrates Emacs evil and markdown"; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/git-undo/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/git-undo/default.nix index 69330664473e..74574c98cb43 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/git-undo/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/git-undo/default.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, melpaBuild, + unstableGitUpdater, }: melpaBuild { @@ -15,6 +16,8 @@ melpaBuild { hash = "sha256-cVkK9EF6qQyVV3uVqnBEjF8e9nEx/8ixnM8PvxqCyYE="; }; + passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; + meta = { homepage = "https://github.com/jwiegley/git-undo-el"; description = "Revert region to most recent Git-historical version"; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/isearch-prop/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/isearch-prop/default.nix index adf8fbec1195..c97d3cc2d491 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/isearch-prop/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/isearch-prop/default.nix @@ -7,13 +7,13 @@ melpaBuild { pname = "isearch-prop"; - version = "0-unstable-2019-05-01"; + version = "0-unstable-2022-12-30"; src = fetchFromGitHub { owner = "emacsmirror"; repo = "isearch-prop"; - rev = "4a2765f835dd115d472142da05215c4c748809f4"; - hash = "sha256-A1Kt4nm7iRV9J5yaLupwiNL5g7ddZvQs79dggmqZ7Rk="; + rev = "5787fd57977c0d6c416ce71471c3b9da246dfb78"; + hash = "sha256-Xli7TxBenl5cDMJv3Qz7ZELFpvJKStMploLpf9a+uoA="; }; passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/notdeft/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/notdeft/default.nix index 6c6bc776c122..324db6dede1f 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/notdeft/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/notdeft/default.nix @@ -7,7 +7,9 @@ ivy, pkg-config, tclap, + unstableGitUpdater, xapian, + # Configurable options # Include pre-configured hydras withHydra ? false, # Include Ivy integration @@ -77,6 +79,7 @@ melpaBuild { passthru = { inherit notdeft-xapian; + updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; }; meta = { diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/youtube-dl/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/youtube-dl/default.nix index 68ffac3697b6..d3e5a5cfbbb3 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/youtube-dl/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/youtube-dl/default.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, melpaBuild, + unstableGitUpdater, }: melpaBuild { @@ -15,6 +16,8 @@ melpaBuild { hash = "sha256-Etl95rcoRACDPjcTPQqYK2L+w8OZbOrTrRT0JadMdH4="; }; + passthru.updateScript = unstableGitUpdater { }; + meta = { description = "Emacs youtube-dl download manager"; homepage = "https://github.com/skeeto/youtube-dl-emacs"; diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix index 561a365b5621..518dee06aaef 100644 --- a/pkgs/applications/graphics/darktable/default.nix +++ b/pkgs/applications/graphics/darktable/default.nix @@ -145,6 +145,6 @@ stdenv.mkDerivation rec { homepage = "https://www.darktable.org"; license = licenses.gpl3Plus; platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ goibhniu flosse mrVanDalo paperdigits freyacodes ]; + maintainers = with maintainers; [ flosse mrVanDalo paperdigits freyacodes ]; }; } diff --git a/pkgs/applications/graphics/mypaint/default.nix b/pkgs/applications/graphics/mypaint/default.nix index 8abd4cba4846..10a19431dbfc 100644 --- a/pkgs/applications/graphics/mypaint/default.nix +++ b/pkgs/applications/graphics/mypaint/default.nix @@ -136,6 +136,6 @@ in buildPythonApplication rec { homepage = "http://mypaint.org/"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu jtojnar ]; + maintainers = with maintainers; [ jtojnar ]; }; } diff --git a/pkgs/applications/graphics/synfigstudio/default.nix b/pkgs/applications/graphics/synfigstudio/default.nix index 3ef849cc864e..3c83be511976 100644 --- a/pkgs/applications/graphics/synfigstudio/default.nix +++ b/pkgs/applications/graphics/synfigstudio/default.nix @@ -160,7 +160,7 @@ stdenv.mkDerivation { description = "2D animation program"; homepage = "http://www.synfig.org"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux ++ platforms.darwin; }; } diff --git a/pkgs/applications/misc/artha/default.nix b/pkgs/applications/misc/artha/default.nix index ee22c2776c5a..e3f42c153ebb 100644 --- a/pkgs/applications/misc/artha/default.nix +++ b/pkgs/applications/misc/artha/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { description = "Offline thesaurus based on WordNet"; homepage = "https://artha.sourceforge.net"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; mainProgram = "artha"; }; diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index 230aa4b2de01..d400dd1eba55 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -427,10 +427,7 @@ stdenv.mkDerivation (finalAttrs: { ]; # the current apple sdk is too old (currently 11_0) and fails to build "metal" on x86_64-darwin broken = stdenv.hostPlatform.system == "x86_64-darwin"; - maintainers = with lib.maintainers; [ - goibhniu - veprbl - ]; + maintainers = with lib.maintainers; [ veprbl ]; mainProgram = "blender"; }; }) diff --git a/pkgs/applications/misc/hovercraft/default.nix b/pkgs/applications/misc/hovercraft/default.nix index c5623d2dac16..e06cc850568d 100644 --- a/pkgs/applications/misc/hovercraft/default.nix +++ b/pkgs/applications/misc/hovercraft/default.nix @@ -39,6 +39,6 @@ buildPythonApplication rec { mainProgram = "hovercraft"; homepage = "https://github.com/regebro/hovercraft"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu makefu ]; + maintainers = with maintainers; [ makefu ]; }; } diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 31ff6c00e5d1..e639f2c4d023 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -4,7 +4,7 @@ let if stdenv.isLinux then { stable = "0.0.60"; ptb = "0.0.95"; - canary = "0.0.453"; + canary = "0.0.455"; development = "0.0.23"; } else { stable = "0.0.311"; @@ -25,7 +25,7 @@ let }; canary = fetchurl { url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; - hash = "sha256-yEU/3PfS1uQklVVcO7p/xAJTM3RPz88bSxMIajeDTUM="; + hash = "sha256-SDw0LaRIOq/sd7Qz9XZMikuMkau/lFrCtKv6MBvhzWs="; }; development = fetchurl { url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; diff --git a/pkgs/applications/science/misc/golly/default.nix b/pkgs/applications/science/misc/golly/default.nix index 52b05cbb7e9b..b509387fe883 100644 --- a/pkgs/applications/science/misc/golly/default.nix +++ b/pkgs/applications/science/misc/golly/default.nix @@ -12,6 +12,10 @@ stdenv.mkDerivation rec { wxGTK perl python3 zlib libGLU libGL libX11 SDL2 ]; + nativeBuildInputs = [ + (python3.withPackages (ps: [ps.setuptools])) + ]; + setSourceRoot = '' sourceRoot=$(echo */gui-wx) ''; diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix index 61c6684a2f82..0f6ec1ebe718 100644 --- a/pkgs/applications/video/shotcut/default.nix +++ b/pkgs/applications/video/shotcut/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://shotcut.org"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ goibhniu woffs peti ]; + maintainers = with maintainers; [ woffs peti ]; platforms = platforms.unix; mainProgram = "shotcut"; }; diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix index 8e30dc3e6358..4e78ef877492 100644 --- a/pkgs/applications/video/simplescreenrecorder/default.nix +++ b/pkgs/applications/video/simplescreenrecorder/default.nix @@ -40,6 +40,6 @@ mkDerivation rec { homepage = "https://www.maartenbaert.be/simplescreenrecorder"; license = licenses.gpl3Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index e9256c0503e6..3c580fafe974 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -576,6 +576,8 @@ rec { created ? "1970-01-01T00:00:01Z" , # Compressor to use. One of: none, gz, zstd. compressor ? "gz" + # Populate the nix database in the image with the dependencies of `copyToRoot`. + , includeNixDB ? false , # Deprecated. contents ? null , @@ -613,20 +615,26 @@ rec { compress = compressorForImage compressor name; + # TODO: add the dependencies of the config json. + extraCommandsWithDB = + if includeNixDB then (mkDbExtraCommand rootContents) + extraCommands + else extraCommands; + layer = if runAsRoot == null then mkPureLayer { name = baseName; - inherit baseJson keepContentsDirlinks extraCommands uid gid; + inherit baseJson keepContentsDirlinks uid gid; + extraCommands = extraCommandsWithDB; copyToRoot = rootContents; } else mkRootLayer { name = baseName; inherit baseJson fromImage fromImageName fromImageTag - keepContentsDirlinks runAsRoot diskSize buildVMMemorySize - extraCommands; + keepContentsDirlinks runAsRoot diskSize buildVMMemorySize; + extraCommands = extraCommandsWithDB; copyToRoot = rootContents; }; result = runCommand "docker-image-${baseName}.tar${compress.ext}" @@ -885,18 +893,9 @@ rec { # the container. # Be careful since this doesn't work well with multilayer. # TODO: add the dependencies of the config json. - buildImageWithNixDb = args@{ copyToRoot ? contents, contents ? null, extraCommands ? "", ... }: ( - buildImage (args // { - extraCommands = (mkDbExtraCommand copyToRoot) + extraCommands; - }) - ); + buildImageWithNixDb = args: buildImage (args // { includeNixDB = true; }); - # TODO: add the dependencies of the config json. - buildLayeredImageWithNixDb = args@{ contents ? null, extraCommands ? "", ... }: ( - buildLayeredImage (args // { - extraCommands = (mkDbExtraCommand contents) + extraCommands; - }) - ); + buildLayeredImageWithNixDb = args: buildLayeredImage (args // { includeNixDB = true; }); # Arguments are documented in ../../../doc/build-helpers/images/dockertools.section.md streamLayeredImage = lib.makeOverridable ( @@ -917,6 +916,7 @@ rec { , fakeRootCommands ? "" , enableFakechroot ? false , includeStorePaths ? true + , includeNixDB ? false , passthru ? {} , }: @@ -954,7 +954,9 @@ rec { customisationLayer = symlinkJoin { name = "${baseName}-customisation-layer"; paths = contentsList; - inherit extraCommands fakeRootCommands; + extraCommands = + (lib.optionalString includeNixDB (mkDbExtraCommand contents)) + extraCommands; + inherit fakeRootCommands; nativeBuildInputs = [ fakeroot ] ++ optionals enableFakechroot [ @@ -1107,7 +1109,9 @@ rec { result = runCommand "stream-${baseName}" { + inherit conf; inherit (conf) imageName; + inherit streamScript; preferLocalBuild = true; passthru = passthru // { inherit (conf) imageTag; @@ -1118,7 +1122,7 @@ rec { }; nativeBuildInputs = [ makeWrapper ]; } '' - makeWrapper ${streamScript} $out --add-flags ${conf} + makeWrapper $streamScript $out --add-flags $conf ''; in result diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index 4949d6b8a888..8717259cd189 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -901,4 +901,16 @@ rec { ''; }; + nix-layered = pkgs.dockerTools.streamLayeredImage { + name = "nix-layered"; + tag = "latest"; + contents = [ pkgs.nix pkgs.bash ]; + includeNixDB = true; + config = { + Env = [ + "NIX_PAGER=cat" + ]; + }; + }; + } diff --git a/pkgs/by-name/al/alpaca/package.nix b/pkgs/by-name/al/alpaca/package.nix index 5ce7ce0b0261..d19e97eac30a 100644 --- a/pkgs/by-name/al/alpaca/package.nix +++ b/pkgs/by-name/al/alpaca/package.nix @@ -2,7 +2,6 @@ lib, python3Packages, fetchFromGitHub, - fetchpatch, appstream, meson, ninja, @@ -18,30 +17,26 @@ python3Packages.buildPythonApplication rec { pname = "alpaca"; - version = "0.9.6.1"; + version = "1.0.1"; pyproject = false; # Built with meson src = fetchFromGitHub { owner = "Jeffser"; repo = "Alpaca"; rev = version; - hash = "sha256-EbaEjKqfotJBceaYEyz3LHilK3GnnwEpfMR7Teq96hI="; + hash = "sha256-GxnYPnrjaJ47/i+pigw+on2dmbHwQSX+STasvqnAtuQ="; }; patches = [ # Change the way XDG paths are handled so it makes sense outside of flatpak ./fix_xdg_path_flatpak.patch - - # Let ollama instance stop gracefully so we don't have model instance left behind - (fetchpatch { - url = "https://github.com/Jeffser/Alpaca/commit/e81d918675896c1670cf5aa5a55e1b706be5ed51.patch"; - hash = "sha256-gYYFvaoBI/Qn0g2qgS1cB0B4F08swznrSd5KCb51vh0="; - }) ]; postPatch = '' substituteInPlace src/local_instance.py \ --replace-fail '/app/bin/ollama' 'ollama' + substituteInPlace src/window.py \ + --replace-fail '/app/share' "$out/share" ''; nativeBuildInputs = [ @@ -64,6 +59,8 @@ python3Packages.buildPythonApplication rec { requests pillow pypdf + pytube + html2text ]; dontWrapGApps = true; @@ -85,6 +82,7 @@ python3Packages.buildPythonApplication rec { ollama = pkgs.ollama-cuda; } ``` + Or using `pkgs.ollama-rocm` for AMD GPUs. ''; homepage = "https://jeffser.com/alpaca"; license = lib.licenses.gpl3Plus; diff --git a/pkgs/by-name/as/asm-lsp/package.nix b/pkgs/by-name/as/asm-lsp/package.nix index a314e16db7fd..24e561e132a7 100644 --- a/pkgs/by-name/as/asm-lsp/package.nix +++ b/pkgs/by-name/as/asm-lsp/package.nix @@ -6,7 +6,7 @@ }: let pname = "asm-lsp"; - version = "0.7.1"; + version = "0.7.3"; in rustPlatform.buildRustPackage { inherit pname version; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage { owner = "bergercookie"; repo = "asm-lsp"; rev = "v${version}"; - hash = "sha256-nHLM4cwVo6esrrpr4s+DfJIUWWKSrYwWLOPC84tb68o="; + hash = "sha256-LWsawBh1czS7LUX70IXrJHUonIt2XEN8L26iP5cVyRk="; }; nativeBuildInputs = [ @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage { openssl ]; - cargoHash = "sha256-CiHXfy8Xqrg8SAWA4nTHSGZKS0pGcoQem9kLRtTLpRs="; + cargoHash = "sha256-pIjOelOQ5X8jl/ZtE8IzXPtcLmANDtWsJaNXno8CT6Y="; # tests expect ~/.cache/asm-lsp to be writable preCheck = '' diff --git a/pkgs/by-name/ch/charmcraft/package.nix b/pkgs/by-name/ch/charmcraft/package.nix index a2ea187240c8..78f48f85a7c4 100644 --- a/pkgs/by-name/ch/charmcraft/package.nix +++ b/pkgs/by-name/ch/charmcraft/package.nix @@ -1,12 +1,34 @@ { lib, git, - python3Packages, + python3, fetchFromGitHub, nix-update-script, }: -python3Packages.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + pydantic-yaml = super.pydantic-yaml.overridePythonAttrs (old: rec { + version = "0.11.2"; + src = fetchFromGitHub { + owner = "NowanIlfideme"; + repo = "pydantic-yaml"; + rev = "refs/tags/v${version}"; + hash = "sha256-AeUyVav0/k4Fz69Qizn4hcJKoi/CDR9eUan/nJhWsDY="; + }; + dependencies = with self; [ + deprecated + importlib-metadata + pydantic_1 + ruamel-yaml + types-deprecated + ]; + }); + }; + }; +in +python.pkgs.buildPythonApplication rec { pname = "charmcraft"; version = "2.7.0"; @@ -23,11 +45,12 @@ python3Packages.buildPythonApplication rec { substituteInPlace setup.py \ --replace-fail 'version=determine_version()' 'version="${version}"' + # TODO remove setuptools from dependencies once this is removed substituteInPlace charmcraft/env.py \ --replace-fail "distutils.util" "setuptools.dist" ''; - propagatedBuildInputs = with python3Packages; [ + dependencies = with python.pkgs; [ craft-cli craft-parts craft-providers @@ -42,17 +65,18 @@ python3Packages.buildPythonApplication rec { requests requests-toolbelt requests-unixsocket + setuptools # see substituteInPlace above snap-helpers tabulate urllib3 ]; - nativeBuildInputs = with python3Packages; [ setuptools ]; + build-system = with python.pkgs; [ setuptools ]; pythonRelaxDeps = [ "urllib3" ]; nativeCheckInputs = - with python3Packages; + with python.pkgs; [ pyfakefs pytest-check diff --git a/pkgs/desktops/cinnamon/cinnamon-common/libdir.patch b/pkgs/by-name/ci/cinnamon-common/libdir.patch similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-common/libdir.patch rename to pkgs/by-name/ci/cinnamon-common/libdir.patch diff --git a/pkgs/desktops/cinnamon/cinnamon-common/default.nix b/pkgs/by-name/ci/cinnamon-common/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-common/default.nix rename to pkgs/by-name/ci/cinnamon-common/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-common/use-sane-install-dir.patch b/pkgs/by-name/ci/cinnamon-common/use-sane-install-dir.patch similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-common/use-sane-install-dir.patch rename to pkgs/by-name/ci/cinnamon-common/use-sane-install-dir.patch diff --git a/pkgs/desktops/cinnamon/cinnamon-control-center/default.nix b/pkgs/by-name/ci/cinnamon-control-center/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-control-center/default.nix rename to pkgs/by-name/ci/cinnamon-control-center/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-desktop/default.nix b/pkgs/by-name/ci/cinnamon-desktop/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-desktop/default.nix rename to pkgs/by-name/ci/cinnamon-desktop/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix b/pkgs/by-name/ci/cinnamon-gsettings-overrides/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-gsettings-overrides/default.nix rename to pkgs/by-name/ci/cinnamon-gsettings-overrides/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-menus/default.nix b/pkgs/by-name/ci/cinnamon-menus/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-menus/default.nix rename to pkgs/by-name/ci/cinnamon-menus/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix b/pkgs/by-name/ci/cinnamon-screensaver/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-screensaver/default.nix rename to pkgs/by-name/ci/cinnamon-screensaver/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-session/0001-Use-dbus_glib-instead-of-elogind.patch b/pkgs/by-name/ci/cinnamon-session/0001-Use-dbus_glib-instead-of-elogind.patch similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-session/0001-Use-dbus_glib-instead-of-elogind.patch rename to pkgs/by-name/ci/cinnamon-session/0001-Use-dbus_glib-instead-of-elogind.patch diff --git a/pkgs/desktops/cinnamon/cinnamon-session/default.nix b/pkgs/by-name/ci/cinnamon-session/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-session/default.nix rename to pkgs/by-name/ci/cinnamon-session/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-settings-daemon/csd-backlight-helper-fix.patch b/pkgs/by-name/ci/cinnamon-settings-daemon/csd-backlight-helper-fix.patch similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-settings-daemon/csd-backlight-helper-fix.patch rename to pkgs/by-name/ci/cinnamon-settings-daemon/csd-backlight-helper-fix.patch diff --git a/pkgs/desktops/cinnamon/cinnamon-settings-daemon/default.nix b/pkgs/by-name/ci/cinnamon-settings-daemon/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-settings-daemon/default.nix rename to pkgs/by-name/ci/cinnamon-settings-daemon/package.nix diff --git a/pkgs/desktops/cinnamon/cinnamon-translations/default.nix b/pkgs/by-name/ci/cinnamon-translations/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cinnamon-translations/default.nix rename to pkgs/by-name/ci/cinnamon-translations/package.nix diff --git a/pkgs/desktops/cinnamon/cjs/default.nix b/pkgs/by-name/cj/cjs/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/cjs/default.nix rename to pkgs/by-name/cj/cjs/package.nix diff --git a/pkgs/tools/security/clevis/tang-timeout.patch b/pkgs/by-name/cl/clevis/0000-tang-timeout.patch similarity index 100% rename from pkgs/tools/security/clevis/tang-timeout.patch rename to pkgs/by-name/cl/clevis/0000-tang-timeout.patch diff --git a/pkgs/by-name/cl/clevis/package.nix b/pkgs/by-name/cl/clevis/package.nix new file mode 100644 index 000000000000..ac1a1b1be918 --- /dev/null +++ b/pkgs/by-name/cl/clevis/package.nix @@ -0,0 +1,130 @@ +{ + lib, + asciidoc-full, + coreutils, + cryptsetup, + curl, + fetchFromGitHub, + gnugrep, + gnused, + jansson, + jose, + libpwquality, + luksmeta, + makeWrapper, + meson, + ninja, + nixosTests, + pkg-config, + stdenv, + tpm2-tools, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "clevis"; + version = "20"; + + src = fetchFromGitHub { + owner = "latchset"; + repo = "clevis"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-rBdZrnHPzRd9vbyl1h/Nb0cFAtIPUHSmxVoKrKuCrQ8="; + }; + + patches = [ + # Replaces the clevis-decrypt 300s timeout to a 10s timeout + # https://github.com/latchset/clevis/issues/289 + ./0000-tang-timeout.patch + ]; + + nativeBuildInputs = [ + asciidoc-full + makeWrapper + meson + ninja + pkg-config + ]; + + buildInputs = [ + cryptsetup + curl + jansson + jose + libpwquality + luksmeta + tpm2-tools + ]; + + outputs = [ + "out" + "man" + ]; + + # TODO: investigate how to prepare the dependencies so that they can be found + # while setting strictDeps as true. This will require studying the dark + # corners of cross-compilation in Nixpkgs... + strictDeps = false; + + # Since 2018-07-11, upstream relies on a hardcoded /bin/cat. See: + # https://github.com/latchset/clevis/issues/61 + # https://github.com/latchset/clevis/pull/64 + # + # So, we filter all src files that have the string "/bin/cat" and patch that + # string to an absolute path for our coreutils location. + # The xargs command is a little bit convoluted because a simpler version would + # be vulnerable to code injection. This hint is a courtesy of Stack Exchange: + # https://unix.stackexchange.com/a/267438 + postPatch = '' + for f in $(find src/ -type f -print0 |\ + xargs -0 -I@ sh -c 'grep -q "/bin/cat" "$1" && echo "$1"' sh @); do + substituteInPlace "$f" --replace-fail '/bin/cat' '${lib.getExe' coreutils "cat"}' + done + ''; + + # We wrap the main clevis binary entrypoint but not the sub-binaries. + postInstall = + let + includeIntoPath = [ + coreutils + cryptsetup + gnugrep + gnused + jose + libpwquality + luksmeta + tpm2-tools + ]; + in + '' + wrapProgram $out/bin/clevis \ + --prefix PATH ':' "${lib.makeBinPath includeIntoPath}:${placeholder "out"}/bin" + ''; + + passthru.tests = { + inherit (nixosTests.installer) + clevisBcachefs + clevisBcachefsFallback + clevisLuks + clevisLuksFallback + clevisZfs + clevisZfsFallback + ; + clevisLuksSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisLuks; + clevisLuksFallbackSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisLuksFallback; + clevisZfsSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisZfs; + clevisZfsFallbackSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisZfsFallback; + }; + + meta = { + homepage = "https://github.com/latchset/clevis"; + description = "Automated Encryption Framework"; + longDescription = '' + Clevis is a pluggable framework for automated decryption. It can be used + to provide automated decryption of data or even automated unlocking of + LUKS volumes. + ''; + changelog = "https://github.com/latchset/clevis/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ AndersonTorres ]; + }; +}) diff --git a/pkgs/by-name/cm/cmake-lint/package.nix b/pkgs/by-name/cm/cmake-lint/package.nix index b683a0aaa8c5..fd1c95165c35 100644 --- a/pkgs/by-name/cm/cmake-lint/package.nix +++ b/pkgs/by-name/cm/cmake-lint/package.nix @@ -18,19 +18,20 @@ python3Packages.buildPythonApplication rec { hash = "sha256-/OuWwerBlJynEibaYo+jkLpHt4x9GZrqMRJNxgrDBlM="; }; - nativeBuildInputs = [ python3Packages.setuptools ]; + postPatch = '' + # We don't need to test coverage, so remove these checks + substituteInPlace setup.cfg \ + --replace-fail "addopts = --cov-fail-under=84 --cov=./cmakelint" "" + ''; + + build-system = [ python3Packages.setuptools ]; pythonImportsCheck = [ "cmakelint" ]; - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - nose + nativeCheckInputs = [ + python3Packages.pytestCheckHook ]; - checkPhase = '' - nosetests - ''; - passthru.tests = { version = testers.testVersion { package = cmake-lint; }; }; diff --git a/pkgs/by-name/co/connectome-workbench/package.nix b/pkgs/by-name/co/connectome-workbench/package.nix new file mode 100644 index 000000000000..bb1cd5c880a1 --- /dev/null +++ b/pkgs/by-name/co/connectome-workbench/package.nix @@ -0,0 +1,65 @@ +{ lib, + stdenv, + fetchFromGitHub, + fetchpatch, + cmake, + libGL, + libGLU, + libsForQt5, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "connectome-workbench"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "Washington-University"; + repo = "workbench"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-d0J5bXp6mJlUQBmInxPXPkd5P5H+3F6fE9fc8pD1fUc="; + }; + + sourceRoot = "${finalAttrs.src.name}/src"; + + patches = [ + # remove after next release: + (fetchpatch { + name = "fix-missing-includes-in-CZIlib"; + url = "https://github.com/Washington-University/workbench/commit/7ba3345d161d567a4b628ceb02ab4471fc96cb20.diff"; + hash = "sha256-DMrJOr/2Wr4o4Z3AuhWfMZTX8f/kOYWwZQzBUwIrTd8="; + relative = "src"; + }) + ]; + + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "ADD_SUBDIRECTORY ( Tests )" "" \ + --replace-fail "ENABLE_TESTING()" "" + ''; + # tests are minimal and test_driver fails to link (also -DBUILD_TESTING=... is ignored): + # ld: ../Brain/libBrain.a(BrainOpenGLVolumeObliqueSliceDrawing.cxx.o): undefined reference to symbol 'glGetFloatv' + # ld: /nix/store/a5vcvrkh1c2ng5kr584g3zw3991vnhks-libGL-1.7.0/lib/libGL.so.1: error adding symbols: DSO missing from command line + + nativeBuildInputs = [ + cmake + libsForQt5.wrapQtAppsHook + ]; + + buildInputs = [ + libGL + libGLU + ] ++ (with libsForQt5; [ + qtbase + ]); + # note: we should be able to unvendor a few libs (ftgl, quazip, qwt) but they aren't detected properly + + meta = { + description = "Visualization and discovery tool used to map neuroimaging data"; + homepage = "https://www.humanconnectome.org/software/connectome-workbench"; + license = with lib.licenses; [ gpl2Plus gpl3Plus mit ]; + changelog = "https://github.com/Washington-University/workbench/releases/tag/v${finalAttrs.version}"; + maintainers = with lib.maintainers; [ bcdarwin ]; + mainProgram = "wb_command"; + platforms = lib.platforms.linux; + }; +}) diff --git a/pkgs/by-name/go/goatcounter/package.nix b/pkgs/by-name/go/goatcounter/package.nix index 208581708837..83e05473ae60 100644 --- a/pkgs/by-name/go/goatcounter/package.nix +++ b/pkgs/by-name/go/goatcounter/package.nix @@ -1,8 +1,10 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, testers -, goatcounter +{ + lib, + buildGoModule, + fetchFromGitHub, + testers, + goatcounter, + nixosTests, }: buildGoModule rec { @@ -31,10 +33,13 @@ buildGoModule rec { "-X zgo.at/goatcounter/v2.Version=${src.rev}" ]; - passthru.tests.version = testers.testVersion { - package = goatcounter; - command = "goatcounter version"; - version = "v${version}"; + passthru.tests = { + moduleTest = nixosTests.goatcounter; + version = testers.testVersion { + package = goatcounter; + command = "goatcounter version"; + version = "v${version}"; + }; }; meta = { diff --git a/pkgs/by-name/go/gotree/package.nix b/pkgs/by-name/go/gotree/package.nix new file mode 100644 index 000000000000..b13dc4a0773b --- /dev/null +++ b/pkgs/by-name/go/gotree/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "gotree"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "elbachir-one"; + repo = "gt"; + rev = "v${version}"; + hash = "sha256-baK2pA+jVTeMy06jrn2VrQZUsMCf7wpX7gX8mnnDh3A="; + }; + + vendorHash = null; + + meta = { + description = "Display a tree of files and directories"; + homepage = "https://github.com/elbachir-one/gt"; + changelog = "https://github.com/elbachir-one/gt/releases/tag/v${version}"; + license = lib.licenses.bsd3; + mainProgram = "gt"; + maintainers = with lib.maintainers; [ schnow265 ]; + }; +} diff --git a/pkgs/by-name/he/hextazy/package.nix b/pkgs/by-name/he/hextazy/package.nix index d67f5cf25e66..a8f4b2ba55b9 100644 --- a/pkgs/by-name/he/hextazy/package.nix +++ b/pkgs/by-name/he/hextazy/package.nix @@ -7,21 +7,21 @@ rustPlatform.buildRustPackage rec { pname = "hextazy"; - version = "0.2"; + version = "0.4"; src = fetchFromGitHub { - owner = "faelian"; + owner = "0xfalafel"; repo = "hextazy"; rev = "${version}"; - hash = "sha256-e1uoKMejdTz8KH7uFkZ9YCE1WTwaxCZjcxh4g2ermNY="; + hash = "sha256-5ZT6oXG3dWJ8vPX0oieWQsYJQYCTwtlb1B8kmGlLv0k="; }; - cargoHash = "sha256-5Z+ptr1JmeiP4hK8k+M1d189I0X53/jRUEFwgWGK3xQ="; + cargoHash = "sha256-n1HvkWNbHU8UUlqsCnuKESKQznk1WTe6eQiUJjVVXYE="; meta = { description = "TUI hexeditor in Rust with colored bytes"; - homepage = "https://github.com/faelian/hextazy"; - changelog = "https://github.com/faelian/hextazy/releases/tags/${src.rev}"; + homepage = "https://github.com/0xfalafel/hextazy"; + changelog = "https://github.com/0xfalafel/hextazy/releases/tags/${src.rev}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ akechishiro ]; mainProgram = "hextazy"; diff --git a/pkgs/by-name/ka/karla/package.nix b/pkgs/by-name/ka/karla/package.nix new file mode 100644 index 000000000000..f73b2060f543 --- /dev/null +++ b/pkgs/by-name/ka/karla/package.nix @@ -0,0 +1,36 @@ +{ lib, stdenvNoCC, fetchFromGitHub }: + +stdenvNoCC.mkDerivation { + pname = "karla"; + version = "2.004"; + + src = fetchFromGitHub { + owner = "googlefonts"; + repo = "karla"; + rev = "69b25f663101efb4113dd7ed416c120dd2dce56a"; + hash = "sha256-9zf2gfhSn8Aly8a2CINsNXZPRfVcaxFE9In4Qqx3Fn4="; + }; + + installPhase = '' + runHook preInstall + + install -Dm444 -t $out/share/fonts/truetype fonts/ttf/*.ttf + install -Dm444 -t $out/share/fonts/variable fonts/variable/*.ttf + + runHook postInstall + ''; + + meta = { + description = "Outstanding grotesque sans serif typeface family"; + longDescription = '' + Karla is an outstanding grotesque sans serif typeface + family created by Jonathan Pinhorn (a graduate of the + MA in Typeface Design at the University of Reading), + released through Google Webfonts in 2012. + ''; + homepage = "https://github.com/googlefonts/karla"; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ mimvoid ]; + }; +} diff --git a/pkgs/by-name/ma/matrix-gtk-theme/package.nix b/pkgs/by-name/ma/matrix-gtk-theme/package.nix new file mode 100644 index 000000000000..77283781bcaa --- /dev/null +++ b/pkgs/by-name/ma/matrix-gtk-theme/package.nix @@ -0,0 +1,123 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, + gnome, + sassc, + gnome-themes-extra, + gtk-engine-murrine, + unstableGitUpdater, + colorVariants ? [ ], + sizeVariants ? [ ], + themeVariants ? [ ], + tweakVariants ? [ ], + iconVariants ? [ ], +}: + +let + pname = "matrix-gtk-theme"; + colorVariantList = [ + "dark" + "light" + ]; + sizeVariantList = [ + "compact" + "standard" + ]; + themeVariantList = [ + "default" + "green" + "grey" + "orange" + "pink" + "purple" + "red" + "teal" + "yellow" + "all" + ]; + tweakVariantList = [ + "neo" + "trinity" + "black" + "float" + "outline" + "macos" + ]; + iconVariantList = [ + "Dark" + "Light" + "Sweet" + ]; +in +lib.checkListOfEnum "${pname}: colorVariants" colorVariantList colorVariants lib.checkListOfEnum + "${pname}: sizeVariants" + sizeVariantList + sizeVariants + lib.checkListOfEnum + "${pname}: themeVariants" + themeVariantList + themeVariants + lib.checkListOfEnum + "${pname}: tweakVariants" + tweakVariantList + tweakVariants + lib.checkListOfEnum + "${pname}: iconVariants" + iconVariantList + iconVariants + + stdenvNoCC.mkDerivation + { + inherit pname; + version = "0-unstable-2024-07-22"; + + src = fetchFromGitHub { + owner = "D3vil0p3r"; + repo = "Matrix-GTK-Theme"; + rev = "f453093dffa0f46596b325c6a760afd6ea6cd810"; + hash = "sha256-DfM4nsJZvcNyUUn0opu3OM46sxhsjeeyuUuliQPrU0I="; + }; + + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; + + nativeBuildInputs = [ + gnome.gnome-shell + sassc + ]; + buildInputs = [ gnome-themes-extra ]; + + dontBuild = true; + + passthru.updateScript = unstableGitUpdater { }; + + postPatch = '' + patchShebangs themes/install.sh + ''; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/themes + cd themes + ./install.sh -n Matrix \ + ${lib.optionalString (colorVariants != [ ]) "-c " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "-s " + toString sizeVariants} \ + ${lib.optionalString (themeVariants != [ ]) "-t " + toString themeVariants} \ + ${lib.optionalString (tweakVariants != [ ]) "--tweaks " + toString tweakVariants} \ + -d "$out/share/themes" + cd ../icons + ${lib.optionalString (iconVariants != [ ]) '' + mkdir -p $out/share/icons + cp -a ${toString (map (v: "Matrix-${v}") iconVariants)} $out/share/icons/ + ''} + runHook postInstall + ''; + + meta = { + description = "GTK theme based on the Matrix colour palette"; + homepage = "https://github.com/D3vil0p3r/Matrix-GTK-Theme"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ d3vil0p3r ]; + platforms = lib.platforms.unix; + }; + } diff --git a/pkgs/by-name/me/melonDS/package.nix b/pkgs/by-name/me/melonDS/package.nix index ff1b20f151d1..65476444794d 100644 --- a/pkgs/by-name/me/melonDS/package.nix +++ b/pkgs/by-name/me/melonDS/package.nix @@ -25,13 +25,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "melonDS"; - version = "0.9.5-unstable-2024-07-14"; + version = "0.9.5-unstable-2024-07-21"; src = fetchFromGitHub { owner = "melonDS-emu"; repo = "melonDS"; - rev = "94ba7c159427c88b85806a4e099a44287681778c"; - hash = "sha256-l38RgDWtDi8cVn0LL57F9pAT2bNmZIj6eo+1E+IJ7Lw="; + rev = "837a58208711722e1762098c2a0244c2d8409864"; + hash = "sha256-SSW/+wLnZKlldVIBXMqDvXuwyK1LxcfON6ZTKLxY68U="; }; nativeBuildInputs = [ diff --git a/pkgs/desktops/cinnamon/muffin/fix-paths.patch b/pkgs/by-name/mu/muffin/fix-paths.patch similarity index 100% rename from pkgs/desktops/cinnamon/muffin/fix-paths.patch rename to pkgs/by-name/mu/muffin/fix-paths.patch diff --git a/pkgs/desktops/cinnamon/muffin/default.nix b/pkgs/by-name/mu/muffin/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/muffin/default.nix rename to pkgs/by-name/mu/muffin/package.nix diff --git a/pkgs/desktops/cinnamon/nemo-extensions/nemo-emblems/default.nix b/pkgs/by-name/ne/nemo-emblems/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/nemo-extensions/nemo-emblems/default.nix rename to pkgs/by-name/ne/nemo-emblems/package.nix diff --git a/pkgs/desktops/cinnamon/nemo-extensions/nemo-fileroller/default.nix b/pkgs/by-name/ne/nemo-fileroller/package.nix similarity index 82% rename from pkgs/desktops/cinnamon/nemo-extensions/nemo-fileroller/default.nix rename to pkgs/by-name/ne/nemo-fileroller/package.nix index 3f949c1fea5d..2a279c926fe2 100644 --- a/pkgs/desktops/cinnamon/nemo-extensions/nemo-fileroller/default.nix +++ b/pkgs/by-name/ne/nemo-fileroller/package.nix @@ -11,12 +11,16 @@ , cinnamon-translations }: -let - srcs = import ../srcs.nix { inherit fetchFromGitHub; }; -in stdenv.mkDerivation rec { pname = "nemo-fileroller"; - inherit (srcs) version src; + version = "6.2.0"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = "nemo-extensions"; + rev = version; + sha256 = "sha256-qghGgd+OWYiXvcGUfgiQT6rR4mJPAOfOtYB3lWLg4iA="; + }; sourceRoot = "${src.name}/nemo-fileroller"; diff --git a/pkgs/desktops/cinnamon/nemo-extensions/nemo-python/load-extensions-from-env.patch b/pkgs/by-name/ne/nemo-python/load-extensions-from-env.patch similarity index 100% rename from pkgs/desktops/cinnamon/nemo-extensions/nemo-python/load-extensions-from-env.patch rename to pkgs/by-name/ne/nemo-python/load-extensions-from-env.patch diff --git a/pkgs/desktops/cinnamon/nemo-extensions/nemo-python/default.nix b/pkgs/by-name/ne/nemo-python/package.nix similarity index 86% rename from pkgs/desktops/cinnamon/nemo-extensions/nemo-python/default.nix rename to pkgs/by-name/ne/nemo-python/package.nix index f2a872b71e96..867000c8d71d 100644 --- a/pkgs/desktops/cinnamon/nemo-extensions/nemo-python/default.nix +++ b/pkgs/by-name/ne/nemo-python/package.nix @@ -10,12 +10,16 @@ , python3 }: -let - srcs = import ../srcs.nix { inherit fetchFromGitHub; }; -in stdenv.mkDerivation rec { pname = "nemo-python"; - inherit (srcs) version src; + version = "6.2.0"; + + src = fetchFromGitHub { + owner = "linuxmint"; + repo = "nemo-extensions"; + rev = version; + sha256 = "sha256-qghGgd+OWYiXvcGUfgiQT6rR4mJPAOfOtYB3lWLg4iA="; + }; sourceRoot = "${src.name}/nemo-python"; diff --git a/pkgs/desktops/cinnamon/nemo-extensions/nemo-python/python-path.patch b/pkgs/by-name/ne/nemo-python/python-path.patch similarity index 100% rename from pkgs/desktops/cinnamon/nemo-extensions/nemo-python/python-path.patch rename to pkgs/by-name/ne/nemo-python/python-path.patch diff --git a/pkgs/desktops/cinnamon/nemo/wrapper.nix b/pkgs/by-name/ne/nemo-with-extensions/package.nix similarity index 94% rename from pkgs/desktops/cinnamon/nemo/wrapper.nix rename to pkgs/by-name/ne/nemo-with-extensions/package.nix index 2f7216251d20..2c97367695ee 100644 --- a/pkgs/desktops/cinnamon/nemo/wrapper.nix +++ b/pkgs/by-name/ne/nemo-with-extensions/package.nix @@ -51,5 +51,5 @@ symlinkJoin { done ''; - inherit (nemo) meta; + meta = builtins.removeAttrs nemo.meta [ "name" "outputsToInstall" "position" ]; } diff --git a/pkgs/desktops/cinnamon/nemo/load-extensions-from-env.patch b/pkgs/by-name/ne/nemo/load-extensions-from-env.patch similarity index 100% rename from pkgs/desktops/cinnamon/nemo/load-extensions-from-env.patch rename to pkgs/by-name/ne/nemo/load-extensions-from-env.patch diff --git a/pkgs/desktops/cinnamon/nemo/default.nix b/pkgs/by-name/ne/nemo/package.nix similarity index 100% rename from pkgs/desktops/cinnamon/nemo/default.nix rename to pkgs/by-name/ne/nemo/package.nix diff --git a/pkgs/by-name/ne/neovim-unwrapped/package.nix b/pkgs/by-name/ne/neovim-unwrapped/package.nix index bd25ac1c36f8..82150b9ba161 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/package.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/package.nix @@ -66,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: in { pname = "neovim-unwrapped"; - version = "0.10.0"; + version = "0.10.1"; __structuredAttrs = true; @@ -74,7 +74,7 @@ in { owner = "neovim"; repo = "neovim"; rev = "v${finalAttrs.version}"; - hash = "sha256-FCOipXHkAbkuFw9JjEpOIJ8BkyMkjkI0Dp+SzZ4yZlw="; + hash = "sha256-OsHIacgorYnB/dPbzl1b6rYUzQdhTtsJYLsFLJxregk="; }; patches = [ @@ -188,7 +188,7 @@ in { separateDebugInfo = true; - meta = with lib; { + meta = { description = "Vim text editor fork focused on extensibility and agility"; longDescription = '' Neovim is a project that seeks to aggressively refactor Vim in order to: @@ -205,8 +205,8 @@ in { # Contributions committed after b17d96 are licensed under Apache 2.0 unless # those contributions were copied from Vim (identified in the commit logs # by the vim-patch token). See LICENSE for details." - license = with licenses; [ asl20 vim ]; - maintainers = with maintainers; [ manveru rvolosatovs ]; - platforms = platforms.unix; + license = with lib.licenses; [ asl20 vim ]; + maintainers = with lib.maintainers; [ manveru rvolosatovs ]; + platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix b/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix index e4d4dd60e2eb..ddc8b61d4b3e 100644 --- a/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix +++ b/pkgs/by-name/ne/neovim-unwrapped/treesitter-parsers.nix @@ -2,8 +2,8 @@ { c.src = fetchurl { - url = "https://github.com/tree-sitter/tree-sitter-c/archive/v0.21.0.tar.gz"; - hash = "sha256:6f0f5d1b71cf8ffd8a37fb638c6022fa1245bd630150b538547d52128ce0ea7e"; + url = "https://github.com/tree-sitter/tree-sitter-c/archive/v0.21.3.tar.gz"; + hash = "sha256:75a3780df6114cd37496761c4a7c9fd900c78bee3a2707f590d78c0ca3a24368"; }; lua.src = fetchurl { url = "https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v0.1.0.tar.gz"; @@ -14,20 +14,12 @@ hash = "sha256:9f856f8b4a10ab43348550fa2d3cb2846ae3d8e60f45887200549c051c66f9d5"; }; vimdoc.src = fetchurl { - url = "https://github.com/neovim/tree-sitter-vimdoc/archive/v2.5.1.tar.gz"; - hash = "sha256:063645096504b21603585507c41c6d8718ff3c11b2150c5bfc31e8f3ee9afea3"; + url = "https://github.com/neovim/tree-sitter-vimdoc/archive/v3.0.0.tar.gz"; + hash = "sha256:a639bf92bf57bfa1cdc90ca16af27bfaf26a9779064776dd4be34c1ef1453f6c"; }; query.src = fetchurl { - url = "https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.3.0.tar.gz"; - hash = "sha256:f878ff37abcb83250e31a6569e997546f3dbab74dcb26683cb2d613f7568cfc0"; - }; - python.src = fetchurl { - url = "https://github.com/tree-sitter/tree-sitter-python/archive/v0.21.0.tar.gz"; - hash = "sha256:720304a603271fa89e4430a14d6a81a023d6d7d1171b1533e49c0ab44f1e1c13"; - }; - bash.src = fetchurl { - url = "https://github.com/tree-sitter/tree-sitter-bash/archive/v0.21.0.tar.gz"; - hash = "sha256:f0515efda839cfede851adb24ac154227fbc0dfb60c6c11595ecfa9087d43ceb"; + url = "https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.4.0.tar.gz"; + hash = "sha256:d3a423ab66dc62b2969625e280116678a8a22582b5ff087795222108db2f6a6e"; }; markdown.src = fetchurl { url = "https://github.com/MDeiml/tree-sitter-markdown/archive/v0.2.3.tar.gz"; diff --git a/pkgs/by-name/np/npkill/package.nix b/pkgs/by-name/np/npkill/package.nix new file mode 100644 index 000000000000..e62657a8931a --- /dev/null +++ b/pkgs/by-name/np/npkill/package.nix @@ -0,0 +1,32 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +, nix-update-script +}: + +buildNpmPackage rec { + pname = "npkill"; + version = "0.12.2"; + + src = fetchFromGitHub { + owner = "voidcosmos"; + repo = "npkill"; + rev = "v${version}"; + hash = "sha256-0pouc+5kl5bjaNYz81OD5FZppYXKdyMBRvEq/DedEV4="; + }; + + npmDepsHash = "sha256-3ggcr0KxWbO5mHRgtB5rzGYQvpDoiy9EyRS0O+9MJEI="; + + strictDeps = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Easily find and remove old and heavy node_modules folders"; + homepage = "https://npkill.js.org"; + changelog = "https://github.com/voidcosmos/npkill/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ averyanalex ]; + mainProgram = "npkill"; + }; +} diff --git a/pkgs/by-name/op/opengfw/package.nix b/pkgs/by-name/op/opengfw/package.nix new file mode 100644 index 000000000000..ad1b57dcad3a --- /dev/null +++ b/pkgs/by-name/op/opengfw/package.nix @@ -0,0 +1,37 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +let + pname = "opengfw"; + version = "0.4.0"; +in +buildGoModule { + inherit pname version; + CGO_ENABLED = 0; + vendorHash = "sha256-F8jTvgxOhOGVtl6B8u0xAIvjNwVjBtvAhApzjIgykpY="; + + src = fetchFromGitHub { + owner = "apernet"; + repo = "opengfw"; + rev = "refs/tags/v${version}"; + hash = "sha256-kmbG6l5CtZGM/zpvl2pukq5xsOIy28RDyb4sHBsoyOw="; + }; + + meta = { + mainProgram = "OpenGFW"; + description = "Flexible, easy-to-use, open source implementation of GFW on Linux"; + longDescription = '' + OpenGFW is your very own DIY Great Firewall of China, available as a flexible, + easy-to-use open source program on Linux. Why let the powers that be have all the fun? + It's time to give power to the people and democratize censorship. + Bring the thrill of cyber-sovereignty right into your home router + and start filtering like a pro - you too can play Big Brother. + ''; + homepage = "https://gfw.dev/"; + license = lib.licenses.mpl20; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ eum3l ]; + }; +} diff --git a/pkgs/by-name/os/oswald/package.nix b/pkgs/by-name/os/oswald/package.nix new file mode 100644 index 000000000000..13008e7b337b --- /dev/null +++ b/pkgs/by-name/os/oswald/package.nix @@ -0,0 +1,36 @@ +{ lib, stdenvNoCC, fetchFromGitHub }: + +stdenvNoCC.mkDerivation { + pname = "oswald"; + version = "4.103"; + + src = fetchFromGitHub { + owner = "googlefonts"; + repo = "OswaldFont"; + rev = "89795261ac9eeb9aa8cd99f43982c4e4b0e53261"; + hash = "sha256-yoUduWHuuKDQaJnQ+CgeMw1vp2lgn/OVPokSDzEU7yk="; + }; + + installPhase = '' + runHook preInstall + + install -Dm444 fonts/ttf/*.ttf -t $out/share/fonts/truetype + install -Dm444 fonts/variable/*.ttf -t $out/share/fonts/variable + + runHook postInstall + ''; + + meta = { + description = "Reworking of the classic gothic typeface style"; + longDescription = '' + Oswald is a reworking of the classic gothic typeface style + historically represented by designs such as 'Alternate Gothic'. + The characters of Oswald have been re-drawn and reformed to + better fit the pixel grid of standard digital screens. + ''; + homepage = "https://github.com/googlefonts/OswaldFont"; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ mimvoid ]; + }; +} diff --git a/pkgs/by-name/qt/qtractor/package.nix b/pkgs/by-name/qt/qtractor/package.nix index d92c1c5eca3f..c56c67996d56 100644 --- a/pkgs/by-name/qt/qtractor/package.nix +++ b/pkgs/by-name/qt/qtractor/package.nix @@ -78,7 +78,7 @@ stdenv.mkDerivation rec { in "https://github.com/rncbc/qtractor/blob/qtractor_${version'}/ChangeLog"; license = licenses.gpl2Plus; mainProgram = "qtractor"; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/by-name/ro/rockcraft/package.nix b/pkgs/by-name/ro/rockcraft/package.nix index 2443a887a321..48b95df85b52 100644 --- a/pkgs/by-name/ro/rockcraft/package.nix +++ b/pkgs/by-name/ro/rockcraft/package.nix @@ -1,13 +1,50 @@ { lib, - python3Packages, + python3, fetchFromGitHub, dpkg, nix-update-script, - python3, }: -python3Packages.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + craft-application = super.craft-application.overridePythonAttrs (old: rec { + version = "1.2.1"; + src = fetchFromGitHub { + owner = "canonical"; + repo = "craft-application"; + rev = "refs/tags/${version}"; + hash = "sha256-CXZEWVoE66dlQJp4G8tinufjyaDJaH1Muxz/qd/81oA="; + }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools==67.7.2" "setuptools" + ''; + preCheck = '' + export HOME=$(mktemp -d) + ''; + }); + pydantic-yaml = super.pydantic-yaml.overridePythonAttrs (old: rec { + version = "0.11.2"; + src = fetchFromGitHub { + owner = "NowanIlfideme"; + repo = "pydantic-yaml"; + rev = "refs/tags/v${version}"; + hash = "sha256-AeUyVav0/k4Fz69Qizn4hcJKoi/CDR9eUan/nJhWsDY="; + }; + dependencies = with self; [ + deprecated + importlib-metadata + pydantic_1 + ruamel-yaml + types-deprecated + ]; + }); + }; + }; +in +python.pkgs.buildPythonApplication rec { pname = "rockcraft"; version = "1.2.3"; @@ -26,20 +63,21 @@ python3Packages.buildPythonApplication rec { --replace-fail "distutils.util" "setuptools.dist" ''; - propagatedBuildInputs = with python3Packages; [ - craft-application-1 + build-system = with python.pkgs; [ setuptools-scm ]; + + dependencies = with python.pkgs; [ + craft-application craft-archives spdx-lookup ]; nativeCheckInputs = - with python3Packages; + with python.pkgs; [ pytest-check pytest-mock pytest-subprocess pytestCheckHook - setuptools ] ++ [ dpkg ]; diff --git a/pkgs/by-name/sn/snapcraft/package.nix b/pkgs/by-name/sn/snapcraft/package.nix index a79e272ecd64..396d81826841 100644 --- a/pkgs/by-name/sn/snapcraft/package.nix +++ b/pkgs/by-name/sn/snapcraft/package.nix @@ -5,26 +5,49 @@ lib, makeWrapper, nix-update-script, - python3Packages, + python3, squashfsTools, stdenv, }: -python3Packages.buildPythonApplication rec { + +let + python = python3.override { + packageOverrides = self: super: { + pydantic = self.pydantic_1; + pydantic-yaml = super.pydantic-yaml.overridePythonAttrs (old: rec { + version = "0.11.2"; + src = fetchFromGitHub { + owner = "NowanIlfideme"; + repo = "pydantic-yaml"; + rev = "refs/tags/v${version}"; + hash = "sha256-AeUyVav0/k4Fz69Qizn4hcJKoi/CDR9eUan/nJhWsDY="; + }; + dependencies = with self; [ + deprecated + importlib-metadata + pydantic_1 + ruamel-yaml + types-deprecated + ]; + }); + versioningit = super.versioningit.overridePythonAttrs (old: rec { + # incompatible with pydantic_1 + doCheck = false; + }); + }; + }; +in +python.pkgs.buildPythonApplication rec { pname = "snapcraft"; - version = "8.2.12"; + version = "8.3.1"; pyproject = true; - # Somewhere deep in the dependency tree is 'versioningit', which depends - # on pydantic 2. Snapcraft will soon migrate to pydantic 2, and disabling - # this doesn't seem to affect the functionality of the application. - catchConflicts = false; - src = fetchFromGitHub { owner = "canonical"; repo = "snapcraft"; rev = "refs/tags/${version}"; - hash = "sha256-1PwIbMweeYGi+jLfhFB3LYThqaN2VW7zdyzjD1m57ow="; + hash = "sha256-cdRlUY9hAJ8US93aiJymzsV27JVPY7lWCK7IUdjDmYE="; }; patches = [ @@ -68,13 +91,14 @@ python3Packages.buildPythonApplication rec { --replace-fail 'arch_linker_path = Path(arch_config.dynamic_linker)' \ 'return str(Path("${glibc}/lib/ld-linux-x86-64.so.2"))' - substituteInPlace snapcraft_legacy/internal/xattrs.py \ - --replace-fail 'distutils.util' 'setuptools.dist' + substituteInPlace pyproject.toml \ + --replace-fail '"pytest-cov>=4.0",' "" \ + --replace-fail "--cov=snapcraft" "" ''; - buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; - propagatedBuildInputs = with python3Packages; [ + dependencies = with python.pkgs; [ attrs catkin-pkg click @@ -93,27 +117,38 @@ python3Packages.buildPythonApplication rec { lxml macaroonbakery mypy-extensions + overrides + packaging progressbar pyelftools pygit2 pylxd + pymacaroons python-apt python-gnupg + pyxdg + pyyaml raven requests-toolbelt + requests-unixsocket simplejson snap-helpers tabulate + toml tinydb + typing-extensions + urllib3 + validators ]; - nativeBuildInputs = with python3Packages; [ setuptools ]; + build-system = with python.pkgs; [ setuptools ]; pythonRelaxDeps = [ "docutils" "jsonschema" "pygit2" "urllib3" + "validators" ]; postInstall = '' @@ -121,10 +156,9 @@ python3Packages.buildPythonApplication rec { ''; nativeCheckInputs = - with python3Packages; + with python.pkgs; [ pytest-check - pytest-cov pytest-mock pytest-subprocess pytestCheckHook @@ -148,6 +182,7 @@ python3Packages.buildPythonApplication rec { "test_classic_linter_filter" "test_classic_linter" "test_complex_snap_yaml" + "test_core24_try_command" "test_get_base_configuration_snap_channel" "test_get_base_configuration_snap_instance_name_default" "test_get_base_configuration_snap_instance_name_not_running_as_snap" diff --git a/pkgs/by-name/wa/warp-terminal/versions.json b/pkgs/by-name/wa/warp-terminal/versions.json index f8e8d51256b8..6181bb8a2cbe 100644 --- a/pkgs/by-name/wa/warp-terminal/versions.json +++ b/pkgs/by-name/wa/warp-terminal/versions.json @@ -1,10 +1,10 @@ { "darwin": { - "hash": "sha256-ku1zQLrRDCvw8RJueWQb8rFJneW943mcPUJ5QB4SXzg=", - "version": "0.2024.07.09.08.01.stable_00" + "hash": "sha256-SNSWXDOmZAjPv33ioDOHSEflC6BKTmVAcAvc/Bn4VwE=", + "version": "0.2024.07.16.08.02.stable_03" }, "linux": { - "hash": "sha256-EZrANAhkXukquQuCmfA/bIhQnJExE003WZuKU/axr98=", - "version": "0.2024.07.09.08.01.stable_00" + "hash": "sha256-rn97dcZ1XsQllzmQ9HbvLyvq5EsN42A5WHe1fVUjilY=", + "version": "0.2024.07.16.08.02.stable_03" } } diff --git a/pkgs/by-name/xv/xviewer/package.nix b/pkgs/by-name/xv/xviewer/package.nix index 5dd4fd007ee8..365988ede268 100644 --- a/pkgs/by-name/xv/xviewer/package.nix +++ b/pkgs/by-name/xv/xviewer/package.nix @@ -20,7 +20,7 @@ , pkg-config , python3 , wrapGAppsHook3 -, cinnamon +, cinnamon-desktop , yelp-tools , xapp }: @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - cinnamon.cinnamon-desktop + cinnamon-desktop exempi gdk-pixbuf glib diff --git a/pkgs/data/themes/arc/default.nix b/pkgs/data/themes/arc/default.nix index 2a737d677b0e..b3625858ec98 100644 --- a/pkgs/data/themes/arc/default.nix +++ b/pkgs/data/themes/arc/default.nix @@ -8,7 +8,7 @@ , gnome-themes-extra , gtk-engine-murrine , inkscape -, cinnamon +, cinnamon-common , makeFontsConf , python3 }: @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { mesonFlags = [ # "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity" # "-Dvariants=light,darker,dark,lighter" - "-Dcinnamon_version=${cinnamon.cinnamon-common.version}" + "-Dcinnamon_version=${cinnamon-common.version}" "-Dgnome_shell_version=${gnome.gnome-shell.version}" # You will need to patch gdm to make use of this. "-Dgnome_shell_gresource=true" diff --git a/pkgs/desktops/cinnamon/default.nix b/pkgs/desktops/cinnamon/default.nix index 3c1b27f911d6..08bbbe48ceb6 100644 --- a/pkgs/desktops/cinnamon/default.nix +++ b/pkgs/desktops/cinnamon/default.nix @@ -1,25 +1,23 @@ { config, pkgs, lib }: -lib.makeScope pkgs.newScope (self: with self; { - cinnamon-common = callPackage ./cinnamon-common { }; - cinnamon-control-center = callPackage ./cinnamon-control-center { }; - cinnamon-desktop = callPackage ./cinnamon-desktop { }; - cinnamon-gsettings-overrides = callPackage ./cinnamon-gsettings-overrides { }; - cinnamon-menus = callPackage ./cinnamon-menus { }; - cinnamon-translations = callPackage ./cinnamon-translations { }; - cinnamon-screensaver = callPackage ./cinnamon-screensaver { }; - cinnamon-session = callPackage ./cinnamon-session { }; - cinnamon-settings-daemon = callPackage ./cinnamon-settings-daemon { }; - cjs = callPackage ./cjs { }; - nemo = callPackage ./nemo { }; - nemo-emblems = callPackage ./nemo-extensions/nemo-emblems { }; - nemo-fileroller = callPackage ./nemo-extensions/nemo-fileroller { }; - nemo-python = callPackage ./nemo-extensions/nemo-python { }; - nemo-with-extensions = callPackage ./nemo/wrapper.nix { }; - muffin = callPackage ./muffin { }; -}) // lib.optionalAttrs config.allowAliases { +# The cinnamon scope is deprecated and no package additions should be done here. +# +# TODO (after 24.11 branch-off): Remove this scope entirely. +# TODO (after 25.05 branch-off): Rename pkgs.cinnamon-common to pkgs.cinnamon. + +lib.makeScope pkgs.newScope (self: { }) // lib.optionalAttrs config.allowAliases { # Aliases need to be outside the scope or they will shadow the attributes from parent scope. bulky = lib.warn "cinnamon.bulky was moved to top-level. Please use pkgs.bulky directly." pkgs.bulky; # Added on 2024-07-14 + cinnamon-common = lib.warn "cinnamon.cinnamon-common was moved to top-level. Please use pkgs.cinnamon-common directly." pkgs.cinnamon-common; # Added on 2024-07-22 + cinnamon-control-center = lib.warn "cinnamon.cinnamon-control-center was moved to top-level. Please use pkgs.cinnamon-control-center directly." pkgs.cinnamon-control-center; # Added on 2024-07-22 + cinnamon-desktop = lib.warn "cinnamon.cinnamon-desktop was moved to top-level. Please use pkgs.cinnamon-desktop directly." pkgs.cinnamon-desktop; # Added on 2024-07-22 + cinnamon-gsettings-overrides = lib.warn "cinnamon.cinnamon-gsettings-overrides was moved to top-level. Please use pkgs.cinnamon-gsettings-overrides directly." pkgs.cinnamon-gsettings-overrides; # Added on 2024-07-22 + cinnamon-menus = lib.warn "cinnamon.cinnamon-menus was moved to top-level. Please use pkgs.cinnamon-menus directly." pkgs.cinnamon-menus; # Added on 2024-07-22 + cinnamon-screensaver = lib.warn "cinnamon.cinnamon-screensaver was moved to top-level. Please use pkgs.cinnamon-screensaver directly." pkgs.cinnamon-screensaver; # Added on 2024-07-22 + cinnamon-session = lib.warn "cinnamon.cinnamon-session was moved to top-level. Please use pkgs.cinnamon-session directly." pkgs.cinnamon-session; # Added on 2024-07-22 + cinnamon-settings-daemon = lib.warn "cinnamon.cinnamon-settings-daemon was moved to top-level. Please use pkgs.cinnamon-settings-daemon directly." pkgs.cinnamon-settings-daemon; # Added on 2024-07-22 + cinnamon-translations = lib.warn "cinnamon.cinnamon-translations was moved to top-level. Please use pkgs.cinnamon-translations directly." pkgs.cinnamon-translations; # Added on 2024-07-22 + cjs = lib.warn "cinnamon.cjs was moved to top-level. Please use pkgs.cjs directly." pkgs.cjs; # Added on 2024-07-22 iso-flags-png-320x420 = lib.warn "cinnamon.iso-flags-png-320x420 was moved to top-level and renamed to pkgs.iso-flags-png-320x240." pkgs.iso-flags-png-320x240; # Added on 2024-07-14 iso-flags-svg = throw "cinnamon.iso-flags-svg was removed because this is not used in Cinnamon. You can directly obtain the images from \"\${pkgs.iso-flags.src}/svg\"."; # Added on 2024-07-14 folder-color-switcher = lib.warn "cinnamon.folder-color-switcher was moved to top-level. Please use pkgs.folder-color-switcher directly." pkgs.folder-color-switcher; # Added on 2024-07-14 @@ -30,7 +28,13 @@ lib.makeScope pkgs.newScope (self: with self; { mint-themes = lib.warn "cinnamon.mint-themes was moved to top-level. Please use pkgs.mint-themes directly." pkgs.mint-themes; # Added on 2024-07-14 mint-x-icons = lib.warn "cinnamon.mint-x-icons was moved to top-level. Please use pkgs.mint-x-icons directly." pkgs.mint-x-icons; # Added on 2024-07-14 mint-y-icons = lib.warn "cinnamon.mint-y-icons was moved to top-level. Please use pkgs.mint-y-icons directly." pkgs.mint-y-icons; # Added on 2024-07-14 - nemoExtensions = throw "cinnamon.nemoExtensions is no longer exposed. To modify list of selected nemo extensions please override cinnamon.nemo-with-extensions."; # Added on 2024-07-14 + muffin = lib.warn "cinnamon.muffin was moved to top-level. Please use pkgs.muffin directly." pkgs.muffin; # Added on 2024-07-22 + nemo = lib.warn "cinnamon.nemo was moved to top-level. Please use pkgs.nemo directly." pkgs.nemo; # Added on 2024-07-22 + nemo-emblems = lib.warn "cinnamon.nemo-emblems was moved to top-level. Please use pkgs.nemo-emblems directly." pkgs.nemo-emblems; # Added on 2024-07-22 + nemo-fileroller = lib.warn "cinnamon.nemo-fileroller was moved to top-level. Please use pkgs.nemo-fileroller directly." pkgs.nemo-fileroller; # Added on 2024-07-22 + nemo-python = lib.warn "cinnamon.nemo-python was moved to top-level. Please use pkgs.nemo-python directly." pkgs.nemo-python; # Added on 2024-07-22 + nemo-with-extensions = lib.warn "cinnamon.nemo-with-extensions was moved to top-level. Please use pkgs.nemo-with-extensions directly." pkgs.nemo-with-extensions; # Added on 2024-07-22 + nemoExtensions = throw "cinnamon.nemoExtensions is no longer exposed. To modify list of selected nemo extensions please override pkgs.nemo-with-extensions."; # Added on 2024-07-14 pix = lib.warn "cinnamon.pix was moved to top-level. Please use pkgs.pix directly." pkgs.pix; # Added on 2024-07-14 warpinator = lib.warn "cinnamon.warpinator was moved to top-level. Please use pkgs.warpinator directly." pkgs.warpinator; # Added on 2024-07-14 xapp = lib.warn "cinnamon.xapp was moved to top-level. Please use pkgs.xapp directly." pkgs.xapp; # Added on 2024-07-14 diff --git a/pkgs/desktops/cinnamon/nemo-extensions/srcs.nix b/pkgs/desktops/cinnamon/nemo-extensions/srcs.nix deleted file mode 100644 index 3629b84b4a59..000000000000 --- a/pkgs/desktops/cinnamon/nemo-extensions/srcs.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ fetchFromGitHub }: - -rec { - # When you bump this, you should make sure all nemo-extensions - # are actually using this file since we try to deal with tags - # like nemo-fileroller-5.6.1 according to upstream's wishes. - version = "6.2.0"; - - src = fetchFromGitHub { - owner = "linuxmint"; - repo = "nemo-extensions"; - rev = version; - sha256 = "sha256-qghGgd+OWYiXvcGUfgiQT6rR4mJPAOfOtYB3lWLg4iA="; - }; -} diff --git a/pkgs/development/libraries/aqbanking/default.nix b/pkgs/development/libraries/aqbanking/default.nix index 8d5b597d2661..2b9f1a5913fe 100644 --- a/pkgs/development/libraries/aqbanking/default.nix +++ b/pkgs/development/libraries/aqbanking/default.nix @@ -32,7 +32,7 @@ in stdenv.mkDerivation rec { homepage = "https://www.aquamaniac.de/rdm/"; hydraPlatforms = []; license = licenses.gpl2Plus; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/aqbanking/gwenhywfar.nix b/pkgs/development/libraries/aqbanking/gwenhywfar.nix index 4f2326b007a5..ff0e55a446db 100644 --- a/pkgs/development/libraries/aqbanking/gwenhywfar.nix +++ b/pkgs/development/libraries/aqbanking/gwenhywfar.nix @@ -63,7 +63,7 @@ in stdenv.mkDerivation rec { description = "OS abstraction functions used by aqbanking and related tools"; homepage = "https://www.aquamaniac.de/rdm/projects/gwenhywfar"; license = licenses.lgpl21Plus; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/aubio/default.nix b/pkgs/development/libraries/aubio/default.nix index a3e4a120e9ad..6aba488f2457 100644 --- a/pkgs/development/libraries/aubio/default.nix +++ b/pkgs/development/libraries/aubio/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { description = "Library for audio labelling"; homepage = "https://aubio.org/"; license = licenses.gpl2; - maintainers = with maintainers; [ goibhniu marcweber fpletz ]; + maintainers = with maintainers; [ marcweber fpletz ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/audio/libsmf/default.nix b/pkgs/development/libraries/audio/libsmf/default.nix index 064a167bfb77..c8d33508672e 100644 --- a/pkgs/development/libraries/audio/libsmf/default.nix +++ b/pkgs/development/libraries/audio/libsmf/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { description = "C library for reading and writing Standard MIDI Files"; homepage = "https://github.com/stump/libsmf"; license = licenses.bsd2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; mainProgram = "smfsh"; platforms = platforms.unix; }; diff --git a/pkgs/development/libraries/audio/lilv/default.nix b/pkgs/development/libraries/audio/lilv/default.nix index 4e8345287462..fdd50d8af937 100644 --- a/pkgs/development/libraries/audio/lilv/default.nix +++ b/pkgs/development/libraries/audio/lilv/default.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { homepage = "http://drobilla.net/software/lilv"; description = "C library to make the use of LV2 plugins"; license = licenses.mit; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/lv2/default.nix b/pkgs/development/libraries/audio/lv2/default.nix index d9952877d80d..8391c93cc594 100644 --- a/pkgs/development/libraries/audio/lv2/default.nix +++ b/pkgs/development/libraries/audio/lv2/default.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { description = "Plugin standard for audio systems"; mainProgram = "lv2_validate"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/lvtk/default.nix b/pkgs/development/libraries/audio/lvtk/default.nix index b340dafbc315..54c76e5bc60c 100644 --- a/pkgs/development/libraries/audio/lvtk/default.nix +++ b/pkgs/development/libraries/audio/lvtk/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { mainProgram = "ttl2c"; homepage = "https://lvtk.org/"; license = licenses.gpl3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/qm-dsp/default.nix b/pkgs/development/libraries/audio/qm-dsp/default.nix index 92024cd81fb8..06b08b7e0c92 100644 --- a/pkgs/development/libraries/audio/qm-dsp/default.nix +++ b/pkgs/development/libraries/audio/qm-dsp/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { description = "C++ library of functions for DSP and Music Informatics purposes"; homepage = "https://code.soundsoftware.ac.uk/projects/qm-dsp"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/raul/default.nix b/pkgs/development/libraries/audio/raul/default.nix index 0a246c708b57..19853fd885f9 100644 --- a/pkgs/development/libraries/audio/raul/default.nix +++ b/pkgs/development/libraries/audio/raul/default.nix @@ -28,10 +28,7 @@ stdenv.mkDerivation { description = "C++ utility library primarily aimed at audio/musical applications"; homepage = "http://drobilla.net/software/raul"; license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ - goibhniu - t4ccer - ]; + maintainers = with lib.maintainers; [ t4ccer ]; platforms = lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/sratom/default.nix b/pkgs/development/libraries/audio/sratom/default.nix index bd12fc9b4a32..8f793b359886 100644 --- a/pkgs/development/libraries/audio/sratom/default.nix +++ b/pkgs/development/libraries/audio/sratom/default.nix @@ -62,7 +62,7 @@ stdenv.mkDerivation rec { homepage = "https://drobilla.net/software/sratom"; description = "Library for serialising LV2 atoms to/from RDF"; license = licenses.mit; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/suil/default.nix b/pkgs/development/libraries/audio/suil/default.nix index df63737474eb..350adc8a4583 100644 --- a/pkgs/development/libraries/audio/suil/default.nix +++ b/pkgs/development/libraries/audio/suil/default.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation rec { homepage = "http://drobilla.net/software/suil"; description = "Lightweight C library for loading and wrapping LV2 plugin UIs"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix b/pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix index 6f64f869249c..a483f7023d04 100644 --- a/pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix +++ b/pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { description = "Audio processing plugin system for plugins that extract descriptive information from audio data"; homepage = "https://vamp-plugins.org/"; license = licenses.bsd3; - maintainers = [ maintainers.goibhniu maintainers.marcweber ]; + maintainers = [ maintainers.marcweber ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/dbus-cplusplus/default.nix b/pkgs/development/libraries/dbus-cplusplus/default.nix index 13776e891ce5..95dbdce239c7 100644 --- a/pkgs/development/libraries/dbus-cplusplus/default.nix +++ b/pkgs/development/libraries/dbus-cplusplus/default.nix @@ -64,6 +64,6 @@ stdenv.mkDerivation rec { description = "C++ API for D-BUS"; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/libraries/frei0r/default.nix b/pkgs/development/libraries/frei0r/default.nix index 3ee49325c3c3..d05d8ddd5f4a 100644 --- a/pkgs/development/libraries/frei0r/default.nix +++ b/pkgs/development/libraries/frei0r/default.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { homepage = "https://frei0r.dyne.org"; description = "Minimalist, cross-platform, shared video plugins"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux ++ platforms.darwin; }; } diff --git a/pkgs/development/libraries/ganv/default.nix b/pkgs/development/libraries/ganv/default.nix index e171ee03250b..4c477421a7fd 100644 --- a/pkgs/development/libraries/ganv/default.nix +++ b/pkgs/development/libraries/ganv/default.nix @@ -45,10 +45,7 @@ stdenv.mkDerivation { mainProgram = "ganv_bench"; homepage = "http://drobilla.net"; license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ - goibhniu - t4ccer - ]; + maintainers = with lib.maintainers; [ t4ccer ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix index 6b6640ddfb71..c26f6d3aa715 100644 --- a/pkgs/development/libraries/hunspell/dictionaries.nix +++ b/pkgs/development/libraries/hunspell/dictionaries.nix @@ -1021,4 +1021,15 @@ rec { platforms = platforms.all; }; }; + + /* GREEK */ + + el_GR = el-gr; + el-gr = mkDictFromLibreOffice { + shortName = "el-gr"; + dictFileName = "el_GR"; + shortDescription = "Greek (Greece)"; + readmeFile = "README_el_GR.txt"; + license = with lib.licenses; [ mpl11 gpl2 lgpl21 ]; + }; } diff --git a/pkgs/development/libraries/kissfft/default.nix b/pkgs/development/libraries/kissfft/default.nix index df2b9d5561f5..5156e1ccd898 100644 --- a/pkgs/development/libraries/kissfft/default.nix +++ b/pkgs/development/libraries/kissfft/default.nix @@ -79,7 +79,7 @@ stdenv.mkDerivation rec { description = "Mixed-radix Fast Fourier Transform based up on the KISS principle"; homepage = "https://github.com/mborgerding/kissfft"; license = licenses.bsd3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/libconfig/default.nix b/pkgs/development/libraries/libconfig/default.nix index c0f02320c779..049b0c8f4fb8 100644 --- a/pkgs/development/libraries/libconfig/default.nix +++ b/pkgs/development/libraries/libconfig/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { homepage = "http://www.hyperrealm.com/libconfig"; description = "Simple library for processing structured configuration files"; license = licenses.lgpl3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/libepoxy/default.nix b/pkgs/development/libraries/libepoxy/default.nix index 95c3959d9dfb..d95bf8d623cb 100644 --- a/pkgs/development/libraries/libepoxy/default.nix +++ b/pkgs/development/libraries/libepoxy/default.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Library for handling OpenGL function pointer management"; homepage = "https://github.com/anholt/libepoxy"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; pkgConfigModules = [ "epoxy" ]; }; diff --git a/pkgs/development/libraries/libfakekey/default.nix b/pkgs/development/libraries/libfakekey/default.nix index 3e568759c1bc..3e53273f37b8 100644 --- a/pkgs/development/libraries/libfakekey/default.nix +++ b/pkgs/development/libraries/libfakekey/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { description = "X virtual keyboard library"; homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libgig/default.nix b/pkgs/development/libraries/libgig/default.nix index fcc44025400c..aa710a916125 100644 --- a/pkgs/development/libraries/libgig/default.nix +++ b/pkgs/development/libraries/libgig/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { homepage = "http://www.linuxsampler.org"; description = "Gigasampler file access library"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/liblscp/default.nix b/pkgs/development/libraries/liblscp/default.nix index 993c090299bd..3364b89c2b7e 100644 --- a/pkgs/development/libraries/liblscp/default.nix +++ b/pkgs/development/libraries/liblscp/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { homepage = "http://www.linuxsampler.org"; description = "LinuxSampler Control Protocol (LSCP) wrapper library"; license = licenses.gpl2; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libmypaint/default.nix b/pkgs/development/libraries/libmypaint/default.nix index 655480f75a2f..2e9f4bc2b866 100644 --- a/pkgs/development/libraries/libmypaint/default.nix +++ b/pkgs/development/libraries/libmypaint/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { homepage = "http://mypaint.org/"; description = "Library for making brushstrokes which is used by MyPaint and other projects"; license = licenses.isc; - maintainers = with maintainers; [ goibhniu jtojnar ]; + maintainers = with maintainers; [ jtojnar ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/minixml/default.nix b/pkgs/development/libraries/minixml/default.nix index 4d06613f1de8..ebb0f2889738 100644 --- a/pkgs/development/libraries/minixml/default.nix +++ b/pkgs/development/libraries/minixml/default.nix @@ -23,6 +23,6 @@ stdenv.mkDerivation rec { homepage = "https://www.msweet.org/mxml/"; license = licenses.asl20; platforms = platforms.all; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/libraries/mlt/default.nix b/pkgs/development/libraries/mlt/default.nix index e70269bc8d28..26066ac044fb 100644 --- a/pkgs/development/libraries/mlt/default.nix +++ b/pkgs/development/libraries/mlt/default.nix @@ -140,7 +140,7 @@ stdenv.mkDerivation rec { description = "Open source multimedia framework, designed for television broadcasting"; homepage = "https://www.mltframework.org/"; license = with licenses; [ lgpl21Plus gpl2Plus ]; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/movit/default.nix b/pkgs/development/libraries/movit/default.nix index 4601e04f03c9..d2cd26f38bf6 100644 --- a/pkgs/development/libraries/movit/default.nix +++ b/pkgs/development/libraries/movit/default.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { description = "High-performance, high-quality video filters for the GPU"; homepage = "https://movit.sesse.net"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/opencolorio/1.x.nix b/pkgs/development/libraries/opencolorio/1.x.nix index 61ce9cff661a..63098028fc64 100644 --- a/pkgs/development/libraries/opencolorio/1.x.nix +++ b/pkgs/development/libraries/opencolorio/1.x.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { homepage = "https://opencolorio.org"; description = "Color management framework for visual effects and animation"; license = licenses.bsd3; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/openimageio/default.nix b/pkgs/development/libraries/openimageio/default.nix index 3d2dc9b8f0e7..c17948846407 100644 --- a/pkgs/development/libraries/openimageio/default.nix +++ b/pkgs/development/libraries/openimageio/default.nix @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { homepage = "https://openimageio.org"; description = "Library and tools for reading and writing images"; license = licenses.bsd3; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/robin-map/default.nix b/pkgs/development/libraries/robin-map/default.nix index 6a593ec070dc..d15bada3e813 100644 --- a/pkgs/development/libraries/robin-map/default.nix +++ b/pkgs/development/libraries/robin-map/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/Tessil/robin-map"; changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/rubberband/default.nix b/pkgs/development/libraries/rubberband/default.nix index 66b3dbbea3fb..861de40a5b55 100644 --- a/pkgs/development/libraries/rubberband/default.nix +++ b/pkgs/development/libraries/rubberband/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { homepage = "https://breakfastquay.com/rubberband/"; # commercial license available as well, see homepage. You'll get some more optimized routines license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu maintainers.marcweber ]; + maintainers = [ maintainers.marcweber ]; platforms = platforms.all; }; } diff --git a/pkgs/development/libraries/serd/default.nix b/pkgs/development/libraries/serd/default.nix index 707a77006acb..51e1f0264805 100644 --- a/pkgs/development/libraries/serd/default.nix +++ b/pkgs/development/libraries/serd/default.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation rec { description = "Lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples"; homepage = "https://drobilla.net/software/serd"; license = licenses.mit; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; mainProgram = "serdi"; platforms = platforms.unix; }; diff --git a/pkgs/development/libraries/sord/default.nix b/pkgs/development/libraries/sord/default.nix index b04e1fbbf001..f762fbc3931e 100644 --- a/pkgs/development/libraries/sord/default.nix +++ b/pkgs/development/libraries/sord/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { homepage = "http://drobilla.net/software/sord"; description = "Lightweight C library for storing RDF data in memory"; license = with licenses; [ bsd0 isc ]; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/xdg-desktop-portal-xapp/default.nix b/pkgs/development/libraries/xdg-desktop-portal-xapp/default.nix index d8659de53782..a6b1dc02beb2 100644 --- a/pkgs/development/libraries/xdg-desktop-portal-xapp/default.nix +++ b/pkgs/development/libraries/xdg-desktop-portal-xapp/default.nix @@ -5,7 +5,7 @@ , ninja , pkg-config , wrapGAppsHook3 -, cinnamon +, cinnamon-desktop , glib , gsettings-desktop-schemas , gtk3 @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - cinnamon.cinnamon-desktop # org.cinnamon.desktop.background + cinnamon-desktop # org.cinnamon.desktop.background glib gsettings-desktop-schemas # org.gnome.system.location gtk3 diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index 2f9dcd6ae291..4e256fb859a8 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -23,6 +23,13 @@ final: prev: { prePatch = '' export NG_CLI_ANALYTICS=false ''; + nativeBuildInputs = [ pkgs.installShellFiles ]; + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + for shell in bash zsh; do + installShellCompletion --cmd ng \ + --$shell <($out/bin/ng completion script) + done + ''; }; "@electron-forge/cli" = prev."@electron-forge/cli".override { diff --git a/pkgs/development/python-modules/bcg/default.nix b/pkgs/development/python-modules/bcg/default.nix index 1855e95eddba..f0bf00086818 100644 --- a/pkgs/development/python-modules/bcg/default.nix +++ b/pkgs/development/python-modules/bcg/default.nix @@ -2,9 +2,11 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, appdirs, click, click-log, + looseversion, paho-mqtt, pyaml, pyserial, @@ -23,6 +25,13 @@ buildPythonPackage rec { sha256 = "2Yh5MeIv+BIxjoO9GOPqq7xTAFhyBvnxPy7DeO2FrkI="; }; + patches = [ + (fetchpatch { # https://github.com/hardwario/bch-gateway/pull/19 + name = "bcg-fix-import-with-Python-3.12.patch"; + url = "https://github.com/hardwario/bch-gateway/pull/19/commits/1314c892992d8914802b6c42602c39f6a1418fca.patch"; + hash = "sha256-dNiBppXjPSMUe2yiiSc9gGbAc8l4mI41wWq+g7PkD/Y="; + }) + ]; postPatch = '' sed -ri 's/@@VERSION@@/${version}/g' \ bcg/__init__.py setup.py @@ -32,6 +41,7 @@ buildPythonPackage rec { appdirs click click-log + looseversion paho-mqtt pyaml pyserial diff --git a/pkgs/development/python-modules/craft-application-1/default.nix b/pkgs/development/python-modules/craft-application-1/default.nix deleted file mode 100644 index e47e502e09f2..000000000000 --- a/pkgs/development/python-modules/craft-application-1/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - nix-update-script, - craft-cli, - craft-parts, - craft-providers, - pydantic-yaml-0, - pyyaml, - setuptools, - setuptools-scm, - pytestCheckHook, - pytest-check, - pytest-mock, - hypothesis, -}: - -buildPythonPackage rec { - pname = "craft-application-1"; - version = "1.2.1"; - - pyproject = true; - - src = fetchFromGitHub { - owner = "canonical"; - repo = "craft-application"; - rev = "refs/tags/${version}"; - hash = "sha256-CXZEWVoE66dlQJp4G8tinufjyaDJaH1Muxz/qd/81oA="; - }; - - postPatch = '' - substituteInPlace craft_application/__init__.py \ - --replace-fail "dev" "${version}" - - substituteInPlace pyproject.toml \ - --replace-fail "setuptools==67.7.2" "setuptools" - ''; - - nativeBuildInputs = [ - setuptools - setuptools-scm - ]; - - propagatedBuildInputs = [ - craft-cli - craft-parts - craft-providers - pydantic-yaml-0 - pyyaml - ]; - - pythonImportsCheck = [ "craft_application" ]; - - nativeCheckInputs = [ - hypothesis - pytest-check - pytest-mock - pytestCheckHook - ]; - - preCheck = '' - export HOME=$(mktemp -d) - ''; - - pytestFlagsArray = [ "tests/unit" ]; - - disabledTests = [ "test_to_yaml_file" ]; - - passthru.updateScript = nix-update-script { }; - - meta = { - description = "Basis for Canonical craft applications"; - homepage = "https://github.com/canonical/craft-application"; - changelog = "https://github.com/canonical/craft-application/releases/tag/${version}"; - license = lib.licenses.lgpl3Only; - maintainers = with lib.maintainers; [ jnsgruk ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/development/python-modules/craft-application/default.nix b/pkgs/development/python-modules/craft-application/default.nix index 1d8f388f7881..0c1fcdeb1f30 100644 --- a/pkgs/development/python-modules/craft-application/default.nix +++ b/pkgs/development/python-modules/craft-application/default.nix @@ -11,7 +11,7 @@ git, hypothesis, nix-update-script, - pydantic-yaml-0, + pydantic-yaml, pyfakefs, pygit2, pytest-check, @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "craft-application"; - version = "2.8.0"; + version = "3.2.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -36,21 +36,17 @@ buildPythonPackage rec { owner = "canonical"; repo = "craft-application"; rev = "refs/tags/${version}"; - hash = "sha256-COcZgl2XzPWknSKMUZgZBEMzkDdwK2PouIEuWKOP8dc="; + hash = "sha256-2JfCe7FJtuObC/4miA+OC/ctGy1fhdgI7DsowNYjQk8="; }; postPatch = '' - substituteInPlace craft_application/__init__.py \ - --replace-fail "dev" "${version}" - substituteInPlace pyproject.toml \ - --replace-fail "setuptools==" "setuptools>=" + --replace-fail "setuptools==70.1.0" "setuptools" ''; - build-system = [ - setuptools - setuptools-scm - ]; + build-system = [ setuptools-scm ]; + + pythonRelaxDeps = [ "requests" ]; dependencies = [ craft-archives @@ -58,7 +54,7 @@ buildPythonPackage rec { craft-grammar craft-parts craft-providers - pydantic-yaml-0 + pydantic-yaml pygit2 pyyaml snap-helpers @@ -110,7 +106,7 @@ buildPythonPackage rec { meta = { description = "Basis for Canonical craft applications"; homepage = "https://github.com/canonical/craft-application"; - changelog = "https://github.com/canonical/craft-application/releases/tag/${version}"; + changelog = "https://github.com/canonical/craft-application/blob/${src.rev}/docs/reference/changelog.rst"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ jnsgruk ]; platforms = lib.platforms.linux; diff --git a/pkgs/development/python-modules/craft-cli/default.nix b/pkgs/development/python-modules/craft-cli/default.nix index d6900511af7a..193616f1583e 100644 --- a/pkgs/development/python-modules/craft-cli/default.nix +++ b/pkgs/development/python-modules/craft-cli/default.nix @@ -4,9 +4,7 @@ fetchFromGitHub, nix-update-script, platformdirs, - pydantic_1, pyyaml, - setuptools, setuptools-scm, pytest-check, pytest-mock, @@ -15,7 +13,7 @@ buildPythonPackage rec { pname = "craft-cli"; - version = "2.5.1"; + version = "2.6.0"; pyproject = true; @@ -23,25 +21,18 @@ buildPythonPackage rec { owner = "canonical"; repo = "craft-cli"; rev = "refs/tags/${version}"; - hash = "sha256-yEKF04OPu4paRrghAP78r9hu6cqkUy6z/V7cHNys82I="; + hash = "sha256-8+dyFOEW0F4t2issRlOqdbzf0Avg0NsADgk96mZFpEQ="; }; postPatch = '' - substituteInPlace craft_cli/__init__.py \ - --replace-fail "dev" "${version}" - substituteInPlace pyproject.toml \ - --replace-fail "setuptools==67.7.2" "setuptools" + --replace-fail "setuptools==70.1.0" "setuptools" ''; - nativeBuildInputs = [ - setuptools - setuptools-scm - ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ platformdirs - pydantic_1 pyyaml ]; diff --git a/pkgs/development/python-modules/craft-parts/default.nix b/pkgs/development/python-modules/craft-parts/default.nix index 3a137744d68f..bd0ae84ecd5d 100644 --- a/pkgs/development/python-modules/craft-parts/default.nix +++ b/pkgs/development/python-modules/craft-parts/default.nix @@ -5,12 +5,11 @@ nix-update-script, overrides, pydantic_1, - pydantic-yaml-0, + pydantic-yaml, pyxdg, pyyaml, requests, requests-unixsocket, - types-pyyaml, urllib3, pytestCheckHook, pytest-check, @@ -27,7 +26,7 @@ buildPythonPackage rec { pname = "craft-parts"; - version = "1.31.0"; + version = "1.33.0"; pyproject = true; @@ -35,31 +34,26 @@ buildPythonPackage rec { owner = "canonical"; repo = "craft-parts"; rev = "refs/tags/${version}"; - hash = "sha256-DohH81xhUfZI3NfmX6aDaOC/QLiddsxPzrc1vgFECTg="; + hash = "sha256-SP2mkaXsU0btnA3aanSA18GkdW6ReLgImOWdpnwZiyU="; }; patches = [ ./bash-path.patch ]; - postPatch = '' - substituteInPlace setup.py \ - --replace-fail "pydantic-yaml[pyyaml]>=0.11.0,<1.0.0" "pydantic-yaml[pyyaml]" \ - --replace-fail "urllib3<2" "urllib3" - ''; + build-system = [ setuptools-scm ]; - nativeBuildInputs = [ - setuptools - setuptools-scm + pythonRelaxDeps = [ + "requests" + "urllib3" ]; - propagatedBuildInputs = [ + dependencies = [ overrides pydantic_1 - pydantic-yaml-0 + pydantic-yaml pyxdg pyyaml requests requests-unixsocket - types-pyyaml urllib3 ]; @@ -112,6 +106,7 @@ buildPythonPackage rec { passthru.updateScript = nix-update-script { }; meta = { + broken = lib.versionAtLeast pydantic-yaml.version "1"; description = "Software artifact parts builder from Canonical"; homepage = "https://github.com/canonical/craft-parts"; changelog = "https://github.com/canonical/craft-parts/releases/tag/${version}"; diff --git a/pkgs/development/python-modules/cx-freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix index bc6ebb6820c8..854e75f08b56 100644 --- a/pkgs/development/python-modules/cx-freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -4,8 +4,9 @@ fetchPypi, pythonOlder, ncurses, - importlib-metadata, setuptools, + filelock, + typing-extensions, wheel, patchelf, }: @@ -23,22 +24,28 @@ buildPythonPackage rec { hash = "sha256-M1wwutDj5lNlXyMJkzCEWL7cmXuvW3qZXoZB3rousoc="; }; - nativeBuildInputs = [ + pythonRelaxDeps = [ + "setuptools" + "wheel" + ]; + + build-system = [ setuptools wheel ]; - propagatedBuildInputs = [ - importlib-metadata # upstream has this for 3.8 as well + buildInputs = [ ncurses + ]; + + dependencies = [ + filelock setuptools + ] ++ lib.optionals (pythonOlder "3.10") [ + typing-extensions ]; postPatch = '' - # timestamp need to come after 1980 for zipfiles and nix store is set to epoch - substituteInPlace cx_Freeze/freezer.py \ - --replace "st.st_mtime" "time.time()" - sed -i /patchelf/d pyproject.toml ''; diff --git a/pkgs/development/python-modules/dask-awkward/default.nix b/pkgs/development/python-modules/dask-awkward/default.nix index 09d4749c0978..959d83b96bcd 100644 --- a/pkgs/development/python-modules/dask-awkward/default.nix +++ b/pkgs/development/python-modules/dask-awkward/default.nix @@ -1,26 +1,34 @@ { lib, - awkward, buildPythonPackage, - cachetools, - dask, - dask-histogram, - distributed, + pythonOlder, fetchFromGitHub, + + # build-system hatch-vcs, hatchling, + + # dependencies + awkward, + cachetools, + dask, + typing-extensions, + + # optional-dependencies + pyarrow, + + # checks + dask-histogram, + distributed, hist, pandas, - pyarrow, pytestCheckHook, - pythonOlder, - typing-extensions, uproot, }: buildPythonPackage rec { pname = "dask-awkward"; - version = "2024.6.0"; + version = "2024.7.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -29,7 +37,7 @@ buildPythonPackage rec { owner = "dask-contrib"; repo = "dask-awkward"; rev = "refs/tags/${version}"; - hash = "sha256-m/KvPo4IGn19sA5RcA/+OhLMCDBU+9BbMQtK3gHOoEc="; + hash = "sha256-xy3rq/gXQUtquvyWSCcBjZ+gUYT3RzxMgXThyT6Fwec="; }; pythonRelaxDeps = [ "awkward" ]; @@ -46,7 +54,7 @@ buildPythonPackage rec { typing-extensions ]; - passthru.optional-dependencies = { + optional-dependencies = { io = [ pyarrow ]; }; @@ -57,7 +65,7 @@ buildPythonPackage rec { pandas pytestCheckHook uproot - ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); + ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "dask_awkward" ]; diff --git a/pkgs/development/python-modules/evdev/default.nix b/pkgs/development/python-modules/evdev/default.nix index bf3eee9692f1..5cb92f9c6615 100644 --- a/pkgs/development/python-modules/evdev/default.nix +++ b/pkgs/development/python-modules/evdev/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { homepage = "https://python-evdev.readthedocs.io/"; changelog = "https://github.com/gvalkov/python-evdev/blob/v${version}/docs/changelog.rst"; license = licenses.bsd3; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/development/python-modules/launchpadlib/default.nix b/pkgs/development/python-modules/launchpadlib/default.nix index d9a6b3b1bd56..da58622e2684 100644 --- a/pkgs/development/python-modules/launchpadlib/default.nix +++ b/pkgs/development/python-modules/launchpadlib/default.nix @@ -2,47 +2,43 @@ lib, buildPythonPackage, fetchPypi, - isPy3k, httplib2, - keyring_24, lazr-restfulclient, lazr-uri, setuptools, six, testresources, - wadllib, pytestCheckHook, }: buildPythonPackage rec { pname = "launchpadlib"; - version = "1.11.0"; - format = "pyproject"; + version = "2.0.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-AYmMk3R3sMZKdTOK2wl3Ao1zRqigGesCPPaP7ZmFAUY="; + hash = "sha256-XUqQlekXc6dWXUwVlZSuMOynkv1fm4ne1FnXEUhKlss="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ httplib2 - keyring_24 lazr-restfulclient lazr-uri - setuptools six - testresources - wadllib ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + testresources + ]; preCheck = '' export HOME=$TMPDIR ''; - doCheck = isPy3k; - pythonImportsCheck = [ "launchpadlib" "launchpadlib.apps" diff --git a/pkgs/development/python-modules/limnoria/default.nix b/pkgs/development/python-modules/limnoria/default.nix index f8384033690f..edc94e07471c 100644 --- a/pkgs/development/python-modules/limnoria/default.nix +++ b/pkgs/development/python-modules/limnoria/default.nix @@ -59,6 +59,6 @@ buildPythonPackage rec { description = "Modified version of Supybot, an IRC bot"; homepage = "https://github.com/ProgVal/Limnoria"; license = licenses.bsd3; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/monty/default.nix b/pkgs/development/python-modules/monty/default.nix index 520f266f3c96..cb38fda0ce22 100644 --- a/pkgs/development/python-modules/monty/default.nix +++ b/pkgs/development/python-modules/monty/default.nix @@ -63,6 +63,8 @@ buildPythonPackage rec { "test_Path_objects" "test_zopen" "test_zpath" + # flaky, precision/rounding error + "TestJson.test_datetime" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/pathtools/default.nix b/pkgs/development/python-modules/pathtools/default.nix index a3c42d4738fc..b34a24ea6f4b 100644 --- a/pkgs/development/python-modules/pathtools/default.nix +++ b/pkgs/development/python-modules/pathtools/default.nix @@ -22,6 +22,6 @@ buildPythonPackage rec { description = "Pattern matching and various utilities for file systems paths"; homepage = "https://github.com/gorakhargosh/pathtools"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/pillow/default.nix b/pkgs/development/python-modules/pillow/default.nix index 420ed7bf53a6..87e982491fe8 100644 --- a/pkgs/development/python-modules/pillow/default.nix +++ b/pkgs/development/python-modules/pillow/default.nix @@ -67,10 +67,7 @@ import ./generic.nix ( processing and graphics capabilities. ''; license = licenses.hpnd; - maintainers = with maintainers; [ - goibhniu - prikhi - ]; + maintainers = with maintainers; [ prikhi ]; }; } // args diff --git a/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix b/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix new file mode 100644 index 000000000000..9ec29ff80bca --- /dev/null +++ b/pkgs/development/python-modules/prometheus-fastapi-instrumentator/default.nix @@ -0,0 +1,56 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, pytestCheckHook +, devtools +, fastapi +, httpx +, poetry-core +, prometheus-client +, requests +, starlette +}: + +buildPythonPackage rec { + pname = "prometheus-fastapi-instrumentator"; + version = "7.0.0"; + pyproject = true; + + disabled = pythonOlder "3.9"; + + src = fetchFromGitHub { + owner = "trallnag"; + repo = "prometheus-fastapi-instrumentator"; + rev = "refs/tags/v${version}"; + hash = "sha256-yvKdhQdbY0+jEc8TEHNNgtdnqE0abnd4MN/JZFQwQ2E="; + }; + + build-system = [ + poetry-core + ]; + + dependencies = [ + prometheus-client + starlette + ]; + + nativeCheckInputs = [ + devtools + fastapi + httpx + pytestCheckHook + requests + ]; + + pythonImportsCheck = [ "prometheus_fastapi_instrumentator" ]; + + meta = { + description = "Instrument FastAPI with Prometheus metrics"; + homepage = "https://github.com/trallnag/prometheus-fastapi-instrumentator"; + changelog = "https://github.com/trallnag/prometheus-fastapi-instrumentator/blob/${src.rev}/CHANGELOG.md"; + license = with lib.licenses; [ isc bsd3 ]; + maintainers = with lib.maintainers; [ bcdarwin ]; + platforms = lib.platforms.linux; # numerous test failures on Darwin + }; +} diff --git a/pkgs/development/python-modules/pydantic-yaml-0/default.nix b/pkgs/development/python-modules/pydantic-yaml/default.nix similarity index 71% rename from pkgs/development/python-modules/pydantic-yaml-0/default.nix rename to pkgs/development/python-modules/pydantic-yaml/default.nix index d225d0e07150..50f14837476a 100644 --- a/pkgs/development/python-modules/pydantic-yaml-0/default.nix +++ b/pkgs/development/python-modules/pydantic-yaml/default.nix @@ -2,22 +2,18 @@ lib, buildPythonPackage, fetchFromGitHub, - deprecated, importlib-metadata, - pydantic_1, + pydantic, ruamel-yaml, - semver, - types-deprecated, - setuptools, + typing-extensions, setuptools-scm, pytest-mock, pytestCheckHook, }: buildPythonPackage rec { - pname = "pydantic_yaml-0"; - # nixpkgs-update: no auto update - version = "0.11.2"; + pname = "pydantic-yaml"; + version = "1.3.0"; pyproject = true; @@ -25,7 +21,7 @@ buildPythonPackage rec { owner = "NowanIlfideme"; repo = "pydantic-yaml"; rev = "refs/tags/v${version}"; - hash = "sha256-AeUyVav0/k4Fz69Qizn4hcJKoi/CDR9eUan/nJhWsDY="; + hash = "sha256-Kv1nLR91iwShmCgduXA07+a+2EP1nnvaC7fBAn/ufEM="; }; postPatch = '' @@ -33,18 +29,13 @@ buildPythonPackage rec { --replace-fail "0.0.0" "${version}" ''; - nativeBuildInputs = [ - setuptools - setuptools-scm - ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ - deprecated + dependencies = [ importlib-metadata - pydantic_1 + pydantic ruamel-yaml - semver - types-deprecated + typing-extensions ]; pythonImportsCheck = [ "pydantic_yaml" ]; diff --git a/pkgs/development/python-modules/pymatgen/default.nix b/pkgs/development/python-modules/pymatgen/default.nix index 9ae4b3ed5e3d..9dbe207603e3 100644 --- a/pkgs/development/python-modules/pymatgen/default.nix +++ b/pkgs/development/python-modules/pymatgen/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pname = "pymatgen"; - version = "2024.6.10"; + version = "2024.7.18"; pyproject = true; disabled = pythonOlder "3.8"; @@ -41,7 +41,7 @@ buildPythonPackage rec { owner = "materialsproject"; repo = "pymatgen"; rev = "refs/tags/v${version}"; - hash = "sha256-BV3zwb74ZnwTWUgKt5K6lZLASdO6/UQ8Ke3gBsLhy2M="; + hash = "sha256-LL3cZO3LkmBuGGcO7dhO2Wtgqx9nxLureFpC8EqvS3M"; }; build-system = [ setuptools ]; @@ -82,8 +82,6 @@ buildPythonPackage rec { ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); preCheck = '' - # hide from tests - mv pymatgen _pymatgen # ensure tests can find these export PMG_TEST_FILES_DIR="$(realpath ./tests/files)" # some tests cover the command-line scripts diff --git a/pkgs/development/python-modules/python-apt/default.nix b/pkgs/development/python-modules/python-apt/default.nix index 5d5a703a1afc..2bf53c80cfc2 100644 --- a/pkgs/development/python-modules/python-apt/default.nix +++ b/pkgs/development/python-modules/python-apt/default.nix @@ -2,33 +2,37 @@ lib, apt, buildPythonPackage, - fetchgit, + fetchFromGitLab, + python, setuptools, }: buildPythonPackage rec { pname = "apt"; - version = "2.7.6"; + version = "2.8.0"; pyproject = true; - src = fetchgit { - url = "https://git.launchpad.net/python-apt"; + src = fetchFromGitLab { + domain = "salsa.debian.org"; + owner = "apt-team"; + repo = "python-apt"; rev = "refs/tags/${version}"; - hash = "sha256-1jTe8ncMKV78+cfSZ6p6qdjxs0plZLB4VwVtPLtDlAc="; + hash = "sha256-7l7rgyJ28iQuL6ShF/KYwL/kAXpLPTqnUIavVxNF+wU="; }; buildInputs = [ apt.dev ]; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; # Ensure the version is set properly without trying to invoke # dpkg-parsechangelog - env.DEBVER = "${version}"; + env.DEBVER = version; pythonImportsCheck = [ "apt_pkg" ]; meta = { + changelog = "https://salsa.debian.org/apt-team/python-apt/-/blob/${version}/debian/changelog"; description = "Python bindings for APT"; homepage = "https://launchpad.net/python-apt"; license = lib.licenses.gpl2; diff --git a/pkgs/development/python-modules/rope/default.nix b/pkgs/development/python-modules/rope/default.nix index 9379f13f7ee3..d3a1408149f7 100644 --- a/pkgs/development/python-modules/rope/default.nix +++ b/pkgs/development/python-modules/rope/default.nix @@ -45,6 +45,6 @@ buildPythonPackage rec { homepage = "https://github.com/python-rope/rope"; changelog = "https://github.com/python-rope/rope/blob/${version}/CHANGELOG.md"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/skytemple-files/default.nix b/pkgs/development/python-modules/skytemple-files/default.nix index 01627db3b9ed..8d1087f4ab83 100644 --- a/pkgs/development/python-modules/skytemple-files/default.nix +++ b/pkgs/development/python-modules/skytemple-files/default.nix @@ -47,7 +47,7 @@ buildPythonPackage rec { (fetchpatch2 { name = "fix-tests.patch"; url = "https://github.com/SkyTemple/skytemple-files/commit/854e5514e6c63ba082618d14643e3a4b30a6c2b2.patch"; - hash = "sha256-dZM9n332IMiZIp3QL0Z+yJrIW1SJsqpjh7i3VRFFf7w="; + hash = "sha256-oTV2EQQ2OPgu2pYB2fLd4jODfybnV29YNLxzDs2v6Cg="; }) ]; diff --git a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix index cb41b71dc4a0..19365d837ff2 100644 --- a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "snakemake-interface-executor-plugins"; - version = "9.1.1"; + version = "9.2.0"; format = "pyproject"; src = fetchFromGitHub { owner = "snakemake"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-jANSGNdWmc6ERClLR/pExoboyz8gUL2FW3W7kDQDOQo="; + hash = "sha256-WMbJP17YnDzFVcr6YepT5Ltw+Jo6PPn7ayIrjx2k+go="; }; nativeBuildInputs = [ poetry-core ]; diff --git a/pkgs/development/python-modules/spdx-lookup/default.nix b/pkgs/development/python-modules/spdx-lookup/default.nix index 5da39999ace3..420ce4c68976 100644 --- a/pkgs/development/python-modules/spdx-lookup/default.nix +++ b/pkgs/development/python-modules/spdx-lookup/default.nix @@ -3,12 +3,14 @@ fetchFromGitHub, buildPythonPackage, nix-update-script, + setuptools, spdx, }: buildPythonPackage rec { pname = "spdx-lookup"; version = "0.3.2"; + pyproject = true; src = fetchFromGitHub { owner = "bbqsrc"; @@ -17,10 +19,15 @@ buildPythonPackage rec { hash = "sha256-jtzhqRAj1BWdU8AuR7Gr343mL5alLXhi+SyCkCI5AAU="; }; - propagatedBuildInputs = [ spdx ]; + build-system = [ setuptools ]; + + dependencies = [ spdx ]; pythonImportsCheck = [ "spdx_lookup" ]; + # upstream has no tests + doCheck = false; + passthru.updateScript = nix-update-script { }; meta = { diff --git a/pkgs/development/python-modules/spdx/default.nix b/pkgs/development/python-modules/spdx/default.nix index 0f8b434c2b74..a99ee507936b 100644 --- a/pkgs/development/python-modules/spdx/default.nix +++ b/pkgs/development/python-modules/spdx/default.nix @@ -3,11 +3,13 @@ fetchFromGitHub, buildPythonPackage, nix-update-script, + setuptools, }: buildPythonPackage rec { pname = "spdx"; version = "2.5"; + pyproject = true; src = fetchFromGitHub { owner = "bbqsrc"; @@ -16,8 +18,13 @@ buildPythonPackage rec { hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0="; }; + build-system = [ setuptools ]; + pythonImportsCheck = [ "spdx" ]; + # upstream has no tests + doCheck = false; + passthru.updateScript = nix-update-script { }; meta = { diff --git a/pkgs/development/python-modules/spglib/default.nix b/pkgs/development/python-modules/spglib/default.nix index 300402b93107..bebf413b2b58 100644 --- a/pkgs/development/python-modules/spglib/default.nix +++ b/pkgs/development/python-modules/spglib/default.nix @@ -21,12 +21,12 @@ buildPythonPackage rec { pname = "spglib"; - version = "2.4.0"; + version = "2.5.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-bmP57mG3DxU6ItO1ULGD2lMfiQR1kX/OIDutRZeqwkM="; + hash = "sha256-+LtjiJe+kbnb1MCF2f3h9pBI9ZSeIPODLLlDjldBjUs="; }; nativeBuildInputs = [ @@ -40,6 +40,12 @@ buildPythonPackage rec { dontUseCmakeConfigure = true; + postPatch = '' + # relax v2 constrain in [build-system] intended for binary backward compat + substituteInPlace pyproject.toml \ + --replace-fail "numpy~=2.0" "numpy" + ''; + propagatedBuildInputs = [ numpy ]; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/svg-path/default.nix b/pkgs/development/python-modules/svg-path/default.nix index a3eb4b8f09fd..9f9cca8b929d 100644 --- a/pkgs/development/python-modules/svg-path/default.nix +++ b/pkgs/development/python-modules/svg-path/default.nix @@ -35,6 +35,6 @@ buildPythonPackage rec { description = "SVG path objects and parser"; homepage = "https://github.com/regebro/svg.path"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix index 75e9d40e860d..331164405bf9 100644 --- a/pkgs/development/python-modules/virtualenv/default.nix +++ b/pkgs/development/python-modules/virtualenv/default.nix @@ -88,6 +88,6 @@ buildPythonPackage rec { homepage = "http://www.virtualenv.org"; changelog = "https://github.com/pypa/virtualenv/blob/${version}/docs/changelog.rst"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/volkswagencarnet/default.nix b/pkgs/development/python-modules/volkswagencarnet/default.nix new file mode 100644 index 000000000000..9335402ea3f9 --- /dev/null +++ b/pkgs/development/python-modules/volkswagencarnet/default.nix @@ -0,0 +1,55 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools-scm, + aiohttp, + beautifulsoup4, + lxml, + pyjwt, + freezegun, + pytest-asyncio, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "volkswagencarnet"; + version = "5.0.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "robinostlund"; + repo = "volkswagencarnet"; + rev = "refs/tags/v${version}"; + hash = "sha256-NpfkhFGxd3VjLjQ8pPpamYgwc5zqWt5CojONe4L1s4s="; + }; + + postPatch = '' + substituteInPlace tests/conftest.py \ + --replace-fail 'pytest_plugins = ["pytest_cov"]' 'pytest_plugins = []' + ''; + + build-system = [ setuptools-scm ]; + + dependencies = [ + aiohttp + beautifulsoup4 + lxml + pyjwt + ]; + + pythonImportsCheck = [ "volkswagencarnet" ]; + + nativeCheckInputs = [ + freezegun + pytest-asyncio + pytestCheckHook + ]; + + meta = { + description = "A python library for volkswagen carnet"; + homepage = "https://github.com/robinostlund/volkswagencarnet"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/watchdog/default.nix b/pkgs/development/python-modules/watchdog/default.nix index def2bdf1c880..4e83fb026425 100644 --- a/pkgs/development/python-modules/watchdog/default.nix +++ b/pkgs/development/python-modules/watchdog/default.nix @@ -104,6 +104,6 @@ buildPythonPackage rec { homepage = "https://github.com/gorakhargosh/watchdog"; changelog = "https://github.com/gorakhargosh/watchdog/blob/v${version}/changelog.rst"; license = licenses.asl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zbaemon/default.nix b/pkgs/development/python-modules/zbaemon/default.nix index 7cbcc563280e..ee859b099d94 100644 --- a/pkgs/development/python-modules/zbaemon/default.nix +++ b/pkgs/development/python-modules/zbaemon/default.nix @@ -23,6 +23,6 @@ buildPythonPackage rec { description = "Daemon process control library and tools for Unix-based systems"; homepage = "https://pypi.python.org/pypi/zdaemon"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zc-lockfile/default.nix b/pkgs/development/python-modules/zc-lockfile/default.nix index 8cfd30c2e710..2d7c5dc0c87e 100644 --- a/pkgs/development/python-modules/zc-lockfile/default.nix +++ b/pkgs/development/python-modules/zc-lockfile/default.nix @@ -23,6 +23,6 @@ buildPythonPackage rec { description = "Inter-process locks"; homepage = "https://www.python.org/pypi/zc.lockfile"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zconfig/default.nix b/pkgs/development/python-modules/zconfig/default.nix index ee8eb919c3eb..d31124a9ac1e 100644 --- a/pkgs/development/python-modules/zconfig/default.nix +++ b/pkgs/development/python-modules/zconfig/default.nix @@ -49,6 +49,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/ZConfig"; changelog = "https://github.com/zopefoundation/ZConfig/blob/${version}/CHANGES.rst"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zdaemon/default.nix b/pkgs/development/python-modules/zdaemon/default.nix index a66424b06ba0..794801284b34 100644 --- a/pkgs/development/python-modules/zdaemon/default.nix +++ b/pkgs/development/python-modules/zdaemon/default.nix @@ -31,6 +31,6 @@ buildPythonPackage rec { homepage = "https://pypi.python.org/pypi/zdaemon"; changelog = "https://github.com/zopefoundation/zdaemon/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zodb/default.nix b/pkgs/development/python-modules/zodb/default.nix index d14b0e1565cd..704bbabebfc0 100644 --- a/pkgs/development/python-modules/zodb/default.nix +++ b/pkgs/development/python-modules/zodb/default.nix @@ -55,6 +55,6 @@ buildPythonPackage rec { homepage = "https://zodb-docs.readthedocs.io/"; changelog = "https://github.com/zopefoundation/ZODB/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-component/default.nix b/pkgs/development/python-modules/zope-component/default.nix index ffe2dc672cb7..db6a96e7fd62 100644 --- a/pkgs/development/python-modules/zope-component/default.nix +++ b/pkgs/development/python-modules/zope-component/default.nix @@ -42,6 +42,6 @@ buildPythonPackage rec { description = "Zope Component Architecture"; changelog = "https://github.com/zopefoundation/zope.component/blob/${version}/CHANGES.rst"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-configuration/default.nix b/pkgs/development/python-modules/zope-configuration/default.nix index 1717a45e7143..c658412f6b3d 100644 --- a/pkgs/development/python-modules/zope-configuration/default.nix +++ b/pkgs/development/python-modules/zope-configuration/default.nix @@ -53,6 +53,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/zope.configuration"; changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-contenttype/default.nix b/pkgs/development/python-modules/zope-contenttype/default.nix index d37de16fad17..3d70c4dc6788 100644 --- a/pkgs/development/python-modules/zope-contenttype/default.nix +++ b/pkgs/development/python-modules/zope-contenttype/default.nix @@ -35,6 +35,6 @@ buildPythonPackage rec { description = "Utility module for content-type (MIME type) handling"; changelog = "https://github.com/zopefoundation/zope.contenttype/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-dottedname/default.nix b/pkgs/development/python-modules/zope-dottedname/default.nix index 44b1749d791f..ed3dbab8d016 100644 --- a/pkgs/development/python-modules/zope-dottedname/default.nix +++ b/pkgs/development/python-modules/zope-dottedname/default.nix @@ -35,6 +35,6 @@ buildPythonPackage rec { description = "Resolver for Python dotted names"; changelog = "https://github.com/zopefoundation/zope.dottedname/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-event/default.nix b/pkgs/development/python-modules/zope-event/default.nix index 95a3a7f18275..805fc285e0a0 100644 --- a/pkgs/development/python-modules/zope-event/default.nix +++ b/pkgs/development/python-modules/zope-event/default.nix @@ -17,6 +17,6 @@ buildPythonPackage rec { description = "Event publishing system"; homepage = "https://pypi.org/project/zope.event/"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-exceptions/default.nix b/pkgs/development/python-modules/zope-exceptions/default.nix index 835fa247410e..186112d1138d 100644 --- a/pkgs/development/python-modules/zope-exceptions/default.nix +++ b/pkgs/development/python-modules/zope-exceptions/default.nix @@ -34,6 +34,6 @@ buildPythonPackage rec { homepage = "https://pypi.python.org/pypi/zope.exceptions"; changelog = "https://github.com/zopefoundation/zope.exceptions/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-filerepresentation/default.nix b/pkgs/development/python-modules/zope-filerepresentation/default.nix index b9f394f03d2f..347b634831f4 100644 --- a/pkgs/development/python-modules/zope-filerepresentation/default.nix +++ b/pkgs/development/python-modules/zope-filerepresentation/default.nix @@ -28,6 +28,6 @@ buildPythonPackage rec { homepage = "https://zopefilerepresentation.readthedocs.io/"; description = "File-system Representation Interfaces"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-i18nmessageid/default.nix b/pkgs/development/python-modules/zope-i18nmessageid/default.nix index df703e2c3b15..0d1f93014fc4 100644 --- a/pkgs/development/python-modules/zope-i18nmessageid/default.nix +++ b/pkgs/development/python-modules/zope-i18nmessageid/default.nix @@ -31,6 +31,6 @@ buildPythonPackage rec { description = "Message Identifiers for internationalization"; changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${version}/CHANGES.rst"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-interface/default.nix b/pkgs/development/python-modules/zope-interface/default.nix index c94e4a0366c5..830e4291ef4f 100644 --- a/pkgs/development/python-modules/zope-interface/default.nix +++ b/pkgs/development/python-modules/zope-interface/default.nix @@ -27,6 +27,6 @@ buildPythonPackage rec { description = "Zope.Interface"; homepage = "https://github.com/zopefoundation/zope.interface"; license = licenses.zpl20; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-lifecycleevent/default.nix b/pkgs/development/python-modules/zope-lifecycleevent/default.nix index d54a9225dc8c..03f1a5cf111e 100644 --- a/pkgs/development/python-modules/zope-lifecycleevent/default.nix +++ b/pkgs/development/python-modules/zope-lifecycleevent/default.nix @@ -41,6 +41,6 @@ buildPythonPackage rec { description = "Object life-cycle events"; changelog = "https://github.com/zopefoundation/zope.lifecycleevent/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-location/default.nix b/pkgs/development/python-modules/zope-location/default.nix index 3b47baea5b19..19dfb93b98c9 100644 --- a/pkgs/development/python-modules/zope-location/default.nix +++ b/pkgs/development/python-modules/zope-location/default.nix @@ -27,6 +27,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/zope.location/"; description = "Zope Location"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-proxy/default.nix b/pkgs/development/python-modules/zope-proxy/default.nix index cb5717d8abef..958470fde845 100644 --- a/pkgs/development/python-modules/zope-proxy/default.nix +++ b/pkgs/development/python-modules/zope-proxy/default.nix @@ -34,6 +34,6 @@ buildPythonPackage rec { description = "Generic Transparent Proxies"; changelog = "https://github.com/zopefoundation/zope.proxy/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-schema/default.nix b/pkgs/development/python-modules/zope-schema/default.nix index 197022900efd..a1f4a8f263f7 100644 --- a/pkgs/development/python-modules/zope-schema/default.nix +++ b/pkgs/development/python-modules/zope-schema/default.nix @@ -33,6 +33,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/zope.schema"; description = "zope.interface extension for defining data schemas"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-size/default.nix b/pkgs/development/python-modules/zope-size/default.nix index 33838d51cc73..d526d01e3fa0 100644 --- a/pkgs/development/python-modules/zope-size/default.nix +++ b/pkgs/development/python-modules/zope-size/default.nix @@ -24,6 +24,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/zope.size"; description = "Interfaces and simple adapter that give the size of an object"; license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-testing/default.nix b/pkgs/development/python-modules/zope-testing/default.nix index c6b4f61ef707..8b0c7e22cfd5 100644 --- a/pkgs/development/python-modules/zope-testing/default.nix +++ b/pkgs/development/python-modules/zope-testing/default.nix @@ -35,6 +35,6 @@ buildPythonPackage rec { homepage = "https://github.com/zopefoundation/zope.testing"; changelog = "https://github.com/zopefoundation/zope.testing/blob/${version}/CHANGES.rst"; license = licenses.zpl21; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/zope-testrunner/default.nix b/pkgs/development/python-modules/zope-testrunner/default.nix index 3ba806b9d119..cc9c00fd8d24 100644 --- a/pkgs/development/python-modules/zope-testrunner/default.nix +++ b/pkgs/development/python-modules/zope-testrunner/default.nix @@ -31,6 +31,6 @@ buildPythonPackage rec { mainProgram = "zope-testrunner"; homepage = "https://pypi.python.org/pypi/zope.testrunner"; license = licenses.zpl20; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/development/tools/build-managers/gradle/fetch-deps.nix b/pkgs/development/tools/build-managers/gradle/fetch-deps.nix index f4485609f65f..304898c0131c 100644 --- a/pkgs/development/tools/build-managers/gradle/fetch-deps.nix +++ b/pkgs/development/tools/build-managers/gradle/fetch-deps.nix @@ -123,10 +123,9 @@ let fileList = builtins.filter (x: lib.hasPrefix xmlBase x && x != url) (builtins.attrNames finalData); jarPomList = map parseArtifactUrl fileList; - sortedJarPomList = - lib.sort - (a: b: lib.splitVersion a.version < lib.splitVersion b.version) - jarPomList; + + sortByVersion = a: b: (builtins.compareVersions a.version b.version) < 0; + sortedJarPomList = lib.sort sortByVersion jarPomList; uniqueVersionFiles = builtins.map ({ i, x }: x) diff --git a/pkgs/development/tools/selenium/chromedriver/binary.nix b/pkgs/development/tools/selenium/chromedriver/binary.nix index d58dc30e5b15..230bc558f0c9 100644 --- a/pkgs/development/tools/selenium/chromedriver/binary.nix +++ b/pkgs/development/tools/selenium/chromedriver/binary.nix @@ -55,7 +55,7 @@ in stdenv.mkDerivation rec { ''; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.bsd3; - maintainers = with maintainers; [ goibhniu primeos ]; + maintainers = with maintainers; [ primeos ]; # Note from primeos: By updating Chromium I also update Google Chrome and # ChromeDriver. platforms = attrNames allSpecs; diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 4ef6b18d05ac..3e3937123986 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -280,7 +280,7 @@ let homepage = "https://nodejs.org"; changelog = "https://github.com/nodejs/node/releases/tag/v${version}"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu aduh95 ]; + maintainers = with maintainers; [ aduh95 ]; platforms = platforms.linux ++ platforms.darwin; mainProgram = "node"; knownVulnerabilities = optional (versionOlder version "18") "This NodeJS release has reached its end of life. See https://nodejs.org/en/about/releases/."; diff --git a/pkgs/games/badlion-client/default.nix b/pkgs/games/badlion-client/default.nix index a162f7e37f78..8102da767343 100644 --- a/pkgs/games/badlion-client/default.nix +++ b/pkgs/games/badlion-client/default.nix @@ -2,11 +2,13 @@ let pname = "badlion-client"; - version = "3.15.0"; + version = "4.3.0"; src = fetchurl { - url = "https://client-updates-cdn77.badlion.net/BadlionClient"; - hash = "sha256-HqMgY9+Xnp4uSTWr//REZGv3p7ivwLX97vxGD5wqu9E="; + name = "badlion-client-linux"; + # https://www.badlion.net/download/client/latest/linux + url = "https://web.archive.org/web/20240529090437if_/https://client-updates-cdn77.badlion.net/BadlionClient"; + hash = "sha256-9elNLSqCO21m1T2D+WABKotD9FfW3FrcOxbnPdyVd+w="; }; appimageContents = appimageTools.extract { inherit pname version src; }; @@ -25,7 +27,8 @@ in description = "Most Complete All-In-One Mod Library for Minecraft with 100+ Mods, FPS Improvements, and more"; homepage = "https://client.badlion.net"; license = with licenses; [ unfree ]; - maintainers = with maintainers; []; - platforms = platforms.linux; + maintainers = with maintainers; [ ]; + mainProgram = "badlion-client"; + platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/games/shattered-pixel-dungeon/generic.nix b/pkgs/games/shattered-pixel-dungeon/generic.nix index 7f2f3a14a4d2..3e81c54bba91 100644 --- a/pkgs/games/shattered-pixel-dungeon/generic.nix +++ b/pkgs/games/shattered-pixel-dungeon/generic.nix @@ -53,7 +53,7 @@ let keywords = [ "roguelike" "dungeon" "crawler" ]; }; - depsPath' = if depsPath != null then depsPath else ./${pname}/deps.json; + depsPath' = if depsPath != null then depsPath else ./. + "/${pname}/deps.json"; in stdenv.mkDerivation (cleanAttrs // { inherit pname version src patches postPatch; diff --git a/pkgs/misc/jackaudio/default.nix b/pkgs/misc/jackaudio/default.nix index d13c9315b3c3..09e158da3ac3 100644 --- a/pkgs/misc/jackaudio/default.nix +++ b/pkgs/misc/jackaudio/default.nix @@ -86,6 +86,6 @@ stdenv.mkDerivation (finalAttrs: { license = licenses.gpl2Plus; pkgConfigModules = [ "jack" ]; platforms = platforms.unix; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; }) diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix index cf9c87ed625c..2196a5730aa2 100644 --- a/pkgs/os-specific/linux/ffado/default.nix +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -112,7 +112,6 @@ stdenv.mkDerivation rec { description = "FireWire audio drivers"; license = licenses.gpl3; maintainers = with maintainers; [ - goibhniu michojel ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/plymouth/default.nix b/pkgs/os-specific/linux/plymouth/default.nix index 02245a108611..aa4daabb3a9a 100644 --- a/pkgs/os-specific/linux/plymouth/default.nix +++ b/pkgs/os-specific/linux/plymouth/default.nix @@ -121,7 +121,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://www.freedesktop.org/wiki/Software/Plymouth/"; description = "Boot splash and boot logger"; license = licenses.gpl2Plus; - maintainers = [ maintainers.goibhniu ] ++ teams.gnome.members; + maintainers = teams.gnome.members; platforms = platforms.linux; }; }) diff --git a/pkgs/os-specific/linux/xf86-input-wacom/default.nix b/pkgs/os-specific/linux/xf86-input-wacom/default.nix index 1a872b758aca..9be1212899eb 100644 --- a/pkgs/os-specific/linux/xf86-input-wacom/default.nix +++ b/pkgs/os-specific/linux/xf86-input-wacom/default.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { ]; meta = with lib; { - maintainers = with maintainers; [ goibhniu moni ]; + maintainers = with maintainers; [ moni ]; description = "Wacom digitizer driver for X11"; homepage = "https://linuxwacom.sourceforge.net"; license = licenses.gpl2Only; diff --git a/pkgs/os-specific/linux/xf86-video-nested/default.nix b/pkgs/os-specific/linux/xf86-video-nested/default.nix index bfc4a68bddf8..e922e1823861 100644 --- a/pkgs/os-specific/linux/xf86-video-nested/default.nix +++ b/pkgs/os-specific/linux/xf86-video-nested/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://cgit.freedesktop.org/xorg/driver/xf86-video-nested"; description = "Driver to run Xorg on top of Xorg or something else"; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.linux; license = licenses.mit; }; diff --git a/pkgs/servers/home-assistant/custom-components/README.md b/pkgs/servers/home-assistant/custom-components/README.md index 6b942df8b942..238c320ba279 100644 --- a/pkgs/servers/home-assistant/custom-components/README.md +++ b/pkgs/servers/home-assistant/custom-components/README.md @@ -20,7 +20,7 @@ versions into the Python environment. ```nix { lib -, buildHomeAssistantcomponent +, buildHomeAssistantComponent , fetchFromGitHub }: diff --git a/pkgs/servers/home-assistant/custom-components/default.nix b/pkgs/servers/home-assistant/custom-components/default.nix index 3687e3ac7cf0..8d573010cf9a 100644 --- a/pkgs/servers/home-assistant/custom-components/default.nix +++ b/pkgs/servers/home-assistant/custom-components/default.nix @@ -60,6 +60,8 @@ tuya_local = callPackage ./tuya_local {}; + volkswagencarnet = callPackage ./volkswagencarnet { }; + waste_collection_schedule = callPackage ./waste_collection_schedule {}; xiaomi_gateway3 = callPackage ./xiaomi_gateway3 {}; diff --git a/pkgs/servers/home-assistant/custom-components/volkswagencarnet/default.nix b/pkgs/servers/home-assistant/custom-components/volkswagencarnet/default.nix new file mode 100644 index 000000000000..d39c5f3481dc --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/volkswagencarnet/default.nix @@ -0,0 +1,38 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + volkswagencarnet, + pytest-homeassistant-custom-component, + pytestCheckHook, +}: + +buildHomeAssistantComponent rec { + owner = "robinostlund"; + domain = "volkswagencarnet"; + version = "5.0.3"; + + src = fetchFromGitHub { + owner = "robinostlund"; + repo = "homeassistant-volkswagencarnet"; + rev = "refs/tags/v${version}"; + hash = "sha256-3wykS2TYjr9hoQSPc1F3m5aDiLW1tzvQfjfjnr4N2Y0="; + }; + + dependencies = [ volkswagencarnet ]; + + nativeCheckInputs = [ + pytest-homeassistant-custom-component + pytestCheckHook + ]; + + # https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/651 + doCheck = false; + + meta = { + description = "Volkswagen Connect component for Home Assistant"; + homepage = "https://github.com/robinostlund/homeassistant-volkswagencarnet"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/servers/http/yaws/default.nix b/pkgs/servers/http/yaws/default.nix index 25c8a283e759..f92db7be0852 100644 --- a/pkgs/servers/http/yaws/default.nix +++ b/pkgs/servers/http/yaws/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/erlyaws/yaws"; license = licenses.bsd2; platforms = platforms.linux; - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; }; } diff --git a/pkgs/tools/admin/winbox/default.nix b/pkgs/tools/admin/winbox/default.nix index 874e9b40d6b7..da1736889db3 100644 --- a/pkgs/tools/admin/winbox/default.nix +++ b/pkgs/tools/admin/winbox/default.nix @@ -1,73 +1,77 @@ -{ lib -, fetchurl -, makeDesktopItem -, symlinkJoin -, writeShellScriptBin -, wine +{ + lib, + stdenvNoCC, + fetchurl, + copyDesktopItems, + makeDesktopItem, + makeBinaryWrapper, + wine, }: let - inherit (lib) last splitString; - - pname = "winbox"; - version = "3.40"; - name = "${pname}-${version}"; - - executable = fetchurl (if (wine.meta.mainProgram == "wine64") then { - url = "https://download.mikrotik.com/routeros/winbox/${version}/winbox64.exe"; - sha256 = "1dxny1qmq4pmdn40j9zk461p3qwwjin5d18ajhczrnqrcr2v1xwi"; - } else { - url = "https://download.mikrotik.com/routeros/winbox/${version}/winbox.exe"; - sha256 = "11vmdkwi38y7wkdkgsqpfs4l2bdaj9yg6c8wlgfzp91227gjn5li"; - }); - - # This is from the winbox AUR package: - # https://aur.archlinux.org/cgit/aur.git/tree/winbox64?h=winbox64&id=8edd93792af84e87592e8645ca09e9795931e60e - wrapper = writeShellScriptBin pname '' - export WINEPREFIX="''${WINBOX_HOME:-"''${XDG_DATA_HOME:-"''${HOME}/.local/share"}/winbox"}/wine" - export WINEDLLOVERRIDES="mscoree=" # disable mono - export WINEDEBUG=-all - if [ ! -d "$WINEPREFIX" ] ; then - mkdir -p "$WINEPREFIX" - ${wine}/bin/wineboot -u - fi - - ${wine}/bin/${wine.meta.mainProgram} ${executable} "$@" - ''; - - desktopItem = makeDesktopItem { - name = pname; - desktopName = "Winbox"; - comment = "GUI administration for Mikrotik RouterOS"; - exec = pname; - icon = pname; - categories = [ "Utility" ]; - startupWMClass = last (splitString "/" executable); - }; - # The icon is also from the winbox AUR package (see above). icon = fetchurl { name = "winbox.png"; url = "https://aur.archlinux.org/cgit/aur.git/plain/winbox.png?h=winbox"; - sha256 = "sha256-YD6u2N+1thRnEsXO6AHm138fRda9XEtUX5+EGTg004A="; + hash = "sha256-YD6u2N+1thRnEsXO6AHm138fRda9XEtUX5+EGTg004A="; }; in -symlinkJoin { - inherit name pname version; - paths = [ wrapper desktopItem ]; +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "winbox"; + version = "3.41"; - postBuild = '' - mkdir -p "$out/share/pixmaps" - ln -s "${icon}" "$out/share/pixmaps/${pname}.png" + src = fetchurl ( + if (wine.meta.mainProgram == "wine64") then + { + url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/winbox64.exe"; + hash = "sha256-i8Ps8fNZUmAOyxo4DDjIjp1jwIGjIgT9CU1YgjAHC/Y="; + } + else + { + url = "https://download.mikrotik.com/routeros/winbox/${finalAttrs.version}/winbox.exe"; + hash = "sha256-NypSEC5YKpqldlkSIRFtWVD4xJZcjGcfjnphSg70wmE="; + } + ); + + dontUnpack = true; + + nativeBuildInputs = [ + makeBinaryWrapper + copyDesktopItems + ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/{bin,libexec,share/pixmaps} + + ln -s "${icon}" "$out/share/pixmaps/winbox.png" + + makeWrapper ${lib.getExe wine} $out/bin/winbox \ + --add-flags $src + + runHook postInstall ''; - meta = with lib; { + desktopItems = [ + (makeDesktopItem { + name = "winbox"; + desktopName = "Winbox"; + comment = "GUI administration for Mikrotik RouterOS"; + exec = "winbox"; + icon = "winbox"; + categories = [ "Utility" ]; + }) + ]; + + meta = { description = "Graphical configuration utility for RouterOS-based devices"; homepage = "https://mikrotik.com"; downloadPage = "https://mikrotik.com/download"; changelog = "https://wiki.mikrotik.com/wiki/Winbox_changelog"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ yrd ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + license = lib.licenses.unfree; + mainProgram = "winbox"; + maintainers = with lib.maintainers; [ yrd ]; }; -} +}) diff --git a/pkgs/tools/misc/qdl/default.nix b/pkgs/tools/misc/qdl/default.nix index 02435272535f..24c62722c141 100644 --- a/pkgs/tools/misc/qdl/default.nix +++ b/pkgs/tools/misc/qdl/default.nix @@ -4,21 +4,23 @@ , pkg-config , libxml2 , systemd +, libusb1 +, unstableGitUpdater }: stdenv.mkDerivation { pname = "qdl"; - version = "unstable-2023-04-11"; + version = "unstable-2024-06-10"; src = fetchFromGitHub { owner = "linux-msm"; repo = "qdl"; - rev = "3b22df2bc7de02d867334af3a7aa8606db4f8cdd"; - sha256 = "sha256-2sL9HX73APTn9nQOx1Efdkz9F4bNASPMVFMx6YOqxyc="; + rev = "cbd46184d33af597664e08aff2b9181ae2f87aa6"; + sha256 = "sha256-0PeOunYXY0nEEfGFGdguf5+GNN950GhPfMaD8h1ez/8="; }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ systemd libxml2 ]; + buildInputs = [ systemd libxml2 libusb1 ]; installPhase = '' runHook preInstall @@ -30,8 +32,10 @@ stdenv.mkDerivation { homepage = "https://github.com/linux-msm/qdl"; description = "Tool for flashing images to Qualcomm devices"; license = licenses.bsd3; - maintainers = with maintainers; [ muscaln ]; + maintainers = with maintainers; [ muscaln anas ]; platforms = platforms.linux; mainProgram = "qdl"; }; + + passthru.updateScript = unstableGitUpdater { }; } diff --git a/pkgs/tools/misc/rockbox-utility/default.nix b/pkgs/tools/misc/rockbox-utility/default.nix index ac5012275cbb..83ee50fbed9c 100644 --- a/pkgs/tools/misc/rockbox-utility/default.nix +++ b/pkgs/tools/misc/rockbox-utility/default.nix @@ -73,7 +73,7 @@ stdenv.mkDerivation rec { homepage = "https://www.rockbox.org"; description = "Open source firmware for digital music players"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ AndersonTorres goibhniu ]; + maintainers = with maintainers; [ AndersonTorres ]; mainProgram = "RockboxUtility"; platforms = platforms.linux; }; diff --git a/pkgs/tools/misc/ttfautohint/default.nix b/pkgs/tools/misc/ttfautohint/default.nix index 5b068de2ddd7..f863f5ee38b3 100644 --- a/pkgs/tools/misc/ttfautohint/default.nix +++ b/pkgs/tools/misc/ttfautohint/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://www.freetype.org/ttfautohint"; license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause) - maintainers = with maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; diff --git a/pkgs/tools/security/aespipe/default.nix b/pkgs/tools/security/aespipe/default.nix index fe9c1d22f407..83586253cd63 100644 --- a/pkgs/tools/security/aespipe/default.nix +++ b/pkgs/tools/security/aespipe/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { description = "AES encrypting or decrypting pipe"; homepage = "https://loop-aes.sourceforge.net/aespipe.README"; license = licenses.gpl2Only; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/tools/security/clevis/default.nix b/pkgs/tools/security/clevis/default.nix deleted file mode 100644 index fa1be45a5b99..000000000000 --- a/pkgs/tools/security/clevis/default.nix +++ /dev/null @@ -1,90 +0,0 @@ -{ lib -, stdenv -, asciidoc -, coreutils -, cryptsetup -, curl -, fetchFromGitHub -, gnugrep -, gnused -, jansson -, jose -, libpwquality -, luksmeta -, makeWrapper -, meson -, ninja -, pkg-config -, tpm2-tools -, nixosTests -}: - -stdenv.mkDerivation rec { - pname = "clevis"; - version = "19"; - - src = fetchFromGitHub { - owner = "latchset"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-3J3ti/jRiv+p3eVvJD7u0ko28rPd8Gte0mCJaVaqyOs="; - }; - - patches = [ - # Replaces the clevis-decrypt 300s timeout to a 10s timeout - # https://github.com/latchset/clevis/issues/289 - ./tang-timeout.patch - ]; - - postPatch = '' - for f in $(find src/ -type f); do - grep -q "/bin/cat" "$f" && substituteInPlace "$f" \ - --replace '/bin/cat' '${coreutils}/bin/cat' || true - done - ''; - - postInstall = '' - # We wrap the main clevis binary entrypoint but not the sub-binaries. - wrapProgram $out/bin/clevis \ - --prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin" - ''; - - nativeBuildInputs = [ - asciidoc - makeWrapper - meson - ninja - pkg-config - ]; - - buildInputs = [ - cryptsetup - curl - jansson - jose - libpwquality - luksmeta - tpm2-tools - ]; - - outputs = [ - "out" - "man" - ]; - - passthru.tests = { - inherit (nixosTests.installer) clevisBcachefs clevisBcachefsFallback clevisLuks clevisLuksFallback clevisZfs clevisZfsFallback; - clevisLuksSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisLuks; - clevisLuksFallbackSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisLuksFallback; - clevisZfsSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisZfs; - clevisZfsFallbackSystemdStage1 = nixosTests.installer-systemd-stage-1.clevisZfsFallback; - }; - - meta = with lib; { - description = "Automated Encryption Framework"; - homepage = "https://github.com/latchset/clevis"; - changelog = "https://github.com/latchset/clevis/releases/tag/v${version}"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ ]; - }; -} diff --git a/pkgs/tools/system/symlinks/default.nix b/pkgs/tools/system/symlinks/default.nix index 3a4029542559..7ca0503676c3 100644 --- a/pkgs/tools/system/symlinks/default.nix +++ b/pkgs/tools/system/symlinks/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { description = "Find and remedy problematic symbolic links on a system"; homepage = "https://github.com/brandt/symlinks"; license = licenses.mit; - maintainers = with maintainers; [ goibhniu ckauhaus ]; + maintainers = with maintainers; [ ckauhaus ]; platforms = platforms.unix; mainProgram = "symlinks"; }; diff --git a/pkgs/tools/text/podiff/default.nix b/pkgs/tools/text/podiff/default.nix index b59aba6c4615..1a2fb9739139 100644 --- a/pkgs/tools/text/podiff/default.nix +++ b/pkgs/tools/text/podiff/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation { mainProgram = "podiff"; homepage = "http://puszcza.gnu.org.ua/software/podiff"; license = licenses.gpl3Plus; - maintainers = [ maintainers.goibhniu ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/tools/text/uni2ascii/default.nix b/pkgs/tools/text/uni2ascii/default.nix index fab6ac79de16..a853a5de7775 100644 --- a/pkgs/tools/text/uni2ascii/default.nix +++ b/pkgs/tools/text/uni2ascii/default.nix @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { It also provides ways of converting non-ASCII characters to similar ASCII characters, e.g. by stripping diacritics. ''; - maintainers = with lib.maintainers; [ goibhniu ]; + maintainers = [ ]; platforms = lib.platforms.all; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3c4930e9bac1..2d0d33320054 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4496,10 +4496,6 @@ with pkgs; clevercsv = with python3Packages; toPythonApplication clevercsv; - clevis = callPackage ../tools/security/clevis { - asciidoc = asciidoc-full; - }; - cli53 = callPackage ../tools/admin/cli53 { }; cli-visualizer = callPackage ../applications/misc/cli-visualizer { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4aa571fb035d..2df346e3ffcf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2557,8 +2557,6 @@ self: super: with self; { cpyparsing = callPackage ../development/python-modules/cpyparsing { }; - craft-application-1 = callPackage ../development/python-modules/craft-application-1 { }; - craft-application = callPackage ../development/python-modules/craft-application { }; craft-archives = callPackage ../development/python-modules/craft-archives { }; @@ -10651,6 +10649,8 @@ self: super: with self; { prometheus-client = callPackage ../development/python-modules/prometheus-client { }; + prometheus-fastapi-instrumentator = callPackage ../development/python-modules/prometheus-fastapi-instrumentator { }; + prometheus-flask-exporter = callPackage ../development/python-modules/prometheus-flask-exporter { }; prometrix = callPackage ../development/python-modules/prometrix { }; @@ -11109,7 +11109,7 @@ self: super: with self; { pydantic-settings = callPackage ../development/python-modules/pydantic-settings { }; - pydantic-yaml-0 = callPackage ../development/python-modules/pydantic-yaml-0 { }; + pydantic-yaml = callPackage ../development/python-modules/pydantic-yaml { }; pydash = callPackage ../development/python-modules/pydash { }; @@ -17055,6 +17055,8 @@ self: super: with self; { volatile = callPackage ../development/python-modules/volatile { }; + volkswagencarnet = callPackage ../development/python-modules/volkswagencarnet { }; + volkszaehler = callPackage ../development/python-modules/volkszaehler { }; voluptuous = callPackage ../development/python-modules/voluptuous { };