diff options
Diffstat (limited to 'pkgs/by-name/ar')
-rw-r--r-- | pkgs/by-name/ar/arc-browser/package.nix | 4 | ||||
-rw-r--r-- | pkgs/by-name/ar/ardugotools/package.nix | 31 | ||||
-rw-r--r-- | pkgs/by-name/ar/arduino-ide/package.nix | 3 | ||||
-rw-r--r-- | pkgs/by-name/ar/argc/package.nix | 66 | ||||
-rw-r--r-- | pkgs/by-name/ar/argtable/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/ar/aribb24/package.nix | 52 | ||||
-rw-r--r-- | pkgs/by-name/ar/ark-pixel-font/limit-builds.patch | 34 | ||||
-rw-r--r-- | pkgs/by-name/ar/ark-pixel-font/package.nix | 18 | ||||
-rw-r--r-- | pkgs/by-name/ar/arkenfox-userjs/package.nix | 41 | ||||
-rw-r--r-- | pkgs/by-name/ar/arrow-cpp/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/ar/arrpc/package.nix | 10 | ||||
-rw-r--r-- | pkgs/by-name/ar/artalk/package.nix | 50 | ||||
-rw-r--r-- | pkgs/by-name/ar/arxiv-latex-cleaner/package.nix | 4 |
13 files changed, 300 insertions, 17 deletions
diff --git a/pkgs/by-name/ar/arc-browser/package.nix b/pkgs/by-name/ar/arc-browser/package.nix index a54c6b85ecb23..84683435f4eef 100644 --- a/pkgs/by-name/ar/arc-browser/package.nix +++ b/pkgs/by-name/ar/arc-browser/package.nix @@ -9,11 +9,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "arc-browser"; - version = "1.40.0-49176"; + version = "1.48.2-51225"; src = fetchurl { url = "https://releases.arc.net/release/Arc-${finalAttrs.version}.dmg"; - hash = "sha256-SjdlMEhmO00ADWTFR4u9fHKWbbQRAC/UstXIoshgYuA="; + hash = "sha256-8VukOTt94nstaGRuTQg32HNPEaGBQtJGqRYgKLSD/TY="; }; nativeBuildInputs = [ undmg ]; diff --git a/pkgs/by-name/ar/ardugotools/package.nix b/pkgs/by-name/ar/ardugotools/package.nix new file mode 100644 index 0000000000000..3e6604320786e --- /dev/null +++ b/pkgs/by-name/ar/ardugotools/package.nix @@ -0,0 +1,31 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + ... +}: +let + version = "0.5.2"; +in +buildGoModule { + pname = "ardugotools"; + inherit version; + + src = fetchFromGitHub { + owner = "randomouscrap98"; + repo = "ardugotools"; + rev = "refs/tags/v${version}"; + hash = "sha256-ugYkcYrVHoGC58u6zQNEjlWspAFONmEQVnVDWdWeVnw="; + }; + + vendorHash = "sha256-Z9ObsS+GwVsz6ZlXCgN0WlShHzbmx4WLa/1/XLSSAAs="; + + meta = { + description = "CLI toolset for Arduboy"; + changelog = "https://github.com/randomouscrap98/ardugotools/releases/tag/v${version}"; + homepage = "https://github.com/randomouscrap98/ardugotools"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; + mainProgram = "ardugotools"; + }; +} diff --git a/pkgs/by-name/ar/arduino-ide/package.nix b/pkgs/by-name/ar/arduino-ide/package.nix index 68e873fc28652..29268559c0ad1 100644 --- a/pkgs/by-name/ar/arduino-ide/package.nix +++ b/pkgs/by-name/ar/arduino-ide/package.nix @@ -20,9 +20,10 @@ appimageTools.wrapType2 { extraInstallCommands = '' install -Dm444 ${appimageContents}/${pname}.desktop -t $out/share/applications/ install -Dm444 ${appimageContents}/${pname}.png -t $out/share/pixmaps/ + substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U' ''; - extraPkgs = pkgs: with pkgs; [ libsecret ]; + extraPkgs = pkgs: [ pkgs.libsecret ]; meta = with lib; { description = "Open-source electronics prototyping platform"; diff --git a/pkgs/by-name/ar/argc/package.nix b/pkgs/by-name/ar/argc/package.nix new file mode 100644 index 0000000000000..8c286ebff9e67 --- /dev/null +++ b/pkgs/by-name/ar/argc/package.nix @@ -0,0 +1,66 @@ +{ + lib, + buildPackages, + pkgsCross, + rustPlatform, + stdenv, + fetchFromGitHub, + installShellFiles, +}: + +let + canExecuteHost = stdenv.buildPlatform.canExecute stdenv.hostPlatform; +in +rustPlatform.buildRustPackage rec { + pname = "argc"; + version = "1.14.0"; + + src = fetchFromGitHub { + owner = "sigoden"; + repo = "argc"; + rev = "v${version}"; + hash = "sha256-Li/K5/SLG6JuoRJDz2DQoj1Oi9LQgZWHNvtZ1HVbj88="; + }; + + cargoHash = "sha256-D1T9FWTvwKtAYoqFlR2OmLRLGWhPJ9D8J7lq/QKcBoM="; + + nativeBuildInputs = [ installShellFiles ] ++ lib.optional (!canExecuteHost) buildPackages.argc; + + postInstall = '' + ARGC=${if canExecuteHost then ''''${!outputBin}/bin/argc'' else "argc"} + + installShellCompletion --cmd argc \ + --bash <("$ARGC" --argc-completions bash) \ + --fish <("$ARGC" --argc-completions fish) \ + --zsh <("$ARGC" --argc-completions zsh) + ''; + + disallowedReferences = lib.optional (!canExecuteHost) buildPackages.argc; + + passthru = { + tests = { + cross = + ( + if stdenv.hostPlatform.isDarwin then + if stdenv.hostPlatform.isAarch64 then pkgsCross.x86_64-darwin else pkgsCross.aarch64-darwin + else if stdenv.hostPlatform.isAarch64 then + pkgsCross.gnu64 + else + pkgsCross.aarch64-multiplatform + ).argc; + }; + }; + + meta = with lib; { + description = "Command-line options, arguments and sub-commands parser for bash"; + mainProgram = "argc"; + homepage = "https://github.com/sigoden/argc"; + changelog = "https://github.com/sigoden/argc/releases/tag/v${version}"; + license = with licenses; [ + mit + # or + asl20 + ]; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/by-name/ar/argtable/package.nix b/pkgs/by-name/ar/argtable/package.nix index 18206202691c7..c4db49d20254d 100644 --- a/pkgs/by-name/ar/argtable/package.nix +++ b/pkgs/by-name/ar/argtable/package.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/argtable/argtable3"; - description = "A single-file, ANSI C command-line parsing library"; + description = "Single-file, ANSI C command-line parsing library"; longDescription = '' Argtable is an open source ANSI C library that parses GNU-style command-line options. It simplifies command-line parsing by defining a diff --git a/pkgs/by-name/ar/aribb24/package.nix b/pkgs/by-name/ar/aribb24/package.nix new file mode 100644 index 0000000000000..a9c35c8bed889 --- /dev/null +++ b/pkgs/by-name/ar/aribb24/package.nix @@ -0,0 +1,52 @@ +{ + lib, + stdenv, + fetchFromGitLab, + testers, + gitUpdater, + autoconf, + automake, + libtool, + pkg-config, + libpng, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "aribb24"; + version = "1.0.4"; + + src = fetchFromGitLab { + domain = "code.videolan.org"; + owner = "jeeb"; + repo = "aribb24"; + rev = "v${finalAttrs.version}"; + hash = "sha256-hq3LnLACZfV+E76ZDEHGlN51fS6AqFnNReE3JlWcv9M="; + }; + + buildInputs = [ + libpng + ]; + + nativeBuildInputs = [ + autoconf + automake + libtool + pkg-config + ]; + + preConfigure = "autoreconf --install"; + + passthru = { + updateScript = gitUpdater { rev-prefix = "v"; }; + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + }; + + meta = with lib; { + description = "Library for ARIB STD-B24, decoding JIS 8 bit characters and parsing MPEG-TS stream"; + homepage = "https://code.videolan.org/jeeb/aribb24/"; + license = licenses.lgpl3Plus; + pkgConfigModules = [ "aribb24" ]; + platforms = platforms.unix; + maintainers = with maintainers; [ jopejoe1 ]; + }; +}) diff --git a/pkgs/by-name/ar/ark-pixel-font/limit-builds.patch b/pkgs/by-name/ar/ark-pixel-font/limit-builds.patch new file mode 100644 index 0000000000000..c63798e071c99 --- /dev/null +++ b/pkgs/by-name/ar/ark-pixel-font/limit-builds.patch @@ -0,0 +1,34 @@ +diff --git a/build.py b/build.py +index 48bc757d..88b9ed9b 100644 +--- a/build.py ++++ b/build.py +@@ -1,6 +1,5 @@ + from scripts import configs + from scripts.configs import path_define +-from scripts.services import publish_service, info_service, template_service, image_service + from scripts.services.font_service import DesignContext, FontContext + from scripts.utils import fs_util + +@@ -21,21 +20,6 @@ def main(): + font_context.make_pcf() + font_context.make_otc() + font_context.make_ttc() +- publish_service.make_release_zips(font_config, width_mode) +- info_service.make_info_file(design_context, width_mode) +- info_service.make_alphabet_txt_file(design_context, width_mode) +- template_service.make_alphabet_html_file(design_context, width_mode) +- template_service.make_demo_html_file(design_context) +- image_service.make_preview_image_file(font_config) +- template_service.make_index_html_file() +- template_service.make_playground_html_file() +- image_service.make_readme_banner() +- image_service.make_github_banner() +- image_service.make_itch_io_banner() +- image_service.make_itch_io_background() +- image_service.make_itch_io_cover() +- image_service.make_afdian_cover() +- + + if __name__ == '__main__': + main() + diff --git a/pkgs/by-name/ar/ark-pixel-font/package.nix b/pkgs/by-name/ar/ark-pixel-font/package.nix index 15d3b4dd43f69..e93cccf68420b 100644 --- a/pkgs/by-name/ar/ark-pixel-font/package.nix +++ b/pkgs/by-name/ar/ark-pixel-font/package.nix @@ -6,13 +6,13 @@ python312Packages.buildPythonPackage rec { pname = "ark-pixel-font"; - version = "2024.04.05"; + version = "2024.05.12"; src = fetchFromGitHub { owner = "TakWolf"; - repo = pname; - rev = version; - hash = "sha256-G34cu/mSt/p8UPJt+Q1T2qy6d9LGgT1Jslt9syRz5eo="; + repo = "ark-pixel-font"; + rev = "refs/tags/${version}"; + hash = "sha256-PGhhKWHDpvOqa3vaI40wuIsAEdWGb62cN7QJeHQqiss="; }; format = "other"; @@ -28,10 +28,15 @@ python312Packages.buildPythonPackage rec { gitpython ]; + # By default build.py builds a LOT of extraneous artifacts we don't need. + patches = [ ./limit-builds.patch ]; + buildPhase = '' runHook preBuild - python build.py + # Too much debug output would break Hydra, so this jankness has to be here for it to build at all. + # I wish there's a builtin way to set the log level without modifying the script itself... + python3 build.py 2>&1 >/dev/null | grep -E '^(INFO|WARN|ERROR)' runHook postBuild ''; @@ -43,6 +48,9 @@ python312Packages.buildPythonPackage rec { install -Dm444 build/outputs/*.otf -t $out/share/fonts/opentype install -Dm444 build/outputs/*.ttf -t $out/share/fonts/truetype install -Dm444 build/outputs/*.woff2 -t $out/share/fonts/woff2 + install -Dm444 build/outputs/*.pcf -t $out/share/fonts/pcf + install -Dm444 build/outputs/*.otc -t $out/share/fonts/otc + install -Dm444 build/outputs/*.ttc -t $out/share/fonts/ttc runHook postInstall ''; diff --git a/pkgs/by-name/ar/arkenfox-userjs/package.nix b/pkgs/by-name/ar/arkenfox-userjs/package.nix new file mode 100644 index 0000000000000..04ac83fce1a66 --- /dev/null +++ b/pkgs/by-name/ar/arkenfox-userjs/package.nix @@ -0,0 +1,41 @@ +{ + lib, + fetchurl, + stdenvNoCC, + nix-update-script, +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "arkenfox-userjs"; + version = "126.1"; + + src = fetchurl { + url = "https://raw.githubusercontent.com/arkenfox/user.js/${finalAttrs.version}/user.js"; + hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4="; + }; + + dontUnpack = true; + + installPhase = '' + runHook preInstall + + install -Dm644 $src $out/user.js + install -Dm644 $src $out/user.cfg + substituteInPlace $out/user.cfg \ + --replace-fail "user_pref" "defaultPref" + + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "A comprehensive user.js template for configuration and hardening"; + homepage = "https://github.com/arkenfox/user.js"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + linsui + Guanran928 + ]; + platforms = lib.platforms.all; + }; +}) diff --git a/pkgs/by-name/ar/arrow-cpp/package.nix b/pkgs/by-name/ar/arrow-cpp/package.nix index 723acbc2531f8..534c5f2430570 100644 --- a/pkgs/by-name/ar/arrow-cpp/package.nix +++ b/pkgs/by-name/ar/arrow-cpp/package.nix @@ -266,7 +266,7 @@ stdenv.mkDerivation (finalAttrs: { ''; meta = with lib; { - description = "A cross-language development platform for in-memory data"; + description = "Cross-language development platform for in-memory data"; homepage = "https://arrow.apache.org/docs/cpp/"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/by-name/ar/arrpc/package.nix b/pkgs/by-name/ar/arrpc/package.nix index aefee98b0eace..137cd7cde283b 100644 --- a/pkgs/by-name/ar/arrpc/package.nix +++ b/pkgs/by-name/ar/arrpc/package.nix @@ -3,18 +3,18 @@ , fetchFromGitHub }: buildNpmPackage rec { pname = "arrpc"; - version = "3.3.1"; + version = "3.4.0"; src = fetchFromGitHub { owner = "OpenAsar"; repo = "arrpc"; # Release commits are not tagged - # release: 3.3.0 - rev = "b4796fffe3bf1b1361cc4781024349f7a4f9400e"; - hash = "sha256-iEfV85tRl2KyjodoaSxVHiqweBpLeiCAYWc8+afl/sA="; + # release: 3.4.0 + rev = "cca93db585dedf8acc1423f5e2db215de95c4c3b"; + hash = "sha256-SeegrCgbjfVxG/9xfOcdfbVdDssZOhjBRnDipu6L7Wg="; }; - npmDepsHash = "sha256-YlSUGncpY0MyTiCfZcPsfcNx3fR+SCtkOFWbjOPLUzk="; + npmDepsHash = "sha256-S9cIyTXqCp8++Yj3VjBbcStOjzjgd0Cq7KL7NNzZFpY="; dontNpmBuild = true; diff --git a/pkgs/by-name/ar/artalk/package.nix b/pkgs/by-name/ar/artalk/package.nix new file mode 100644 index 0000000000000..63edf4852b5aa --- /dev/null +++ b/pkgs/by-name/ar/artalk/package.nix @@ -0,0 +1,50 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + artalk, + testers, + fetchurl, +}: +buildGoModule rec { + pname = "artalk"; + version = "2.8.7"; + + src = fetchFromGitHub { + owner = "ArtalkJS"; + repo = "artalk"; + rev = "v${version}"; + hash = "sha256-fOuZiFomXGvRUXkpEM3BpJyMOtSm6/RHd0a7dPOsoT4="; + }; + web = fetchurl { + url = "https://github.com/${src.owner}/${src.repo}/releases/download/v${version}/artalk_ui.tar.gz"; + hash = "sha256-3Rg5mCFigLkZ+X8Fxe6A16THd9j6hcTYMEAKU1SrLMw="; + }; + + CGO_ENABLED = 1; + + vendorHash = "sha256-Hm388ub/ja3PuSRqPkr6A+pgKUQ+czMj1WKU8W8H5wI="; + + ldflags = [ + "-s" + "-w" + "-X github.com/ArtalkJS/Artalk/internal/config.Version=${version}" + "-X github.com/ArtalkJS/Artalk/internal/config.CommitHash=${version}" + ]; + preBuild = '' + tar -xzf ${web} + cp -r ./artalk_ui/* ./public + ''; + + passthru.tests = { + version = testers.testVersion { package = artalk; }; + }; + + meta = with lib; { + description = "Self-hosted comment system"; + homepage = "https://github.com/ArtalkJS/Artalk"; + license = licenses.mit; + maintainers = with maintainers; [ moraxyc ]; + mainProgram = "Artalk"; + }; +} diff --git a/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix b/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix index bae622f00fd2b..608a02d70bf02 100644 --- a/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix +++ b/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix @@ -5,13 +5,13 @@ }: python3Packages.buildPythonApplication rec { pname = "arxiv-latex-cleaner"; - version = "1.0.5"; + version = "1.0.6"; src = fetchFromGitHub { owner = "google-research"; repo = "arxiv-latex-cleaner"; rev = "refs/tags/v${version}"; - hash = "sha256-Yxp8XtlISVZfEjCEJ/EXsIGMCHDPOwPcjkJxECeXvYk="; + hash = "sha256-S/r5riFIsRG+5za+4kVvUXOLIJ3ELCDWlSpYeSuNs+s="; }; propagatedBuildInputs = with python3Packages; [ |