mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
Merge remote-tracking branch 'origin/master' into staging-next
This commit is contained in:
@@ -74,6 +74,8 @@
|
||||
|
||||
- `nodePackages.wavedrom-cli` has been removed, as it was unmaintained within nixpkgs.
|
||||
|
||||
- All `@tailwindcss` packages in the `nodePackages` set have been removed, as they are libraries that should instead be locked by JS projects that utilize them.
|
||||
|
||||
- `arti` has been updated to major version 2, which removed the long-deprecated `proxy.socks_port` and `proxy.dns_port` and the legacy syntax for specifying directory authorities. For more information, see the [changelog for 2.0.0](https://gitlab.torproject.org/tpo/core/arti/-/blob/arti-v2.0.0/CHANGELOG.md).
|
||||
|
||||
- `kanata` now requires `karabiner-dk` version 6.0+ or later.
|
||||
|
||||
@@ -8637,12 +8637,6 @@
|
||||
githubId = 5198058;
|
||||
name = "Udo Sauer";
|
||||
};
|
||||
fettgoenner = {
|
||||
email = "paulmatti@protonmail.com";
|
||||
github = "fettgoenner";
|
||||
githubId = 92429150;
|
||||
name = "Paul Meinhold";
|
||||
};
|
||||
feyorsh = {
|
||||
email = "george@feyor.sh";
|
||||
github = "Feyorsh";
|
||||
@@ -11831,6 +11825,12 @@
|
||||
githubId = 1358764;
|
||||
name = "Jamie Magee";
|
||||
};
|
||||
janezp = {
|
||||
name = "Janez Podhostnik";
|
||||
email = "janez.podhostnik@ourplace.is";
|
||||
github = "janezpodhostnik";
|
||||
githubId = 67895329;
|
||||
};
|
||||
janhencic = {
|
||||
name = "Jan Hencic";
|
||||
email = "jan@hencic.com";
|
||||
@@ -14836,6 +14836,11 @@
|
||||
githubId = 736291;
|
||||
name = "Lee Machin";
|
||||
};
|
||||
lefaucheur0769 = {
|
||||
name = "LeFaucheur0769";
|
||||
github = "LeFaucheur0769";
|
||||
githubId = 90474269;
|
||||
};
|
||||
legojames = {
|
||||
github = "jrobinson-uk";
|
||||
githubId = 4701504;
|
||||
@@ -17472,6 +17477,12 @@
|
||||
githubId = 33701036;
|
||||
name = "Milo Mc";
|
||||
};
|
||||
mimahlavacek = {
|
||||
email = "mima.hlavacek@gmail.com";
|
||||
github = "mima-hlavacek";
|
||||
githubId = 55756477;
|
||||
name = "Míma Hlaváček";
|
||||
};
|
||||
mimame = {
|
||||
email = "miguel.madrid.mencia@gmail.com";
|
||||
github = "mimame";
|
||||
@@ -21140,6 +21151,12 @@
|
||||
githubId = 103822;
|
||||
name = "Patrick Mahoney";
|
||||
};
|
||||
pmeinhold = {
|
||||
email = "paulmatti@protonmail.com";
|
||||
github = "pmeinhold";
|
||||
githubId = 92429150;
|
||||
name = "Paul Meinhold";
|
||||
};
|
||||
pmenke = {
|
||||
email = "nixos@pmenke.de";
|
||||
github = "pmenke-de";
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
|
||||
- [qui](https://github.com/autobrr/qui), a modern alternative webUI for qBittorrent, with multi-instance support. Written in Go/React. Available as [services.qui](#opt-services.qui.enable).
|
||||
|
||||
- [Remark42](https://remark42.com/), a self-hosted comment engine. Available as [services.remark42](#opt-services.remark42.enable).
|
||||
|
||||
- [LibreChat](https://www.librechat.ai/), open-source self-hostable ChatGPT clone with Agents and RAG APIs. Available as [services.librechat](#opt-services.librechat.enable).
|
||||
|
||||
- [nohang](https://github.com/hakavlad/nohang), a daemon for Linux that prevents out of memory (OOM) situations from affecting system responsiveness. Available as [services.nohang](#opt-services.nohang.enable)
|
||||
|
||||
@@ -228,6 +228,10 @@ in
|
||||
(mkRenamedOptionModule [ "programs" "info" "enable" ] [ "documentation" "info" "enable" ])
|
||||
(mkRenamedOptionModule [ "programs" "man" "enable" ] [ "documentation" "man" "enable" ])
|
||||
(mkRenamedOptionModule [ "services" "nixosManual" "enable" ] [ "documentation" "nixos" "enable" ])
|
||||
(mkRenamedOptionModule
|
||||
[ "documentation" "man" "generateCaches" ]
|
||||
[ "documentation" "man" "cache" "enable" ]
|
||||
)
|
||||
(mkRemovedOptionModule [
|
||||
"documentation"
|
||||
"nixos"
|
||||
@@ -261,7 +265,7 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
man.generateCaches = mkOption {
|
||||
man.cache.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
@@ -273,6 +277,16 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
man.cache.generateAtRuntime = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to generate the manual page index caches at runtime using
|
||||
a systemd service. Note that this is currently only supported by the
|
||||
man-db module.
|
||||
'';
|
||||
};
|
||||
|
||||
info.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
|
||||
@@ -7,13 +7,14 @@
|
||||
|
||||
let
|
||||
cfg = config.documentation.man.man-db;
|
||||
cfgm = config.documentation.man;
|
||||
in
|
||||
|
||||
{
|
||||
options = {
|
||||
documentation.man.man-db = {
|
||||
enable = lib.mkEnableOption "man-db as the default man page viewer" // {
|
||||
default = config.documentation.man.enable;
|
||||
default = cfgm.enable;
|
||||
defaultText = lib.literalExpression "config.documentation.man.enable";
|
||||
example = false;
|
||||
};
|
||||
@@ -39,7 +40,7 @@ in
|
||||
};
|
||||
defaultText = lib.literalMD "all man pages in {option}`config.environment.systemPackages`";
|
||||
description = ''
|
||||
The manual pages to generate caches for if {option}`documentation.man.generateCaches`
|
||||
The manual pages to generate caches for if {option}`documentation.man.cache.enable`
|
||||
is enabled. Must be a path to a directory with man pages under
|
||||
`/share/man`; see the source for an example.
|
||||
Advanced users can make this a content-addressed derivation to save a few rebuilds.
|
||||
@@ -65,41 +66,79 @@ in
|
||||
)
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
environment.etc."man_db.conf".text =
|
||||
let
|
||||
# We unfortunately can’t use the customized `cfg.package` when
|
||||
# cross‐compiling. Instead we detect that situation and work
|
||||
# around it by using the vanilla one, like the OpenSSH module.
|
||||
buildPackage =
|
||||
if pkgs.stdenv.buildPlatform.canExecute pkgs.stdenv.hostPlatform then
|
||||
config = lib.mkIf cfg.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
environment.etc."man_db.conf".text =
|
||||
let
|
||||
# We unfortunately can’t use the customized `cfg.package` when
|
||||
# cross‐compiling. Instead we detect that situation and work
|
||||
# around it by using the vanilla one, like the OpenSSH module.
|
||||
buildPackage =
|
||||
if pkgs.stdenv.buildPlatform.canExecute pkgs.stdenv.hostPlatform then
|
||||
cfg.package
|
||||
else
|
||||
pkgs.buildPackages.man-db;
|
||||
|
||||
manualCache =
|
||||
if (!cfgm.cache.generateAtRuntime) then
|
||||
pkgs.runCommand "man-cache"
|
||||
{
|
||||
nativeBuildInputs = [ buildPackage ];
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
''
|
||||
echo "MANDB_MAP ${cfg.manualPages}/share/man $out" > man.conf
|
||||
mandb -C man.conf -pscq
|
||||
''
|
||||
else
|
||||
"/var/cache/man/nixos-mandb";
|
||||
in
|
||||
''
|
||||
# Manual pages paths for NixOS
|
||||
MANPATH_MAP /run/current-system/sw/bin /run/current-system/sw/share/man
|
||||
MANPATH_MAP /run/wrappers/bin /run/current-system/sw/share/man
|
||||
|
||||
${lib.optionalString cfgm.cache.enable ''
|
||||
# Manual pages caches for NixOS
|
||||
MANDB_MAP /run/current-system/sw/share/man ${manualCache}
|
||||
''}
|
||||
'';
|
||||
}
|
||||
|
||||
(lib.mkIf (cfgm.enable && cfgm.cache.generateAtRuntime) {
|
||||
users.users.mandb = {
|
||||
isSystemUser = true;
|
||||
group = "mandb";
|
||||
};
|
||||
users.groups.mandb = { };
|
||||
|
||||
systemd.services.mandb = {
|
||||
path = [
|
||||
cfg.package
|
||||
else
|
||||
pkgs.buildPackages.man-db;
|
||||
pkgs.rsync
|
||||
];
|
||||
script = ''
|
||||
rsync \
|
||||
--checksum --recursive --copy-links --delete --no-times --no-perms --chmod=+w \
|
||||
${cfg.manualPages}/share/man/ "$CACHE_DIRECTORY/nixos-manpages"
|
||||
|
||||
manualCache =
|
||||
pkgs.runCommand "man-cache"
|
||||
{
|
||||
nativeBuildInputs = [ buildPackage ];
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
''
|
||||
echo "MANDB_MAP ${cfg.manualPages}/share/man $out" > man.conf
|
||||
mandb -C man.conf -pscq
|
||||
'';
|
||||
in
|
||||
''
|
||||
# Manual pages paths for NixOS
|
||||
MANPATH_MAP /run/current-system/sw/bin /run/current-system/sw/share/man
|
||||
MANPATH_MAP /run/wrappers/bin /run/current-system/sw/share/man
|
||||
echo "MANDB_MAP $CACHE_DIRECTORY/nixos-manpages $CACHE_DIRECTORY/nixos-mandb" \
|
||||
> "$RUNTIME_DIRECTORY/man.conf"
|
||||
|
||||
${lib.optionalString config.documentation.man.generateCaches ''
|
||||
# Generated manual pages cache for NixOS (immutable)
|
||||
MANDB_MAP /run/current-system/sw/share/man ${manualCache}
|
||||
''}
|
||||
# Manual pages caches for NixOS
|
||||
MANDB_MAP /run/current-system/sw/share/man /var/cache/man/nixos
|
||||
'';
|
||||
};
|
||||
mandb -C "$RUNTIME_DIRECTORY/man.conf" -q
|
||||
'';
|
||||
serviceConfig = {
|
||||
CacheDirectory = "man";
|
||||
RuntimeDirectory = "mandb";
|
||||
User = "mandb";
|
||||
BindReadOnlyPaths = [ "/dev/null:/etc/man_db.conf" ]; # mandb will still read /etc/man_db.conf if it exists, even when setting -C path/to/config.conf
|
||||
ProtectSystem = "strict";
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
})
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ in
|
||||
apply = makeLeadingSlashes;
|
||||
description = ''
|
||||
Change the paths where mandoc {manpage}`makewhatis(8)`generates the
|
||||
manual page index caches. {option}`documentation.man.generateCaches`
|
||||
manual page index caches. {option}`documentation.man.cache.enable`
|
||||
should be enabled to allow cache generation. This list should only
|
||||
include the paths to manpages installed in the system configuration,
|
||||
i. e. /run/current-system/sw/share/man. {manpage}`makewhatis(8)`
|
||||
@@ -215,7 +215,7 @@ in
|
||||
# create mandoc.db for whatis(1), apropos(1) and man(1) -k
|
||||
# TODO(@sternenseemman): fix symlinked directories not getting indexed,
|
||||
# see: https://inbox.vuxu.org/mandoc-tech/20210906171231.GF83680@athene.usta.de/T/#e85f773c1781e3fef85562b2794f9cad7b2909a3c
|
||||
extraSetup = lib.mkIf config.documentation.man.generateCaches ''
|
||||
extraSetup = lib.mkIf config.documentation.man.cache.enable ''
|
||||
for man_path in ${
|
||||
lib.concatMapStringsSep " " (path: "$out" + lib.escapeShellArg path) cfg.cachePath
|
||||
}
|
||||
|
||||
@@ -1738,6 +1738,7 @@
|
||||
./services/web-apps/privatebin.nix
|
||||
./services/web-apps/prosody-filer.nix
|
||||
./services/web-apps/readeck.nix
|
||||
./services/web-apps/remark42.nix
|
||||
./services/web-apps/reposilite.nix
|
||||
./services/web-apps/rimgo.nix
|
||||
./services/web-apps/rss-bridge.nix
|
||||
|
||||
@@ -169,7 +169,8 @@ in
|
||||
programs.fish.shellAliases = lib.mapAttrs (name: lib.mkDefault) cfge.shellAliases;
|
||||
|
||||
# Required for man completions
|
||||
documentation.man.generateCaches = lib.mkDefault true;
|
||||
documentation.man.cache.enable = lib.mkDefault true;
|
||||
documentation.man.cache.generateAtRuntime = lib.mkDefault true;
|
||||
|
||||
environment = lib.mkMerge [
|
||||
(lib.mkIf cfg.useBabelfish {
|
||||
|
||||
@@ -294,6 +294,7 @@ in
|
||||
perms = [
|
||||
"read"
|
||||
"add"
|
||||
"player"
|
||||
"control"
|
||||
"admin"
|
||||
];
|
||||
@@ -323,6 +324,7 @@ in
|
||||
permissions = [
|
||||
"read"
|
||||
"add"
|
||||
"player"
|
||||
"control"
|
||||
"admin"
|
||||
];
|
||||
|
||||
@@ -8,6 +8,7 @@ let
|
||||
cfg = config.services.gotenberg;
|
||||
|
||||
args = [
|
||||
"--api-bind-ip=${cfg.bindIP}"
|
||||
"--api-port=${toString cfg.port}"
|
||||
"--api-timeout=${cfg.timeout}"
|
||||
"--api-root-path=${cfg.rootPath}"
|
||||
|
||||
143
nixos/modules/services/web-apps/remark42.nix
Normal file
143
nixos/modules/services/web-apps/remark42.nix
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.services.remark42;
|
||||
siteList = lib.concatStringsSep "," cfg.sites;
|
||||
in
|
||||
{
|
||||
options.services.remark42 = {
|
||||
enable = lib.mkEnableOption "Remark42 commenting server";
|
||||
|
||||
package = lib.mkPackageOption pkgs "remark42" { };
|
||||
|
||||
remarkUrl = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
example = "https://comments.example.com";
|
||||
description = ''
|
||||
Public URL of this Remark42 instance. This is passed to the backend as
|
||||
`REMARK_URL` and should match the frontend embed config `host`.
|
||||
'';
|
||||
};
|
||||
|
||||
sites = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ "remark" ];
|
||||
example = [
|
||||
"blog"
|
||||
"docs"
|
||||
];
|
||||
description = ''
|
||||
Site IDs served by this instance (passed as `SITE`, comma-separated).
|
||||
The frontend embed config `site_id` must match one of these values.
|
||||
'';
|
||||
};
|
||||
|
||||
listenAddress = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "127.0.0.1";
|
||||
example = "0.0.0.0";
|
||||
description = "Bind address (`REMARK_ADDRESS`).";
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
default = 8080;
|
||||
description = "Listen port (`REMARK_PORT`).";
|
||||
};
|
||||
|
||||
dataDir = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
default = "/var/lib/remark42";
|
||||
description = ''
|
||||
Working directory for Remark42. Data files are stored here and
|
||||
automatic backups will be created in this directory by default.
|
||||
'';
|
||||
};
|
||||
|
||||
environmentFile = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.path;
|
||||
default = null;
|
||||
example = "/run/secrets/remark42.env";
|
||||
description = ''
|
||||
Optional environment file in systemd `EnvironmentFile=` format.
|
||||
Use this for secrets to avoid storing them in the Nix store.
|
||||
'';
|
||||
};
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
default = { };
|
||||
example = {
|
||||
AUTH_ANON = "true";
|
||||
};
|
||||
description = "Extra environment variables passed to Remark42.";
|
||||
};
|
||||
|
||||
openFirewall = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether to open the firewall for `port`.";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.sites != [ ];
|
||||
message = "services.remark42.sites must contain at least one site ID.";
|
||||
}
|
||||
{
|
||||
assertion = cfg.environmentFile != null || (cfg.settings ? SECRET);
|
||||
message = ''
|
||||
Remark42 requires SECRET.
|
||||
Provide it via services.remark42.environmentFile (recommended),
|
||||
or via services.remark42.settings.SECRET (not recommended).
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
users.groups.remark42 = { };
|
||||
users.users.remark42 = {
|
||||
isSystemUser = true;
|
||||
group = "remark42";
|
||||
home = cfg.dataDir;
|
||||
createHome = true;
|
||||
description = "Remark42 service user";
|
||||
};
|
||||
|
||||
systemd.services.remark42 = {
|
||||
description = "Remark42 commenting server";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
environment = cfg.settings // {
|
||||
REMARK_URL = cfg.remarkUrl;
|
||||
SITE = siteList;
|
||||
REMARK_ADDRESS = cfg.listenAddress;
|
||||
REMARK_PORT = toString cfg.port;
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
User = "remark42";
|
||||
Group = "remark42";
|
||||
|
||||
WorkingDirectory = cfg.dataDir;
|
||||
ExecStart = "${cfg.package}/bin/remark42 server";
|
||||
|
||||
Restart = "on-failure";
|
||||
RestartSec = "2s";
|
||||
}
|
||||
// lib.optionalAttrs (cfg.environmentFile != null) {
|
||||
EnvironmentFile = cfg.environmentFile;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ cfg.port ];
|
||||
};
|
||||
}
|
||||
@@ -713,7 +713,12 @@ in
|
||||
systemd.managerEnvironment = {
|
||||
# Doesn't contain systemd itself - everything works so it seems to use the compiled-in value for its tools
|
||||
# util-linux is needed for the main fsck utility wrapping the fs-specific ones
|
||||
PATH = lib.makeBinPath (config.system.fsPackages ++ [ cfg.package.util-linux ]);
|
||||
PATH = lib.makeBinPath (
|
||||
config.system.fsPackages
|
||||
++ [ cfg.package.util-linux ]
|
||||
# systemd-ssh-generator needs sshd in PATH
|
||||
++ lib.optional config.services.openssh.enable config.services.openssh.package
|
||||
);
|
||||
LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";
|
||||
TZDIR = "/etc/zoneinfo";
|
||||
# If SYSTEMD_UNIT_PATH ends with an empty component (":"), the usual unit load path will be appended to the contents of the variable
|
||||
|
||||
@@ -1391,6 +1391,7 @@ in
|
||||
redlib = runTest ./redlib.nix;
|
||||
redmine = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./redmine.nix { };
|
||||
refind = runTest ./refind.nix;
|
||||
remark42 = runTest ./remark42.nix;
|
||||
renovate = runTest ./renovate.nix;
|
||||
replace-dependencies = handleTest ./replace-dependencies { };
|
||||
reposilite = runTest ./reposilite.nix;
|
||||
|
||||
30
nixos/tests/remark42.nix
Normal file
30
nixos/tests/remark42.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
name = "remark42";
|
||||
|
||||
nodes.machine =
|
||||
{ ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.curl ];
|
||||
|
||||
services.remark42 = {
|
||||
enable = true;
|
||||
remarkUrl = "http://127.0.0.1:8080";
|
||||
sites = [ "remark" ];
|
||||
|
||||
environmentFile = pkgs.writeText "remark42.env" ''
|
||||
SECRET=unit-test-secret
|
||||
'';
|
||||
|
||||
settings.AUTH_ANON = "true";
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
machine.wait_for_unit("remark42.service")
|
||||
machine.wait_for_open_port(8080)
|
||||
machine.succeed("curl -fsS http://127.0.0.1:8080/web/ | head")
|
||||
'';
|
||||
}
|
||||
@@ -12,12 +12,12 @@
|
||||
pkgs,
|
||||
}:
|
||||
let
|
||||
version = "0.0.27-unstable-2026-02-03";
|
||||
version = "0.0.27-unstable-2026-02-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yetone";
|
||||
repo = "avante.nvim";
|
||||
rev = "d80b7966c0505809e83e408353bbe8cb3394936d";
|
||||
hash = "sha256-+IfICc7uBaMV27VJcHlUOxZ2TFQoIHFJPMtoIjjgnZ8=";
|
||||
rev = "ecc669a87deb2be95db49e53041c05a2d0980fd4";
|
||||
hash = "sha256-ciBJS6+knAQSZrtxWvSSADCfBLH07OMG+Rl3jrAz49M=";
|
||||
};
|
||||
avante-nvim-lib = rustPlatform.buildRustPackage {
|
||||
pname = "avante-nvim-lib";
|
||||
|
||||
@@ -2879,18 +2879,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
mads-hartmann.bash-ide-vscode = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "mads-hartmann";
|
||||
name = "bash-ide-vscode";
|
||||
version = "1.43.0";
|
||||
hash = "sha256-IpJCzoYZ+L39HqBts487E00RfVnZhLa9wUYs2FIV9pQ=";
|
||||
};
|
||||
meta = {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.kamadorueda ];
|
||||
};
|
||||
};
|
||||
mads-hartmann.bash-ide-vscode = callPackage ./mads-hartmann.bash-ide-vscode { };
|
||||
|
||||
marp-team.marp-vscode = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
@@ -3044,6 +3033,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
miguelsolorio.fluent-icons = callPackage ./miguelsolorio.fluent-icons { };
|
||||
|
||||
miguelsolorio.min-theme = callPackage ./miguelsolorio.min-theme { };
|
||||
|
||||
mikestead.dotenv = buildVscodeMarketplaceExtension {
|
||||
@@ -3070,25 +3061,14 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
mkhl.direnv = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "mkhl";
|
||||
name = "direnv";
|
||||
version = "0.17.0";
|
||||
hash = "sha256-9sFcfTMeLBGw2ET1snqQ6Uk//D/vcD9AVsZfnUNrWNg=";
|
||||
};
|
||||
meta = {
|
||||
description = "direnv support for Visual Studio Code";
|
||||
license = lib.licenses.bsd0;
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=mkhl.direnv";
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
mkhl.direnv = callPackage ./mkhl.direnv { };
|
||||
|
||||
mkhl.shfmt = callPackage ./mkhl.shfmt { };
|
||||
|
||||
mongodb.mongodb-vscode = callPackage ./mongodb.mongodb-vscode { };
|
||||
|
||||
motivesoft.vscode-man-page-syntax = callPackage ./motivesoft.vscode-man-page-syntax { };
|
||||
|
||||
moshfeu.compare-folders = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "compare-folders";
|
||||
@@ -3606,6 +3586,8 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
nomicfoundation.hardhat-solidity = callPackage ./nomicfoundation.hardhat-solidity { };
|
||||
|
||||
nonylene.dark-molokai-theme = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "dark-molokai-theme";
|
||||
|
||||
@@ -8,8 +8,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "basedpyright";
|
||||
publisher = "detachhead";
|
||||
version = "1.37.4";
|
||||
hash = "sha256-OkL0p7SfCinyyIlQN/4Rxc1kXFSSe1X3UuhgNQ17ovo=";
|
||||
version = "1.38.1";
|
||||
hash = "sha256-KomVzNgm4CD3AMuJ7myZlU6R4bp97pNlnooYdEepQNo=";
|
||||
};
|
||||
meta = {
|
||||
changelog = "https://github.com/detachhead/basedpyright/releases";
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
vscode-utils,
|
||||
jq,
|
||||
moreutils,
|
||||
shfmt,
|
||||
shellcheck,
|
||||
}:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "mads-hartmann";
|
||||
name = "bash-ide-vscode";
|
||||
version = "1.43.0";
|
||||
hash = "sha256-IpJCzoYZ+L39HqBts487E00RfVnZhLa9wUYs2FIV9pQ=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq -e '
|
||||
.contributes.configuration.properties."bashIde.shellcheckPath".default = "${lib.getExe shellcheck}" |
|
||||
.contributes.configuration.properties."bashIde.shfmt.path".default = "${lib.getExe shfmt}"
|
||||
' package.json | sponge package.json
|
||||
'';
|
||||
meta = {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.kamadorueda ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ lib, vscode-utils }:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
||||
mktplcRef = {
|
||||
name = "fluent-icons";
|
||||
publisher = "miguelsolorio";
|
||||
version = "0.0.19";
|
||||
hash = "sha256-OfPSh0SapT+YOfi0cz3ep8hEhgCTHpjs1FfmgAyjN58=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/miguelsolorio/vscode-fluent-icons/releases/tag/${finalAttrs.version}";
|
||||
description = "Fluent product icons for Visual Studio Code";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=miguelsolorio.fluent-icons";
|
||||
homepage = "https://github.com/miguelsolorio/vscode-fluent-icons";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.iamanaws ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
vscode-utils,
|
||||
jq,
|
||||
moreutils,
|
||||
direnv,
|
||||
}:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
publisher = "mkhl";
|
||||
name = "direnv";
|
||||
version = "0.17.0";
|
||||
hash = "sha256-9sFcfTMeLBGw2ET1snqQ6Uk//D/vcD9AVsZfnUNrWNg=";
|
||||
};
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
moreutils
|
||||
];
|
||||
postInstall = ''
|
||||
cd "$out/$installPrefix"
|
||||
jq -e '.contributes.configuration.properties."direnv.path.executable".default = "${lib.getExe direnv}"' package.json | sponge package.json
|
||||
'';
|
||||
meta = {
|
||||
description = "direnv support for Visual Studio Code";
|
||||
license = lib.licenses.bsd0;
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=mkhl.direnv";
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ lib, vscode-utils }:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "vscode-man-page-syntax";
|
||||
publisher = "motivesoft";
|
||||
version = "1.1.4";
|
||||
hash = "sha256-Hf6UUXShxhFpOG4aaKqHKoyJ0yqFthzNSVW/JZph43c=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Motivesoft/vscode-man-page-syntax/blob/main/CHANGELOG.md";
|
||||
description = "Syntax highlighting support for manpage authoring";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=motivesoft.vscode-man-page-syntax";
|
||||
homepage = "https://github.com/Motivesoft/vscode-man-page-syntax";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.iamanaws ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ lib, vscode-utils }:
|
||||
|
||||
vscode-utils.buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "hardhat-solidity";
|
||||
publisher = "nomicfoundation";
|
||||
version = "0.8.26";
|
||||
hash = "sha256-AXiGdUjoFl0R41bRJeGc1Gqs/O6foDwqiH2MmkKxhdo=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/NomicFoundation/hardhat-vscode/blob/main/client/CHANGELOG.md";
|
||||
description = "Solidity and Hardhat support for Visual Studio Code";
|
||||
downloadPage = "https://marketplace.visualstudio.com/items?itemName=nomicfoundation.hardhat-solidity";
|
||||
homepage = "https://github.com/NomicFoundation/hardhat-vscode";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.iamanaws ];
|
||||
};
|
||||
}
|
||||
@@ -1,14 +1,33 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p bash curl gawk gnugrep gnused jq nix nix-prefetch nix-prefetch-scripts common-updater-scripts
|
||||
|
||||
# Script to automatically fetch latest vscode
|
||||
|
||||
set -eou pipefail
|
||||
|
||||
latestVersion=$(curl --fail --silent https://api.github.com/repos/Microsoft/vscode/releases | jq --raw-output 'map(select(.prerelease==false)) | .[].tag_name' | sort -V | tail -n1)
|
||||
version="${1:-}"
|
||||
|
||||
currentVersion=$(nix eval --raw -f . vscode.version)
|
||||
|
||||
echo "latest version: $latestVersion"
|
||||
if [[ -n "$version" ]]; then
|
||||
latestVersion="$version"
|
||||
else
|
||||
latestVersion=$(curl --fail --silent https://api.github.com/repos/Microsoft/vscode/releases | jq --raw-output 'map(select(.prerelease==false)) | .[].tag_name' | sort -V | tail -n1)
|
||||
if ! [[ "$latestVersion" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "Error: Invalid version from GitHub API: $latestVersion"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "target version: $latestVersion"
|
||||
echo "current version: $currentVersion"
|
||||
|
||||
minVersion=$(printf '%s\n' "$currentVersion" "$latestVersion" | sort -V | head -n1)
|
||||
if [[ "$minVersion" == "$latestVersion" ]] && [[ "$latestVersion" != "$currentVersion" ]]; then
|
||||
echo "Error: target version '$latestVersion' is less than current version '$currentVersion'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$latestVersion" == "$currentVersion" ]]; then
|
||||
echo "package is up-to-date"
|
||||
exit 0
|
||||
@@ -23,4 +42,10 @@ for system in $systems; do
|
||||
done
|
||||
|
||||
rev=$(curl --fail --silent https://api.github.com/repos/Microsoft/vscode/git/ref/tags/$latestVersion | jq --raw-output .object.sha)
|
||||
update-source-version vscode $rev --version-key=rev --source-key=vscodeServer.src --ignore-same-version --ignore-same-hash
|
||||
vscodeServerHash=$(nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 $(nix-prefetch-url https://update.code.visualstudio.com/commit:$rev/server-linux-x64/stable))
|
||||
update-source-version vscode $rev $vscodeServerHash --version-key=rev --source-key=vscodeServer.src --ignore-same-version --ignore-same-hash
|
||||
|
||||
echo ""
|
||||
echo "Update complete! To test the changes:"
|
||||
echo " 1. Close any running VS Code instances"
|
||||
echo " 2. Run: NIXPKGS_ALLOW_UNFREE=1 nix run -f . vscode"
|
||||
|
||||
@@ -36,20 +36,20 @@ let
|
||||
|
||||
hash =
|
||||
{
|
||||
x86_64-linux = "sha256-ST5i8gvNtAaBbmcpcg9GJipr8e5d0A0qbdG1P9QViek=";
|
||||
x86_64-darwin = "sha256-BRGXLasiHZSKsijq02bCa2RbaBc7iC1ZtLe29u4KTH0=";
|
||||
aarch64-linux = "sha256-7plpHWoi8eYDKQZVV3OCXZJUk8j173M1xpRgTOTsPZ0=";
|
||||
aarch64-darwin = "sha256-RgfhGjVFmaIAAotTYNPUDrJZ8qj8e4yR9bVfal/Hl6o=";
|
||||
armv7l-linux = "sha256-Zzz4HsmiWcKiBRE19pGll8BRQy26wbmpuYSi89PDoBo=";
|
||||
x86_64-linux = "sha256-6zmuYl34QMG3W5h/gCfiW9atK4CpdoQJvttw6y4sy9Q=";
|
||||
x86_64-darwin = "sha256-0TD+ez+/jc6nZEoZO3j467ouMbmnek6iQQ6SMo57oL0=";
|
||||
aarch64-linux = "sha256-Cz7mjcm0HcoRK5EA5xi9AHOxbiEOt9JL+Drfd6/tYBw=";
|
||||
aarch64-darwin = "sha256-8Rfjr8WShCwrJlJapkALNPubPVBpKGZRtHKtTi5Xslc=";
|
||||
armv7l-linux = "sha256-eUvAvFIP8/5KIIyZFD6VY6RBR97kus6PFb7Inxgh30A=";
|
||||
}
|
||||
.${system} or throwSystem;
|
||||
|
||||
# Please backport all compatible updates to the stable release.
|
||||
# This is important for the extension ecosystem.
|
||||
version = "1.109.2";
|
||||
version = "1.109.4";
|
||||
|
||||
# This is used for VS Code - Remote SSH test
|
||||
rev = "591199df409fbf59b4b52d5ad4ee0470152a9b31";
|
||||
rev = "c3a26841a84f20dfe0850d0a5a9bd01da4f003ea";
|
||||
in
|
||||
buildVscode {
|
||||
pname = "vscode" + lib.optionalString isInsiders "-insiders";
|
||||
@@ -82,7 +82,7 @@ buildVscode {
|
||||
src = fetchurl {
|
||||
name = "vscode-server-${rev}.tar.gz";
|
||||
url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable";
|
||||
hash = "sha256-CbU8VdJETTzpwCpzVgavoeSQMdz3RdwDYJ7wUqs8LJ8=";
|
||||
hash = "sha256-tv7BPcSnejWzURVB3/HpiyqjjeDxsn4dS/NTonsuEs4=";
|
||||
};
|
||||
stdenv = stdenvNoCC;
|
||||
};
|
||||
|
||||
@@ -823,7 +823,7 @@
|
||||
}
|
||||
},
|
||||
"ungoogled-chromium": {
|
||||
"version": "145.0.7632.75",
|
||||
"version": "145.0.7632.109",
|
||||
"deps": {
|
||||
"depot_tools": {
|
||||
"rev": "fb0b652edba70f5c4ac867f3beca9e535f905b4c",
|
||||
@@ -835,16 +835,16 @@
|
||||
"hash": "sha256-SoXVnpCuNee80N4YdsTEHQd3jZNoHOwKVP6O8a67Ym0="
|
||||
},
|
||||
"ungoogled-patches": {
|
||||
"rev": "145.0.7632.75-1",
|
||||
"hash": "sha256-DlHNbochbPLRdD3wn1lW9S7x4OLzI+1cAMqjeTYNlA4="
|
||||
"rev": "145.0.7632.109-1",
|
||||
"hash": "sha256-IKt/88bzppdwewWJpim8JL7u6N42o6W2VygvWd+XdVo="
|
||||
},
|
||||
"npmHash": "sha256-13sgV/5BD7QvDLBAEmoLN5vongw+S5v5znvZcctxhWc="
|
||||
},
|
||||
"DEPS": {
|
||||
"src": {
|
||||
"url": "https://chromium.googlesource.com/chromium/src.git",
|
||||
"rev": "ab0b95409566de9da1ed76e690022f774aec7793",
|
||||
"hash": "sha256-VvHDqNTXOFeV+QY3K2O9fTFxDzrkz6qKl9hP8nVDMAw=",
|
||||
"rev": "61eff07de4f37ac1c6969c91034a447ef6cd394d",
|
||||
"hash": "sha256-b498JyyvsN/+0Gqjdrq+eT1HW54/ayEENRHa1Sw69Xw=",
|
||||
"recompress": true
|
||||
},
|
||||
"src/third_party/clang-format/script": {
|
||||
@@ -954,8 +954,8 @@
|
||||
},
|
||||
"src/third_party/dawn": {
|
||||
"url": "https://dawn.googlesource.com/dawn.git",
|
||||
"rev": "0cf07977de12e7056ab3cbcbf584411e88a1f734",
|
||||
"hash": "sha256-2OgNRRkpUlkyXAQDSOL4279JAi1C0QbH4MEfNW7WieQ="
|
||||
"rev": "d9f5a980bb5a4baeb7d9c1fef89a39789a6cd9fb",
|
||||
"hash": "sha256-DaNsRQm9bR2lfbiP6vWr2R7KD8mYWOaJ72VJyrUkJvI="
|
||||
},
|
||||
"src/third_party/dawn/third_party/glfw": {
|
||||
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw",
|
||||
@@ -1079,8 +1079,8 @@
|
||||
},
|
||||
"src/third_party/devtools-frontend/src": {
|
||||
"url": "https://chromium.googlesource.com/devtools/devtools-frontend",
|
||||
"rev": "cc75f545bcb65238f74fd291833112305ce6915a",
|
||||
"hash": "sha256-tOE96dcLmUaAVvOo4oGoUrEFpGSH2yxIBtvXSAVzbK0="
|
||||
"rev": "8eb35b80efbc72ffb3aff36c3c1106fe9269df88",
|
||||
"hash": "sha256-fzcXSU0kaIZVTQx1L5A0Xmn3HEzUE35mzfsU0YEaxw0="
|
||||
},
|
||||
"src/third_party/dom_distiller_js/dist": {
|
||||
"url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git",
|
||||
@@ -1424,8 +1424,8 @@
|
||||
},
|
||||
"src/third_party/pdfium": {
|
||||
"url": "https://pdfium.googlesource.com/pdfium.git",
|
||||
"rev": "3c679253a9e17c10be696d345c63636b18b7f925",
|
||||
"hash": "sha256-OW39m1TVJnSdbeVeTCgSxePTqFTOwWqZIrU/5SEioCc="
|
||||
"rev": "004b47619573a582c076679764e07725ace3e497",
|
||||
"hash": "sha256-PHu3v/ZeEa11/CTGJh8aJjV/lTIVSJ6W7uH2njsHj1w="
|
||||
},
|
||||
"src/third_party/perfetto": {
|
||||
"url": "https://chromium.googlesource.com/external/github.com/google/perfetto.git",
|
||||
@@ -1639,8 +1639,8 @@
|
||||
},
|
||||
"src/v8": {
|
||||
"url": "https://chromium.googlesource.com/v8/v8.git",
|
||||
"rev": "fffd2bdc35a900b4312833885d9d30803580670e",
|
||||
"hash": "sha256-WqSGzOCvLw6k3t1oNgZV17KY8TVl6j4lJr0NZSVbm4o="
|
||||
"rev": "a8b42c8fae7c7f1ce4e32b08ee61c22775185c01",
|
||||
"hash": "sha256-HZ4JbSoMNVqUrCWoxk0/AxzlcpMgKhe/HJ7DGeTeE9M="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -968,13 +968,13 @@
|
||||
"vendorHash": "sha256-fh0QEWSwdoWKED/39OBT5kMADbsUDvhJUYMfWR9P5os="
|
||||
},
|
||||
"ns1-terraform_ns1": {
|
||||
"hash": "sha256-pKdybFzTuuD6D76Uhuz+fLN+EmpDxUwjIWXYK6DRKOY=",
|
||||
"hash": "sha256-MX/Wd9Lztjn7uwDzJjs4bsSSp0PFzUgsu4jXke9jHL8=",
|
||||
"homepage": "https://registry.terraform.io/providers/ns1-terraform/ns1",
|
||||
"owner": "ns1-terraform",
|
||||
"repo": "terraform-provider-ns1",
|
||||
"rev": "v2.8.0",
|
||||
"rev": "v2.8.2",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-QEzQogxM44Yc2iH6r+AtTYhv0p/T7jDwO5axNQE2sMY="
|
||||
"vendorHash": "sha256-iFya3JEM2XklfunQq0Mbdar/nyWOQZHfYWa2NWBxzTM="
|
||||
},
|
||||
"numtide_linuxbox": {
|
||||
"hash": "sha256-svQRz1/PdVLpHoxOam1sfRTwHqgqs4ohJQs3IPMMAM4=",
|
||||
@@ -1076,11 +1076,11 @@
|
||||
"vendorHash": "sha256-F1AuO/dkldEDRvkwrbq2EjByxjg3K2rohZAM4DzKPUw="
|
||||
},
|
||||
"pagerduty_pagerduty": {
|
||||
"hash": "sha256-dQaXwuT7BsgaC5PeFMqqQ1607E2/BYTA18RL8YycvNw=",
|
||||
"hash": "sha256-CH0rAsJKP6AogzYJUOHsdGln/DnwyP9WAlOgUEb3ahA=",
|
||||
"homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty",
|
||||
"owner": "PagerDuty",
|
||||
"repo": "terraform-provider-pagerduty",
|
||||
"rev": "v3.30.9",
|
||||
"rev": "v3.31.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
@@ -1499,12 +1499,12 @@
|
||||
"vendorHash": "sha256-Z4DfoG4ApXbPNXZs9YvBWQj1bH7moLNI6P+nKDHt/Jc="
|
||||
},
|
||||
"yandex-cloud_yandex": {
|
||||
"hash": "sha256-f/dCdlJfhEWzN+nXKVy9y1zy3SAULuyJFs/XzxoU0Xs=",
|
||||
"hash": "sha256-dD78ZHMDhSRHzkOs0fIxjZmNCHvWTDIKuVv68Tl7sTY=",
|
||||
"homepage": "https://registry.terraform.io/providers/yandex-cloud/yandex",
|
||||
"owner": "yandex-cloud",
|
||||
"repo": "terraform-provider-yandex",
|
||||
"rev": "v0.185.0",
|
||||
"rev": "v0.187.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-NxFEJxm+6HCtQxSQF65LB+4lsknGSdACokUyBVAJvn0="
|
||||
"vendorHash": "sha256-ZYVGqcviq7auN2JwqHEFWiFPvy+PkaYV7MamNKF8Frc="
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
liberation-sans-narrow,
|
||||
liberation_ttf_v2,
|
||||
libertine,
|
||||
libertine-g,
|
||||
linux-libertine-g,
|
||||
noto-fonts,
|
||||
noto-fonts-lgc-plus,
|
||||
noto-fonts-cjk-sans,
|
||||
@@ -206,7 +206,7 @@ let
|
||||
liberation-sans-narrow
|
||||
liberation_ttf_v2
|
||||
libertine
|
||||
libertine-g
|
||||
linux-libertine-g
|
||||
# Font priority issues in some tests in Still
|
||||
noto-fonts-lgc-plus
|
||||
(if variant == "fresh" then noto-fonts else (notoSubset [ "Arabic" ]))
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
lld,
|
||||
}:
|
||||
|
||||
let
|
||||
arch = stdenv.hostPlatform.qemuArch;
|
||||
|
||||
target = ./. + "/${arch}-unknown-none.json";
|
||||
|
||||
in
|
||||
|
||||
let
|
||||
cross = import ../../../.. {
|
||||
system = stdenv.hostPlatform.system;
|
||||
crossSystem = lib.systems.examples."${arch}-embedded" // {
|
||||
rust.rustcTarget = "${arch}-unknown-none";
|
||||
rust.platform =
|
||||
assert lib.assertMsg (builtins.pathExists target) "Target spec not found";
|
||||
lib.importJSON target;
|
||||
};
|
||||
};
|
||||
|
||||
inherit (cross) rustPlatform;
|
||||
|
||||
in
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-hypervisor-firmware";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloud-hypervisor";
|
||||
repo = "rust-hypervisor-firmware";
|
||||
tag = version;
|
||||
sha256 = "sha256-iLYmPBJH7I6EJ8VTUbR0+lZaebvbZlRv2KglbjKX76Q=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-iqsU4t8Zz9UTtAu+a6kqwnPZ6qdGAriQ7hcU58KDQ8M=";
|
||||
|
||||
# lld: error: unknown argument '-Wl,--undefined=AUDITABLE_VERSION_INFO'
|
||||
# https://github.com/cloud-hypervisor/rust-hypervisor-firmware/issues/249
|
||||
auditable = false;
|
||||
|
||||
env = {
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
RUSTFLAGS = "-C linker=lld -C linker-flavor=ld.lld";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
lld
|
||||
];
|
||||
|
||||
# Tests don't work for `no_std`. See https://os.phil-opp.com/testing/
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/cloud-hypervisor/rust-hypervisor-firmware";
|
||||
description = "Simple firmware that is designed to be launched from anything that supports loading ELF binaries and running them with the PVH booting standard";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ astro ];
|
||||
platforms = [ "x86_64-none" ];
|
||||
mainProgram = "hypervisor-fw";
|
||||
};
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"llvm-target": "x86_64-unknown-none",
|
||||
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
|
||||
"arch": "x86_64",
|
||||
"target-endian": "little",
|
||||
"target-pointer-width": "64",
|
||||
"target-c-int-width": "32",
|
||||
"os": "none",
|
||||
"executables": true,
|
||||
"linker": "rust-lld",
|
||||
"linker-flavor": "ld.lld",
|
||||
"panic-strategy": "abort",
|
||||
"disable-redzone": true,
|
||||
"features": "-mmx,-sse,+soft-float",
|
||||
"code-model": "small",
|
||||
"relocation-model": "pic",
|
||||
"pre-link-args": {
|
||||
"ld.lld": ["--script=x86_64-unknown-none.ld"]
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "1oom";
|
||||
version = "1.11.7";
|
||||
version = "1.11.8";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "1oom-fork";
|
||||
repo = "1oom";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-pOEs3HQSxER0wUhasxQUyrktka8cRZCtNER0F01BRvk=";
|
||||
hash = "sha256-Y29Xc8ylXhpQO7dDl7z7XC7+RB4UOIRksZ8RtfaCiEc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
36
pkgs/by-name/ac/acorns/package.nix
Normal file
36
pkgs/by-name/ac/acorns/package.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "acorns";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "redhat-documentation";
|
||||
repo = "acorns";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-TqLfEiq4FYrc88aJK047n+pjMNkz7/H9AQZ6wxb1dI0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-q+XDKVNH1FLggfHlThck3yGDyFL9N7vHlj5cxPCnkdU=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
meta = {
|
||||
description = "Generate an AsciiDoc release notes document from tracking tickets";
|
||||
homepage = "https://redhat-documentation.github.io/acorns/";
|
||||
downloadPage = "https://github.com/redhat-documentation/acorns";
|
||||
changelog = "https://github.com/redhat-documentation/acorns/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ iamanaws ];
|
||||
mainProgram = "acorns";
|
||||
};
|
||||
})
|
||||
@@ -9,7 +9,6 @@
|
||||
libdrm,
|
||||
libGL,
|
||||
atkmm,
|
||||
pcre,
|
||||
gtkmm4,
|
||||
pugixml,
|
||||
libgbm,
|
||||
@@ -44,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libdrm
|
||||
libGL
|
||||
atkmm
|
||||
pcre
|
||||
gtkmm4
|
||||
pugixml
|
||||
libgbm
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"version": "1.16.5",
|
||||
"version": "1.18.3",
|
||||
"vscodeVersion": "1.107.0",
|
||||
"sources": {
|
||||
"x86_64-linux": {
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.16.5-6703236727046144/linux-x64/Antigravity.tar.gz",
|
||||
"sha256": "1953c62452d32a72e595f7fa832c7a7ed9072d22c9cf99df3a22c249a97f5e97"
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.18.3-4739469533380608/linux-x64/Antigravity.tar.gz",
|
||||
"sha256": "4c7fe48c954e4d255c5d3ea4c74f168a4a7187fd2beedb223423cb57481c9638"
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.16.5-6703236727046144/linux-arm/Antigravity.tar.gz",
|
||||
"sha256": "b828e4a6e5133283b418a3e2afd2f97111ffc804cc2eef56c0e2327396b8ad97"
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.18.3-4739469533380608/linux-arm/Antigravity.tar.gz",
|
||||
"sha256": "258778041c502e7ce74b39959e9b93d28f5c1d8154e553863f58a365e5a9fca5"
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.16.5-6703236727046144/darwin-x64/Antigravity.zip",
|
||||
"sha256": "6d859d2427ac9f4cbd435e1568d6a626186e153f38263c4dd3e1c16672f79005"
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.18.3-4739469533380608/darwin-x64/Antigravity.zip",
|
||||
"sha256": "9e5b9bca3807df01684af506515f7c6f2b3635b2e5a778c170b7d1543dbedf19"
|
||||
},
|
||||
"aarch64-darwin": {
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.16.5-6703236727046144/darwin-arm/Antigravity.zip",
|
||||
"sha256": "4b4ece88e76e01ffe7e774a8eadb21134011d0177adb90464ef8f6c2102ff45d"
|
||||
"url": "https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/1.18.3-4739469533380608/darwin-arm/Antigravity.zip",
|
||||
"sha256": "cbd77fd2efe472eb36287feb3212ec7df4e81e49d8801e77fe0fa1c5ee5b30e8"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "apko";
|
||||
version = "1.1.6";
|
||||
version = "1.1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chainguard-dev";
|
||||
repo = "apko";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7WNWbTs+r3L2O6ixK1yEElwdFfRPqx2yX+nPRy3nSEM=";
|
||||
hash = "sha256-gYLLKejvyQTbDEua51RxxQy1aSUsp8EJrg/7b5xrEBs=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
@@ -29,7 +29,7 @@ buildGoModule (finalAttrs: {
|
||||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||
'';
|
||||
};
|
||||
vendorHash = "sha256-mSnEga9JtS1ObMJpS0uo1RZs2ubpTwsErtmD8rMe5gg=";
|
||||
vendorHash = "sha256-Iv9aRb4soepckHl0cQMb3TqHjiNn19QLFCprTunWiO8=";
|
||||
|
||||
excludedPackages = [
|
||||
"internal/gen-jsonschema"
|
||||
|
||||
38
pkgs/by-name/bd/bdf2ttf/gcc-15.patch
Normal file
38
pkgs/by-name/bd/bdf2ttf/gcc-15.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
Fetched as:
|
||||
$ curl -L https://patch-diff.githubusercontent.com/raw/koron/bdf2ttf/pull/9.patch
|
||||
|
||||
From 87d9f987517c78c444d1d425e33c9a5f06ced3ce Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyich@gmail.com>
|
||||
Date: Thu, 22 Jan 2026 06:35:12 +0000
|
||||
Subject: [PATCH] bdf.c: fix the build against -std=c23
|
||||
|
||||
`gcc-15` switched to `c23` by default and `bdf2tff`
|
||||
started to fail the build as:
|
||||
|
||||
````
|
||||
src/bdf.c:131:1: error: conflicting types for 'glyph_open'; have 'bdf_glyph_t *(int, int)' {aka 'struct _bdf_glyph_t *(int, int)'}
|
||||
131 | glyph_open(int width, int height)
|
||||
| ^~~~~~~~~~
|
||||
src/bdf.c:60:25: note: previous declaration of 'glyph_open' with type 'bdf_glyph_t *(void)' {aka 'struct _bdf_glyph_t *(void)'}
|
||||
60 | static bdf_glyph_t* glyph_open();
|
||||
| ^~~~~~~~~~
|
||||
````
|
||||
|
||||
THe change fixed explicit prototype for a forward declaration.
|
||||
---
|
||||
src/bdf.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/bdf.c b/src/bdf.c
|
||||
index 0832092..08272ed 100644
|
||||
--- a/src/bdf.c
|
||||
+++ b/src/bdf.c
|
||||
@@ -57,7 +57,7 @@ static width_table_t cell_width_table[] = {
|
||||
|
||||
static int bdf_load_fh(bdf_t* font, FILE* fp);
|
||||
static void count_validglyph(bdf_t* font);
|
||||
-static bdf_glyph_t* glyph_open();
|
||||
+static bdf_glyph_t* glyph_open(int width, int height);
|
||||
static void glyph_close(bdf_glyph_t *glyph);
|
||||
static char* iscmd(char* target, char* keyword);
|
||||
static int atoi_next(char** str);
|
||||
@@ -15,6 +15,11 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-235BTcTaC/30yLlgo0OO2cp3YCHWa87GFJGBx5lmz6o=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# gcc-15 build fix: https://github.com/koron/bdf2ttf/pull/9
|
||||
./gcc-15.patch
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "gcc" ];
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
}:
|
||||
let
|
||||
pname = "beeper";
|
||||
version = "4.2.547";
|
||||
version = "4.2.564";
|
||||
src = fetchurl {
|
||||
url = "https://beeper-desktop.download.beeper.com/builds/Beeper-${version}-x86_64.AppImage";
|
||||
hash = "sha256-PuthmxdIuftaK9U9r52Fc9b8JzYPwxezRhWjdyo+nmA=";
|
||||
hash = "sha256-AvcERjQizf/8MsFjC9NtkMne/2ZFLPxiL0HMQsyo8TE=";
|
||||
};
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-show-asm";
|
||||
version = "0.2.55";
|
||||
version = "0.2.56";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-ZSPlFDnLVQp1uz1VrbXmw8bAM1/ZWojAv7PSFG+k2Pw=";
|
||||
hash = "sha256-PBvcAIqCx29UqV8Ky3j0JF1aN6dbFOKxmwvJt4hAut0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-M4nn9MnFtyHh9QX12CHGGOL4gkTy9lozd87Rph4+OBA=";
|
||||
cargoHash = "sha256-73LAMjYf3yEuBrk45/J2dArc65BAEO4kxrKp6GhBnxs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-typify";
|
||||
version = "0.1.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oxidecomputer";
|
||||
repo = "typify";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-vokhWIY5iikTyADrqxp6DIq+tJ+xdFPebDFTddJnstA=";
|
||||
hash = "sha256-czVxvsRhKnNnvPmONF+pTzZG1tizfCCbThgPhaI8TLo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-1qxWFyA9xCnyDES27uj7gDc5Nf6qdikNkpuf/DP/NAU=";
|
||||
cargoHash = "sha256-7z/gWIl2HqEkpRcWXZv6QQmLdJVJQfY7VCVP2ik5Mps=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustfmt
|
||||
|
||||
44
pkgs/by-name/ca/cavif/package.nix
Normal file
44
pkgs/by-name/ca/cavif/package.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
nasm,
|
||||
nix-update-script,
|
||||
nixos-icons,
|
||||
runCommand,
|
||||
testers,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cavif";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-F2b03x+jklgxa3VcRA3y0wuK7AQ2LJtCEvCa6eFeG3w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-x/0Kgf8oWjL6m2/8ol32EJpKkWSgBRbdCTay6KYrtzg=";
|
||||
|
||||
nativeBuildInputs = [ nasm ];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
encode = runCommand "cavif-encode-test" { nativeBuildInputs = [ finalAttrs.finalPackage ]; } ''
|
||||
cavif ${nixos-icons}/share/icons/hicolor/512x512/apps/nix-snowflake.png -o $out
|
||||
'';
|
||||
};
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Encoder/converter CLI for AVIF images";
|
||||
homepage = "https://github.com/kornelski/cavif-rs";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ nettika ];
|
||||
mainProgram = "cavif";
|
||||
};
|
||||
})
|
||||
@@ -1,197 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
SDL2,
|
||||
boost,
|
||||
catch2_3,
|
||||
cmake,
|
||||
ninja,
|
||||
fetchFromGitea,
|
||||
cpp-jwt,
|
||||
cubeb,
|
||||
gamemode,
|
||||
discord-rpc,
|
||||
enet,
|
||||
fetchzip,
|
||||
ffmpeg-headless,
|
||||
fmt,
|
||||
glslang,
|
||||
openal,
|
||||
libopus,
|
||||
libusb1,
|
||||
libva,
|
||||
lz4,
|
||||
python3,
|
||||
wrapGAppsHook3,
|
||||
nlohmann_json,
|
||||
rapidjson,
|
||||
openssl,
|
||||
pkg-config,
|
||||
qt6,
|
||||
spirv-tools,
|
||||
spirv-headers,
|
||||
vulkan-utility-libraries,
|
||||
vulkan-headers,
|
||||
vulkan-loader,
|
||||
simpleini,
|
||||
zlib,
|
||||
vulkan-memory-allocator,
|
||||
zstd,
|
||||
withDiscordPresence ? true,
|
||||
withOptimisation ? false,
|
||||
}:
|
||||
let
|
||||
nx_tzdbVersion = "221202";
|
||||
nx_tzdb = fetchzip {
|
||||
url = "https://github.com/lat9nq/tzdb_to_nx/releases/download/${nx_tzdbVersion}/${nx_tzdbVersion}.zip";
|
||||
hash = "sha256-YOIElcKTiclem05trZsA3YJReozu/ex7jJAKD6nAMwc=";
|
||||
stripRoot = false;
|
||||
};
|
||||
inherit (qt6)
|
||||
qtbase
|
||||
qtmultimedia
|
||||
qttools
|
||||
qtwayland
|
||||
qtwebengine
|
||||
wrapQtAppsHook
|
||||
;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "citron-emu";
|
||||
version = "0.12.25";
|
||||
src = fetchFromGitea {
|
||||
fetchSubmodules = true;
|
||||
domain = "git.citron-emu.org";
|
||||
owner = "Citron";
|
||||
repo = "Emulator";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Su+SvCb6KDF9/ilb6Y/RZTOq/ffaMTWiJZy8nmGZ3n4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
glslang
|
||||
pkg-config
|
||||
python3
|
||||
qttools
|
||||
wrapGAppsHook3
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
vulkan-headers
|
||||
boost
|
||||
catch2_3
|
||||
cpp-jwt
|
||||
cubeb
|
||||
enet
|
||||
ffmpeg-headless
|
||||
fmt
|
||||
openal
|
||||
libopus
|
||||
libusb1
|
||||
libva
|
||||
lz4
|
||||
nlohmann_json
|
||||
rapidjson
|
||||
openssl
|
||||
qtbase
|
||||
qtmultimedia
|
||||
qtwayland
|
||||
qtwebengine
|
||||
gamemode
|
||||
SDL2
|
||||
simpleini
|
||||
spirv-tools
|
||||
spirv-headers
|
||||
vulkan-loader
|
||||
vulkan-memory-allocator
|
||||
vulkan-utility-libraries
|
||||
zlib
|
||||
zstd
|
||||
]
|
||||
++ lib.optionals withDiscordPresence [
|
||||
discord-rpc
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
|
||||
(lib.cmakeBool "CITRON_ENABLE_LTO" true)
|
||||
(lib.cmakeBool "CITRON_TESTS" false)
|
||||
(lib.cmakeBool "ENABLE_QT" true)
|
||||
(lib.cmakeBool "USE_SYSTEM_QT" true)
|
||||
(lib.cmakeBool "ENABLE_QT_TRANSLATION" true)
|
||||
(lib.cmakeBool "CITRON_USE_EXTERNAL_SDL2" false)
|
||||
(lib.cmakeBool "CITRON_USE_EXTERNAL_VULKAN_HEADERS" false)
|
||||
(lib.cmakeBool "CITRON_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES" false)
|
||||
(lib.cmakeBool "CITRON_USE_EXTERNAL_VULKAN_SPIRV_TOOLS" false)
|
||||
(lib.cmakeBool "CITRON_DOWNLOAD_TIME_ZONE_DATA" false)
|
||||
(lib.cmakeBool "CITRON_CHECK_SUBMODULES" false)
|
||||
(lib.cmakeBool "CITRON_USE_QT_WEB_ENGINE" true)
|
||||
(lib.cmakeBool "CITRON_USE_QT_MULTIMEDIA" true)
|
||||
(lib.cmakeBool "USE_DISCORD_PRESENCE" withDiscordPresence)
|
||||
(lib.cmakeBool "CITRON_ENABLE_COMPATIBILITY_REPORTING" false)
|
||||
(lib.cmakeBool "CITRON_USE_AUTO_UPDATER" false)
|
||||
(lib.cmakeFeature "TITLE_BAR_FORMAT_IDLE" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}")
|
||||
(lib.cmakeFeature "TITLE_BAR_FORMAT_RUNNING" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}")
|
||||
]
|
||||
++ lib.optionals withOptimisation [
|
||||
(lib.cmakeFeature "CMAKE_C_FLAGS" "-march=x86-64-v3")
|
||||
(lib.cmakeFeature "CMAKE_CXX_FLAGS" "-march=x86-64-v3")
|
||||
];
|
||||
|
||||
env = {
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse4.1";
|
||||
};
|
||||
|
||||
dontWrapGApps = true;
|
||||
preFixup = ''
|
||||
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
# provide pre-downloaded tz data
|
||||
mkdir -p build/externals/nx_tzdb
|
||||
ln -s ${nx_tzdb} build/externals/nx_tzdb/nx_tzdb
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
# --- Qt 6.10: use GuiPrivate so qpa/qplatformnativeinterface.h is found ---
|
||||
|
||||
# Add GuiPrivate to the Qt6 components
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent)" \
|
||||
"find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent GuiPrivate)"
|
||||
|
||||
# Link Qt6::GuiPrivate into the GUI target so its private headers are on the include path
|
||||
substituteInPlace src/citron/CMakeLists.txt \
|
||||
--replace-fail "target_link_libraries(citron PRIVATE Boost::headers" \
|
||||
"target_link_libraries(citron PRIVATE Boost::headers Qt6::GuiPrivate"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 $src/dist/72-citron-input.rules $out/lib/udev/rules.d/72-citron-input.rules
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit nx_tzdb;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://citron-emu.org";
|
||||
changelog = "https://git.citron-emu.org/Citron/Emulator/releases/tag/${finalAttrs.version}";
|
||||
description = "Nintendo Switch emulator for PC";
|
||||
mainProgram = "citron";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = with lib.licenses; [
|
||||
gpl3Plus
|
||||
# Icons
|
||||
asl20
|
||||
mit
|
||||
cc0
|
||||
];
|
||||
maintainers = with lib.maintainers; [ samemrecebi ];
|
||||
};
|
||||
})
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cloud-hypervisor";
|
||||
version = "50.0";
|
||||
version = "51.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloud-hypervisor";
|
||||
repo = "cloud-hypervisor";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-U2jNKdc+CWB/Z9TvAC0xfHDipfe4dhWjL9VXbBVaNJE=";
|
||||
hash = "sha256-RdwQg6/EI+oGkyNXnu5t1q87oTXev25XpIaE+PWDTx4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-M1jVvFo9Bo/ZFqaFtzwp2rusl1T1m7jAkEobOF0cnlA=";
|
||||
cargoHash = "sha256-WoFdX1GrgbADm2zm269OGczaGktVXau1UP7vzxfNZPQ=";
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = [ nix-eval-jobs ];
|
||||
|
||||
NIX_EVAL_JOBS = "${nix-eval-jobs}/bin/nix-eval-jobs";
|
||||
env.NIX_EVAL_JOBS = "${nix-eval-jobs}/bin/nix-eval-jobs";
|
||||
|
||||
patches = [
|
||||
# Fixes nix 2.24 compat: https://github.com/zhaofengli/colmena/pull/236
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
libutempter,
|
||||
termbench-pro,
|
||||
qt6,
|
||||
pcre,
|
||||
boost,
|
||||
catch2_3,
|
||||
fmt,
|
||||
@@ -67,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
termbench-pro
|
||||
qt6.qtmultimedia
|
||||
qt6.qt5compat
|
||||
pcre
|
||||
boost
|
||||
catch2_3
|
||||
fmt
|
||||
|
||||
30
pkgs/by-name/co/convertall/package.nix
Normal file
30
pkgs/by-name/co/convertall/package.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
flutter341,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
flutter341.buildFlutterApplication rec {
|
||||
pname = "convertall";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "doug-101";
|
||||
repo = "ConvertAll";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-esc2xhL0Jx5SaqM0GnnVzdtnSN9bX8zln66We/2RqoA=";
|
||||
};
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
meta = {
|
||||
homepage = "https://convertall.bellz.org";
|
||||
description = "Graphical unit converter";
|
||||
mainProgram = "convertall";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
Luflosi
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
792
pkgs/by-name/co/convertall/pubspec.lock.json
Normal file
792
pkgs/by-name/co/convertall/pubspec.lock.json
Normal file
@@ -0,0 +1,792 @@
|
||||
{
|
||||
"packages": {
|
||||
"archive": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "archive",
|
||||
"sha256": "a7f37ff061d7abc2fcf213554b9dcaca713c5853afa5c065c44888bc9ccaf813",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.0.6"
|
||||
},
|
||||
"args": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "args",
|
||||
"sha256": "d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.7.0"
|
||||
},
|
||||
"async": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "async",
|
||||
"sha256": "d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.12.0"
|
||||
},
|
||||
"boolean_selector": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "boolean_selector",
|
||||
"sha256": "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.2"
|
||||
},
|
||||
"characters": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "characters",
|
||||
"sha256": "f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.4.0"
|
||||
},
|
||||
"checked_yaml": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "checked_yaml",
|
||||
"sha256": "feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.0.3"
|
||||
},
|
||||
"cli_util": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "cli_util",
|
||||
"sha256": "ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.4.2"
|
||||
},
|
||||
"clock": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "clock",
|
||||
"sha256": "fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.2"
|
||||
},
|
||||
"collection": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "collection",
|
||||
"sha256": "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.19.1"
|
||||
},
|
||||
"crypto": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "crypto",
|
||||
"sha256": "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.0.6"
|
||||
},
|
||||
"cupertino_icons": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "cupertino_icons",
|
||||
"sha256": "ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.0.8"
|
||||
},
|
||||
"decimal": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "decimal",
|
||||
"sha256": "24a261d5d5c87e86c7651c417a5dbdf8bcd7080dd592533910e8d0505a279f21",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.3.3"
|
||||
},
|
||||
"eval_ex": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "eval_ex",
|
||||
"sha256": "3f8853d996ee41955f2232ad3730e95698fb1040d03f6ebc6ab01f1c2bc3be53",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.8"
|
||||
},
|
||||
"fake_async": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "fake_async",
|
||||
"sha256": "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.3.2"
|
||||
},
|
||||
"ffi": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "ffi",
|
||||
"sha256": "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.4"
|
||||
},
|
||||
"file": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "file",
|
||||
"sha256": "a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "7.0.1"
|
||||
},
|
||||
"flutter": {
|
||||
"dependency": "direct main",
|
||||
"description": "flutter",
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"flutter_launcher_icons": {
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "flutter_launcher_icons",
|
||||
"sha256": "bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.14.3"
|
||||
},
|
||||
"flutter_lints": {
|
||||
"dependency": "direct dev",
|
||||
"description": {
|
||||
"name": "flutter_lints",
|
||||
"sha256": "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.0.2"
|
||||
},
|
||||
"flutter_markdown_selectionarea": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_markdown_selectionarea",
|
||||
"sha256": "d4bc27e70a5c40ebdab23a4b81f75d53696a214d4d1f13c12045b38a0ddc58a2",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.6.17+1"
|
||||
},
|
||||
"flutter_spinbox": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "flutter_spinbox",
|
||||
"sha256": "38d8c1a3a39f0fa72823d4470785f5e165f2deb53531ca7803b54ba45e4dbd46",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.13.1"
|
||||
},
|
||||
"flutter_test": {
|
||||
"dependency": "direct dev",
|
||||
"description": "flutter",
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"flutter_web_plugins": {
|
||||
"dependency": "transitive",
|
||||
"description": "flutter",
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"http": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "http",
|
||||
"sha256": "fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.3.0"
|
||||
},
|
||||
"http_parser": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "http_parser",
|
||||
"sha256": "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.1.2"
|
||||
},
|
||||
"image": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "image",
|
||||
"sha256": "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.5.4"
|
||||
},
|
||||
"json_annotation": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "json_annotation",
|
||||
"sha256": "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "4.9.0"
|
||||
},
|
||||
"leak_tracker": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "leak_tracker",
|
||||
"sha256": "c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "10.0.8"
|
||||
},
|
||||
"leak_tracker_flutter_testing": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "leak_tracker_flutter_testing",
|
||||
"sha256": "f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.0.9"
|
||||
},
|
||||
"leak_tracker_testing": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "leak_tracker_testing",
|
||||
"sha256": "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.0.1"
|
||||
},
|
||||
"lints": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "lints",
|
||||
"sha256": "cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.0.0"
|
||||
},
|
||||
"markdown": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "markdown",
|
||||
"sha256": "935e23e1ff3bc02d390bad4d4be001208ee92cc217cb5b5a6c19bc14aaa318c1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "7.3.0"
|
||||
},
|
||||
"matcher": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "matcher",
|
||||
"sha256": "dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.12.17"
|
||||
},
|
||||
"material_color_utilities": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "material_color_utilities",
|
||||
"sha256": "f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.11.1"
|
||||
},
|
||||
"meta": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "meta",
|
||||
"sha256": "e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.16.0"
|
||||
},
|
||||
"nested": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "nested",
|
||||
"sha256": "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"package_info_plus": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "package_info_plus",
|
||||
"sha256": "cb44f49b6e690fa766f023d5b22cac6b9affe741dd792b6ac7ad4fabe0d7b097",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.0.0"
|
||||
},
|
||||
"package_info_plus_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "package_info_plus_platform_interface",
|
||||
"sha256": "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.0.1"
|
||||
},
|
||||
"path": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "path",
|
||||
"sha256": "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.9.1"
|
||||
},
|
||||
"path_provider_linux": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "path_provider_linux",
|
||||
"sha256": "f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.2.1"
|
||||
},
|
||||
"path_provider_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "path_provider_platform_interface",
|
||||
"sha256": "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.2"
|
||||
},
|
||||
"path_provider_windows": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "path_provider_windows",
|
||||
"sha256": "bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.3.0"
|
||||
},
|
||||
"petitparser": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "petitparser",
|
||||
"sha256": "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.1.0"
|
||||
},
|
||||
"platform": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "platform",
|
||||
"sha256": "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.1.6"
|
||||
},
|
||||
"plugin_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "plugin_platform_interface",
|
||||
"sha256": "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.8"
|
||||
},
|
||||
"posix": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "posix",
|
||||
"sha256": "f0d7856b6ca1887cfa6d1d394056a296ae33489db914e365e2044fdada449e62",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.0.2"
|
||||
},
|
||||
"provider": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "provider",
|
||||
"sha256": "489024f942069c2920c844ee18bb3d467c69e48955a4f32d1677f71be103e310",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.1.4"
|
||||
},
|
||||
"rational": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "rational",
|
||||
"sha256": "cb808fb6f1a839e6fc5f7d8cb3b0a10e1db48b3be102de73938c627f0b636336",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.2.3"
|
||||
},
|
||||
"screen_retriever": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "screen_retriever",
|
||||
"sha256": "6ee02c8a1158e6dae7ca430da79436e3b1c9563c8cf02f524af997c201ac2b90",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.1.9"
|
||||
},
|
||||
"shared_preferences": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "shared_preferences",
|
||||
"sha256": "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.5.3"
|
||||
},
|
||||
"shared_preferences_android": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_android",
|
||||
"sha256": "20cbd561f743a342c76c151d6ddb93a9ce6005751e7aa458baad3858bfbfb6ac",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.10"
|
||||
},
|
||||
"shared_preferences_foundation": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_foundation",
|
||||
"sha256": "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.5.4"
|
||||
},
|
||||
"shared_preferences_linux": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_linux",
|
||||
"sha256": "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.1"
|
||||
},
|
||||
"shared_preferences_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_platform_interface",
|
||||
"sha256": "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.1"
|
||||
},
|
||||
"shared_preferences_web": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_web",
|
||||
"sha256": "c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.3"
|
||||
},
|
||||
"shared_preferences_windows": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "shared_preferences_windows",
|
||||
"sha256": "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.1"
|
||||
},
|
||||
"sky_engine": {
|
||||
"dependency": "transitive",
|
||||
"description": "flutter",
|
||||
"source": "sdk",
|
||||
"version": "0.0.0"
|
||||
},
|
||||
"source_span": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "source_span",
|
||||
"sha256": "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.10.1"
|
||||
},
|
||||
"stack_trace": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "stack_trace",
|
||||
"sha256": "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.12.1"
|
||||
},
|
||||
"stream_channel": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "stream_channel",
|
||||
"sha256": "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.1.4"
|
||||
},
|
||||
"string_scanner": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "string_scanner",
|
||||
"sha256": "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.4.1"
|
||||
},
|
||||
"term_glyph": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "term_glyph",
|
||||
"sha256": "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.2.2"
|
||||
},
|
||||
"test_api": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "test_api",
|
||||
"sha256": "fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.7.4"
|
||||
},
|
||||
"typed_data": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "typed_data",
|
||||
"sha256": "f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.4.0"
|
||||
},
|
||||
"url_launcher": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "url_launcher",
|
||||
"sha256": "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.3.1"
|
||||
},
|
||||
"url_launcher_android": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_android",
|
||||
"sha256": "8582d7f6fe14d2652b4c45c9b6c14c0b678c2af2d083a11b604caeba51930d79",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.3.16"
|
||||
},
|
||||
"url_launcher_ios": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_ios",
|
||||
"sha256": "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.3.3"
|
||||
},
|
||||
"url_launcher_linux": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_linux",
|
||||
"sha256": "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.2.1"
|
||||
},
|
||||
"url_launcher_macos": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_macos",
|
||||
"sha256": "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.2.2"
|
||||
},
|
||||
"url_launcher_platform_interface": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_platform_interface",
|
||||
"sha256": "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.3.2"
|
||||
},
|
||||
"url_launcher_web": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_web",
|
||||
"sha256": "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.4.0"
|
||||
},
|
||||
"url_launcher_windows": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "url_launcher_windows",
|
||||
"sha256": "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.1.4"
|
||||
},
|
||||
"vector_math": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vector_math",
|
||||
"sha256": "d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"vm_service": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "vm_service",
|
||||
"sha256": "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "14.3.1"
|
||||
},
|
||||
"web": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "web",
|
||||
"sha256": "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.5.1"
|
||||
},
|
||||
"win32": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "win32",
|
||||
"sha256": "dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "5.12.0"
|
||||
},
|
||||
"window_manager": {
|
||||
"dependency": "direct main",
|
||||
"description": {
|
||||
"name": "window_manager",
|
||||
"sha256": "8699323b30da4cdbe2aa2e7c9de567a6abd8a97d9a5c850a3c86dcd0b34bbfbf",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "0.3.9"
|
||||
},
|
||||
"xdg_directories": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "xdg_directories",
|
||||
"sha256": "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "1.1.0"
|
||||
},
|
||||
"xml": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "xml",
|
||||
"sha256": "b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "6.5.0"
|
||||
},
|
||||
"yaml": {
|
||||
"dependency": "transitive",
|
||||
"description": {
|
||||
"name": "yaml",
|
||||
"sha256": "b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce",
|
||||
"url": "https://pub.dev"
|
||||
},
|
||||
"source": "hosted",
|
||||
"version": "3.1.3"
|
||||
}
|
||||
},
|
||||
"sdks": {
|
||||
"dart": ">=3.7.0 <4.0.0",
|
||||
"flutter": ">=3.27.0"
|
||||
}
|
||||
}
|
||||
@@ -13,13 +13,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "cosign";
|
||||
version = "3.0.4";
|
||||
version = "3.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigstore";
|
||||
repo = "cosign";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Ddq9MJNRZ+ywJwxIUP4nhag8UZIH/hOYnF71P3+gI/0=";
|
||||
hash = "sha256-YYssI+fPw6drMZqAwRk3ubh0l/RgEN8b0eoEunihjlw=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional (stdenv.hostPlatform.isLinux && pivKeySupport) (lib.getDev pcsclite);
|
||||
@@ -29,7 +29,7 @@ buildGoModule (finalAttrs: {
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
vendorHash = "sha256-TuA3LwZFAKjZ4aoX92tYd7eziG5N1vDOTsEgwhg5n6w=";
|
||||
vendorHash = "sha256-xC+Wfj1OTLhQAuJlyOB6KPaUXuzOxC2oLCqI5O/6znI=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/cosign"
|
||||
|
||||
115
pkgs/by-name/cu/cups-brother-dcpt720dw/package.nix
Normal file
115
pkgs/by-name/cu/cups-brother-dcpt720dw/package.nix
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
perl,
|
||||
ghostscript,
|
||||
coreutils,
|
||||
gnugrep,
|
||||
which,
|
||||
file,
|
||||
gnused,
|
||||
dpkg,
|
||||
makeBinaryWrapper,
|
||||
libredirect,
|
||||
debugLvl ? "0",
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cups-brother-dcpt720dw";
|
||||
version = "3.5.0-1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.brother.com/welcome/dlf105179/dcpt720dwpdrv-${finalAttrs.version}.i386.deb";
|
||||
hash = "sha256-ToUFGnHxd6rnLdfhdDGzhvsgFJukEAVzlm79hmkSV3E=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
buildInputs = [ perl ];
|
||||
nativeBuildInputs = [
|
||||
dpkg
|
||||
makeBinaryWrapper
|
||||
];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
dpkg-deb -x $src $out
|
||||
|
||||
LPDDIR=$out/opt/brother/Printers/dcpt720dw/lpd
|
||||
WRAPPER=$out/opt/brother/Printers/dcpt720dw/cupswrapper/brother_lpdwrapper_dcpt720dw
|
||||
|
||||
ln -s $LPDDIR/${stdenv.hostPlatform.linuxArch}/* $LPDDIR/
|
||||
|
||||
substituteInPlace $WRAPPER \
|
||||
--replace-fail "PRINTER =~" "PRINTER = \"dcpt720dw\"; #" \
|
||||
--replace-fail "basedir =~" "basedir = \"$out/opt/brother/Printers/dcpt720dw/\"; #" \
|
||||
--replace-fail "lpdconf = " "lpdconf = \$lpddir.'/'.\$LPDCONFIGEXE.\$PRINTER; #" \
|
||||
--replace-fail "\$DEBUG=0;" "\$DEBUG=${debugLvl};"
|
||||
|
||||
substituteInPlace $LPDDIR/filter_dcpt720dw \
|
||||
--replace-fail "BR_PRT_PATH =~" "BR_PRT_PATH = \"$out/opt/brother/Printers/dcpt720dw/\"; #" \
|
||||
--replace-fail "PRINTER =~" "PRINTER = \"dcpt720dw\"; #"
|
||||
|
||||
wrapProgram $WRAPPER \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
coreutils
|
||||
gnugrep
|
||||
gnused
|
||||
]
|
||||
}
|
||||
|
||||
wrapProgram $LPDDIR/filter_dcpt720dw \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
coreutils
|
||||
ghostscript
|
||||
gnugrep
|
||||
gnused
|
||||
which
|
||||
file
|
||||
]
|
||||
}
|
||||
|
||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
$LPDDIR/brdcpt720dwfilter
|
||||
|
||||
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
$LPDDIR/brprintconf_dcpt720dw
|
||||
|
||||
wrapProgram $LPDDIR/brprintconf_dcpt720dw \
|
||||
--set LD_PRELOAD "${lib.getLib libredirect}/lib/libredirect.so" \
|
||||
--set NIX_REDIRECTS /opt=$out/opt
|
||||
|
||||
wrapProgram $LPDDIR/brdcpt720dwfilter \
|
||||
--set LD_PRELOAD "${lib.getLib libredirect}/lib/libredirect.so" \
|
||||
--set NIX_REDIRECTS /opt=$out/opt
|
||||
|
||||
mkdir -p "$out/lib/cups/filter" "$out/share/cups/model"
|
||||
|
||||
ln -s $out/opt/brother/Printers/dcpt720dw/cupswrapper/brother_lpdwrapper_dcpt720dw \
|
||||
$out/lib/cups/filter/brother_lpdwrapper_dcpt720dw
|
||||
|
||||
ln -s "$out/opt/brother/Printers/dcpt720dw/cupswrapper/brother_dcpt720dw_printer_en.ppd" \
|
||||
"$out/share/cups/model/"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Brother DCP-T720DW printer driver";
|
||||
license = lib.licenses.unfree;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with lib.maintainers; [ mimahlavacek ];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"i686-linux"
|
||||
];
|
||||
downloadPage = "https://support.brother.com/g/b/downloadtop.aspx?c=cn_ot&lang=en&prod=dcpt720dw_all";
|
||||
homepage = "http://www.brother.com/";
|
||||
};
|
||||
})
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "dbmate";
|
||||
version = "2.30.0";
|
||||
version = "2.31.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amacneil";
|
||||
repo = "dbmate";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-K5aMBIJmU5vRuRihrqqMsxNXlemFwBqIfC0jVK1j87o=";
|
||||
hash = "sha256-RUorEH4l4YazRw/QxdjPKFV9GXGWEGRTJzk5ugWFj00=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-47UycctApQqi9PZc3a+qKdRsG+qj46RzcCUbyNxgXiI=";
|
||||
|
||||
@@ -30,17 +30,17 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "deno";
|
||||
version = "2.6.9";
|
||||
version = "2.6.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denoland";
|
||||
repo = "deno";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true; # required for tests
|
||||
hash = "sha256-FSm3X+1cTQURF9V/cCYvjJmPx9udcE/s5J6oRhcDWWU=";
|
||||
hash = "sha256-youaF9YERkGUwN0sg6IzV8OAyahSDbFt0psn/p4iOVY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-DgotLiq4xzVH8dhOUA4Fxg0NW0DRnHVCJlxQYVQDaeE=";
|
||||
cargoHash = "sha256-goaqxj8Y5Gqo4et4AkyZ3Uv74Q3M3V0VExUA/AMYNMI=";
|
||||
|
||||
patches = [
|
||||
./patches/0002-tests-replace-hardcoded-paths.patch
|
||||
@@ -130,7 +130,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
cargoTestFlags = [
|
||||
"--lib" # unit tests
|
||||
"--test=integration_tests"
|
||||
"--test=integration_test"
|
||||
# Test targets not included here:
|
||||
# - node_compat: there are tons of network access in them and it's not trivial to skip test cases.
|
||||
# - specs: this target uses a custom test harness that doesn't implement the --skip flag.
|
||||
|
||||
@@ -13,19 +13,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "esphome-dashboard";
|
||||
version = "20260110.0";
|
||||
version = "20260210.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esphome";
|
||||
repo = "dashboard";
|
||||
tag = version;
|
||||
hash = "sha256-h8g/MRfOBkiCKNTOM4I6OimsE5ljgsIMQLl1eZLfP3U=";
|
||||
hash = "sha256-Edd2ZOSBAZSrGVjbncyPhhjFjE0CxBHz16ZHXyzx9LI=";
|
||||
};
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit src;
|
||||
hash = "sha256-DkK2WG7oWHvwYflNdwOMfE0OVP2ICEGAhhTH2rix9zc=";
|
||||
hash = "sha256-L6tKhijTFAvQwhBBl5Wk6xzI2dtDI6IYfCkiKX75Pvc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -33,14 +33,14 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "esphome";
|
||||
version = "2026.1.5";
|
||||
version = "2026.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esphome";
|
||||
repo = "esphome";
|
||||
tag = version;
|
||||
hash = "sha256-leQkNa2FK7Wagpr+TKbfg/qkRMII03+dnWXoFZwwn9w=";
|
||||
hash = "sha256-VcfQsDx3u7GTndF5GE0XCplPXVo9ClLJwqWLJFKzWEk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -68,8 +68,8 @@ python.pkgs.buildPythonApplication rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools==80.9.0" "setuptools" \
|
||||
--replace-fail "wheel>=0.43,<0.46" "wheel"
|
||||
--replace-fail "setuptools==82.0.0" "setuptools" \
|
||||
--replace-fail "wheel>=0.43,<0.47" "wheel"
|
||||
'';
|
||||
|
||||
# Remove esptool and platformio from requirements
|
||||
|
||||
@@ -20,6 +20,8 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
hash = "sha256-IACFPPlkgyJh78p6Jy740CQqcySkMTV/8VVPSRJKTPI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "pypsrp" ];
|
||||
|
||||
# Removes the additional binary ewp
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
||||
@@ -298,6 +298,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pkg-config
|
||||
rustc
|
||||
rustPlatform.cargoSetupHook
|
||||
sphinx
|
||||
# Avoid warnings when building the manpages about HOME not being writable
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
@@ -350,7 +351,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
glibcLocales
|
||||
(python3.withPackages (ps: [ ps.pexpect ]))
|
||||
procps
|
||||
sphinx
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# For the getconf command, used in default-setup-path.fish
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "fly";
|
||||
version = "8.0.1";
|
||||
version = "8.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "concourse";
|
||||
repo = "concourse";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-fwWYZHtirrH0neNMFJzgjxUFAggBRWzFjQVJg68Tfrs=";
|
||||
hash = "sha256-8aaXCsTeeufk6J0KwRLau3KL5LvGK/qXkRdUC0D3DSw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Ymxe64xtstMKISIHHCY5Z8RX3FxoS/8ocSZomcr4NXA=";
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "fzf";
|
||||
version = "0.67.0";
|
||||
version = "0.68.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = "fzf";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-P6jyKskc2jT6zMLAMxklN8e/630oWYT4bWim20IMKvo=";
|
||||
hash = "sha256-3hEAhpWUkAwXE9kU+mRl6nSvnsVyvlFiKW0P9BG/cxE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uFXHoseFOxGIGPiWxWfDl339vUv855VHYgSs9rnDyuI=";
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "github-backup";
|
||||
version = "0.61.3";
|
||||
version = "0.61.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "josegonzalez";
|
||||
repo = "python-github-backup";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-iZM/gXjEBJpqCkW54quNVsr6zrfAfRrcdRy6icecMHk=";
|
||||
hash = "sha256-4xbz074SxcvxP02U7Wx93aLJmJP9c4uYOkmRJ5ySZiE=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
graphviz,
|
||||
libx11,
|
||||
libjpeg,
|
||||
libjxl,
|
||||
libpng,
|
||||
libtiff,
|
||||
libtool,
|
||||
@@ -47,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
graphviz
|
||||
libx11
|
||||
libjpeg
|
||||
libjxl
|
||||
libpng
|
||||
libtiff
|
||||
libtool
|
||||
@@ -111,7 +113,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
PNM, TIFF, and WebP.
|
||||
'';
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ ambossmann ];
|
||||
mainProgram = "gm";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "home-manager";
|
||||
version = "0-unstable-2026-02-09";
|
||||
version = "0-unstable-2026-02-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "home-manager-source";
|
||||
owner = "nix-community";
|
||||
repo = "home-manager";
|
||||
rev = "6c4fdbe1ad198fac36c320fd45c5957324a80b8e";
|
||||
hash = "sha256-mg5WZMIPGsFu9MxSrUcuJUPMbfMsF77el5yb/7rc10k=";
|
||||
rev = "b3ccd4bb262f4e6d3248b46cede92b90c4a42094";
|
||||
hash = "sha256-xK5kl3OBZaF1VwziVMX+SZ2LT9Fbu5o8vRDt78uR7no=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -20,14 +20,14 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "incus-ui-canonical";
|
||||
version = "0.19.5";
|
||||
version = "0.19.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zabbly";
|
||||
repo = "incus-ui-canonical";
|
||||
# only use tags prefixed by incus- they are the tested fork versions
|
||||
tag = "incus-${finalAttrs.version}";
|
||||
hash = "sha256-dwQshNQrP/3AWsFtDeMpUIm3l3Oqjj1jkKw98KT4u9M=";
|
||||
hash = "sha256-H7H4v+MmxK0vh3ekZIquVwGYcXo/VUR0GU3P+vTK2Mw=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
diff --git a/yarn.lock b/yarn.lock
|
||||
index 227d51e2..11c80f04 100644
|
||||
--- a/yarn.lock
|
||||
+++ b/yarn.lock
|
||||
@@ -1397,10 +1397,10 @@ safe-json-parse@~1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
||||
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
||||
|
||||
-sass@^1.89.2:
|
||||
- version "1.97.2"
|
||||
- resolved "https://registry.yarnpkg.com/sass/-/sass-1.97.2.tgz#e515a319092fd2c3b015228e3094b40198bff0da"
|
||||
- integrity sha512-y5LWb0IlbO4e97Zr7c3mlpabcbBtS+ieiZ9iwDooShpFKWXf62zz5pEPdwrLYm+Bxn1fnbwFGzHuCLSA9tBmrw==
|
||||
+sass@^1.97:
|
||||
+ version "1.97.3"
|
||||
+ resolved "https://registry.yarnpkg.com/sass/-/sass-1.97.3.tgz#9cb59339514fa7e2aec592b9700953ac6e331ab2"
|
||||
+ integrity sha512-fDz1zJpd5GycprAbu4Q2PV/RprsRtKC/0z82z0JLgdytmcq0+ujJbJ/09bPGDxCLkKY3Np5cRAOcWiVkLXJURg==
|
||||
dependencies:
|
||||
chokidar "^4.0.0"
|
||||
immutable "^5.0.2"
|
||||
@@ -3,7 +3,6 @@
|
||||
fetchFromGitHub,
|
||||
nixosTests,
|
||||
fetchYarnDeps,
|
||||
applyPatches,
|
||||
php,
|
||||
yarnConfigHook,
|
||||
yarnBuildHook,
|
||||
@@ -12,13 +11,12 @@
|
||||
fetchzip,
|
||||
}:
|
||||
let
|
||||
version = "1.7.0";
|
||||
version = "1.7.1";
|
||||
# Fetch release tarball which contains language files
|
||||
# https://github.com/InvoicePlane/InvoicePlane/issues/1170
|
||||
languages = fetchzip {
|
||||
#url = "https://github.com/InvoicePlane/InvoicePlane/releases/download/v${version}/v${version}.zip";
|
||||
url = "https://github.com/InvoicePlane/InvoicePlane/releases/download/v1.7.0/v1.7.0.zip";
|
||||
hash = "sha256-D5wZg745xjbBsEPUbvle8ynErFB4xn9zdxOGh0xKCCU=";
|
||||
url = "https://github.com/InvoicePlane/InvoicePlane/releases/download/v${version}/v${version}.zip";
|
||||
hash = "sha256-DpQazuLOJnNGrrQo7l6uQReoKZEd5es2DT0a50NuQB0=";
|
||||
};
|
||||
in
|
||||
php.buildComposerProject2 (finalAttrs: {
|
||||
@@ -29,16 +27,13 @@ php.buildComposerProject2 (finalAttrs: {
|
||||
owner = "InvoicePlane";
|
||||
repo = "InvoicePlane";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6fuUmXe8mFSnLYwQCwBzxmSQxM06rQXe00IKUZvWnpM=";
|
||||
hash = "sha256-Nci5GaCMYIjewq0W5emE6TDgc6JPz4bVVF3okNtHUag=";
|
||||
};
|
||||
|
||||
# Fixes error: Couldn't find any versions for "sass" that matches "^1.97" in our cache
|
||||
patches = [ ./fix-yarn-lockfile.patch ];
|
||||
|
||||
# Composer.lock validation currently fails for unknown reason
|
||||
composerStrictValidation = false;
|
||||
composerStrictValidation = true;
|
||||
|
||||
vendorHash = "sha256-/fNVq3WJCr9f/NE0s1x8N48W3ZMRUxdh1Qf3pLl0Lpg=";
|
||||
vendorHash = "sha256-adKvKWo55SSbEKpgMJzR9vJQA8DnNXOTfSzp7t8s2Nk=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
yarnConfigHook
|
||||
@@ -50,7 +45,7 @@ php.buildComposerProject2 (finalAttrs: {
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
inherit (finalAttrs) src patches;
|
||||
hash = "sha256-YDknkQzdRKRRMXS6/cPRSrfhhIyTIDRnFPNGQueu74A=";
|
||||
hash = "sha256-rJlOYMnzFKui+caIFD4d82Q/RcDYnadeJ1G56fcNNQY=";
|
||||
};
|
||||
|
||||
postBuild = ''
|
||||
|
||||
@@ -75,5 +75,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ noderyos ];
|
||||
mainProgram = "JAERO";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,25 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "k8sgpt";
|
||||
version = "0.4.8";
|
||||
version = "0.4.28";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "k8sgpt-ai";
|
||||
repo = "k8sgpt";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-TaJBGU+nLMVOL1uiHPan8p2DfuAWTr57Lt2BtfNq6dA=";
|
||||
hash = "sha256-hY1gyKy37SIASyhlWD+2aAeyfgfFpoBtm2XXIwCrh/Y=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-960gfOCpqY2gCbHR+fYFeV9UjztWMRVQKHIg/n3ELxk=";
|
||||
vendorHash = "sha256-6RgcIGGhtgxWR90gQWxXYxID6L5bZLrLLH0S+MSIO2w=";
|
||||
|
||||
# https://nixos.org/manual/nixpkgs/stable/#var-go-CGO_ENABLED
|
||||
env.CGO_ENABLED = 0;
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
# https://nixos.org/manual/nixpkgs/stable/#ssec-skip-go-tests
|
||||
ldflags = [
|
||||
"-s"
|
||||
@@ -29,6 +39,13 @@ buildGoModule (finalAttrs: {
|
||||
"-X main.date=1970-01-01-00:00:01"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd k8sgpt \
|
||||
--bash <($out/bin/k8sgpt completion bash) \
|
||||
--zsh <($out/bin/k8sgpt completion zsh) \
|
||||
--fish <($out/bin/k8sgpt completion fish)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Giving Kubernetes Superpowers to everyone";
|
||||
mainProgram = "k8sgpt";
|
||||
|
||||
797
pkgs/by-name/ke/keyguard/deps.json
generated
797
pkgs/by-name/ke/keyguard/deps.json
generated
File diff suppressed because it is too large
Load Diff
@@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "keyguard";
|
||||
version = "2.3.3";
|
||||
version = "2.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AChep";
|
||||
repo = "keyguard-app";
|
||||
tag = "r20260125.1";
|
||||
hash = "sha256-ALVf0ECUSxXFS7U5fxn6X10jSHf7tBk7cYm2/+Bk5HE=";
|
||||
tag = "r20260201";
|
||||
hash = "sha256-7n6/YgRzte2qsgQEfqppdpp5t8+xBjfOKjvNotAgJB0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoPatchelfHook,
|
||||
makeBinaryWrapper,
|
||||
undmg,
|
||||
versionCheckHook,
|
||||
xz,
|
||||
@@ -42,15 +41,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
autoPatchelfHook
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
undmg
|
||||
];
|
||||
nativeBuildInputs =
|
||||
lib.optionals stdenv.hostPlatform.isLinux [
|
||||
autoPatchelfHook
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
undmg
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
stdenv.cc.cc.lib
|
||||
@@ -68,16 +65,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook preInstall
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
install -Dm755 bin/kiro-cli $out/bin/.kiro-wrapped
|
||||
install -Dm755 bin/kiro-cli -t $out/bin
|
||||
install -Dm755 bin/kiro-cli-chat $out/bin/kiro-cli-chat
|
||||
install -Dm755 bin/kiro-cli-term $out/bin/kiro-cli-term
|
||||
makeBinaryWrapper $out/bin/.kiro-wrapped $out/bin/kiro \
|
||||
--prefix PATH : $out/bin
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p $out/bin $out/Applications
|
||||
cp -r "../Kiro CLI.app" "$out/Applications/"
|
||||
ln -s "$out/Applications/Kiro CLI.app/Contents/MacOS/kiro-cli" $out/bin/kiro
|
||||
ln -s "$out/Applications/Kiro CLI.app/Contents/MacOS/kiro-cli" $out/bin/kiro-cli
|
||||
for bin in kiro-cli-chat kiro-cli-term; do
|
||||
if [[ -e "$out/Applications/Kiro CLI.app/Contents/MacOS/$bin" ]]; then
|
||||
ln -s "$out/Applications/Kiro CLI.app/Contents/MacOS/$bin" "$out/bin/$bin"
|
||||
@@ -96,7 +91,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.unfree;
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
maintainers = [ lib.maintainers.jamesward ];
|
||||
mainProgram = "kiro";
|
||||
mainProgram = "kiro-cli";
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
|
||||
@@ -14,7 +14,7 @@ in
|
||||
inherit useVSCodeRipgrep;
|
||||
commandLineArgs = extraCommandLineArgs;
|
||||
|
||||
version = "0.9.47";
|
||||
version = "0.10.0";
|
||||
pname = "kiro";
|
||||
|
||||
# You can find the current VSCode version in the About dialog:
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"x86_64-linux": {
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/linux-x64/signed/0.9.47/tar/kiro-ide-0.9.47-stable-linux-x64.tar.gz",
|
||||
"hash": "sha256-30hUVXqudiwKAKQp8BtVBpjniGEMEH6CafPbjH5x+30="
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/linux-x64/signed/0.10.0/tar/kiro-ide-0.10.0-stable-linux-x64.tar.gz",
|
||||
"hash": "sha256-P9s/9l+y44tZ3QRKWDqA9G4N3Z2NErp/f6SYo3ztrAQ="
|
||||
},
|
||||
"x86_64-darwin": {
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/darwin-x64/signed/0.9.47/kiro-ide-0.9.47-stable-darwin-x64.dmg",
|
||||
"hash": "sha256-K78V0LTO1HlQSW8+Ot0ysYvDm9O4wRghBw89MlpQbMg="
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/darwin-x64/signed/0.10.0/kiro-ide-0.10.0-stable-darwin-x64.dmg",
|
||||
"hash": "sha256-fFvBOuxlaIpH7A2v6i4s8Qgly8zAJ6VEHvlkWGNZ1oo="
|
||||
},
|
||||
"aarch64-darwin": {
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/darwin-arm64/signed/0.9.47/kiro-ide-0.9.47-stable-darwin-arm64.dmg",
|
||||
"hash": "sha256-ovEsvLyfb8iI7hlrSyFjkJrzPxX5F/eltDcROKZfw2M="
|
||||
"url": "https://prod.download.desktop.kiro.dev/releases/stable/darwin-arm64/signed/0.10.0/kiro-ide-0.10.0-stable-darwin-arm64.dmg",
|
||||
"hash": "sha256-gnqAj2rgF20zCl/718RvnWrIdw3kR5JSVLATsxFyzNY="
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "krita-unwrapped";
|
||||
|
||||
version = "5.2.14";
|
||||
version = "5.2.15";
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/krita/${finalAttrs.version}/krita-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-VWkAcmwv8U5g97rB6OkVAQDyzZJmnKXcdKxYUe+sKIc=";
|
||||
hash = "sha256-m5T4Qh2XZ8KU3vWY+xBwfd5usje67KJZBmn7DUuQOzk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "ldeep";
|
||||
version = "1.0.89";
|
||||
version = "2.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "franc-pentest";
|
||||
repo = "ldeep";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-aod+0wd4Ek8mTiP4H5C5vUJ+94THMrFGDGVzWEH3G+U=";
|
||||
hash = "sha256-WnsW50mh5ZESdk0hlsO78cREAj1FPNHRu3ivh3qUaEg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "lexy";
|
||||
version = "0.5.2";
|
||||
version = "0.5.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "antoniorodr";
|
||||
repo = "lexy";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Ff+4QymAAxLK61Zdic26TcUzFEvH1A8X6puynMivKaY=";
|
||||
hash = "sha256-mw8ZldWmo0p/58dVpkTiKnmEKFcPco/axYD3jD2Wbto=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "linux-libertine-g";
|
||||
version = "2012-01-16";
|
||||
version = "20120116";
|
||||
|
||||
src = fetchzip {
|
||||
url = "http://www.numbertext.org/linux/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip";
|
||||
url = "http://www.numbertext.org/linux/e7a384790b13c29113e22e596ade9687-LinLibertineG-${finalAttrs.version}.zip";
|
||||
hash = "sha256-UGTB7jsI6peivCtEt96RCSi5XHCrnjCSs0Ud5bF7uxk=";
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Graphite versions of Linux Libertine and Linux Biolinum font families for LibreOffice and OpenOffice.org";
|
||||
homepage = "https://numbertext.org/linux/";
|
||||
maintainers = [ ];
|
||||
maintainers = with lib.maintainers; [ qweered ];
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mathjax";
|
||||
version = "4.1.0";
|
||||
version = "4.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathjax";
|
||||
repo = "mathjax";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-ri8j/S0mS0I12y3o8NCCMcR3FHeuaNKg/+zEkNB2uXU=";
|
||||
hash = "sha256-ptM7dLG4wc9XoYOtn0R92LVH4J0tbP8J/0TpGqrVIaQ=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "matrix-conduit";
|
||||
version = "0.10.11";
|
||||
version = "0.10.12";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "famedly";
|
||||
repo = "conduit";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IJrDdmlyut8V2jJ7rUoREqoeriYO/15E+JiUCI4Pwlg=";
|
||||
hash = "sha256-OBrbZlrhh8QqAlaC38Y9g2PH5503CzZAf7Kg7Wflgds=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-jSkoVA8Ib5S5NTzGtmT/40NwR+8HmKYjGlfbJGWghRA=";
|
||||
cargoHash = "sha256-JN3Vs3Epv1P66EdsFMY5ojVV+a9rrPcW0/7NrEepo78=";
|
||||
|
||||
# Conduit enables rusqlite's bundled feature by default, but we'd rather use our copy of SQLite.
|
||||
preBuild = ''
|
||||
@@ -59,6 +59,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
maintainers = with lib.maintainers; [
|
||||
pstn
|
||||
SchweGELBin
|
||||
Kladki
|
||||
];
|
||||
mainProgram = "conduit";
|
||||
};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
imagemagick,
|
||||
lib,
|
||||
makeWrapper,
|
||||
stdenv,
|
||||
@@ -27,7 +28,8 @@ let
|
||||
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 ${appimageContents}/${pname}.desktop -t $out/share/applications/
|
||||
install -Dm444 ${appimageContents}/${pname}.png -t $out/share/pixmaps/
|
||||
${lib.getExe imagemagick} ${appimageContents}/${pname}.png -resize 512x512 ${pname}_512.png
|
||||
install -Dm444 ${pname}_512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace-fail 'Exec=AppRun --no-sandbox' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
libsecret,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
polkit,
|
||||
python3,
|
||||
qt6,
|
||||
rustPlatform,
|
||||
@@ -23,20 +24,15 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mozillavpn";
|
||||
version = "2.32.0";
|
||||
version = "2.33.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla-mobile";
|
||||
repo = "mozilla-vpn-client";
|
||||
tag = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-STp/BCh3gELF0UgkMF2uUV9U5JgTNsqoh+Cog8fQy2c=";
|
||||
hash = "sha256-DsartzFmJFmG++seImaZXnCKZurFXtxTGmSX7DeK3M8=";
|
||||
};
|
||||
patches = [
|
||||
# VPN-7309: Qt 6.10 QML loading fixes (#10832)
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mozilla-mobile/mozilla-vpn-client/commit/5e7a26efd5acc3cdeeda8d1954459bff1a7e373e.patch";
|
||||
hash = "sha256-CdvEuASPNYzQwyCMKXWZObOHH55WRFsxGYlEP8b20Mc=";
|
||||
})
|
||||
];
|
||||
|
||||
netfilter = buildGoModule {
|
||||
@@ -52,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) src patches;
|
||||
hash = "sha256-bJTOTHlCYSrlhy6GewpK8qhBGRH49xNkFqOXZug5lNA=";
|
||||
hash = "sha256-yEZBW1Jc4GUx4eZ3CVlNVKF+MNUtR6qvcOJZz2TgTO4=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -60,6 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libgcrypt
|
||||
libgpg-error
|
||||
libsecret
|
||||
polkit
|
||||
qt6.qt5compat
|
||||
qt6.qtbase
|
||||
qt6.qtnetworkauth
|
||||
@@ -87,14 +84,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace-fail 'set(ADDON_BUILD_ARGS ' 'set(ADDON_BUILD_ARGS -q ${qt6.qttools.dev}/bin '
|
||||
|
||||
substituteInPlace src/cmake/linux.cmake \
|
||||
--replace-fail '/usr/share/dbus-1' "$out/share/dbus-1" \
|
||||
--replace-fail '${"$"}{SYSTEMD_UNIT_DIR}' "$out/lib/systemd/system"
|
||||
--replace-fail '/usr/share/dbus-1' '${"$"}{CMAKE_INSTALL_DATADIR}/dbus-1' \
|
||||
--replace-fail '${"$"}{POLKIT_POLICY_DIR}' '${"$"}{CMAKE_INSTALL_DATADIR}/polkit-1/actions' \
|
||||
--replace-fail '${"$"}{SYSTEMD_UNIT_DIR}' '${"$"}{CMAKE_INSTALL_LIBDIR}/systemd/system'
|
||||
|
||||
substituteInPlace extension/CMakeLists.txt \
|
||||
--replace-fail '/etc' "$out/etc"
|
||||
--replace-fail '/etc' '${"$"}{CMAKE_INSTALL_SYSCONFDIR}'
|
||||
|
||||
substituteInPlace extension/socks5proxy/bin/CMakeLists.txt \
|
||||
--replace-fail '${"$"}{SYSTEMD_UNIT_DIR}' "$out/lib/systemd/system"
|
||||
--replace-fail '${"$"}{SYSTEMD_UNIT_DIR}' '${"$"}{CMAKE_INSTALL_LIBDIR}/systemd/system'
|
||||
|
||||
ln -s '${finalAttrs.netfilter.goModules}' linux/netfilter/vendor
|
||||
|
||||
@@ -114,6 +112,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.makeBinPath [ wireguard-tools ])
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir "$out/share/polkit-1/rules.d"
|
||||
cp ../linux/org.mozilla.vpn.rules-others "$out/share/polkit-1/rules.d/org.mozilla.vpn.rules"
|
||||
'';
|
||||
|
||||
passthru.updateScript = _experimental-update-script-combinators.sequence [
|
||||
(nix-update-script { })
|
||||
(nix-update-script {
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
dpkg,
|
||||
sdbus-cpp,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "msalsdk-dbusclient";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/msalsdk-dbusclient/msalsdk-dbusclient_${version}_amd64.deb";
|
||||
hash = "sha256-AVPrNxCjXGza2gGETP0YrlXeEgI6AjlrSVTtqKb2UBI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dpkg ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
install -m 755 usr/lib/libmsal_dbus_client.so $out/lib/
|
||||
patchelf --set-rpath ${
|
||||
lib.makeLibraryPath [
|
||||
stdenv.cc.cc
|
||||
sdbus-cpp
|
||||
]
|
||||
} $out/lib/libmsal_dbus_client.so
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
meta = {
|
||||
description = "Microsoft Authentication Library cross platform Dbus client for talking to microsoft-identity-broker";
|
||||
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-cpp";
|
||||
license = lib.licenses.unfree;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with lib.maintainers; [ rhysmdnz ];
|
||||
};
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p curl gzip dpkg common-updater-scripts
|
||||
|
||||
index_file=$(curl -sL https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/main/binary-amd64/Packages.gz | gzip -dc)
|
||||
|
||||
latest_version="0"
|
||||
|
||||
echo "$index_file" | while read -r line; do
|
||||
if [[ "$line" =~ ^Package:[[:space:]]*(.*) ]]; then
|
||||
Package="${BASH_REMATCH[1]}"
|
||||
fi
|
||||
if [[ "$line" =~ ^Version:[[:space:]]*(.*) ]]; then
|
||||
Version="${BASH_REMATCH[1]}"
|
||||
fi
|
||||
|
||||
if ! [[ "$line" ]] && [[ "${Package}" == "msalsdk-dbusclient" ]]; then
|
||||
if ( dpkg --compare-versions ${Version} gt ${latest_version} ); then
|
||||
latest_version="${Version}"
|
||||
|
||||
echo $latest_version
|
||||
fi
|
||||
|
||||
Package=""
|
||||
Version=""
|
||||
fi
|
||||
done | tail -n 1 | (read version; update-source-version msalsdk-dbusclient $version)
|
||||
@@ -18,12 +18,23 @@ struct Config(HashMap<String, String>);
|
||||
/// Reads the JSON config for the systemd generator environment and prints it in KEY=VALUE format
|
||||
/// to stdout. This makes the configured environment variables available for all systemd
|
||||
/// generators.
|
||||
///
|
||||
/// In case of the PATH variable, it extends the PATH read from the environment with the one from
|
||||
/// the config.
|
||||
fn env_generator_impl() -> Result<()> {
|
||||
let content = fs::read(CONFIG_PATH).with_context(|| format!("Failed to read {CONFIG_PATH}"))?;
|
||||
let config: Config = serde_json::from_slice(&content).context("Failed to parse config")?;
|
||||
|
||||
let mut buffer = Vec::new();
|
||||
for (key, value) in config.0 {
|
||||
for (key, mut value) in config.0 {
|
||||
// If the config contains the PATH env variable, read the current PATH and extend it with
|
||||
// the one from the config.
|
||||
if key == "PATH"
|
||||
&& let Some(current_path) = std::env::var("PATH").ok()
|
||||
{
|
||||
value.push(':');
|
||||
value.push_str(¤t_path);
|
||||
}
|
||||
writeln!(&mut buffer, "{key}=\"{value}\"").context("Failed to write to buffer")?;
|
||||
}
|
||||
|
||||
|
||||
@@ -143,7 +143,17 @@ def run_wrapper(
|
||||
env = os.environ | extra_env
|
||||
if sudo:
|
||||
sudo_args = shlex.split(os.getenv("NIX_SUDOOPTS", ""))
|
||||
run_args = ["sudo", *sudo_args, *run_args]
|
||||
# Using --preserve-env is less than ideal since it will cause
|
||||
# the following warn during usage:
|
||||
# > warning: $HOME ('/home/<user>') is not owned by you,
|
||||
# > falling back to the one defined in the 'passwd' file ('/root')
|
||||
# However, right now it is the only way to guarantee the semantics
|
||||
# expected for the commands, e.g. activation with systemd-run
|
||||
# expects access to environment variables like LOCALE_ARCHIVE,
|
||||
# NIXOS_NO_CHECK.
|
||||
# For now, for anyone that the above warn bothers you, please
|
||||
# use `sudo nixos-rebuild` instead of `--sudo` flag.
|
||||
run_args = ["sudo", "--preserve-env", *sudo_args, *run_args]
|
||||
|
||||
logger.debug(
|
||||
"calling run with args=%r, kwargs=%r, extra_env=%r",
|
||||
|
||||
@@ -487,6 +487,7 @@ def test_execute_nix_switch_flake(mock_run: Mock, tmp_path: Path) -> None:
|
||||
call(
|
||||
[
|
||||
"sudo",
|
||||
"--preserve-env",
|
||||
"nix-env",
|
||||
"-p",
|
||||
Path("/nix/var/nix/profiles/system"),
|
||||
@@ -504,6 +505,7 @@ def test_execute_nix_switch_flake(mock_run: Mock, tmp_path: Path) -> None:
|
||||
call(
|
||||
[
|
||||
"sudo",
|
||||
"--preserve-env",
|
||||
*nr.nix.SWITCH_TO_CONFIGURATION_CMD_PREFIX,
|
||||
config_path / "bin/switch-to-configuration",
|
||||
"switch",
|
||||
|
||||
@@ -27,7 +27,7 @@ def test_run(mock_run: Any) -> None:
|
||||
extra_env={"FOO": "bar"},
|
||||
)
|
||||
mock_run.assert_called_with(
|
||||
["sudo", "test", "--with", "flags"],
|
||||
["sudo", "--preserve-env", "test", "--with", "flags"],
|
||||
check=False,
|
||||
text=True,
|
||||
errors="surrogateescape",
|
||||
@@ -164,14 +164,14 @@ def test_ssh_host() -> None:
|
||||
|
||||
@patch("subprocess.run", autospec=True)
|
||||
def test_custom_sudo_args(mock_run: Any) -> None:
|
||||
with patch.dict(p.os.environ, {"NIX_SUDOOPTS": "--custom sudo --args"}):
|
||||
with patch.dict(p.os.environ, {"NIX_SUDOOPTS": "--custom foo --args"}):
|
||||
p.run_wrapper(
|
||||
["test"],
|
||||
check=False,
|
||||
sudo=True,
|
||||
)
|
||||
mock_run.assert_called_with(
|
||||
["sudo", "--custom", "sudo", "--args", "test"],
|
||||
["sudo", "--preserve-env", "--custom", "foo", "--args", "test"],
|
||||
check=False,
|
||||
env=None,
|
||||
input=None,
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "nomore403";
|
||||
version = "1.0.1";
|
||||
version = "1.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devploit";
|
||||
repo = "nomore403";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-qA1i8l2oBQQ5IF8ho3K2k+TAndUTFGwb2NfhyFqfKzU=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hbhVpk6Zn7FMbsNnUbHdE8Ox5EzpIeB78MBvudpkabI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-IGnTbuaQH8A6aKyahHMd2RyFRh4WxZ3Vx/A9V3uelRg=";
|
||||
vendorHash = "sha256-17bXTAXntWlaT4nCrqovW/bowml6KUJDlgjq0b9jmWA=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
}:
|
||||
let
|
||||
pname = "open-webui";
|
||||
version = "0.8.2";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-webui";
|
||||
repo = "open-webui";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2n2JGgnWEGsWVLnkWc+RilTybt3KXah8UzUUPINxzfE=";
|
||||
hash = "sha256-lakk5VB8zJCf011OqziWWyj4qfXNrw9PwB2Ol137F2U=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage rec {
|
||||
@@ -32,7 +32,7 @@ let
|
||||
url = "https://github.com/pyodide/pyodide/releases/download/${pyodideVersion}/pyodide-${pyodideVersion}.tar.bz2";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-gaf4+/H3nqgebPtxnEeUw2uw5xVh+FE6UFqD3mRjhv0=";
|
||||
npmDepsHash = "sha256-0F7mlLcvDtbXUHkgiv2VYQyBdqCRyGC2d31MWgVwMKc=";
|
||||
|
||||
# See https://github.com/open-webui/open-webui/issues/15880
|
||||
npmFlags = [
|
||||
|
||||
@@ -39,10 +39,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchurl {
|
||||
# Upstream replaces minor versions, so use archived URL.
|
||||
url = "https://web.archive.org/web/20240526153453id_/https://ftp.perforce.com/perforce/r24.1/bin.tools/p4source.tgz";
|
||||
sha256 = "sha256-6+DOJPeVzP4x0UsN9MlZRAyusapBTICX0BuyvVBQBC8=";
|
||||
hash = "sha256-6+DOJPeVzP4x0UsN9MlZRAyusapBTICX0BuyvVBQBC8=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionals stdenv.hostPlatform.isDarwin ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
# same error as https://github.com/pocoproject/poco/issues/4586
|
||||
substituteInPlace zlib/zutil.h \
|
||||
--replace-fail '#if defined(MACOS) || defined(TARGET_OS_MAC)' '#if defined(MACOS)'
|
||||
@@ -79,26 +79,30 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-sLIBC++DIR=${lib.getLib stdenv.cc.libcxx}/lib"
|
||||
];
|
||||
|
||||
CCFLAGS =
|
||||
# The file contrib/optimizations/slide_hash_neon.h is missing from the
|
||||
# upstream distribution. It comes from the Android/Chromium sources.
|
||||
lib.optionals stdenv.hostPlatform.isAarch64 [ "-I${androidZlibContrib}" ];
|
||||
env = {
|
||||
CCFLAGS = toString (
|
||||
# The file contrib/optimizations/slide_hash_neon.h is missing from the
|
||||
# upstream distribution. It comes from the Android/Chromium sources.
|
||||
lib.optionals stdenv.hostPlatform.isAarch64 [ "-I${androidZlibContrib}" ]
|
||||
);
|
||||
|
||||
"C++FLAGS" =
|
||||
# Avoid a compilation error that only occurs for 4-byte longs.
|
||||
lib.optionals stdenv.hostPlatform.isi686 [ "-Wno-narrowing" ]
|
||||
# See the "Header dependency changes" section of
|
||||
# https://www.gnu.org/software/gcc/gcc-11/porting_to.html for more
|
||||
# information on why we need to include these.
|
||||
++
|
||||
lib.optionals
|
||||
(stdenv.cc.isClang || (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.cc.version "11.0.0"))
|
||||
[
|
||||
"-include"
|
||||
"limits"
|
||||
"-include"
|
||||
"thread"
|
||||
];
|
||||
"C++FLAGS" = toString (
|
||||
# Avoid a compilation error that only occurs for 4-byte longs.
|
||||
lib.optionals stdenv.hostPlatform.isi686 [ "-Wno-narrowing" ]
|
||||
# See the "Header dependency changes" section of
|
||||
# https://www.gnu.org/software/gcc/gcc-11/porting_to.html for more
|
||||
# information on why we need to include these.
|
||||
++
|
||||
lib.optionals
|
||||
(stdenv.cc.isClang || (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.cc.version "11.0.0"))
|
||||
[
|
||||
"-include"
|
||||
"limits"
|
||||
"-include"
|
||||
"thread"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
export MACOSX_SDK=$SDKROOT
|
||||
|
||||
@@ -1,30 +1,34 @@
|
||||
{
|
||||
cmake,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fuse,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "1.1.1";
|
||||
version = "1.1.1-unstable-2025-07-13";
|
||||
pname = "pfsshell";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uyjulian";
|
||||
owner = "ps2homebrew";
|
||||
repo = "pfsshell";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8";
|
||||
rev = "8192de3907a05bb1844afcb1ae490179a38d4ed6";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-drQNnCIqwM+Lnix5LewkD2ov8G6Mbu60xVKQKvCFbPY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fuse
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
# Build errors since 1.1.1 when format hardening is enabled:
|
||||
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
|
||||
hardeningDisable = [ "format" ];
|
||||
mesonFlags = [ (lib.mesonBool "enable_pfsfuse" true) ];
|
||||
|
||||
meta = {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
|
||||
68
pkgs/by-name/pi/pinta/deps.json
generated
68
pkgs/by-name/pi/pinta/deps.json
generated
@@ -1,78 +1,78 @@
|
||||
[
|
||||
{
|
||||
"pname": "GirCore.Adw-1",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-wV4zTybD7yJldzQORBK2iI/77Fv3C9kjZvtj/S6v48k="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-7bnrJnNJJLiz5dGMX2pACJbmMoAaqQdN3ZGePZq/Z54="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Cairo-1.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-IJLzVmWkuCzdyiIqlzXyl8/ZDC6hmnh/bf4+i2HOpLw="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-w8Uh7RQXphqsXT/5POMgMpVO0u0vNtGL+Tu043jKptc="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.FreeType2-2.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-CsH4zQkZukyVw653sphDf5eveuvzY3HVphoO6fvjZiA="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-UHfYBDyrliB32VF/SJ+KsLx8ZCBVDKAwfhcLRaqxfv4="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Gdk-4.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-3R7ikDBuQJ1iaVb8yuewdLggZ1IVecLuhmjaw1Hzm0s="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-lPipLMR86A3QvYH6OzxKGj29Vn8lpHM/MRtpKyUgVRA="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.GdkPixbuf-2.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-HZr3YmNLumXTGIN2CvxYZS9mHzvOvpMhUVJ1/DJlWN4="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-dS4ZmahrGO/2Poin7PltVt4JXpW7mKnKwj1fQPGBpVc="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Gio-2.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-pYc13vCSAH9Or7plQYffBzB/9b83oPNRBf5+HDeT/7w="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-nktBWddrIwA+4Ibjc/IMWnCi/OL3bMp7UGMRAUEF9r0="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.GLib-2.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-Lsl44qroh+ENO7yBFoySrNgxs8FBeT0nH6PKJ5u+LAI="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-u3jwn7fQONG4M4i4gX6glR1zKn2JNI05QieFf1Gsays="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.GObject-2.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-+gerXQbv8HNcFjA76AvtzAG3d+CRb7pPYDaAL+iUPz4="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-bmCHh0NyjG8YumCCI2zR8lrb6lhD6uF3MsA9tE1aWIA="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.GObject-2.0.Integration",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-ujkhIzrqeKOcwdwjgzMh3eTcZ2N5PfgvItfyNj7Kc3s="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-kDLz5+dEtGxqmkNV42wqjX3mRAiBO1PFLtBDwjpBKCU="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Graphene-1.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-+pDFEj94WNbXD7Fso1xuxkkETjej/O/d1JNW8eV6UPA="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-onPgy8jEf8LRL/xaG+t7OFfXEg5LraGQruLRSBR0K28="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Gsk-4.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-vV66rP1vVloB+DA1xPL2iSrJwEmdUDdl209RcRpNP9Q="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-lDvFt1HIVNekOjChHw4JkfjHBQas9qxp5KuQxPApctM="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Gtk-4.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-unQkwxnaoIihD+FWKnJgJNAR4i99qcTcN78SG8WhrZk="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-PFkomZCs+gPQbNF0WYGskIJT7kkMypBL5zjeZL7+Lwg="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.HarfBuzz-0.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-8I7+SMTeXBNe6Q/rE7R6WiAYRPuLjfSeDjwllP/n9tM="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-tUEqdvad1bqtpuXwkOmzRg2WdxwqUA//69OGFN7oOXQ="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.Pango-1.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-4qPtnqcd1gjt/bz6vyq7L4iA8TyDYTlqkkDD6H150Hs="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-rAGq1CAOl0k3l2BN/b6r6Q0Upq6GHGAM8P42eYabgLQ="
|
||||
},
|
||||
{
|
||||
"pname": "GirCore.PangoCairo-1.0",
|
||||
"version": "0.6.3",
|
||||
"hash": "sha256-O8SVg5F8OBazisAwxDB66zlup2hB6hvmO7ubdpSJXpI="
|
||||
"version": "0.7.0",
|
||||
"hash": "sha256-d3RbSDFmB8UosYsQGzhHFBCZ5hcPtIpdmQcylYVSLe4="
|
||||
},
|
||||
{
|
||||
"pname": "Microsoft.CodeAnalysis.Analyzers",
|
||||
@@ -436,8 +436,8 @@
|
||||
},
|
||||
{
|
||||
"pname": "System.CommandLine",
|
||||
"version": "2.0.0-beta4.22272.1",
|
||||
"hash": "sha256-zSO+CYnMH8deBHDI9DHhCPj79Ce3GOzHCyH1/TiHxcc="
|
||||
"version": "2.0.1",
|
||||
"hash": "sha256-NDBiPUt/ZZIMBcLHpF/6IMX/UpfsC/XnH3p4i4MHCFw="
|
||||
},
|
||||
{
|
||||
"pname": "System.Diagnostics.Debug",
|
||||
@@ -726,7 +726,7 @@
|
||||
},
|
||||
{
|
||||
"pname": "Tmds.DBus",
|
||||
"version": "0.21.2",
|
||||
"hash": "sha256-1rxUexOuj0raH8FvvUKeGdcWr3u8KmuAySe/4isy6S0="
|
||||
"version": "0.22.0",
|
||||
"hash": "sha256-rrI1KUW9CTWEZOPJA2aoe+6hSvyOFoqP+vl6lyaZtuI="
|
||||
}
|
||||
]
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
glibcLocales,
|
||||
gtk4,
|
||||
glib,
|
||||
intltool,
|
||||
libadwaita,
|
||||
wrapGAppsHook4,
|
||||
@@ -12,13 +13,13 @@
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "Pinta";
|
||||
version = "3.0.5";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PintaProject";
|
||||
repo = "Pinta";
|
||||
rev = version;
|
||||
hash = "sha256-teBk3+t0iFaqOh0Bzpz6mAlQ/reEd84wZSVXnYIXAio=";
|
||||
hash = "sha256-ZlsXba1ppdAQeZW1ihrEu+deA0o6gZJk50wxJuW95Dk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -28,6 +29,7 @@ buildDotnetModule rec {
|
||||
|
||||
runtimeDeps = [
|
||||
gtk4
|
||||
glib
|
||||
libadwaita
|
||||
];
|
||||
|
||||
@@ -52,8 +54,8 @@ buildDotnetModule rec {
|
||||
# TODO: use upstream build system
|
||||
postBuild = ''
|
||||
# Substitute translation placeholders
|
||||
intltool-merge -x po/ xdg/pinta.appdata.xml.in xdg/pinta.appdata.xml
|
||||
intltool-merge -d po/ xdg/pinta.desktop.in xdg/pinta.desktop
|
||||
intltool-merge -x po/ xdg/com.github.PintaProject.Pinta.metainfo.xml.in xdg/com.github.PintaProject.Pinta.metainfo.xml
|
||||
intltool-merge -d po/ xdg/com.github.PintaProject.Pinta.desktop.in xdg/com.github.PintaProject.Pinta.desktop
|
||||
|
||||
# Build translations
|
||||
dotnet build Pinta \
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "postfix-tlspol";
|
||||
version = "1.8.25";
|
||||
version = "1.8.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zuplu";
|
||||
repo = "postfix-tlspol";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-33kIgPQT/AXP+ZjBKcO+Ulzcxa5FbD4+Y3QHoHnzu10=";
|
||||
hash = "sha256-H8T/AsAsynLlGcAyx/2aH2ZRZOKrgzMav9E4kJnDXBY=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
# function correctly.
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "prisma-engines_7";
|
||||
version = "7.2.0";
|
||||
version = "7.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prisma";
|
||||
repo = "prisma-engines";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-1CwpUtNuqxGNjBmmmo/Aet8XrmnCQfDToI7vZaNupDI=";
|
||||
hash = "sha256-a4skrL5r6tfFMMD+yikm5wgkiAOXom6FC5fuAYPzT5I=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-U5d/HkuWnD/XSrAJr5AYh+WPVGDOcK/e4sC0udPZoyU=";
|
||||
cargoHash = "sha256-DkuqGzcHHqW3u6ZVz6xCJjeF+l8Y44pYMNaeFjb7vIc=";
|
||||
|
||||
# Use system openssl.
|
||||
env.OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
@@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# Fetch CLI workspace dependencies
|
||||
deps_json=$(pnpm list --filter ./packages/cli --prod --depth Infinity --json)
|
||||
deps=$(jq -r '[del(.. | .unsavedDependencies?) | .. | strings | select(startswith("link:../")) | sub("^link:../"; "")] | unique[]' <<< "$deps_json")
|
||||
deps=$(jq -r '[.. | strings | select(startswith("link:../")) | sub("^link:../"; "")] | unique[]' <<< "$deps_json")
|
||||
|
||||
# Remove unnecessary external dependencies
|
||||
find . -name node_modules -type d -prune -exec rm -rf {} +
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "prisma_7";
|
||||
version = "7.2.0";
|
||||
version = "7.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prisma";
|
||||
repo = "prisma";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-oDfb/RwSa63ErWHF86q5xPPUUsRUV2DwNHARTV5gxyk=";
|
||||
hash = "sha256-X3tLHUJ+tSjo4DPgmo43KMXHPP5BZK14kCj7sBgjPu8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
inherit (finalAttrs) pname version src;
|
||||
pnpm = pnpm_10;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-HZsrHYUh4nxUgwVbmJ+fV4/OZvEWDKkD4CT8hIt1SRY=";
|
||||
hash = "sha256-HkEoPY0rrRZL53EI1NupnWnCMvtcViSVA2GIiwBr8wo=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
@@ -66,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# Fetch CLI workspace dependencies
|
||||
deps_json=$(pnpm list --filter ./packages/cli --prod --depth Infinity --json)
|
||||
deps=$(jq -r '[del(.. | .unsavedDependencies?) | .. | strings | select(startswith("link:../")) | sub("^link:../"; "")] | unique[]' <<< "$deps_json")
|
||||
deps=$(jq -r '[.. | strings | select(startswith("link:../")) | sub("^link:../"; "")] | unique[]' <<< "$deps_json")
|
||||
|
||||
# Remove unnecessary external dependencies
|
||||
find . -name node_modules -type d -prune -exec rm -rf {} +
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
version = "1.78.0";
|
||||
version = "1.79.0";
|
||||
hashes = {
|
||||
linux-aarch_64 = "sha256-yVyvCriifgHlP4z/jolH9qiEGvqjV/pLBnm0r0VzGIY=";
|
||||
linux-ppcle_64 = "sha256-wD7g3cHI1rXb6RQemW7/D9w6qF3om09wckNToYHa1BU=";
|
||||
linux-s390_64 = "sha256-Dubkn+X+3fYOy+SeW6V5QxSqPizGPZBoXSSlqHun56k=";
|
||||
linux-x86_32 = "sha256-ALYeBWy/IjhmFOG0Llj5luCOtSYBKtgIsjdDKcIP6v8=";
|
||||
linux-x86_64 = "sha256-wC3U11e2eUByoWdcKp8jJjG2TD1TwewZ7/sFBIWagv8=";
|
||||
osx-aarch_64 = "sha256-sHInlUATIKcRMDlfGj2KZTS3MRAIzOjXj4y3zhdtqiY=";
|
||||
osx-x86_64 = "sha256-sHInlUATIKcRMDlfGj2KZTS3MRAIzOjXj4y3zhdtqiY=";
|
||||
windows-x86_32 = "sha256-bIUQUaveyBKreBwBFr9o3RtyQr3cb+/TfbGxp8WyuPg=";
|
||||
windows-x86_64 = "sha256-DHxx0rr2wfxfpRQlJ39BdI7kCUmO8rTX3JHvGKdSAeA=";
|
||||
linux-aarch_64 = "sha256-RFuSS6TT9Vq9ZR9xAX1ZJVK+cGs5GK8NeDe3BGgTdHM=";
|
||||
linux-ppcle_64 = "sha256-YecCAFYMSLpHMbeQed97Ckz+OUr0UJJR3PILRgV8le8=";
|
||||
linux-s390_64 = "sha256-CS2U2by6/6D97C6JR6qBW6ho3azKrnwGTjhaI0r7nSI=";
|
||||
linux-x86_32 = "sha256-pRfe/Sd5X1oTY4m+zxYHA6UJT/DvGUKwmtlER46UjCg=";
|
||||
linux-x86_64 = "sha256-PRa3CxiFSYiynEHiDQbKM1jEcAjtueaYa5JsW8p5CBY=";
|
||||
osx-aarch_64 = "sha256-ew3L4svALrrwPlcespX0PAuj2Rm12ej+NAFYRsmIcok=";
|
||||
osx-x86_64 = "sha256-ew3L4svALrrwPlcespX0PAuj2Rm12ej+NAFYRsmIcok=";
|
||||
windows-x86_32 = "sha256-K2ypGzXYmW0frvyjzqKHS1zHY3EswYMAjfu40TFfIXw=";
|
||||
windows-x86_64 = "sha256-N6BMw6NWgL8XugjonWlNKS8Cjm97ok70tb2KHEP6LlI=";
|
||||
};
|
||||
}
|
||||
|
||||
27
pkgs/by-name/ru/rustfetch/package.nix
Normal file
27
pkgs/by-name/ru/rustfetch/package.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rustfetch";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lemuray";
|
||||
repo = "rustfetch";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-iGcxDKl36kbEi+OiH4gB2+HxP37bpqAMZguIXDzq3Jw=";
|
||||
};
|
||||
cargoHash = "sha256-87wfFczmgCft4ke/RQKi54wvqFKGRJMtqhkwQgDCedg=";
|
||||
|
||||
meta = {
|
||||
description = "CLI tool designed to fetch system information in the fastest and safest way possible";
|
||||
homepage = "https://github.com/lemuray/rustfetch";
|
||||
changelog = "https://github.com/lemuray/rustfetch/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ lefaucheur0769 ];
|
||||
mainProgram = "rustfetch";
|
||||
};
|
||||
})
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ fettgoenner ];
|
||||
maintainers = with lib.maintainers; [ pmeinhold ];
|
||||
changelog = "https://gcg.or.rwth-aachen.de/doc-3.5.0/RN${lib.versions.major version}${lib.versions.minor version}.html";
|
||||
description = "Branch-and-Price & Column Generation for Everyone";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
doCheck = true;
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ fettgoenner ];
|
||||
maintainers = with lib.maintainers; [ pmeinhold ];
|
||||
description = "Parallel Presolve for Integer and Linear Optimization";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
homepage = "https://github.com/scipopt/papilo";
|
||||
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ fettgoenner ];
|
||||
maintainers = with lib.maintainers; [ pmeinhold ];
|
||||
changelog = "https://scipopt.org/doc-${finalAttrs.version}/html/RN${lib.versions.major finalAttrs.version}.php";
|
||||
description = "Solving Constraint Integer Programs";
|
||||
license = lib.licenses.asl20;
|
||||
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
description = "Sequential object-oriented simPlex";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
mainProgram = "soplex";
|
||||
maintainers = with lib.maintainers; [ fettgoenner ];
|
||||
maintainers = with lib.maintainers; [ pmeinhold ];
|
||||
changelog = "https://soplex.zib.de/doc-${finalAttrs.version}/html/CHANGELOG.php";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
maintainers = with lib.maintainers; [ fettgoenner ];
|
||||
maintainers = with lib.maintainers; [ pmeinhold ];
|
||||
changelog = "https://scipopt.org/doc-${scipVersion}/html/RN${lib.versions.major scipVersion}.php";
|
||||
description = "Ubiquity Generator framework to parallelize branch-and-bound based solvers";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user