diff options
Diffstat (limited to 'pkgs/tools/misc')
1021 files changed, 1183 insertions, 57923 deletions
diff --git a/pkgs/tools/misc/3mux/default.nix b/pkgs/tools/misc/3mux/default.nix deleted file mode 100644 index 0a16b853943d..000000000000 --- a/pkgs/tools/misc/3mux/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch, makeWrapper }: - -buildGoModule rec { - pname = "3mux"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "aaronjanse"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-QT4QXTlJf2NfTqXE4GF759EoW6Ri12lxDyodyEFc+ag="; - }; - - patches = [ - # Needed so that the subsequent patch applies. - (fetchpatch { - name = "use-shorter-uuids.patch"; - url = "https://github.com/aaronjanse/3mux/commit/6dd36694586f96e3c82ef7db1a0e7917ceb05794.patch"; - hash = "sha256-FnFupOIIQi66mvjshn3EQ6XRzC4cLx3vGTeTUM1HOwM="; - }) - # Fix the build for Darwin when building with Go 1.18. - # https://github.com/aaronjanse/3mux/pull/127 - (fetchpatch { - name = "darwin-go-1.18-fix.patch"; - url = "https://github.com/aaronjanse/3mux/commit/f2c26c1037927896d6e9a17ea038f8260620fbd4.patch"; - hash = "sha256-RC3p30r0PGUKrxo8uOLL02oyfLqLfhNjBYy6E+OQ2f0="; - }) - ]; - - nativeBuildInputs = [ makeWrapper ]; - - vendorHash = "sha256-KMcl6mj+cEgvdZMzBxUtGJsgwPdFuXrY3yjmkB3CS4o="; - - # This is a package used for internally testing 3mux. It's meant for - # use by 3mux maintainers/contributors only. - excludedPackages = [ "fuzz" ]; - - # 3mux needs to have itself in the path so users can run `3mux detach`. - # This ensures that, while inside 3mux, the binary in the path is the - # same version as the 3mux hosting the session. This also allows users - # to use 3mux via `nix run nixpkgs#_3mux` (otherwise they'd get "command - # not found"). - postInstall = '' - wrapProgram $out/bin/3mux --prefix PATH : $out/bin - ''; - - meta = with lib; { - description = "Terminal multiplexer inspired by i3"; - mainProgram = "3mux"; - longDescription = '' - Terminal multiplexer with out-of-the-box support for search, - mouse-controlled scrollback, and i3-like keybindings - ''; - homepage = "https://github.com/aaronjanse/3mux"; - license = licenses.mit; - maintainers = with maintainers; [ aaronjanse Br1ght0ne ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/aaa/default.nix b/pkgs/tools/misc/aaa/default.nix deleted file mode 100644 index 6511df5c997a..000000000000 --- a/pkgs/tools/misc/aaa/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "aaa"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "DomesticMoth"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-gIOlPjZOcmVLi9oOn4gBv6F+3Eq6t5b/3fKzoFqxclw="; - }; - cargoHash = "sha256-ugB0r9qiGRurc30GrJH4MKM6fWZ99+f1Gy7/1lSmrwU="; - - meta = with lib; { - description = "Terminal viewer for 3a format"; - homepage = "https://github.com/DomesticMoth/aaa"; - license = with licenses; [ gpl3Only ]; - maintainers = with maintainers; [ asciimoth ]; - mainProgram = "aaa"; - }; -} diff --git a/pkgs/tools/misc/abduco/default.nix b/pkgs/tools/misc/abduco/default.nix deleted file mode 100644 index 011f186bbbe2..000000000000 --- a/pkgs/tools/misc/abduco/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib, stdenv, fetchpatch, fetchzip, writeText, conf ? null }: - -let - rev = "8c32909a159aaa9484c82b71f05b7a73321eb491"; -in -stdenv.mkDerivation { - pname = "abduco"; - version = "unstable-2020-04-30"; - - src = fetchzip { - urls = [ - "https://github.com/martanne/abduco/archive/${rev}.tar.gz" - "https://git.sr.ht/~martanne/abduco/archive/${rev}.tar.gz" - ]; - hash = "sha256-o7SPK/G31cW/rrLwV3UJOTq6EBHl6AEE/GdeKGlHdyg="; - }; - - preBuild = lib.optionalString (conf != null) - "cp ${writeText "config.def.h" conf} config.def.h"; - - installFlags = [ "install-completion" ]; - CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; - - patches = [ - # https://github.com/martanne/abduco/pull/22 - (fetchpatch { - name = "use-XDG-directory-scheme-by-default"; - url = "https://github.com/martanne/abduco/commit/0e9a00312ac9777edcb169122144762e3611287b.patch"; - sha256 = "sha256-4NkIflbRkUpS5XTM/fxBaELpvlZ4S5lecRa8jk0XC9g="; - }) - - # “fix bug where attaching to dead session won't give underlying exit code” - # https://github.com/martanne/abduco/pull/45 - (fetchpatch { - name = "exit-code-when-attaching-to-dead-session"; - url = "https://github.com/martanne/abduco/commit/972ca8ab949ee342569dbd66b47cc4a17b28247b.patch"; - sha256 = "sha256-8hios0iKYDOmt6Bi5NNM9elTflGudnG2xgPF1pSkHI0="; - }) - - # “report pixel sizes to child processes that use ioctl(0, TIOCGWINSZ, ...)” - # used for kitty & other terminals that display images - # https://github.com/martanne/abduco/pull/62 - (fetchpatch { - name = "report-pixel-sizes-to-child-processes"; - url = "https://github.com/martanne/abduco/commit/a1e222308119b3251f00b42e1ddff74a385d4249.patch"; - sha256 = "sha256-eiF0A4IqJrrvXxjBYtltuVNpxQDv/iQPO+K7Y8hWBGg="; - }) - ]; - - meta = with lib; { - homepage = "http://brain-dump.org/projects/abduco"; - license = licenses.isc; - description = "Allows programs to be run independently from its controlling terminal"; - maintainers = with maintainers; [ pSub ]; - platforms = platforms.unix; - mainProgram = "abduco"; - }; -} diff --git a/pkgs/tools/misc/adafruit-ampy/default.nix b/pkgs/tools/misc/adafruit-ampy/default.nix deleted file mode 100644 index 66a776935049..000000000000 --- a/pkgs/tools/misc/adafruit-ampy/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, python3, fetchPypi }: - -with python3.pkgs; - -buildPythonApplication rec { - pname = "adafruit-ampy"; - version = "1.1.0"; - - src = fetchPypi { - inherit pname version; - sha256 = "f4cba36f564096f2aafd173f7fbabb845365cc3bb3f41c37541edf98b58d3976"; - }; - - nativeBuildInputs = [ setuptools-scm ]; - propagatedBuildInputs = [ click python-dotenv pyserial ]; - - # No tests - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/pycampers/ampy"; - license = licenses.mit; - description = "Utility to interact with a MicroPython board over a serial connection"; - maintainers = [ ]; - mainProgram = "ampy"; - }; -} diff --git a/pkgs/tools/misc/addic7ed-cli/default.nix b/pkgs/tools/misc/addic7ed-cli/default.nix deleted file mode 100644 index 9d5fef14bf25..000000000000 --- a/pkgs/tools/misc/addic7ed-cli/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, python3Packages -, fetchPypi -}: - -python3Packages.buildPythonApplication rec { - pname = "addic7ed-cli"; - version = "1.4.6"; - - src = fetchPypi { - inherit pname version; - sha256 = "182cpwxpdybsgl1nps850ysvvjbqlnx149kri4hxhgm58nqq0qf5"; - }; - - propagatedBuildInputs = with python3Packages; [ - requests - pyquery - ]; - - # Tests require network access - doCheck = false; - pythonImportsCheck = [ "addic7ed_cli" ]; - - meta = with lib; { - description = "Commandline access to addic7ed subtitles"; - homepage = "https://github.com/BenoitZugmeyer/addic7ed-cli"; - license = licenses.mit; - maintainers = with maintainers; [ aethelz ]; - platforms = platforms.unix; - mainProgram = "addic7ed"; - }; -} diff --git a/pkgs/tools/misc/addlicense/default.nix b/pkgs/tools/misc/addlicense/default.nix deleted file mode 100644 index 532bf3464fb6..000000000000 --- a/pkgs/tools/misc/addlicense/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, fetchpatch -}: - -buildGoModule rec { - pname = "addlicense"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "google"; - repo = "addlicense"; - rev = "v${version}"; - sha256 = "sha256-YMMHj6wctKtJi/rrcMIrLmNw/uvO6wCwokgYRQxcsFw="; - }; - - patches = [ - # Add support for Nix files. Upstream is slow with responding to PRs, - # patch backported from PR https://github.com/google/addlicense/pull/153. - (fetchpatch { - url = "https://github.com/google/addlicense/commit/e0fb3f44cc7670dcc5cbcec2211c9ad238c5f9f1.patch"; - hash = "sha256-XCAvL+HEa1hGc0GAnl+oYHKzBJ3I5ArS86vgABrP/Js="; - }) - ]; - - vendorHash = "sha256-2mncc21ecpv17Xp8PA9GIodoaCxNBacbbya/shU8T9Y="; - - subPackages = [ "." ]; - - meta = with lib; { - description = "Ensures source code files have copyright license headers by scanning directory patterns recursively"; - homepage = "https://github.com/google/addlicense"; - license = licenses.asl20; - maintainers = with maintainers; [ SuperSandro2000 ]; - mainProgram = "addlicense"; - }; -} diff --git a/pkgs/tools/misc/adrgen/default.nix b/pkgs/tools/misc/adrgen/default.nix deleted file mode 100644 index caa3af446b0a..000000000000 --- a/pkgs/tools/misc/adrgen/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, fetchpatch -, testers -, adrgen -}: - -buildGoModule rec { - pname = "adrgen"; - version = "0.4.0-beta"; - - src = fetchFromGitHub { - owner = "asiermarques"; - repo = "adrgen"; - rev = "v${version}"; - hash = "sha256-2ZE/orsfwL59Io09c4yfXt2enVmpSM/QHlUMgyd9RYQ="; - }; - - patches = [ - # https://github.com/asiermarques/adrgen/pull/14 - (fetchpatch { - name = "update-x-sys-for-go-1.18-on-aarch64-darwin.patch"; - url = "https://github.com/asiermarques/adrgen/commit/485dc383106467d1029ee6d92c9bcbc3c2281626.patch"; - hash = "sha256-38ktHrRgW5ysQmafvFthNtkZ6nnM61z4yEA7wUGmWb4="; - }) - ]; - - vendorHash = "sha256-RXwwv3Q/kQ6FondpiUm5XZogAVK2aaVmKu4hfr+AnAM="; - - passthru.tests.version = testers.testVersion { - package = adrgen; - command = "adrgen version"; - version = "v${version}"; - }; - - meta = with lib; { - homepage = "https://github.com/asiermarques/adrgen"; - description = "Command-line tool for generating and managing Architecture Decision Records"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "adrgen"; - }; -} diff --git a/pkgs/tools/misc/aescrypt/default.nix b/pkgs/tools/misc/aescrypt/default.nix deleted file mode 100644 index 67739f575169..000000000000 --- a/pkgs/tools/misc/aescrypt/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchurl, libiconv }: - -stdenv.mkDerivation rec { - version = "3.16"; - pname = "aescrypt"; - - src = fetchurl { - url = "https://www.aescrypt.com/download/v3/linux/aescrypt-${version}.tgz"; - sha256 = "sha256-4uGS0LReq5dI7+Wel7ZWzFXx+utZWi93q4TUSw7AhNI="; - }; - - NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-liconv"; - - preBuild = '' - substituteInPlace src/Makefile --replace "CC=gcc" "CC?=gcc" - cd src - ''; - - installPhase= '' - mkdir -p $out/bin - cp aescrypt $out/bin - cp aescrypt_keygen $out/bin - ''; - - buildInputs = [ libiconv ]; - - meta = with lib; { - description = "Encrypt files with Advanced Encryption Standard (AES)"; - homepage = "https://www.aescrypt.com/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ lovek323 qknight ]; - platforms = lib.platforms.all; - hydraPlatforms = with platforms; unix; - }; -} diff --git a/pkgs/tools/misc/afetch/default.nix b/pkgs/tools/misc/afetch/default.nix deleted file mode 100644 index 9413666372df..000000000000 --- a/pkgs/tools/misc/afetch/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "afetch"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "13-CF"; - repo = "afetch"; - rev = "V${version}"; - sha256 = "sha256-bHP3DJpgh89AaCX4c1tQGaZ/PiWjArED1rMdszFUq+U="; - }; - - makeFlags = [ - "PREFIX=${placeholder "out"}" - ]; - - meta = with lib; { - description = "Fetch program written in C"; - homepage = "https://github.com/13-CF/afetch"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ dan4ik605743 jk ]; - platforms = platforms.linux; - mainProgram = "afetch"; - }; -} diff --git a/pkgs/tools/misc/agedu/default.nix b/pkgs/tools/misc/agedu/default.nix deleted file mode 100644 index d01e6aab141c..000000000000 --- a/pkgs/tools/misc/agedu/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, stdenv -, fetchgit -, cmake -, halibut -}: -let - date = "20211129"; - rev = "8cd63c5"; -in -stdenv.mkDerivation { - pname = "agedu"; - version = "${date}.${rev}"; - - # upstream provides tarballs but it seems they disappear after the next version is released - src = fetchgit { - url = "https://git.tartarus.org/simon/agedu.git"; - inherit rev; - hash = "sha256-5wqpL7wrFwIf6lxVte+GXLsXYY0/36EIAUepVNDCnSE="; - }; - - nativeBuildInputs = [ cmake halibut ]; - - meta = with lib; { - description = "Unix utility for tracking down wasted disk space"; - longDescription = '' - Most Unix file systems, in their default mode, helpfully record when a - file was last accessed. So if you generated a large amount of data years - ago, forgot to clean it up, and have never used it since, then it ought - in principle to be possible to use those last-access time stamps to tell - the difference between that and a large amount of data you're still - using regularly. - - agedu uses this information to tell you which files waste disk space when - you haven't used them since a long time. - ''; - homepage = "https://www.chiark.greenend.org.uk/~sgtatham/agedu/"; - license = licenses.mit; - maintainers = with maintainers; [ symphorien ]; - platforms = platforms.unix; - mainProgram = "agedu"; - }; -} diff --git a/pkgs/tools/misc/aichat/default.nix b/pkgs/tools/misc/aichat/default.nix deleted file mode 100644 index 6aed08780987..000000000000 --- a/pkgs/tools/misc/aichat/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, stdenv -, darwin -, rustPlatform -, fetchFromGitHub -, pkg-config -, installShellFiles -}: - -rustPlatform.buildRustPackage rec { - pname = "aichat"; - version = "0.20.0"; - - src = fetchFromGitHub { - owner = "sigoden"; - repo = "aichat"; - rev = "v${version}"; - hash = "sha256-khi5B8nYNK7otWZEs5koCzQaYGZwmGxP3zrMYIt3Ds4="; - }; - - cargoHash = "sha256-IHGl+Lxa9ZKlyXp59mv72QIvC3hkXPFOUKPVYbN50W4="; - - nativeBuildInputs = [ - pkg-config - installShellFiles - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.AppKit - darwin.apple_sdk.frameworks.CoreFoundation - darwin.apple_sdk.frameworks.Security - ]; - - postInstall = '' - installShellCompletion ./scripts/completions/aichat.{bash,fish,zsh} - ''; - - meta = with lib; { - description = "Use GPT-4(V), Gemini, LocalAI, Ollama and other LLMs in the terminal"; - homepage = "https://github.com/sigoden/aichat"; - license = licenses.mit; - maintainers = with maintainers; [ mwdomino ]; - mainProgram = "aichat"; - }; -} diff --git a/pkgs/tools/misc/alarm-clock-applet/default.nix b/pkgs/tools/misc/alarm-clock-applet/default.nix deleted file mode 100644 index 80275149bfb8..000000000000 --- a/pkgs/tools/misc/alarm-clock-applet/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, cmake -, pkg-config -, wrapGAppsHook3 -, gst_all_1 -, libnotify -, libayatana-appindicator -}: - -stdenv.mkDerivation rec { - pname = "alarm-clock-applet"; - version = "0.4.1"; - - src = fetchFromGitHub { - owner = pname; - repo = "alarm-clock"; - rev = version; - hash = "sha256-10hkWWEsAUJnGeu35bR5d0RFKd9CKDZI7WGMzmEM3rI="; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/alarm-clock-applet/alarm-clock/commit/6a11003099660dfae0e3d5800f49880d3a26f5ec.patch"; - hash = "sha256-NP1PlEw5AFWZgywvppIs2e+5EfMSPbU4Pq2tIfwODrQ="; - }) - (fetchpatch { - url = "https://github.com/alarm-clock-applet/alarm-clock/commit/cbcf22fac5b45ab251ade2e7e993f422f33f926e.patch"; - hash = "sha256-xKaaNfXsv9Ckwy73r1n93kOWIZ01fU5GDqYSQCch1Kc="; - }) - ]; - - nativeBuildInputs = [ - cmake - pkg-config - wrapGAppsHook3 - ]; - - buildInputs = [ - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - libnotify - libayatana-appindicator - ]; - - cmakeFlags = [ - # gconf is already deprecated - "-DENABLE_GCONF_MIGRATION=OFF" - ]; - - meta = with lib; { - description = "Fully-featured alarm clock with an indicator"; - homepage = "https://alarm-clock-applet.github.io"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ aleksana ]; - platforms = platforms.linux; - mainProgram = "alarm-clock-applet"; - }; -} diff --git a/pkgs/tools/misc/altserver-linux/default.nix b/pkgs/tools/misc/altserver-linux/default.nix deleted file mode 100644 index 30d528294901..000000000000 --- a/pkgs/tools/misc/altserver-linux/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ stdenv -, fetchurl -, lib -, avahi-compat -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "altserver-linux"; - version = "0.0.5"; - - src = fetchurl { - url = "https://github.com/NyaMisty/AltServer-Linux/releases/download/v${finalAttrs.version}/AltServer-x86_64"; - hash = "sha256-C+fDrcaewRd6FQMrO443xdDk/vtHycQ5zWLCOLPqF/s="; - }; - - dontUnpack = true; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp $src $out/bin/alt-server - chmod u+x $out/bin/alt-server - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/NyaMisty/AltServer-Linux"; - description = "AltServer for AltStore, but on-device. Requires root privileges as well as running a custom anisette server currently"; - license = licenses.agpl3Only; - mainProgram = "alt-server"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - platforms = platforms.linux; - maintainers = with maintainers; [ max-amb ]; - }; -}) - diff --git a/pkgs/tools/misc/antimicrox/default.nix b/pkgs/tools/misc/antimicrox/default.nix index 1ba7f89f8dce..4064c76cd0e8 100644 --- a/pkgs/tools/misc/antimicrox/default.nix +++ b/pkgs/tools/misc/antimicrox/default.nix @@ -12,13 +12,13 @@ mkDerivation rec { pname = "antimicrox"; - version = "3.4.1"; + version = "3.5.0"; src = fetchFromGitHub { owner = "AntiMicroX"; repo = pname; rev = version; - sha256 = "sha256-HikaNbgPwsiIYNQgdEZiVdVYJtYgZRiXVqEce68tyxM="; + sha256 = "sha256-9vpkhs3zEOZa3LnyIqdW0U+nS/9t4HzMLzFqrB2TqI8="; }; nativeBuildInputs = [ cmake extra-cmake-modules pkg-config itstool ]; diff --git a/pkgs/tools/misc/aoc-cli/default.nix b/pkgs/tools/misc/aoc-cli/default.nix index 4fec5647e04d..693f87389e1b 100644 --- a/pkgs/tools/misc/aoc-cli/default.nix +++ b/pkgs/tools/misc/aoc-cli/default.nix @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] - ++ lib.optional stdenv.isDarwin Security; + ++ lib.optional stdenv.hostPlatform.isDarwin Security; cargoHash = "sha256-EluP4N3UBQeEKVdHTs4O0THXji+nAyE52nGKsxA3AA4="; diff --git a/pkgs/tools/misc/apkeep/default.nix b/pkgs/tools/misc/apkeep/default.nix index 084997765868..e3969844d8ac 100644 --- a/pkgs/tools/misc/apkeep/default.nix +++ b/pkgs/tools/misc/apkeep/default.nix @@ -10,14 +10,14 @@ rustPlatform.buildRustPackage rec { pname = "apkeep"; - version = "0.16.0"; + version = "0.17.0"; src = fetchCrate { inherit pname version; - hash = "sha256-nPeXIzy9tYWeJrq1tIKXMILOjVnsAvsceY5dzz7+pYE="; + hash = "sha256-YjGfnYK22RIVa8D8CWnAxHGDqXENGAPIeQQ606Q3JW8="; }; - cargoHash = "sha256-0NyZmZ00zmGfndz47NMeh76SMmh0ap6ZfkKebX7pMfw="; + cargoHash = "sha256-Fx/XNmml/5opekmH1qs/f3sD45KWfNZjdOxTuNJfZiw="; prePatch = '' rm .cargo/config.toml @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]; diff --git a/pkgs/tools/misc/apparix/default.nix b/pkgs/tools/misc/apparix/default.nix deleted file mode 100644 index dd0c8cf67b0b..000000000000 --- a/pkgs/tools/misc/apparix/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "apparix"; - version = "11-062"; - - src = fetchurl { - url = "https://micans.org/apparix/src/apparix-${version}.tar.gz"; - sha256 = "211bb5f67b32ba7c3e044a13e4e79eb998ca017538e9f4b06bc92d5953615235"; - }; - - doCheck = true; - - meta = with lib; { - homepage = "http://micans.org/apparix"; - description = "Add directory bookmarks, distant listing, and distant editing to the command line"; - maintainers = [ ]; - license = licenses.gpl2Plus; - platforms = platforms.all; - mainProgram = "apparix"; - }; -} diff --git a/pkgs/tools/misc/aptly/default.nix b/pkgs/tools/misc/aptly/default.nix deleted file mode 100644 index 6da10fe9b7fc..000000000000 --- a/pkgs/tools/misc/aptly/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper, gnupg, bzip2, xz, graphviz, testers, aptly }: - -buildGoModule rec { - pname = "aptly"; - version = "1.5.0"; - - src = fetchFromGitHub { - owner = "aptly-dev"; - repo = "aptly"; - rev = "v${version}"; - sha256 = "sha256-LqGOLXXaGfQfoj2r+aY9SdOKUDI9+22EsHKBhHMidyk="; - }; - - vendorHash = "sha256-6l3OFKFTtFWT68Ylav6woczBlMhD75C9ZoQ6OeLz0Cs="; - - nativeBuildInputs = [ installShellFiles makeWrapper ]; - - ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; - - postInstall = '' - installShellCompletion --bash --name aptly completion.d/aptly - installShellCompletion --zsh --name _aptly completion.d/_aptly - wrapProgram "$out/bin/aptly" \ - --prefix PATH ":" "${lib.makeBinPath [ gnupg bzip2 xz graphviz ]}" - ''; - - doCheck = false; - - passthru.tests.version = testers.testVersion { - package = aptly; - command = "aptly version"; - }; - - meta = with lib; { - homepage = "https://www.aptly.info"; - description = "Debian repository management tool"; - license = licenses.mit; - maintainers = with maintainers; [ montag451 ] ++ teams.bitnomial.members; - changelog = - "https://github.com/aptly-dev/aptly/releases/tag/v${version}"; - mainProgram = "aptly"; - }; -} diff --git a/pkgs/tools/misc/aquosctl/default.nix b/pkgs/tools/misc/aquosctl/default.nix deleted file mode 100644 index f8eba27e0fe4..000000000000 --- a/pkgs/tools/misc/aquosctl/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -}: - -let - pname = "aquosctl"; -in -stdenv.mkDerivation { - inherit pname; - version = "unstable-2014-04-06"; - - src = fetchFromGitHub { - owner = "jdwhite"; - repo = pname; - rev = "b5e48d9ef848188b97dfb24bfcc99d5196cab5f6"; - hash = "sha256-FA3LR58KMG5RzSxxnOkVw1+inM/gMGPtw5+JQwSHBYs="; - }; - - installPhase = '' - runHook preInstall - install -Dm0755 aquosctl $out/bin/aquosctl - runHook postInstall - ''; - - meta = with lib; { - description = "Sharp Aquos television RS-232 control application"; - homepage = "https://github.com/jdwhite/aquosctl"; - license = licenses.mit; - maintainers = with maintainers; [ hexa ]; - platforms = platforms.linux; - mainProgram = "aquosctl"; - }; -} - diff --git a/pkgs/tools/misc/arch-install-scripts/default.nix b/pkgs/tools/misc/arch-install-scripts/default.nix deleted file mode 100644 index a87268309252..000000000000 --- a/pkgs/tools/misc/arch-install-scripts/default.nix +++ /dev/null @@ -1,89 +0,0 @@ -{ lib -, resholve -, fetchFromGitHub -, asciidoc -, bash -, coreutils -, gawk -, gnugrep -, gnum4 -, pacman -, util-linux -, chrootPath ? [ - "/usr/local/sbin" - "/usr/local/bin" - "/usr/bin" - "/usr/bin/site_perl" - "/usr/bin/vendor_perl" - "/usr/bin/core_perl" - ] -}: - -resholve.mkDerivation rec { - pname = "arch-install-scripts"; - version = "28"; - - src = fetchFromGitHub { - owner = "archlinux"; - repo = "arch-install-scripts"; - rev = "v${version}"; - hash = "sha256-TytCeejhjWYDzWFjGubUl08OrsAQa9fFULoamDfbdDY="; - }; - - nativeBuildInputs = [ asciidoc gnum4 ]; - - postPatch = '' - substituteInPlace ./Makefile \ - --replace "PREFIX = /usr/local" "PREFIX ?= /usr/local" - substituteInPlace ./pacstrap.in \ - --replace "cp -a" "cp -LR --no-preserve=mode" \ - --replace "unshare pacman" "unshare ${pacman}/bin/pacman" \ - --replace 'gnupg "$newroot/etc/pacman.d/"' 'gnupg "$newroot/etc/pacman.d/" && chmod 700 "$newroot/etc/pacman.d/gnupg"' - echo "export PATH=${lib.strings.makeSearchPath "" chrootPath}:\$PATH" >> ./common - ''; - - installFlags = [ "PREFIX=$(out)" ]; - - doCheck = true; - - solutions = { - # Give each solution a short name. This is what you'd use to - # override its settings, and it shows in (some) error messages. - profile = { - # the only *required* arguments are the 3 below - - # Specify 1 or more $out-relative script paths. Unlike many - # builders, resholve.mkDerivation modifies the output files during - # fixup (to correctly resolve in-package sourcing). - scripts = [ "bin/arch-chroot" "bin/genfstab" "bin/pacstrap" ]; - - # "none" for no shebang, "${bash}/bin/bash" for bash, etc. - interpreter = "${bash}/bin/bash"; - - # packages resholve should resolve executables from - inputs = [ coreutils gawk gnugrep pacman util-linux ]; - - execer = [ "cannot:${pacman}/bin/pacman-key" ]; - - # TODO: no good way to resolve mount/umount in Nix builds for now - # see https://github.com/abathur/resholve/issues/29 - fix = { - mount = true; - umount = true; - }; - - keep = [ "$setup" "$pid_unshare" "$mount_unshare" "${pacman}/bin/pacman" ]; - }; - }; - - meta = with lib; { - description = "Useful scripts for installing Arch Linux"; - longDescription = '' - A small suite of scripts aimed at automating some menial tasks when installing Arch Linux. - ''; - homepage = "https://github.com/archlinux/arch-install-scripts"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ samlukeyes123 ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/archi/default.nix b/pkgs/tools/misc/archi/default.nix index e933edf3642b..b5328e7fab28 100644 --- a/pkgs/tools/misc/archi/default.nix +++ b/pkgs/tools/misc/archi/default.nix @@ -4,7 +4,8 @@ , makeWrapper , jdk , libsecret -, webkitgtk +, glib +, webkitgtk_4_0 , wrapGAppsHook3 , _7zz , nixosTests @@ -42,7 +43,7 @@ stdenv.mkDerivation rec { autoPatchelfHook ]; - sourceRoot = if stdenv.isDarwin then "." else null; + sourceRoot = if stdenv.hostPlatform.isDarwin then "." else null; installPhase = if stdenv.hostPlatform.system == "x86_64-linux" then @@ -54,7 +55,7 @@ stdenv.mkDerivation rec { install -D -m755 Archi $out/libexec/Archi makeWrapper $out/libexec/Archi $out/bin/Archi \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ webkitgtk ])} \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib webkitgtk_4_0 ])} \ --set WEBKIT_DISABLE_DMABUF_RENDERER 1 \ --prefix PATH : ${jdk}/bin '' diff --git a/pkgs/tools/misc/arp-scan/default.nix b/pkgs/tools/misc/arp-scan/default.nix deleted file mode 100644 index 35d528598381..000000000000 --- a/pkgs/tools/misc/arp-scan/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, libpcap, makeWrapper, perlPackages }: - -stdenv.mkDerivation rec { - pname = "arp-scan"; - version = "1.10.0"; - - src = fetchFromGitHub { - owner = "royhills"; - repo = "arp-scan"; - rev = version; - sha256 = "sha256-BS+ItZd6cSMX92M6XGYrIeAiCB2iBdvbMvKdLfwawLQ="; - }; - - patches = [ - ./remove-install-exec-hook.patch - ]; - - perlModules = with perlPackages; [ - HTTPDate - HTTPMessage - LWP - TextCSV - URI - ]; - - nativeBuildInputs = [ autoreconfHook makeWrapper ]; - buildInputs = [ perlPackages.perl libpcap ]; - - postInstall = '' - for binary in get-{oui,iab}; do - wrapProgram "$out/bin/$binary" --set PERL5LIB "${perlPackages.makeFullPerlPath perlModules}" - done; - ''; - - meta = with lib; { - description = "ARP scanning and fingerprinting tool"; - longDescription = '' - Arp-scan is a command-line tool that uses the ARP protocol to discover - and fingerprint IP hosts on the local network. - ''; - homepage = "https://github.com/royhills/arp-scan/wiki/arp-scan-User-Guide"; - license = licenses.gpl3; - platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ bjornfor mikoim r-burns ]; - mainProgram = "arp-scan"; - }; -} diff --git a/pkgs/tools/misc/arp-scan/remove-install-exec-hook.patch b/pkgs/tools/misc/arp-scan/remove-install-exec-hook.patch deleted file mode 100644 index 38421400384c..000000000000 --- a/pkgs/tools/misc/arp-scan/remove-install-exec-hook.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index c02e1cc..0dd6321 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -29,19 +29,3 @@ arp-scan.1: arp-scan.1.dist Makefile - $(do_subst) < $(srcdir)/arp-scan.1.dist > arp-scan.1 - get-oui.1: get-oui.1.dist Makefile - $(do_subst) < $(srcdir)/get-oui.1.dist > get-oui.1 --# Install arp-scan with cap_net_raw if possible, otherwise SUID root --install-exec-hook: -- @if command -v setcap > /dev/null; then \ -- if setcap cap_net_raw+p $(DESTDIR)$(bindir)/arp-scan$(EXEEXT); then \ -- echo "setcap cap_net_raw+p $(DESTDIR)$(bindir)/arp-scan$(EXEEXT)"; \ -- chmod u-s $(DESTDIR)$(bindir)/arp-scan$(EXEEXT); \ -- else \ -- echo "Setcap failed on $(DESTDIR)$(bindir)/arp-scan$(EXEEXT), falling back to setuid" >&2; \ -- echo "chmod u+s $(DESTDIR)$(bindir)/arp-scan$(EXEEXT)"; \ -- chmod u+s $(DESTDIR)$(bindir)/arp-scan$(EXEEXT); \ -- fi \ -- else \ -- echo "Setcap is not installed, falling back to setuid" >&2 ; \ -- echo "chmod u+s $(DESTDIR)$(bindir)/arp-scan$(EXEEXT)" ;\ -- chmod u+s $(DESTDIR)$(bindir)/arp-scan$(EXEEXT) ;\ -- fi diff --git a/pkgs/tools/misc/as-tree/default.nix b/pkgs/tools/misc/as-tree/default.nix deleted file mode 100644 index 7a8ec4830642..000000000000 --- a/pkgs/tools/misc/as-tree/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "as-tree"; - version = "unstable-2021-03-09"; - - src = fetchFromGitHub { - owner = "jez"; - repo = pname; - rev = "0036c20f66795774eb9cda3ccbae6ca1e1c19444"; - sha256 = "sha256-80yB89sKIuv7V68p0jEsi2hRdz+5CzE+4R0joRzO7Dk="; - }; - - cargoHash = "sha256-BLEVPKO2YwcKuM/rUeMuyE38phOrbq0e8cjqh1qmJjM="; - - meta = with lib; { - description = "Print a list of paths as a tree of paths"; - homepage = "https://github.com/jez/as-tree"; - license = with licenses; [ blueOak100 ]; - maintainers = with maintainers; [ jshholland ]; - mainProgram = "as-tree"; - }; -} diff --git a/pkgs/tools/misc/asciinema-agg/default.nix b/pkgs/tools/misc/asciinema-agg/default.nix index 238a5c8af073..e7f7334de3e0 100644 --- a/pkgs/tools/misc/asciinema-agg/default.nix +++ b/pkgs/tools/misc/asciinema-agg/default.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { }; }; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; diff --git a/pkgs/tools/misc/asciinema-scenario/default.nix b/pkgs/tools/misc/asciinema-scenario/default.nix deleted file mode 100644 index 99446e2ac0c2..000000000000 --- a/pkgs/tools/misc/asciinema-scenario/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -}: - -rustPlatform.buildRustPackage rec { - pname = "asciinema-scenario"; - version = "0.3.0"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-fnX5CIYLdFqi04PQPVIAYDGn+xXi016l8pPcIrYIhmQ="; - }; - - cargoHash = "sha256-8I3mPSJ5aXvQ88nh0SWyuTq9JSTktS2lQPrXlcvD66c="; - - meta = with lib; { - description = "Create asciinema videos from a text file"; - homepage = "https://github.com/garbas/asciinema-scenario/"; - maintainers = with maintainers; [ garbas ]; - license = with licenses; [ mit ]; - mainProgram = "asciinema-scenario"; - }; -} diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix deleted file mode 100644 index f84c93eb3faa..000000000000 --- a/pkgs/tools/misc/asciinema/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - lib, - python3Packages, - fetchFromGitHub, -}: - -python3Packages.buildPythonApplication rec { - pname = "asciinema"; - version = "2.4.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "asciinema"; - repo = "asciinema"; - rev = "v${version}"; - hash = "sha256-UegLwpJ+uc9cW3ozLQJsQBjIGD7+vzzwzQFRV5gmDmI="; - }; - - build-system = [ python3Packages.setuptools ]; - - postPatch = '' - substituteInPlace tests/pty_test.py \ - --replace-fail "python3" "${python3Packages.python.interpreter}" - ''; - - nativeCheckInputs = [ python3Packages.pytestCheckHook ]; - - meta = { - description = "Terminal session recorder and the best companion of asciinema.org"; - homepage = "https://asciinema.org/"; - license = with lib.licenses; [ gpl3Plus ]; - maintainers = with lib.maintainers; [ ]; - platforms = lib.platforms.all; - mainProgram = "asciinema"; - }; -} diff --git a/pkgs/tools/misc/asdf-vm/default.nix b/pkgs/tools/misc/asdf-vm/default.nix deleted file mode 100644 index 024d70d5c7cb..000000000000 --- a/pkgs/tools/misc/asdf-vm/default.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, makeWrapper, installShellFiles, bash, curl, git, writeScript }: - -let - asdfReshimFile = writeScript "asdf-reshim" '' -#!/usr/bin/env bash - -# asdf-vm create "shim" file like this: -# -# exec $ASDF_DIR/bin/asdf exec "node" "$@" -# -# So we should reshim all installed versions every time shell initialized, -# because $out always change - -asdfDir="''${ASDF_DIR:-$HOME/.asdf}" -asdfDataDir="''${ASDF_DATA_DIR:-$HOME/.asdf}" - -prevAsdfDirFilePath="$asdfDataDir/.nix-prev-asdf-dir-path" - -if [ -r "$prevAsdfDirFilePath" ]; then - prevAsdfDir="$(cat "$prevAsdfDirFilePath")" -else - prevAsdfDir="" -fi - -if [ "$prevAsdfDir" != "$asdfDir" ]; then - rm -rf "$asdfDataDir"/shims - "$asdfDir"/bin/asdf reshim - echo "$asdfDir" > "$prevAsdfDirFilePath" -fi - ''; - - asdfPrepareFile = writeScript "asdf-prepare" '' -ASDF_DIR="@asdfDir@" - -source "$ASDF_DIR/asdf.sh" -${asdfReshimFile} - ''; -in stdenv.mkDerivation rec { - pname = "asdf-vm"; - version = "0.14.1"; - - src = fetchFromGitHub { - owner = "asdf-vm"; - repo = "asdf"; - rev = "v${version}"; - sha256 = "sha256-1dacsAoZVwoQv8+V4FrjRLa7awLIZchlhkuET0wTO7w="; - }; - - nativeBuildInputs = [ - makeWrapper - installShellFiles - ]; - - buildInputs = [ - bash - curl - git - ]; - - installPhase = '' - mkdir -p $out/share/asdf-vm - cp -r . $out/share/asdf-vm - - mkdir -p $out/etc/profile.d - substitute ${asdfPrepareFile} $out/etc/profile.d/asdf-prepare.sh \ - --replace "@asdfDir@" "$out/share/asdf-vm" - - mkdir -p $out/bin - makeWrapper $out/share/asdf-vm/bin/asdf $out/bin/asdf \ - --set ASDF_DIR $out/share/asdf-vm - - installShellCompletion --cmd asdf \ - --zsh completions/_asdf \ - --fish completions/asdf.fish \ - --bash completions/asdf.bash - ''; - - meta = with lib; { - description = "Extendable version manager with support for Ruby, Node.js, Erlang & more"; - homepage = "https://asdf-vm.com/"; - license = licenses.mit; - maintainers = [ maintainers.c4605 ]; - mainProgram = "asdf"; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/askalono/default.nix b/pkgs/tools/misc/askalono/default.nix deleted file mode 100644 index a15d4d08aae8..000000000000 --- a/pkgs/tools/misc/askalono/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -}: - -rustPlatform.buildRustPackage rec { - pname = "askalono"; - version = "0.4.6"; - - src = fetchCrate { - pname = "askalono-cli"; - inherit version; - hash = "sha256-7l5bHSsmuMoHbbOI3TAYFeHwD3Y62JvfrrXZa08V3+U="; - }; - - cargoHash = "sha256-OkN8V37GApJvremRJlWG3HSpWgMC17Ge8JMTiQVoc/g="; - - meta = with lib; { - description = "Tool to detect open source licenses from texts"; - homepage = "https://github.com/jpeddicord/askalono"; - changelog = "https://github.com/jpeddicord/askalono/blob/${version}/CHANGELOG.md"; - license = licenses.asl20; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "askalono"; - }; -} diff --git a/pkgs/tools/misc/aspcud/default.nix b/pkgs/tools/misc/aspcud/default.nix deleted file mode 100644 index cd290d5e085e..000000000000 --- a/pkgs/tools/misc/aspcud/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, boost -, catch2 -, cmake -, clingo -, re2c -}: - -stdenv.mkDerivation rec { - version = "1.9.6"; - pname = "aspcud"; - - src = fetchFromGitHub { - owner = "potassco"; - repo = "aspcud"; - rev = "v${version}"; - hash = "sha256-PdRfpmH7zF5dn+feoijtzdSUjaYhjHwyAUfuYoWCL9E="; - }; - - postPatch = '' - cp ${catch2}/include/catch2/catch.hpp libcudf/tests/catch.hpp - ''; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ boost clingo re2c ]; - - cmakeFlags = [ - "-DASPCUD_GRINGO_PATH=${clingo}/bin/gringo" - "-DASPCUD_CLASP_PATH=${clingo}/bin/clasp" - ]; - - doCheck = true; - - meta = with lib; { - description = "Solver for package problems in CUDF format using ASP"; - homepage = "https://potassco.org/aspcud/"; - platforms = platforms.all; - maintainers = [ maintainers.hakuch ]; - license = licenses.gpl3Plus; - }; -} diff --git a/pkgs/tools/misc/astronomer/default.nix b/pkgs/tools/misc/astronomer/default.nix deleted file mode 100644 index 77b30afa0529..000000000000 --- a/pkgs/tools/misc/astronomer/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "astronomer"; - version = "1.1.3"; - - src = fetchFromGitHub { - owner = "Ullaakut"; - repo = "astronomer"; - rev = "v${version}"; - hash = "sha256-4hUfJI2BRZl3Trk8F2qLZAyA57kq0oW9/e13atj/BVg="; - }; - - vendorHash = "sha256-EOtpZPIrAVMPIZGnkZoNs7ovaR7Ts3dJsFLXClIoNVI="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Tool to detect illegitimate stars from bot accounts on GitHub projects"; - homepage = "https://github.com/Ullaakut/astronomer"; - changelog = "https://github.com/Ullaakut/astronomer/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "astronomer"; - }; -} diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix deleted file mode 100644 index 8305c82937eb..000000000000 --- a/pkgs/tools/misc/autojump/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3 }: - -stdenv.mkDerivation rec { - pname = "autojump"; - version = "22.5.3"; - - src = fetchFromGitHub { - owner = "wting"; - repo = "autojump"; - rev = "release-v${version}"; - sha256 = "1rgpsh70manr2dydna9da4x7p8ahii7dgdgwir5fka340n1wrcws"; - }; - - buildInputs = [ python3 ]; - nativeBuildInputs = [ python3 ]; - dontBuild = true; - strictDeps = true; - - installPhase = '' - python ./install.py -d "$out" -p "" -z "$out/share/zsh/site-functions/" - - chmod +x "$out/etc/profile.d/autojump.sh" - install -Dt "$out/share/bash-completion/completions/" -m444 "$out/share/autojump/autojump.bash" - install -Dt "$out/share/fish/vendor_conf.d/" -m444 "$out/share/autojump/autojump.fish" - install -Dt "$out/share/zsh/site-functions/" -m444 "$out/share/autojump/autojump.zsh" - ''; - - meta = with lib; { - description = "`cd' command that learns"; - mainProgram = "autojump"; - longDescription = '' - One of the most used shell commands is “cd”. A quick survey - among my friends revealed that between 10 and 20% of all - commands they type are actually cd commands! Unfortunately, - jumping from one part of your system to another with cd - requires to enter almost the full path, which isn’t very - practical and requires a lot of keystrokes. - - Autojump is a faster way to navigate your filesystem. It - works by maintaining a database of the directories you use the - most from the command line. The jstat command shows you the - current contents of the database. You need to work a little - bit before the database becomes usable. Once your database - is reasonably complete, you can “jump” to a directory by - typing "j dirspec", where dirspec is a few characters of the - directory you want to jump to. It will jump to the most used - directory whose name matches the pattern given in dirspec. - - Autojump supports tab-completion. - ''; - homepage = "https://github.com/wting/autojump"; - license = licenses.gpl3; - platforms = platforms.all; - maintainers = with maintainers; [ domenkozar yurrriq ]; - }; -} diff --git a/pkgs/tools/misc/automirror/default.nix b/pkgs/tools/misc/automirror/default.nix deleted file mode 100644 index 457303c6bc26..000000000000 --- a/pkgs/tools/misc/automirror/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{lib, stdenv, fetchFromGitHub, git, ronn}: - -stdenv.mkDerivation rec { - pname = "automirror"; - version = "49"; - - src = fetchFromGitHub { - owner = "schlomo"; - repo = "automirror"; - rev = "v${version}"; - sha256 = "1syyf7dcm8fbyw31cpgmacg80h7pg036dayaaf0svvdsk0hqlsch"; - }; - - patchPhase = "sed -i s#/usr##g Makefile"; - - buildInputs = [ git ronn ]; - - installFlags = [ "DESTDIR=$(out)" ]; - - meta = with lib; { - homepage = "https://github.com/schlomo/automirror"; - description = "Automatic Display Mirror"; - license = licenses.gpl3; - platforms = platforms.all; - mainProgram = "automirror"; - }; -} diff --git a/pkgs/tools/misc/autorandr/0001-don-t-use-sys.executable.patch b/pkgs/tools/misc/autorandr/0001-don-t-use-sys.executable.patch deleted file mode 100644 index 81879a8f834b..000000000000 --- a/pkgs/tools/misc/autorandr/0001-don-t-use-sys.executable.patch +++ /dev/null @@ -1,33 +0,0 @@ -From fdcc2f01441ec25104456022e6f8d3120709cede Mon Sep 17 00:00:00 2001 -From: Romanos Skiadas <rom.skiad@gmail.com> -Date: Tue, 28 Jun 2022 06:16:10 +0300 -Subject: [PATCH] don't use sys.executable - -This is required for forking self in a nixpkgs environment, -where arandr might be wrapped. In that case, the actual arandr command -will be a bash script, not python. -There is no real reason to keep this around, nixpkgs properly sets the -interpreter in the shebang anyway. ---- - autorandr.py | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git autorandr.py autorandr.py -index 35c15f6..1e84a2f 100755 ---- a/autorandr.py -+++ b/autorandr.py -@@ -1192,10 +1192,7 @@ def dispatch_call_to_sessions(argv): - os.chdir(pwent.pw_dir) - os.environ.clear() - os.environ.update(process_environ) -- if sys.executable != "" and sys.executable != None: -- os.execl(sys.executable, sys.executable, autorandr_binary, *argv[1:]) -- else: -- os.execl(autorandr_binary, autorandr_binary, *argv[1:]) -+ os.execl(autorandr_binary, autorandr_binary, *argv[1:]) - sys.exit(1) - os.waitpid(child_pid, 0) - --- -2.36.1 - diff --git a/pkgs/tools/misc/autorandr/default.nix b/pkgs/tools/misc/autorandr/default.nix deleted file mode 100644 index eb7f8c16c86d..000000000000 --- a/pkgs/tools/misc/autorandr/default.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -, systemd -, xrandr -, installShellFiles -, desktop-file-utils -}: - -python3.pkgs.buildPythonApplication rec { - pname = "autorandr"; - version = "1.15"; - format = "other"; - - src = fetchFromGitHub { - owner = "phillipberndt"; - repo = "autorandr"; - rev = "refs/tags/${version}"; - hash = "sha256-8FMfy3GCN4z/TnfefU2DbKqV3W35I29/SuGGqeOrjNg"; - }; - - nativeBuildInputs = [ installShellFiles desktop-file-utils ]; - propagatedBuildInputs = with python3.pkgs; [ packaging ]; - - buildPhase = '' - substituteInPlace autorandr.py \ - --replace 'os.popen("xrandr' 'os.popen("${xrandr}/bin/xrandr' \ - --replace '["xrandr"]' '["${xrandr}/bin/xrandr"]' - ''; - - patches = [ ./0001-don-t-use-sys.executable.patch ]; - - outputs = [ "out" "man" ]; - - installPhase = '' - runHook preInstall - make install TARGETS='autorandr' PREFIX=$out - - # zsh completions exist but currently have no make target, use - # installShellCompletions for both - # see https://github.com/phillipberndt/autorandr/issues/197 - installShellCompletion --cmd autorandr \ - --bash contrib/bash_completion/autorandr \ - --zsh contrib/zsh_completion/_autorandr \ - --fish contrib/fish_completion/autorandr.fish - - make install TARGETS='autostart_config' PREFIX=$out DESTDIR=$out - - make install TARGETS='manpage' PREFIX=$man - - ${if systemd != null then '' - make install TARGETS='systemd udev' PREFIX=$out DESTDIR=$out \ - SYSTEMD_UNIT_DIR=/lib/systemd/system \ - UDEV_RULES_DIR=/etc/udev/rules.d - substituteInPlace $out/etc/udev/rules.d/40-monitor-hotplug.rules \ - --replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" - '' else '' - make install TARGETS='pmutils' DESTDIR=$out \ - PM_SLEEPHOOKS_DIR=/lib/pm-utils/sleep.d - make install TARGETS='udev' PREFIX=$out DESTDIR=$out \ - UDEV_RULES_DIR=/etc/udev/rules.d - ''} - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/phillipberndt/autorandr/"; - description = "Automatically select a display configuration based on connected devices"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ coroa ]; - platforms = platforms.unix; - mainProgram = "autorandr"; - }; -} diff --git a/pkgs/tools/misc/autorevision/default.nix b/pkgs/tools/misc/autorevision/default.nix deleted file mode 100644 index f0d979769380..000000000000 --- a/pkgs/tools/misc/autorevision/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchurl, asciidoc, libxml2, docbook_xml_dtd_45, libxslt -, docbook_xsl, diffutils, coreutils, gnugrep, gnused -}: - -stdenv.mkDerivation rec { - pname = "autorevision"; - version = "1.22"; - - src = fetchurl { - url = "https://github.com/Autorevision/autorevision/releases/download/v%2F${version}/autorevision-${version}.tgz"; - sha256 = "sha256-3ktLVC73m2xddq5BhxVKw/FJd6pZ5RVb7fv29dxUoRE="; - }; - - buildInputs = [ - asciidoc libxml2 docbook_xml_dtd_45 libxslt docbook_xsl - ]; - - installFlags = [ "prefix=$(out)" ]; - - postInstall = '' - sed -e "s|\<cmp\>|${diffutils}/bin/cmp|g" \ - -e "s|\<cat\>|${coreutils}/bin/cat|g" \ - -e "s|\<grep\>|${gnugrep}/bin/grep|g" \ - -e "s|\<sed\>|${gnused}/bin/sed|g" \ - -e "s|\<tee\>|${coreutils}/bin/tee|g" \ - -i "$out/bin/autorevision" - ''; - - meta = with lib; { - description = "Extracts revision metadata from your VCS repository"; - homepage = "https://autorevision.github.io/"; - license = licenses.mit; - platforms = platforms.all; - maintainers = [ maintainers.bjornfor ]; - mainProgram = "autorevision"; - }; -} diff --git a/pkgs/tools/misc/aws-mturk-clt/default.nix b/pkgs/tools/misc/aws-mturk-clt/default.nix deleted file mode 100644 index 9b03e2dd1bdb..000000000000 --- a/pkgs/tools/misc/aws-mturk-clt/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, stdenv, fetchurl, jre }: - -stdenv.mkDerivation rec { - pname = "aws-mturk-clt"; - version = "1.3.0"; - - src = fetchurl { - url = "https://mturk.s3.amazonaws.com/CLTSource/aws-mturk-clt-${version}.tar.gz"; - sha256 = "00yyc7k3iygg83cknv9i2dsaxwpwzdkc8a2l9j56lg999hw3mqm3"; - }; - - installPhase = - '' - mkdir -p $out - cp -prvd bin $out/ - - for i in $out/bin/*.sh; do - sed -i "$i" -e "s|^MTURK_CMD_HOME=.*|MTURK_CMD_HOME=$out\nexport JAVA_HOME=${jre}|" - done - - mkdir -p $out/lib - cp -prvd lib/* $out/lib/ - ''; # */ - - meta = { - homepage = "https://requester.mturk.com/developer"; - description = "Command line tools for interacting with the Amazon Mechanical Turk"; - license = lib.licenses.amazonsl; - - longDescription = - '' - The Amazon Mechanical Turk is a crowdsourcing marketplace that - allows users (“requesters”) to submit tasks to be performed by - other humans (“workers”) for a small fee. This package - contains command-line tools for submitting tasks, querying - results, and so on. - - The command-line tools expect a file - <filename>mturk.properties<filename> in the current directory, - which should contain the following: - - <screen> - access_key=[insert your access key here] - secret_key=[insert your secret key here] - service_url=http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester - </screen> - ''; - }; -} diff --git a/pkgs/tools/misc/backdown/default.nix b/pkgs/tools/misc/backdown/default.nix deleted file mode 100644 index 78ad5be3f31e..000000000000 --- a/pkgs/tools/misc/backdown/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "backdown"; - version = "1.1.2"; - - src = fetchFromGitHub { - owner = "Canop"; - repo = "backdown"; - rev = "v${version}"; - hash = "sha256-3+XmMRZz3SHF1sL+/CUvu4uQ2scE4ACpcC0r4nWhdkM="; - }; - - cargoHash = "sha256-+SxXOpSBuVVdX2HmJ4vF45uf5bvRtPdwaXUb9kq+lK0="; - - meta = with lib; { - description = "File deduplicator"; - homepage = "https://github.com/Canop/backdown"; - changelog = "https://github.com/Canop/backdown/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "backdown"; - }; -} diff --git a/pkgs/tools/misc/balanceofsatoshis/default.nix b/pkgs/tools/misc/balanceofsatoshis/default.nix deleted file mode 100644 index b1b17e02366b..000000000000 --- a/pkgs/tools/misc/balanceofsatoshis/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, installShellFiles -, python3 -}: - -buildNpmPackage rec { - pname = "balanceofsatoshis"; - version = "15.8.15"; - - src = fetchFromGitHub { - owner = "alexbosworth"; - repo = "balanceofsatoshis"; - rev = "v${version}"; - hash = "sha256-8GWITeFn7ELUH7bxcNlmQvgperQutBwVUhp2yjeEWrM="; - }; - - npmDepsHash = "sha256-lTXv4pEjrzcOK68RO1K007r7dCbAyc45G8Oy8V3XLts="; - - nativeBuildInputs = [ - installShellFiles - python3 - ]; - - dontNpmBuild = true; - - npmFlags = [ "--ignore-scripts" ]; - - postInstall = '' - installShellCompletion --cmd bos \ - --bash <($out/bin/bos completion bash) \ - --zsh <($out/bin/bos completion zsh) \ - --fish <($out/bin/bos completion fish) - ''; - - meta = { - changelog = "https://github.com/alexbosworth/balanceofsatoshis/blob/${src.rev}/CHANGELOG.md"; - description = "Tool for working with the balance of your satoshis on LND"; - homepage = "https://github.com/alexbosworth/balanceofsatoshis"; - license = lib.licenses.mit; - mainProgram = "bos"; - maintainers = with lib.maintainers; [ mmilata ]; - }; -} diff --git a/pkgs/tools/misc/bandwidth/default.nix b/pkgs/tools/misc/bandwidth/default.nix deleted file mode 100644 index eb3f37e00ba1..000000000000 --- a/pkgs/tools/misc/bandwidth/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib, stdenv, fetchurl, nasm }: - -let - inherit (stdenv.hostPlatform.parsed.cpu) bits; - arch = "bandwidth${toString bits}"; -in -stdenv.mkDerivation rec { - pname = "bandwidth"; - version = "1.11.2d"; - - src = fetchurl { - url = "https://zsmith.co/archives/bandwidth-${version}.tar.gz"; - hash = "sha256-7IrNiCXKf1vyRGl73Ccu3aYMqPVc4PpEr6lnSqIa4Q8="; - }; - - postPatch = '' - sed -i 's,ar ,$(AR) ,g' OOC/Makefile - # Remove unnecessary -m32 for 32-bit targets - sed -i 's,-m32,,g' OOC/Makefile - # Replace arm64 with aarch64 - sed -i 's#,arm64#,aarch64#g' Makefile - # Fix wrong comment character - sed -i 's,# 32,; 32,g' routines-x86-32bit.asm - # Fix missing symbol exports for macOS clang - echo global _VectorToVector128 >> routines-x86-64bit.asm - echo global _VectorToVector256 >> routines-x86-64bit.asm - # Fix unexpected token on macOS - sed -i '/.section .note.GNU-stack/d' *-64bit.asm - sed -i '/.section code/d' *-arm-64bit.asm - sed -i 's#-Wl,-z,noexecstack##g' Makefile-arm64 - ''; - - nativeBuildInputs = [ nasm ]; - - buildFlags = [ - "AR=${stdenv.cc.targetPrefix}ar" - "CC=${stdenv.cc.targetPrefix}cc" - "ARM_AS=${stdenv.cc.targetPrefix}as" - "ARM_CC=$(CC)" - "UNAMEPROC=${stdenv.hostPlatform.parsed.cpu.name}" - "UNAMEMACHINE=${stdenv.hostPlatform.parsed.cpu.name}" - arch - ]; - - installPhase = '' - mkdir -p $out/bin - cp ${arch} $out/bin/bandwidth - ''; - - meta = with lib; { - homepage = "https://zsmith.co/bandwidth.html"; - description = "Artificial benchmark for identifying weaknesses in the memory subsystem"; - license = licenses.gpl2Plus; - platforms = platforms.x86 ++ platforms.arm ++ platforms.aarch64; - maintainers = with maintainers; [ r-burns ]; - mainProgram = "bandwidth"; - }; -} diff --git a/pkgs/tools/misc/barman/default.nix b/pkgs/tools/misc/barman/default.nix deleted file mode 100644 index 20bdb11d0179..000000000000 --- a/pkgs/tools/misc/barman/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - python3Packages, -}: - -python3Packages.buildPythonApplication rec { - pname = "barman"; - version = "3.11.1"; - pyproject = true; - - src = fetchFromGitHub { - owner = "EnterpriseDB"; - repo = "barman"; - rev = "refs/tags/release/${version}"; - hash = "sha256-X39XOv8HJdSjMjMMnmB7Gxjseg5k/LuKICTxapcHVsU="; - }; - - patches = [ ./unwrap-subprocess.patch ]; - - build-system = with python3Packages; [ - distutils - setuptools - ]; - - dependencies = with python3Packages; [ - argcomplete - azure-identity - azure-mgmt-compute - azure-storage-blob - boto3 - google-cloud-compute - google-cloud-storage - grpcio - psycopg2 - python-dateutil - python-snappy - ]; - - nativeCheckInputs = with python3Packages; [ - mock - pytestCheckHook - ]; - - disabledTests = - [ - # Assertion error - "test_help_output" - ] - ++ lib.optionals stdenv.isDarwin [ - # FsOperationFailed - "test_get_file_mode" - ]; - - meta = with lib; { - description = "Backup and Recovery Manager for PostgreSQL"; - homepage = "https://www.pgbarman.org/"; - changelog = "https://github.com/EnterpriseDB/barman/blob/release/${version}/NEWS"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ freezeboy ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/barman/unwrap-subprocess.patch b/pkgs/tools/misc/barman/unwrap-subprocess.patch deleted file mode 100644 index 7dfd6529a293..000000000000 --- a/pkgs/tools/misc/barman/unwrap-subprocess.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/barman/command_wrappers.py -+++ b/barman/command_wrappers.py -@@ -1144,5 +1144,5 @@ - # * pass the current configuration file with -c - # * set it quiet with -q -- self.command = [sys.executable, command, "-c", config, "-q", subcommand] -+ self.command = [command, "-c", config, "-q", subcommand] - self.keep_descriptors = keep_descriptors - # Handle args for the sub-command (like the server name) - ---- a/tests/test_command_wrappers.py -+++ a/tests/test_command_wrappers.py -@@ -1595,5 +1595,4 @@ - ) - assert subprocess.command == [ -- sys.executable, - sys.argv[0], - "-c", -@@ -1622,5 +1621,4 @@ - ) - assert subprocess.command == [ -- sys.executable, - "path/to/barman", - "-c", -@@ -1644,5 +1642,4 @@ - - command = [ -- sys.executable, - "path/to/barman", - "-c", diff --git a/pkgs/tools/misc/bartib/default.nix b/pkgs/tools/misc/bartib/default.nix deleted file mode 100644 index 48e131262a90..000000000000 --- a/pkgs/tools/misc/bartib/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "bartib"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "nikolassv"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-eVLacxKD8seD8mxVN1D3HhKZkIDXsEsSisZnFbmhpSk="; - }; - - cargoHash = "sha256-s/oGv7/0LgNpdGu6dnvvbxDgFDvcvcHL01dSPxhMVWE="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion --cmd bartib --bash misc/bartibCompletion.sh - ''; - - meta = with lib; { - description = "Simple timetracker for the command line"; - homepage = "https://github.com/nikolassv/bartib"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "bartib"; - }; -} diff --git a/pkgs/tools/misc/basez/default.nix b/pkgs/tools/misc/basez/default.nix deleted file mode 100644 index e7fe906836e3..000000000000 --- a/pkgs/tools/misc/basez/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchurl } : - -stdenv.mkDerivation rec { - pname = "basez"; - version = "1.6.2"; - - src = fetchurl { - url = "http://www.quarkline.net/basez/download/basez-${version}.tar.gz"; - sha256 = "sha256-Kp+CFIh5HCdj7wEgx1xD3IPdFlZ7fEFvMDMYif1ZiTc="; - }; - - doCheck = true; - - meta = with lib; { - description = "Base 16/32/64 encode/decode data to standard output"; - longDescription = '' - Encode data into/decode data from base16, base32, base32hex, base64 or - base64url stream per RFC 4648; MIME base64 Content-Transfer-Encoding - per RFC 2045; or PEM Printable Encoding per RFC 1421. - ''; - homepage = "http://www.quarkline.net/basez/"; - license = licenses.gpl3Plus; - maintainers = [ maintainers.oaksoaj ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/bash_unit/default.nix b/pkgs/tools/misc/bash_unit/default.nix deleted file mode 100644 index ebf7d6916b32..000000000000 --- a/pkgs/tools/misc/bash_unit/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ fetchFromGitHub -, lib, stdenv -}: - -stdenv.mkDerivation rec { - pname = "bash_unit"; - version = "2.3.1"; - - src = fetchFromGitHub { - owner = "pgrange"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-kd5h12yjzvR/RBE/IjVXNSyjcf+rz6B2eoO8w2jiaps="; - }; - - patchPhase = '' - runHook prePatch - - patchShebangs bash_unit - - for t in tests/test_*; do - chmod +x "$t" # make test file visible to `patchShebangs` - patchShebangs "$t" - chmod -x "$t" - done - - runHook postPatch - ''; - - doCheck = true; - - checkPhase = '' - runHook preCheck - - ./bash_unit ./tests/test_core.sh - - runHook postCheck - ''; - - installPhase = '' - mkdir -p $out/bin - cp bash_unit $out/bin/ - ''; - - meta = with lib; { - description = "Bash unit testing enterprise edition framework for professionals"; - maintainers = with maintainers; [ pamplemousse ]; - platforms = platforms.all; - license = licenses.gpl3Plus; - mainProgram = "bash_unit"; - }; -} diff --git a/pkgs/tools/misc/bashcards/default.nix b/pkgs/tools/misc/bashcards/default.nix deleted file mode 100644 index bce5ab40e2dd..000000000000 --- a/pkgs/tools/misc/bashcards/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "bashcards"; - version = "0.1.3"; - - src = fetchFromGitHub { - owner = "rpearce"; - repo = pname; - rev = "v${version}"; - sha256 = "1rpqrh0022sbrjvd55a0jvpdqhhka5msf8dsz6adbbmxy3xzgdid"; - }; - - dontBuild = true; - installPhase = '' - mkdir -p $out/bin $out/share/man/man8 - cp bashcards.8 $out/share/man/man8/ - cp bashcards $out/bin/ - ''; - - meta = with lib; { - description = "Practice flashcards in bash"; - homepage = "https://github.com/rpearce/bashcards/"; - license = licenses.bsd3; - maintainers = with maintainers; [ rpearce ]; - platforms = platforms.all; - mainProgram = "bashcards"; - }; -} diff --git a/pkgs/tools/misc/bashplotlib/default.nix b/pkgs/tools/misc/bashplotlib/default.nix deleted file mode 100644 index d35d9ebcbcc0..000000000000 --- a/pkgs/tools/misc/bashplotlib/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: - -python3Packages.buildPythonApplication { - pname = "bashplotlib"; - version = "2021-03-31"; - - src = fetchFromGitHub { - owner = "glamp"; - repo = "bashplotlib"; - rev = "db4065cfe65c0bf7c530e0e8b9328daf9593ad74"; - sha256 = "sha256-0S6mgy6k7CcqsDR1kE5xcXGidF1t061e+M+ZuP2Gk3c="; - }; - - # No tests - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/glamp/bashplotlib"; - description = "Plotting in the terminal"; - maintainers = with maintainers; [ dtzWill ]; - license = licenses.mit; - }; -} diff --git a/pkgs/tools/misc/bat-extras/default.nix b/pkgs/tools/misc/bat-extras/default.nix index 1c3a805367f2..0891499b2261 100644 --- a/pkgs/tools/misc/bat-extras/default.nix +++ b/pkgs/tools/misc/bat-extras/default.nix @@ -55,7 +55,7 @@ let # Run the library tests as they don't have external dependencies doCheck = true; - nativeCheckInputs = [ bash fish zsh ] ++ (lib.optionals stdenv.isDarwin [ getconf ]); + nativeCheckInputs = [ bash fish zsh ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ getconf ]); checkPhase = '' runHook preCheck # test list repeats suites. Unique them @@ -112,7 +112,7 @@ let dontBuild = true; # we've already built doCheck = true; - nativeCheckInputs = [ bat bash fish zsh ] ++ (lib.optionals stdenv.isDarwin [ getconf ]); + nativeCheckInputs = [ bat bash fish zsh ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ getconf ]); checkPhase = '' runHook preCheck bash ./test.sh --compiled --suite ${name} @@ -144,7 +144,7 @@ in { batdiff = script "batdiff" ([ less coreutils gitMinimal ] ++ optionalDep withDelta delta); batgrep = script "batgrep" [ less coreutils ripgrep ]; - batman = script "batman" (lib.optionals stdenv.isLinux [ util-linux ]); + batman = script "batman" (lib.optionals stdenv.hostPlatform.isLinux [ util-linux ]); batpipe = script "batpipe" [ less ]; batwatch = script "batwatch" ([ less coreutils ] ++ optionalDep withEntr entr); prettybat = script "prettybat" ([] diff --git a/pkgs/tools/misc/bbe/default.nix b/pkgs/tools/misc/bbe/default.nix deleted file mode 100644 index 519c272902b4..000000000000 --- a/pkgs/tools/misc/bbe/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv , fetchurl, autoreconfHook }: -stdenv.mkDerivation rec { - pname = "bbe"; - version = "0.2.2"; - - src = fetchurl { - url = "mirror://sourceforge/bbe-/${version}/bbe-${version}.tar.gz"; - sha256 = "1nyxdqi4425sffjrylh7gl57lrssyk4018afb7mvrnd6fmbszbms"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - outputs = [ "out" "doc" ]; - - meta = with lib; { - description = "Sed-like editor for binary files"; - homepage = "https://bbe-.sourceforge.net/"; - license = licenses.gpl2Plus; - platforms = platforms.all; - maintainers = [ maintainers.hhm ]; - mainProgram = "bbe"; - }; -} diff --git a/pkgs/tools/misc/bc/cross-bc.patch b/pkgs/tools/misc/bc/cross-bc.patch deleted file mode 100644 index ba8857abb581..000000000000 --- a/pkgs/tools/misc/bc/cross-bc.patch +++ /dev/null @@ -1,169 +0,0 @@ -commit fdda59736ddc048cf38a2c7103f4f5d9eeaf995e -Author: Ben Gamari <ben@smart-cactus.org> -Date: Tue Oct 17 10:51:34 2017 -0400 - - Try implementing cross-compilation - -diff --git a/bc/Makefile.am b/bc/Makefile.am -index d9d412e..fdef633 100644 ---- a/bc/Makefile.am -+++ b/bc/Makefile.am -@@ -17,6 +17,7 @@ MAINTAINERCLEANFILES = Makefile.in bc.c bc.h scan.c \ - - AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/../h - LIBBC = ../lib/libbc.a -+LIBBC_HOST = ../lib/libbc_host.a - LIBL = @LEXLIB@ - LDADD = $(LIBBC) $(LIBL) @READLINELIB@ - -@@ -29,12 +30,20 @@ $(PROGRAMS): libmath.h $(LIBBC) - scan.o: bc.h - global.o: libmath.h -+ -+main_host.c : main.c -+ cp $< $@ - --fbcOBJ = main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o -+fbcOBJ = $(addsuffix _host,main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o) -+ -+%.o_host : CC:=$(CC_FOR_BUILD) -+ -+%.o_host : %.c -+ $(COMPILE) -c $(CFLAGS) $(INCLUDES) -o $@ $< - --libmath.h: libmath.b $(fbcOBJ) $(LIBBC) -+libmath.h: libmath.b $(fbcOBJ) $(LIBBC_HOST) - echo '{0}' > libmath.h -- $(MAKE) global.o -- $(LINK) -o fbc $(fbcOBJ) global.o $(LIBBC) $(LIBL) $(READLINELIB) $(LIBS) -+ $(MAKE) global.o_host -+ $(CC_FOR_BUILD) -o fbc $(fbcOBJ) global.o_host $(LIBBC_HOST) $(LIBL) ${READLINELIB} $(LIBS) - ./fbc -c $(srcdir)/libmath.b </dev/null >libmath.h - $(srcdir)/fix-libmath_h - rm -f ./fbc ./global.o -diff --git a/configure.ac b/configure.ac -index fc74573..5cabb73 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -20,6 +20,7 @@ m4_define([dc_version], 1.4.1) - - AC_INIT([bc],[bc_version]) - AC_CONFIG_SRCDIR(doc/bc.1) -+AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE([dist-bzip2]) - AC_CONFIG_HEADERS(config.h) - -@@ -35,6 +36,7 @@ AC_DEFINE([DC_COPYRIGHT], - [Define the dc copyright line.]) - - AC_PROG_CC -+AX_CC_FOR_BUILD - AC_USE_SYSTEM_EXTENSIONS - - AM_PROG_LEX -diff --git a/lib/Makefile.am b/lib/Makefile.am -index ec4bf59..c670f5b 100644 ---- a/lib/Makefile.am -+++ b/lib/Makefile.am -@@ -1,5 +1,5 @@ - ## Process this file with automake to produce Makefile.in --noinst_LIBRARIES = libbc.a -+noinst_LIBRARIES = libbc.a libbc_host.a - - AM_CPPFLAGS = -I. -I.. -I$(srcdir)/../h - -@@ -24,3 +24,11 @@ testmul: testmul.o number.o - - specialnumber: newnumber.o - cp newnumber.o number.o -+ -+%.o_host : CC:=$(CC_FOR_BUILD) -+%.o_host : %.c -+ $(COMPILE) -c $(CFLAGS) $(INCLUDES) -o $@ $< -+ -+libbc_host.a : $(addsuffix _host,$(libbc_a_OBJECTS)) -+ ar cru $@ $+ -+ ranlib $@ -diff --git a/m4/cc_for_build.m4 b/m4/cc_for_build.m4 -new file mode 100644 -index 0000000..c62ffad ---- /dev/null -+++ b/m4/cc_for_build.m4 -@@ -0,0 +1,77 @@ -+# =========================================================================== -+# https://www.gnu.org/software/autoconf-archive/ax_cc_for_build.html -+# =========================================================================== -+# -+# SYNOPSIS -+# -+# AX_CC_FOR_BUILD -+# -+# DESCRIPTION -+# -+# Find a build-time compiler. Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD. -+# -+# LICENSE -+# -+# Copyright (c) 2010 Reuben Thomas <rrt@sc3d.org> -+# Copyright (c) 1999 Richard Henderson <rth@redhat.com> -+# -+# This program is free software: you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by the -+# Free Software Foundation, either version 3 of the License, or (at your -+# option) any later version. -+# -+# This program is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -+# Public License for more details. -+# -+# You should have received a copy of the GNU General Public License along -+# with this program. If not, see <https://www.gnu.org/licenses/>. -+# -+# As a special exception, the respective Autoconf Macro's copyright owner -+# gives unlimited permission to copy, distribute and modify the configure -+# scripts that are the output of Autoconf when processing the Macro. You -+# need not follow the terms of the GNU General Public License when using -+# or distributing such scripts, even though portions of the text of the -+# Macro appear in them. The GNU General Public License (GPL) does govern -+# all other use of the material that constitutes the Autoconf Macro. -+# -+# This special exception to the GPL applies to versions of the Autoconf -+# Macro released by the Autoconf Archive. When you make and distribute a -+# modified version of the Autoconf Macro, you may extend this special -+# exception to the GPL to apply to your modified version as well. -+ -+#serial 3 -+ -+dnl Get a default for CC_FOR_BUILD to put into Makefile. -+AC_DEFUN([AX_CC_FOR_BUILD], -+[# Put a plausible default for CC_FOR_BUILD in Makefile. -+if test -z "$CC_FOR_BUILD"; then -+ if test "x$cross_compiling" = "xno"; then -+ CC_FOR_BUILD='$(CC)' -+ else -+ CC_FOR_BUILD=gcc -+ fi -+fi -+AC_SUBST(CC_FOR_BUILD) -+# Also set EXEEXT_FOR_BUILD. -+if test "x$cross_compiling" = "xno"; then -+ EXEEXT_FOR_BUILD='$(EXEEXT)' -+else -+ AC_CACHE_CHECK([for build system executable suffix], bfd_cv_build_exeext, -+ [rm -f conftest* -+ echo 'int main () { return 0; }' > conftest.c -+ bfd_cv_build_exeext= -+ ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 -+ for file in conftest.*; do -+ case $file in -+ *.c | *.o | *.obj | *.ilk | *.pdb) ;; -+ *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;; -+ esac -+ done -+ rm -f conftest* -+ test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no]) -+ EXEEXT_FOR_BUILD="" -+ test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} -+fi -+AC_SUBST(EXEEXT_FOR_BUILD)])dnl diff --git a/pkgs/tools/misc/bc/default.nix b/pkgs/tools/misc/bc/default.nix deleted file mode 100644 index 47f6b40690c3..000000000000 --- a/pkgs/tools/misc/bc/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - lib, - stdenv, - autoreconfHook, - buildPackages, - fetchurl, - flex, - readline, - ed, - texinfo, -}: - -stdenv.mkDerivation rec { - pname = "bc"; - version = "1.07.1"; - src = fetchurl { - url = "mirror://gnu/bc/bc-${version}.tar.gz"; - sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a"; - }; - - configureFlags = [ "--with-readline" ]; - - # As of 1.07 cross-compilation is quite complicated as the build system wants - # to build a code generator, bc/fbc, on the build machine. - patches = [ ./cross-bc.patch ]; - depsBuildBuild = [ buildPackages.stdenv.cc ]; - nativeBuildInputs = [ - # Tools - autoreconfHook - ed - flex - texinfo - # Libraries for build - buildPackages.readline - buildPackages.ncurses - ]; - buildInputs = [ - readline - flex - ]; - - doCheck = true; # not cross - - # Hack to make sure we never to the relaxation `$PATH` and hooks support for - # compatibility. This will be replaced with something clearer in a future - # masss-rebuild. - strictDeps = true; - - meta = with lib; { - description = "GNU software calculator"; - homepage = "https://www.gnu.org/software/bc/"; - license = licenses.gpl3Plus; - platforms = platforms.all; - mainProgram = "bc"; - }; -} diff --git a/pkgs/tools/misc/bcunit/default.nix b/pkgs/tools/misc/bcunit/default.nix deleted file mode 100644 index 14cf183f5878..000000000000 --- a/pkgs/tools/misc/bcunit/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ cmake -, fetchFromGitLab -, lib, stdenv -}: - -stdenv.mkDerivation rec { - pname = "bcunit"; - version = "linphone-4.4.1"; - - nativeBuildInputs = [ cmake ]; - src = fetchFromGitLab { - domain = "gitlab.linphone.org"; - owner = "public"; - group = "BC"; - repo = pname; - rev = "c5eebcc7f794e9567d3c72d15d3f28bffe6bfd0f"; - sha256 = "sha256-8DSfqHerx/V00SJjTSQaG9Rjqx330iG6sGivBDUvQfA="; - }; - - meta = with lib; { - description = "Belledonne Communications' fork of CUnit test framework. Part of the Linphone project"; - homepage = "https://gitlab.linphone.org/BC/public/bcunit"; - license = licenses.lgpl2Plus; - maintainers = with maintainers; [ raskin jluttine ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/bdf2psf/default.nix b/pkgs/tools/misc/bdf2psf/default.nix deleted file mode 100644 index 0a01b1f9a885..000000000000 --- a/pkgs/tools/misc/bdf2psf/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, stdenv, fetchurl, perl, dpkg }: - -stdenv.mkDerivation rec { - pname = "bdf2psf"; - version = "1.230"; - - src = fetchurl { - url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb"; - sha256 = "sha256-W7eFrzuDcjm9P2hAP7+u9YPIhCqF3pbWb9+ynmKjs5M="; - }; - - nativeBuildInputs = [ dpkg ]; - - dontConfigure = true; - dontBuild = true; - - unpackPhase = '' - runHook preUnpack - dpkg-deb -x $src . - runHook postUnpack - ''; - - installPhase = '' - runHook preInstall - substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl "${perl}/bin/perl" - rm usr/share/doc/bdf2psf/changelog.gz - mv usr "$out" - runHook postInstall - ''; - - meta = with lib; { - description = "BDF to PSF converter"; - homepage = "https://packages.debian.org/sid/bdf2psf"; - longDescription = '' - Font converter to generate console fonts from BDF source fonts - ''; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ rnhmjoj ]; - platforms = platforms.all; - mainProgram = "bdf2psf"; - }; -} diff --git a/pkgs/tools/misc/bdf2sfd/default.nix b/pkgs/tools/misc/bdf2sfd/default.nix deleted file mode 100644 index da3375ac6d68..000000000000 --- a/pkgs/tools/misc/bdf2sfd/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: - -stdenv.mkDerivation rec { - pname = "bdf2sfd"; - version = "1.1.8"; - - src = fetchFromGitHub { - owner = "fcambus"; - repo = pname; - rev = version; - sha256 = "sha256-+CPULpy3mqZv0QaXS4kKYWKjifibtcQt7unKGOUTSV0="; - }; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - description = "BDF to SFD converter"; - homepage = "https://github.com/fcambus/bdf2sfd"; - license = licenses.bsd2; - platforms = platforms.all; - maintainers = [ ]; - mainProgram = "bdf2sfd"; - }; -} diff --git a/pkgs/tools/misc/bdfresize/default.nix b/pkgs/tools/misc/bdfresize/default.nix deleted file mode 100644 index 5d77a962296f..000000000000 --- a/pkgs/tools/misc/bdfresize/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "bdfresize"; - version = "1.5"; - - src = fetchurl { - url = "http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/bdfresize-${version}.tar.gz"; - hash = "sha256-RAz8BiCgI35GNSwUoHdMqj8wWXWbCiDe/vyU6EkIl6Y="; - }; - - patches = [ ./remove-malloc-declaration.patch ]; - - meta = with lib; { - description = "Tool to resize BDF fonts"; - homepage = "http://openlab.ring.gr.jp/efont/dist/tools/bdfresize/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ malte-v ]; - mainProgram = "bdfresize"; - }; -} diff --git a/pkgs/tools/misc/bdfresize/remove-malloc-declaration.patch b/pkgs/tools/misc/bdfresize/remove-malloc-declaration.patch deleted file mode 100644 index c58888a4be2d..000000000000 --- a/pkgs/tools/misc/bdfresize/remove-malloc-declaration.patch +++ /dev/null @@ -1,11 +0,0 @@ -Remove an unneeded declaration of malloc so gcc doesn't complain. ---- a/charresize.c -+++ b/charresize.c -@@ -46,7 +46,6 @@ static int bit[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; - void - processChar(void) - { -- char *malloc(); - char *srcimage; - int *dstgray; - diff --git a/pkgs/tools/misc/beats/default.nix b/pkgs/tools/misc/beats/default.nix deleted file mode 100644 index a8ad2436f08c..000000000000 --- a/pkgs/tools/misc/beats/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "beats"; - version = "1.1"; - - src = fetchFromGitHub { - owner = "j0hax"; - repo = "beats"; - rev = "v${version}"; - sha256 = "1rdvsqrjpily74y8vwch711401585xckb4p41cfwrmj6vf44jhif"; - }; - - makeFlags = [ "PREFIX=$(out)" "CC=cc" ]; - - meta = with lib; { - homepage = "https://github.com/j0hax/beats"; - license = licenses.gpl3Only; - description = "Swatch Internet Time implemented as a C program"; - platforms = platforms.all; - maintainers = [ maintainers.j0hax ]; - mainProgram = "beats"; - }; -} diff --git a/pkgs/tools/misc/bepasty/default.nix b/pkgs/tools/misc/bepasty/default.nix deleted file mode 100644 index 8e9b0ce6e094..000000000000 --- a/pkgs/tools/misc/bepasty/default.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -let - # bepasty 1.2 needs xstatic-font-awesome < 5, see - # https://github.com/bepasty/bepasty-server/issues/305 - bepastyPython = python3.override { - self = bepastyPython; - packageOverrides = self: super: { - xstatic-font-awesome = super.xstatic-font-awesome.overridePythonAttrs(oldAttrs: rec { - version = "4.7.0.0"; - src = oldAttrs.src.override { - inherit version; - hash = "sha256-4B+0gMqqfHlj3LMyikcA5jG+9gcNsOi2hYFtIg5oX2w="; - }; - }); - }; - }; -in - -# We need to use buildPythonPackage here to get the PYTHONPATH build correctly. -# This is needed for services.bepasty -# https://github.com/NixOS/nixpkgs/pull/38300 - -bepastyPython.pkgs.buildPythonPackage rec { - pname = "bepasty"; - version = "1.2.1"; - format = "pyproject"; - - propagatedBuildInputs = with bepastyPython.pkgs; [ - flask - markupsafe - pygments - setuptools - xstatic - xstatic-asciinema-player - xstatic-bootbox - xstatic-bootstrap - xstatic-font-awesome - xstatic-jquery - xstatic-jquery-file-upload - xstatic-jquery-ui - xstatic-pygments - ]; - - buildInputs = with bepastyPython.pkgs; [ setuptools-scm ]; - - src = fetchPypi { - inherit pname version; - hash = "sha256-08cyr2AruGAfHAwHHS8WMfJh7DBKymaYyz4AxI/ubkE="; - }; - - nativeCheckInputs = with bepastyPython.pkgs; [ - build - codecov - flake8 - pytestCheckHook - pytest-cov - selenium - tox - twine - ]; - - disabledTestPaths = [ - # Can be enabled when werkzeug is updated to >2.2, see #245145 - # and https://github.com/bepasty/bepasty-server/pull/303 - "src/bepasty/tests/test_rest_server.py" - - # These require a web browser - "src/bepasty/tests/screenshots.py" - "src/bepasty/tests/test_website.py" - ]; - - meta = with lib; { - homepage = "https://github.com/bepasty/bepasty-server"; - description = "Binary pastebin server"; - license = licenses.bsd2; - maintainers = with maintainers; [ aither64 makefu ]; - }; -} diff --git a/pkgs/tools/misc/betterdiscord-installer/default.nix b/pkgs/tools/misc/betterdiscord-installer/default.nix deleted file mode 100644 index 0b3170775940..000000000000 --- a/pkgs/tools/misc/betterdiscord-installer/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ appimageTools, lib, fetchurl }: -let - pname = "betterdiscord-installer"; - version = "1.0.0-beta"; - - src = fetchurl { - url = "https://github.com/BetterDiscord/Installer/releases/download/v${version}/Betterdiscord-Linux.AppImage"; - sha256 = "103acb11qmvjmf6g9lgsfm5jyahfwfdqw0x9w6lmv1hzwbs26dsr"; - }; - - appimageContents = appimageTools.extract { inherit pname version src; }; -in appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = '' - install -m 444 -D ${appimageContents}/betterdiscord.desktop -t $out/share/applications - substituteInPlace $out/share/applications/betterdiscord.desktop \ - --replace 'Exec=AppRun' 'Exec=${pname}' - cp -r ${appimageContents}/usr/share/icons $out/share - ''; - - meta = with lib; { - description = "Installer for BetterDiscord"; - homepage = "https://betterdiscord.app"; - license = licenses.mit; - maintainers = [ ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "betterdiscord-installer"; - }; -} diff --git a/pkgs/tools/misc/bfetch/default.nix b/pkgs/tools/misc/bfetch/default.nix deleted file mode 100644 index 687b3c128016..000000000000 --- a/pkgs/tools/misc/bfetch/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, bash }: - -stdenvNoCC.mkDerivation rec { - pname = "bfetch"; - version = "unstable-2021-05-21"; - - src = fetchFromGitHub { - owner = "NNBnh"; - repo = pname; - rev = "ef88e9d3f815e5074efc8ef4b7f32be6818130f2"; - sha256 = "sha256-jS9zI8b+z3KbI+LeHFwIMJfEmAKSzO8HRZ2rk35hJCk="; - }; - - buildInputs = [ bash ]; - - postPatch = '' - patchShebangs --host bin/bfetch - ''; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "SuperB general-purpose fetch displayer written in portable sh"; - homepage = "https://github.com/NNBnh/bfetch"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = with maintainers; [ moni ]; - mainProgram = "bfetch"; - }; -} diff --git a/pkgs/tools/misc/bfr/default.nix b/pkgs/tools/misc/bfr/default.nix deleted file mode 100644 index 6d67d4d20677..000000000000 --- a/pkgs/tools/misc/bfr/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl, perl }: - -stdenv.mkDerivation rec { - pname = "bfr"; - version = "1.6"; - - src = fetchurl { - url = "http://www.sourcefiles.org/Utilities/Text_Utilities/bfr-${version}.tar.bz2"; - sha256 = "0fadfssvj9klj4dq9wdrzys1k2a1z2j0p6kgnfgbjv0n1bq6h4cy"; - }; - - patches = - [ (fetchurl { - url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/bfr/files/bfr-1.6-perl.patch"; - sha256 = "1pk9jm3c1qzs727lh0bw61w3qbykaqg4jblywf9pvq5bypk88qfj"; - }) - ]; - - buildInputs = [ perl ]; - - meta = with lib; { - description = "General-purpose command-line pipe buffer"; - license = lib.licenses.gpl2Only; - maintainers = with maintainers; [ pSub ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/bfscripts/default.nix b/pkgs/tools/misc/bfscripts/default.nix deleted file mode 100644 index 537cab8697a3..000000000000 --- a/pkgs/tools/misc/bfscripts/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ stdenv -, fetchFromGitHub -, lib -, python3 -}: - -let - # Most of the binaries are not really useful because they have hardcoded - # paths that only make sense when you're running the stock BlueField OS on - # your BlueField. These might be patched in the future with resholve - # (https://github.com/abathur/resholve). If there is one that makes sense - # without resholving it, it can simply be uncommented and will be included in - # the output. - binaries = [ - # "bfacpievt" - # "bfbootmgr" - # "bfcfg" - # "bfcpu-freq" - # "bfdracut" - # "bffamily" - # "bfgrubcheck" - # "bfhcafw" - # "bfinst" - # "bfpxe" - # "bfrec" - "bfrshlog" - # "bfsbdump" - # "bfsbkeys" - # "bfsbverify" - # "bfver" - # "bfvcheck" - "mlx-mkbfb" - "bfup" - ]; -in -stdenv.mkDerivation rec { - pname = "bfscripts"; - version = "unstable-2023-05-15"; - - src = fetchFromGitHub { - owner = "Mellanox"; - repo = pname; - rev = "1da79f3ece7cdf99b2571c00e8b14d2e112504a4"; - hash = "sha256-pTubrnZKEFmtAj/omycFYeYwrCog39zBDEszoCrsQNQ="; - }; - - buildInputs = [ - python3 - ]; - - installPhase = '' - ${lib.concatStringsSep "\n" (map (b: "install -D ${b} $out/bin/${b}") binaries)} - ''; - - meta = with lib; - { - description = "Collection of scripts used for BlueField SoC system management"; - homepage = "https://github.com/Mellanox/bfscripts"; - license = licenses.bsd2; - platforms = platforms.linux; - maintainers = with maintainers; [ nikstur ]; - }; -} diff --git a/pkgs/tools/misc/bibtex2html/default.nix b/pkgs/tools/misc/bibtex2html/default.nix deleted file mode 100644 index 2af4aaa08128..000000000000 --- a/pkgs/tools/misc/bibtex2html/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchurl, ocaml, perl }: - -stdenv.mkDerivation { - pname = "bibtex2html"; - version = "1.99"; - - src = fetchurl { - url = "https://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.99.tar.gz"; - sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j"; - }; - - strictDeps = true; - - nativeBuildInputs = [ ocaml perl ]; - - meta = with lib; { - description = "Collection of tools for translating from BibTeX to HTML"; - homepage = "https://www.lri.fr/~filliatr/bibtex2html/"; - license = licenses.gpl2Only; - platforms = ocaml.meta.platforms or []; - maintainers = [ maintainers.scolobb ]; - }; -} diff --git a/pkgs/tools/misc/bibtool/default.nix b/pkgs/tools/misc/bibtool/default.nix deleted file mode 100644 index 46c798f12c6d..000000000000 --- a/pkgs/tools/misc/bibtool/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchurl, perl }: - -stdenv.mkDerivation rec { - pname = "bibtool"; - version = "2.68"; - - src = fetchurl { - url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz"; - sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i"; - }; - - # Perl for running test suite. - buildInputs = [ perl ]; - - installTargets = [ "install" "install.man" ]; - - doCheck = true; - checkTarget = "test"; - - meta = with lib; { - description = "Tool for manipulating BibTeX bibliographies"; - homepage = "http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html"; - license = licenses.gpl2Plus; - platforms = platforms.all; - maintainers = [ maintainers.rycee ]; - mainProgram = "bibtool"; - }; -} diff --git a/pkgs/tools/misc/bibutils/default.nix b/pkgs/tools/misc/bibutils/default.nix deleted file mode 100644 index ea5360549b20..000000000000 --- a/pkgs/tools/misc/bibutils/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, stdenv -, fetchurl -, static ? stdenv.hostPlatform.isStatic -}: - -stdenv.mkDerivation rec { - pname = "bibutils"; - version = "7.2"; - - src = fetchurl { - url = "mirror://sourceforge/bibutils/bibutils_${version}_src.tgz"; - sha256 = "sha256-bgKK7x6Kaz5azvCYWEp7tocI81z+dAEbNBwR/qXktcM="; - }; - - preConfigure = lib.optionalString stdenv.isDarwin '' - substituteInPlace lib/Makefile.dynamic \ - --replace '-Wl,-soname,$(SONAME)' "" - ''; - - # the configure script is not generated by autoconf - # and do not recognize --build/--host cross compilation flags - configurePlatforms = [ ]; - - configureFlags = [ - (if static then "--static" else "--dynamic") - "--install-dir" "$(out)/bin" - "--install-lib" "$(out)/lib" - ]; - - dontAddPrefix = true; - - makeFlags = [ - "CC:=$(CC)" - ]; - - doCheck = true; - checkTarget = "test"; - preCheck = lib.optionalString stdenv.isDarwin '' - export DYLD_LIBRARY_PATH=`pwd`/lib - ''; - - meta = with lib; { - description = "Bibliography format interconversion"; - longDescription = "The bibutils program set interconverts between various bibliography formats using a common MODS-format XML intermediate. For example, one can convert RIS-format files to Bibtex by doing two transformations: RIS->MODS->Bibtex. By using a common intermediate for N formats, only 2N programs are required and not N²-N. These programs operate on the command line and are styled after standard UNIX-like filters."; - homepage = "https://sourceforge.net/p/bibutils/home/Bibutils/"; - license = licenses.gpl2Only; - maintainers = [ maintainers.garrison ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/birdfont/default.nix b/pkgs/tools/misc/birdfont/default.nix index 7b92c9e3e86b..866d56b156ea 100644 --- a/pkgs/tools/misc/birdfont/default.nix +++ b/pkgs/tools/misc/birdfont/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchurl, pkg-config, python3, xmlbird, -cairo, gdk-pixbuf, libgee, glib, gtk3, webkitgtk, libnotify, sqlite, vala, +cairo, gdk-pixbuf, libgee, glib, gtk3, webkitgtk_4_0, libnotify, sqlite, vala, gobject-introspection, gsettings-desktop-schemas, wrapGAppsHook3, autoPatchelfHook }: stdenv.mkDerivation rec { @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ python3 pkg-config vala gobject-introspection wrapGAppsHook3 autoPatchelfHook ]; - buildInputs = [ xmlbird libgee cairo gdk-pixbuf glib gtk3 webkitgtk libnotify sqlite gsettings-desktop-schemas ]; + buildInputs = [ xmlbird libgee cairo gdk-pixbuf glib gtk3 webkitgtk_4_0 libnotify sqlite gsettings-desktop-schemas ]; postPatch = '' substituteInPlace install.py \ diff --git a/pkgs/tools/misc/bitwise/default.nix b/pkgs/tools/misc/bitwise/default.nix deleted file mode 100644 index a01fa83b3c79..000000000000 --- a/pkgs/tools/misc/bitwise/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses, readline, autoreconfHook }: - -stdenv.mkDerivation rec { - pname = "bitwise"; - version = "0.50"; - - src = fetchFromGitHub { - owner = "mellowcandle"; - repo = "bitwise"; - rev = "v${version}"; - sha256 = "sha256-x+ky1X0c0bQZnkNvNNuXN2BoMDtDSCt/8dBAG92jCCQ="; - }; - - buildInputs = [ ncurses readline ]; - nativeBuildInputs = [ autoreconfHook ]; - - meta = with lib; { - description = "Terminal based bitwise calculator in curses"; - homepage = "https://github.com/mellowcandle/bitwise"; - license = licenses.gpl3Only; - maintainers = [ maintainers.whonore ]; - platforms = platforms.unix; - mainProgram = "bitwise"; - }; -} diff --git a/pkgs/tools/misc/bkt/default.nix b/pkgs/tools/misc/bkt/default.nix deleted file mode 100644 index 5f6053ec9de9..000000000000 --- a/pkgs/tools/misc/bkt/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ rustPlatform -, fetchFromGitHub -, lib -}: rustPlatform.buildRustPackage rec { - - pname = "bkt"; - version = "0.8.0"; - - src = fetchFromGitHub { - owner = "dimo414"; - repo = pname; - rev = version; - sha256 = "sha256-XQK7oZfutqCvFoGzMH5G5zoGvqB8YaXSdrwjS/SVTNU="; - }; - - cargoHash = "sha256-Pl+a+ZpxaguRloH8R7x4FmYpTwTUwFrYy7AS/5K3L+8="; - - meta = { - description = "Subprocess caching utility"; - homepage = "https://github.com/dimo414/bkt"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.mangoiv ]; - mainProgram = "bkt"; - }; -} diff --git a/pkgs/tools/misc/bkyml/default.nix b/pkgs/tools/misc/bkyml/default.nix deleted file mode 100644 index cfd996f60891..000000000000 --- a/pkgs/tools/misc/bkyml/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -with python3.pkgs; - -buildPythonApplication rec { - pname = "bkyml"; - version = "1.4.3"; - - src = fetchPypi { - inherit pname version; - sha256 = "01kpx35572mp4xl2fjyvfk39jfgfjcyzymbifk76891kaqkjb7r9"; - }; - - # The pyscaffold is not a runtime dependency but just a python project bootstrapping tool. Thus, - # instead of implement this package in nix we remove a dependency on it and fix up the version - # of the package, that has been affected by the pyscaffold package dependency removal. - postPatch = '' - substituteInPlace setup.py \ - --replace "['pyscaffold>=3.0a0,<3.1a0'] + " "" \ - --replace "use_pyscaffold=True" "" - substituteInPlace src/bkyml/skeleton.py --replace \ - "from bkyml import __version__" \ - "__version__ = \"${version}\"" - ''; - - # Don't run tests because they are broken when run within - # buildPythonApplication for reasons I don't quite understand. - doCheck = false; - - pythonImportsCheck = [ "bkyml" ]; - - propagatedBuildInputs = [ - ruamel-yaml - setuptools - ]; - - meta = with lib; { - homepage = "https://github.com/joscha/bkyml"; - description = "CLI tool to generate a pipeline.yaml file for Buildkite on the fly"; - license = licenses.mit; - maintainers = with maintainers; [ olebedev ]; - }; -} diff --git a/pkgs/tools/misc/blacken-docs/default.nix b/pkgs/tools/misc/blacken-docs/default.nix deleted file mode 100644 index 434f684b78d2..000000000000 --- a/pkgs/tools/misc/blacken-docs/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ black -, fetchFromGitHub -, lib -, python3 -}: -python3.pkgs.buildPythonApplication rec { - pname = "blacken-docs"; - version = "1.15.0"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "adamchainz"; - repo = "blacken-docs"; - rev = version; - hash = "sha256-3FGuFOAHCcybPwujWlh58NWtuF5CebaKTgBWgCGpSL8="; - }; - - nativeBuildInputs = [ - python3.pkgs.setuptools - ]; - - propagatedBuildInputs = [ - black - ]; - - nativeCheckInputs = [ - black - python3.pkgs.pytestCheckHook - ]; - - meta = with lib; { - homepage = "https://github.com/adamchainz/blacken-docs"; - changelog = "https://github.com/adamchainz/blacken-docs/blob/${src.rev}/CHANGELOG.rst"; - description = "Run Black on Python code blocks in documentation files"; - license = licenses.mit; - maintainers = with maintainers; [ l0b0 ]; - mainProgram = "blacken-docs"; - }; -} diff --git a/pkgs/tools/misc/blahaj/default.nix b/pkgs/tools/misc/blahaj/default.nix deleted file mode 100644 index a37d37bf4184..000000000000 --- a/pkgs/tools/misc/blahaj/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, crystal -, fetchFromGitHub - # https://crystal-lang.org/2019/09/06/parallelism-in-crystal/ -, multithreading ? true -, static ? stdenv.hostPlatform.isStatic -}: - -crystal.buildCrystalPackage rec { - pname = "blahaj"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "GeopJr"; - repo = "BLAHAJ"; - rev = "v${version}"; - hash = "sha256-CmMF9jDKUo+c8dYc2UEHKdBDE4dgwExcRS5sSUsUJik="; - }; - - buildTargets = [ "${if static then "static" else "build"}${if multithreading then "_mt" else ""}" ]; - - meta = with lib; { - description = "Gay sharks at your local terminal - lolcat-like CLI tool"; - homepage = "https://blahaj.queer.software"; - license = licenses.bsd2; - maintainers = with maintainers; [ aleksana cafkafk ]; - mainProgram = "blahaj"; - }; -} diff --git a/pkgs/tools/misc/blflash/default.nix b/pkgs/tools/misc/blflash/default.nix deleted file mode 100644 index 36bdca12de87..000000000000 --- a/pkgs/tools/misc/blflash/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "blflash"; - version = "0.3.5"; - - src = fetchFromGitHub { - owner = "spacemeowx2"; - repo = "blflash"; - rev = "v${version}"; - hash = "sha256-lv5bUbq5AnZVeR8V0A4pamY9ZIQAhLmvZEr+CRMPcj0="; - }; - - cargoHash = "sha256-NRBW2rGrtEmmxONTpCM1D+o5HtnLjp175Sq9+aCp7ZE="; - - meta = with lib; { - description = "Bl602 serial flasher written in Rust"; - homepage = "https://github.com/spacemeowx2/blflash"; - license = with licenses; [ mit asl20 ]; - maintainers = with maintainers; [ _0x4A6F ]; - mainProgram = "blflash"; - }; -} diff --git a/pkgs/tools/misc/blink1-tool/default.nix b/pkgs/tools/misc/blink1-tool/default.nix deleted file mode 100644 index df994593d99b..000000000000 --- a/pkgs/tools/misc/blink1-tool/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, pkg-config -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "blink1"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "todbot"; - repo = "blink1-tool"; - rev = "v${version}"; - fetchSubmodules = true; - hash = "sha256-xuCjPSQUQ/KOcdsie/ndecUiEt+t46m4eI33PXJoAAY="; - }; - - postPatch = '' - substituteInPlace Makefile \ - --replace "@git submodule update --init" "true" - ''; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libusb1 ]; - - makeFlags = [ - "GIT_TAG=v${version}" - "USBLIB_TYPE=HIDAPI" - "HIDAPI_TYPE=LIBUSB" - ]; - - hardeningDisable = [ "format" ]; - - installFlags = [ "PREFIX=${placeholder "out"}" ]; - - meta = with lib; { - description = "Command line client for the blink(1) notification light"; - homepage = "https://blink1.thingm.com/"; - license = with licenses; [ cc-by-sa-40 ]; - maintainers = with maintainers; [ cransom ]; - platforms = platforms.linux; - mainProgram = "blink1-tool"; - }; -} diff --git a/pkgs/tools/misc/bmon/default.nix b/pkgs/tools/misc/bmon/default.nix deleted file mode 100644 index 237eb7476da5..000000000000 --- a/pkgs/tools/misc/bmon/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, ncurses, libconfuse -, libnl }: - -stdenv.mkDerivation rec { - pname = "bmon"; - version = "4.0"; - - src = fetchFromGitHub { - owner = "tgraf"; - repo = "bmon"; - rev = "v${version}"; - sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf"; - }; - - # The source code defines `__unused__`, which is a reserved name - # https://github.com/tgraf/bmon/issues/89 - patches = [ - (fetchpatch { - url = "https://github.com/macports/macports-ports/raw/6d1dd5e9c8fae608bd22f3ede21e576f29c6358c/net/bmon/files/patch-fix__unused.diff"; - extraPrefix = ""; - sha256 = "sha256-UYIiJZzipsx9a0xabrKfyj8TWNW7IM77oXnVnSPkQkc="; - }) - ]; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - - buildInputs = [ ncurses libconfuse ] ++ lib.optional stdenv.isLinux libnl; - - preConfigure = '' - # Must be an absolute path - export PKG_CONFIG="$(command -v "$PKG_CONFIG")" - ''; - - meta = with lib; { - description = "Network bandwidth monitor"; - homepage = "https://github.com/tgraf/bmon"; - # Licensed unter BSD and MIT - # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD - # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT - license = licenses.bsd2; - platforms = platforms.unix; - maintainers = with maintainers; [ bjornfor pSub ]; - mainProgram = "bmon"; - }; -} diff --git a/pkgs/tools/misc/bogofilter/default.nix b/pkgs/tools/misc/bogofilter/default.nix deleted file mode 100644 index f5fcbc831c89..000000000000 --- a/pkgs/tools/misc/bogofilter/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, stdenv -, fetchurl -, flex -, db -, makeWrapper -, pax -}: - -stdenv.mkDerivation rec { - pname = "bogofilter"; - version = "1.2.5"; - - src = fetchurl { - url = "mirror://sourceforge/bogofilter/bogofilter-${version}.tar.xz"; - hash = "sha256-MkihNzv/VSxQCDStvqS2yu4EIkUWrlgfslpMam3uieo="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - buildInputs = [ flex db ]; - - doCheck = false; # needs "y" tool - - postInstall = '' - wrapProgram "$out/bin/bf_tar" --prefix PATH : "${lib.makeBinPath [ pax ]}" - ''; - - meta = { - homepage = "http://bogofilter.sourceforge.net/"; - longDescription = '' - Bogofilter is a mail filter that classifies mail as spam or ham - (non-spam) by a statistical analysis of the message's header and - content (body). The program is able to learn from the user's - classifications and corrections. It is based on a Bayesian - filter. - ''; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/boltbrowser/default.nix b/pkgs/tools/misc/boltbrowser/default.nix deleted file mode 100644 index f4603ab3b4ad..000000000000 --- a/pkgs/tools/misc/boltbrowser/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "boltbrowser"; - version = "2.2"; - - src = fetchFromGitHub { - owner = "br0xen"; - repo = pname; - rev = version; - sha256 = "sha256-3t0U1bSJbo3RJZe+PwaUeuzSt23Gs++WRe/uehfa4cA="; - }; - - vendorHash = "sha256-lLSjAO0sK2zwl+id/e15XWYbLPCa7qK8J6tdvaBMLPs="; - - meta = with lib; { - description = "CLI Browser for BoltDB files"; - homepage = "https://github.com/br0xen/boltbrowser"; - license = with licenses; [ gpl3Only ]; - maintainers = with maintainers; [ fab ]; - mainProgram = "boltbrowser"; - }; -} diff --git a/pkgs/tools/misc/bonk/default.nix b/pkgs/tools/misc/bonk/default.nix deleted file mode 100644 index b4a65329dc96..000000000000 --- a/pkgs/tools/misc/bonk/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "bonk"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "elliot40404"; - repo = "bonk"; - rev = "v${version}"; - hash = "sha256-sAMIteNkGRqmE7BQD/TNC01K3eQQTLKuc0jcxHxtKF8="; - }; - - cargoHash = "sha256-/qBuIG5ETUWMv2iOGpW3/awuhZb35qsBAflNJv3xTUs="; - - meta = { - description = "Blazingly fast touch alternative written in Rust"; - homepage = "https://github.com/elliot40404/bonk"; - license = lib.licenses.mit; - mainProgram = "bonk"; - maintainers = with lib.maintainers; [ dit7ya ]; - }; -} diff --git a/pkgs/tools/misc/bootspec/default.nix b/pkgs/tools/misc/bootspec/default.nix deleted file mode 100644 index 2ffa6c47ab09..000000000000 --- a/pkgs/tools/misc/bootspec/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, fetchpatch -}: -rustPlatform.buildRustPackage rec { - pname = "bootspec"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "DeterminateSystems"; - repo = pname; - rev = "v${version}"; - hash = "sha256-5IGSMHeL0eKfl7teDejAckYQjc8aeLwfwIQSzQ8YaAg="; - }; - - patches = [ - # https://github.com/DeterminateSystems/bootspec/pull/127 - # Fixes the synthesize tool for aarch64-linux - (fetchpatch { - name = "aarch64-support.patch"; - url = "https://github.com/DeterminateSystems/bootspec/commit/1d0e925f360f0199f13422fb7541225fd162fd4f.patch"; - sha256 = "sha256-wU/jWnOqVBrU2swANdXbQfzRpNd/JIS4cxSyCvixZM0="; - }) - - ]; - - cargoHash = "sha256-eGSKVHjPnHK7WyGkO5LIjocNGHawahYQR3H5Lgk1C9s="; - - meta = with lib; { - description = "Implementation of RFC-0125's datatype and synthesis tooling"; - homepage = "https://github.com/DeterminateSystems/bootspec"; - license = licenses.mit; - maintainers = teams.determinatesystems.members; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/bottom-rs/default.nix b/pkgs/tools/misc/bottom-rs/default.nix deleted file mode 100644 index d9d2ab079c7b..000000000000 --- a/pkgs/tools/misc/bottom-rs/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "bottom-rs"; - version = "1.2.0"; - - src = fetchCrate { - inherit version; - crateName = "bottomify"; - hash = "sha256-R1zj+TFXoolonIFa1zJDd7CdrORfzAPlxJoJVYe9xdc="; - }; - - cargoHash = "sha256-7xD65ookkK09XwCBH6fXqmWRYlmvpwAocojBg/dHzUI="; - - meta = with lib; { - description = "Fantastic (maybe) CLI for translating between bottom and human-readable text"; - homepage = "https://github.com/bottom-software-foundation/bottom-rs"; - license = licenses.mit; - maintainers = with maintainers; [ winter ]; - mainProgram = "bottomify"; - }; -} diff --git a/pkgs/tools/misc/boxxy/default.nix b/pkgs/tools/misc/boxxy/default.nix deleted file mode 100644 index b2596746f7df..000000000000 --- a/pkgs/tools/misc/boxxy/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, oniguruma -, stdenv -}: - -rustPlatform.buildRustPackage rec { - pname = "boxxy"; - version = "0.8.5"; - - src = fetchFromGitHub { - owner = "queer"; - repo = "boxxy"; - rev = "v${version}"; - hash = "sha256-6pb3yyC4/kpe8S67B3pzsSu3PfQyOWpiYi0JTBQk3lU="; - }; - - cargoHash = "sha256-PaH0WBBGK37T59RU4ofL0XjYX3cV5lR7WmCw+H/MeuA="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - oniguruma - ]; - - env = { - RUSTONIG_SYSTEM_LIBONIG = true; - }; - - meta = with lib; { - description = "Puts bad Linux applications in a box with only their files"; - homepage = "https://github.com/queer/boxxy"; - license = licenses.mit; - maintainers = with maintainers; [ dit7ya figsoda ]; - platforms = platforms.linux; - broken = stdenv.isAarch64; - mainProgram = "boxxy"; - }; -} diff --git a/pkgs/tools/misc/brltty/default.nix b/pkgs/tools/misc/brltty/default.nix deleted file mode 100644 index f2de104c5825..000000000000 --- a/pkgs/tools/misc/brltty/default.nix +++ /dev/null @@ -1,99 +0,0 @@ -{ lib, stdenv, fetchurl, pkg-config, python3, bluez -, tcl, acl, kmod, coreutils, shadow, util-linux -, alsaSupport ? stdenv.isLinux, alsa-lib -, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd -}: - -stdenv.mkDerivation rec { - pname = "brltty"; - version = "6.6"; - - src = fetchurl { - url = "https://brltty.app/archive/brltty-${version}.tar.gz"; - sha256 = "E+j2mb8UTuGx6PkAOt03hQkvf1XvEHxJEuPBT2zMpPw="; - }; - - nativeBuildInputs = [ pkg-config python3.pkgs.cython python3.pkgs.setuptools tcl ]; - buildInputs = [ bluez ] - ++ lib.optional alsaSupport alsa-lib - ++ lib.optional systemdSupport systemd; - - meta = { - description = "Access software for a blind person using a braille display"; - longDescription = '' - BRLTTY is a background process (daemon) which provides access to the Linux/Unix - console (when in text mode) for a blind person using a refreshable braille display. - It drives the braille display, and provides complete screen review functionality. - Some speech capability has also been incorporated. - ''; - homepage = "https://brltty.app"; - license = lib.licenses.gpl2Plus; - maintainers = [ lib.maintainers.bramd ]; - platforms = lib.platforms.all; - }; - - makeFlags = [ - "PYTHON_PREFIX=$(out)" - "SYSTEMD_UNITS_DIRECTORY=$(out)/lib/systemd/system" - "SYSTEMD_USERS_DIRECTORY=$(out)/lib/sysusers.d" - "SYSTEMD_FILES_DIRECTORY=$(out)/lib/tmpfiles.d" - "UDEV_PARENT_LOCATION=$(out)/lib" - "INSTALL_COMMANDS_DIRECTORY=$(out)/libexec/brltty" - "UDEV_RULES_TYPE=all" - "POLKIT_POLICY_DIR=$(out)/share/polkit-1/actions" - "POLKIT_RULE_DIR=$(out)/share/polkit-1/rules.d" - "TCL_DIR=$(out)/lib" - ]; - configureFlags = [ - "--with-writable-directory=/run/brltty" - "--with-updatable-directory=/var/lib/brltty" - "--with-api-socket-path=/var/lib/BrlAPI" - ]; - installFlags = [ "install-systemd" "install-udev" "install-polkit" ]; - - preConfigure = '' - substituteInPlace configure --replace /sbin/ldconfig ldconfig - - # Some script needs a working tclsh shebang - patchShebangs . - - # Skip impure operations - substituteInPlace Programs/Makefile.in \ - --replace install-writable-directory "" \ - --replace install-apisoc-directory "" \ - --replace install-api-key "" - ''; - - postInstall = '' - # Rewrite absolute paths - substituteInPlace $out/bin/brltty-mkuser \ - --replace '/sbin/nologin' '${shadow}/bin/nologin' - ( - cd $out/lib - substituteInPlace systemd/system/brltty@.service \ - --replace '/sbin/modprobe' '${kmod}/bin/modprobe' - # Ensure the systemd-wrapper script uses the correct path to the brltty binary - sed "/^Environment=\"BRLTTY_EXECUTABLE_ARGUMENTS.*/a Environment=\"BRLTTY_EXECUTABLE_PATH=$out/bin/brltty\"" -i systemd/system/brltty@.service - substituteInPlace systemd/system/brltty-device@.service \ - --replace '/usr/bin/true' '${coreutils}/bin/true' - substituteInPlace udev/rules.d/90-brltty-uinput.rules \ - --replace '/usr/bin/setfacl' '${acl}/bin/setfacl' - substituteInPlace udev/rules.d/90-brltty-hid.rules \ - --replace '/usr/bin/setfacl' '${acl}/bin/setfacl' - substituteInPlace tmpfiles.d/brltty.conf \ - --replace "$out/etc" '/etc' - - # Remove unused commands from udev rules - sed '/initctl/d' -i udev/rules.d/90-brltty-usb-generic.rules - sed '/initctl/d' -i udev/rules.d/90-brltty-usb-customized.rules - # Remove pulse-access group from systemd unit and sysusers - substituteInPlace systemd/system/brltty@.service \ - --replace 'SupplementaryGroups=pulse-access' '# SupplementaryGroups=pulse-access' - substituteInPlace sysusers.d/brltty.conf \ - --replace 'm brltty pulse-access' '# m brltty pulse-access' - ) - substituteInPlace $out/libexec/brltty/systemd-wrapper \ - --replace 'logger' "${util-linux}/bin/logger" \ - --replace 'udevadm' "${systemd}/bin/udevadm" - ''; -} diff --git a/pkgs/tools/misc/broadlink-cli/default.nix b/pkgs/tools/misc/broadlink-cli/default.nix deleted file mode 100644 index c9438ff3583f..000000000000 --- a/pkgs/tools/misc/broadlink-cli/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: - -python3Packages.buildPythonApplication rec { - pname = "broadlink-cli"; - version = "0.19.0"; - - # the tools are available as part of the source distribution from GH but - # not pypi, so we have to fetch them here. - src = fetchFromGitHub { - owner = "mjg59"; - repo = "python-broadlink"; - rev = "refs/tags/${version}"; - sha256 = "sha256-fqhi4K8Ceh8Rs0ExteCfAuVfEamFjMCjCFm6DRAJDmI="; - }; - - format = "other"; - - propagatedBuildInputs = with python3Packages; [ - broadlink - ]; - - installPhase = '' - runHook preInstall - - install -Dm555 -t $out/bin cli/broadlink_{cli,discovery} - install -Dm444 -t $out/share/doc/broadlink cli/README.md - - runHook postInstall - ''; - - meta = with lib; { - description = "Tools for interfacing with Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs"; - maintainers = with maintainers; [ peterhoeg ]; - inherit (python3Packages.broadlink.meta) homepage license; - }; -} diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index 9097f4e335ec..c162829b6ec9 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -13,22 +13,22 @@ , xorg , zlib , buildPackages -, withClipboard ? !stdenv.isDarwin -, withTrash ? !stdenv.isDarwin +, withClipboard ? !stdenv.hostPlatform.isDarwin +, withTrash ? !stdenv.hostPlatform.isDarwin }: rustPlatform.buildRustPackage rec { pname = "broot"; - version = "1.44.0"; + version = "1.44.1"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "v${version}"; - hash = "sha256-0YZma3+Qk2P8lvVS7+Uma0YayuHxtK8lFTZXjTmPIuY="; + hash = "sha256-Qyc4R5hvSal82/qywriH7agluu6miAC4Y7UUM3VATCo="; }; - cargoHash = "sha256-QsUHJpSdI0Vz8hbK0Nqn3gxEpCkMGcj1R1CCgLIyEtE="; + cargoHash = "sha256-fsmwjr7EpzR/KKrGWoTeCOI7jmrlTYtjIksc205kRs8="; nativeBuildInputs = [ installShellFiles @@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec { pkg-config ]; - buildInputs = [ libgit2 oniguruma xorg.libxcb ] ++ lib.optionals stdenv.isDarwin [ + buildInputs = [ libgit2 oniguruma xorg.libxcb ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Foundation libiconv Security diff --git a/pkgs/tools/misc/bsp-layout/default.nix b/pkgs/tools/misc/bsp-layout/default.nix deleted file mode 100644 index e0348fb9207e..000000000000 --- a/pkgs/tools/misc/bsp-layout/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, makeWrapper -, git -, bc -, bspwm -}: - -stdenv.mkDerivation rec { - pname = "bsp-layout"; - version = "unstable-2022-06-19"; - - src = fetchFromGitHub { - owner = "phenax"; - repo = pname; - rev = "9d60fc271454ea1bfca598575207a06d8d172d3e"; - sha256 = "sha256-7bBVWJdgAnXLWzjQGZxVqhku2rsxX2kMxU4xkI9/DHE="; - }; - - nativeBuildInputs = [ makeWrapper git bc ]; - buildInputs = [ bspwm ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - postInstall = '' - substituteInPlace $out/lib/bsp-layout/layout.sh --replace 'bc ' '${bc}/bin/bc ' - for layout in tall rtall wide rwide - do - substituteInPlace "$out/lib/bsp-layout/layouts/$layout.sh" --replace 'bc ' '${bc}/bin/bc ' - done - ''; - - meta = with lib; { - description = "Manage layouts in bspwm"; - longDescription = '' - bsp-layout is a dynamic layout manager for bspwm, written in bash. - It provides layout options to fit most workflows. - ''; - homepage = "https://github.com/phenax/bsp-layout"; - license = licenses.mit; - maintainers = with maintainers; [ totoroot ]; - platforms = platforms.linux; - mainProgram = "bsp-layout"; - }; -} diff --git a/pkgs/tools/misc/btc-rpc-explorer/default.nix b/pkgs/tools/misc/btc-rpc-explorer/default.nix deleted file mode 100644 index babfe9400532..000000000000 --- a/pkgs/tools/misc/btc-rpc-explorer/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, pkg-config -, python3 -, vips -}: - -buildNpmPackage rec { - pname = "btc-rpc-explorer"; - version = "3.4.0"; - - src = fetchFromGitHub { - owner = "janoside"; - repo = "btc-rpc-explorer"; - rev = "v${version}"; - hash = "sha256-ZGg3jwSl1XyzS9hMa2YqwExhHSNgrsUmSscZtfF2h54="; - }; - - npmDepsHash = "sha256-9pVjydGaEaHytZqwXv0/kaJAVqlE7zzuTvubBFTkuBg="; - - postPatch = '' - ln -s npm-shrinkwrap.json package-lock.json - ''; - - makeCacheWritable = true; - - nativeBuildInputs = [ - pkg-config - python3 - ]; - - buildInputs = [ - vips - ]; - - dontNpmBuild = true; - - meta = { - changelog = "https://github.com/janoside/btc-rpc-explorer/blob/${src.rev}/CHANGELOG.md"; - description = "Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core"; - homepage = "https://github.com/janoside/btc-rpc-explorer"; - license = lib.licenses.mit; - mainProgram = "btc-rpc-explorer"; - maintainers = with lib.maintainers; [ d-xo ]; - broken = true; # At 2024-06-29 - # https://hydra.nixos.org/build/264232177/nixlog/1 - }; -} diff --git a/pkgs/tools/misc/btdu/default.nix b/pkgs/tools/misc/btdu/default.nix deleted file mode 100644 index 833d33927791..000000000000 --- a/pkgs/tools/misc/btdu/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - buildDubPackage, - fetchFromGitHub, - ncurses, - zlib, -}: - -buildDubPackage rec { - pname = "btdu"; - version = "0.5.1"; - - src = fetchFromGitHub { - owner = "CyberShadow"; - repo = "btdu"; - rev = "v${version}"; - hash = "sha256-3sSZq+5UJH02IO0Y1yL3BLHDb4lk8k6awb5ZysBQciE="; - }; - - dubLock = ./dub-lock.json; - - buildInputs = [ - ncurses - zlib - ]; - - installPhase = '' - runHook preInstall - install -Dm755 btdu -t $out/bin - runHook postInstall - ''; - - meta = with lib; { - description = "Sampling disk usage profiler for btrfs"; - homepage = "https://github.com/CyberShadow/btdu"; - changelog = "https://github.com/CyberShadow/btdu/releases/tag/${src.rev}"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = with maintainers; [ atila cybershadow ]; - mainProgram = "btdu"; - }; -} diff --git a/pkgs/tools/misc/btdu/dub-lock.json b/pkgs/tools/misc/btdu/dub-lock.json deleted file mode 100644 index 9a7ab79a5e04..000000000000 --- a/pkgs/tools/misc/btdu/dub-lock.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "dependencies": { - "ae": { - "version": "0.0.3236", - "sha256": "0by9yclvk795nw7ilwhv7wh17j2dd7xk54phs8s5jxrwpqx10x52" - }, - "btrfs": { - "version": "0.0.18", - "sha256": "0m8r4skfiryn2nk4wyb61lpvlga1330crr4y1h0q39g9xl3g6myf" - }, - "ncurses": { - "version": "1.0.0", - "sha256": "0ivl88vp2dy9rpv6x3f9jlyqa7aps2x1kkyx80w2d4vcs31pzmb2" - }, - "emsi_containers": { - "version": "0.9.0", - "sha256": "1viz1fjh6jhfvl0d25bb1q7aclm1hrs0d7hhcx1d9c0gg5k6lcpm" - } - } -} diff --git a/pkgs/tools/misc/buildtorrent/default.nix b/pkgs/tools/misc/buildtorrent/default.nix deleted file mode 100644 index e6a800dc5467..000000000000 --- a/pkgs/tools/misc/buildtorrent/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "buildtorrent"; - version = "0.8"; - - src = fetchurl { - url = "https://mathr.co.uk/blog/code/${pname}-${version}.tar.gz"; - sha256 = "sha256-6OJ2R72ziHOsVw1GwalompKwG7Z/WQidHN0IeE9wUtA="; - }; - - meta = with lib; { - description = "Simple commandline torrent creator"; - homepage = "https://mathr.co.uk/blog/torrent.html"; - license = licenses.gpl3Plus; - platforms = platforms.all; - mainProgram = "buildtorrent"; - }; -} diff --git a/pkgs/tools/misc/bunnyfetch/default.nix b/pkgs/tools/misc/bunnyfetch/default.nix deleted file mode 100644 index e14fe8244313..000000000000 --- a/pkgs/tools/misc/bunnyfetch/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib }: - -buildGoModule rec { - pname = "bunnyfetch"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "Rosettea"; - repo = "bunnyfetch"; - rev = "v${version}"; - sha256 = "sha256-6MnjCXc9/8twdf8PHKsVJY1yWYwUf5R01vtQFJbyy7M="; - }; - - vendorHash = "sha256-w+O1dU8t7uNvdlFnYhCdJCDixpWWZAnj9GrtsCbu9SM="; - - # No upstream tests - doCheck = false; - - meta = with lib; { - description = "Tiny system info fetch utility"; - homepage = "https://github.com/Rosettea/bunnyfetch"; - license = licenses.mit; - maintainers = with maintainers; [ devins2518 ]; - platforms = platforms.linux; - mainProgram = "bunnyfetch"; - }; -} diff --git a/pkgs/tools/misc/caffeine/default.nix b/pkgs/tools/misc/caffeine/default.nix deleted file mode 100644 index 1e547a5533ba..000000000000 --- a/pkgs/tools/misc/caffeine/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, stdenvNoCC -, fetchurl -, undmg -}: - -stdenvNoCC.mkDerivation (finalAttrs: { - pname = "caffeine"; - version = "1.1.3"; - - src = fetchurl { - url = "https://github.com/IntelliScape/caffeine/releases/download/${finalAttrs.version}/Caffeine.dmg"; - hash = "sha256-JA5auDKiXtCvQ67/0dZtxmPf6nwlJdkYwhTWEHmBoDs="; - }; - - sourceRoot = "."; - - nativeBuildInputs = [ undmg ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/Applications - cp -r *.app $out/Applications - - runHook postInstall - ''; - - meta = with lib; { - description = "Don't let your Mac fall asleep"; - homepage = "https://intelliscapesolutions.com/apps/caffeine"; - license = licenses.mit; - maintainers = with maintainers; [ emilytrau ]; - platforms = [ "x86_64-darwin" ]; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - }; -}) diff --git a/pkgs/tools/misc/calamares-nixos-extensions/default.nix b/pkgs/tools/misc/calamares-nixos-extensions/default.nix deleted file mode 100644 index 89535a02edb5..000000000000 --- a/pkgs/tools/misc/calamares-nixos-extensions/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ stdenv, fetchFromGitHub, lib }: - -stdenv.mkDerivation (finalAttrs: { - pname = "calamares-nixos-extensions"; - version = "0.3.18"; - - src = fetchFromGitHub { - owner = "NixOS"; - repo = "calamares-nixos-extensions"; - rev = finalAttrs.version; - hash = "sha256-j+9iZtw9QIKHLo5sr9nkCVoZS7QQCnDDyTGFXD+R+WU="; - }; - - installPhase = '' - runHook preInstall - mkdir -p $out/{lib,share}/calamares - cp -r modules $out/lib/calamares/ - cp -r config/* $out/share/calamares/ - cp -r branding $out/share/calamares/ - runHook postInstall - ''; - - meta = with lib; { - description = "Calamares modules for NixOS"; - homepage = "https://github.com/NixOS/calamares-nixos-extensions"; - license = with licenses; [ gpl3Plus bsd2 cc-by-40 cc-by-sa-40 cc0 ]; - maintainers = with maintainers; [ vlinkz ]; - platforms = platforms.linux; - }; -}) diff --git a/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch b/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch index f625b0c8ca29..03501d49e340 100644 --- a/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch +++ b/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch @@ -78,7 +78,7 @@ index 000000000..5e36d77d9 + width: 600 + height: 150 + anchors.centerIn: parent -+ text: qsTr("NixOS is fully open source, but it also provides software packages with unfree licenses. By default unfree packages are not allowed, but you can enable it here. If you check this box, software installed might have additional End User License Agreements (EULAs) attached. If not enabled, some hardware might not work fully when no suitable open source drivers are available.<br/>") ++ text: qsTr("NixOS is fully open source, but it also provides optional software packages that do not respect users' freedom to run, copy, distribute, study, change and improve the software, and are commonly not open source. By default such "unfree" packages are not allowed, but you can enable it here. If you check this box, you agree that unfree software may be installed which might have additional End User License Agreements (EULAs) that you need to agree to. If not enabled, some hardware (notably Nvidia GPUs and some WiFi chips) might not work or not work optimally.<br/>") + font.pointSize: 12 + wrapMode: Text.WordWrap + } diff --git a/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch b/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch index 53bf54599315..9c65859e0fc4 100644 --- a/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch +++ b/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch @@ -1,23 +1,22 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Victor Fuentes <vmfuentes64@gmail.com> -Date: Thu, 1 Aug 2024 16:03:14 -0400 +Date: Thu, 31 Oct 2024 10:34:25 -0700 Subject: [PATCH] Fix setting the kayboard layout on GNOME wayland. By default the module uses the setxkbmap, which will not change the keyboard --- - src/modules/keyboard/Config.cpp | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) + src/modules/keyboard/Config.cpp | 6 ++++++ + 1 file changed, 6 insertions(+) diff --git a/src/modules/keyboard/Config.cpp b/src/modules/keyboard/Config.cpp -index ad6bee6f7..4d43abe53 100644 +index 54ee7649c..60fe2d7d0 100644 --- a/src/modules/keyboard/Config.cpp +++ b/src/modules/keyboard/Config.cpp -@@ -307,7 +307,10 @@ Config::xkbApply() - xkbmap_layout_args( { m_additionalLayoutInfo.additionalLayout, m_selectedLayout }, - { m_additionalLayoutInfo.additionalVariant, m_selectedVariant }, - m_additionalLayoutInfo.groupSwitcher ) ); -- +@@ -306,6 +306,10 @@ Config::applyXkb() + m_additionalLayoutInfo.groupSwitcher ) ); + QProcess::execute( "setxkbmap", basicArguments ); + + QString xkbmap = QString( "[('xkb','%1\%2'),('xkb','%3\%4')]").arg( + m_selectedLayout, ((!m_selectedVariant.isEmpty()) ? "+" + m_selectedVariant : ""), + m_additionalLayoutInfo.additionalLayout, ((!m_additionalLayoutInfo.additionalVariant.isEmpty()) ? "+" + m_additionalLayoutInfo.additionalVariant : "")); @@ -25,12 +24,12 @@ index ad6bee6f7..4d43abe53 100644 cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant << "(added " << m_additionalLayoutInfo.additionalLayout << "-" << m_additionalLayoutInfo.additionalVariant << " since current layout is not ASCII-capable)"; -@@ -315,6 +318,8 @@ Config::xkbApply() - else +@@ -314,6 +318,8 @@ Config::applyXkb() { - QProcess::execute( "setxkbmap", xkbmap_layout_args( m_selectedLayout, m_selectedVariant ) ); + basicArguments.append( xkbmap_layout_args( m_selectedLayout, m_selectedVariant ) ); + QProcess::execute( "setxkbmap", basicArguments ); + QString xkbmap = QString( "[('xkb','%1\%2')]").arg( m_selectedLayout, ((!m_selectedVariant.isEmpty()) ? "+" + m_selectedVariant : "") ); + QProcess::execute( "sh", { "-c", "if command -v gsettings; then gsettings set org.gnome.desktop.input-sources sources \"$0\"; fi", xkbmap }); cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant; } - m_setxkbmapTimer.disconnect( this ); + m_applyTimer.stop(); \ No newline at end of file diff --git a/pkgs/tools/misc/calamares/default.nix b/pkgs/tools/misc/calamares/default.nix index 6c4c85559957..427a595a4991 100644 --- a/pkgs/tools/misc/calamares/default.nix +++ b/pkgs/tools/misc/calamares/default.nix @@ -7,12 +7,12 @@ mkDerivation rec { pname = "calamares"; - version = "3.3.8"; + version = "3.3.10"; # release including submodule src = fetchurl { url = "https://github.com/calamares/calamares/releases/download/v${version}/calamares-${version}.tar.gz"; - sha256 = "sha256-CUNbBOflzuFhdyIwaNinQCw8a4EmrxP/Unr3d0LEM2M="; + sha256 = "sha256-iBf8APBLNOpntyn+9WQWl+j8oQ4iR3pOwbcZlK86g5Q="; }; # On major changes, or when otherwise required, you *must* : diff --git a/pkgs/tools/misc/capture/default.nix b/pkgs/tools/misc/capture/default.nix deleted file mode 100644 index 9eac4dd0bbc5..000000000000 --- a/pkgs/tools/misc/capture/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, slop, ffmpeg, fetchFromGitHub, makeWrapper}: - -stdenv.mkDerivation { - pname = "capture-unstable"; - version = "2019-03-10"; - - src = fetchFromGitHub { - owner = "buhman"; - repo = "capture"; - rev = "80dd9e7195aad5c132badef610f19509f3935b24"; - sha256 = "0zyyg4mvrny7cc2xgvfip97b6yc75ka5ni39rwls93971jbk83d6"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - install -Dm755 src/capture.sh $out/bin/capture - - patchShebangs $out/bin/capture - wrapProgram $out/bin/capture \ - --prefix PATH : '${lib.makeBinPath [ slop ffmpeg ]}' - ''; - - meta = with lib; { - description = "No bullshit screen capture tool"; - homepage = "https://github.com/buhman/capture"; - maintainers = [ maintainers.ar1a ]; - license = licenses.gpl3Plus; - mainProgram = "capture"; - }; -} diff --git a/pkgs/tools/misc/castty/default.nix b/pkgs/tools/misc/castty/default.nix deleted file mode 100644 index 86dae729790b..000000000000 --- a/pkgs/tools/misc/castty/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, libsoundio, lame }: - -stdenv.mkDerivation { - pname = "castty"; - version = "unstable-2020-11-10"; - - src = fetchFromGitHub { - owner = "dhobsd"; - repo = "castty"; - rev = "333a2bafd96d56cd0bb91577ae5ba0f7d81b3d99"; - sha256 = "0p84ivwsp8ds4drn0hx2ax04gp0xyq6blj1iqfsmrs4slrajdmqs"; - }; - - buildInputs = [ libsoundio lame ]; - - makeFlags = [ - "CC=${stdenv.cc.targetPrefix}cc" - "PREFIX=$(out)" - ]; - - meta = with lib; { - description = "CLI tool to record audio-enabled screencasts of your terminal, for the web"; - homepage = "https://github.com/dhobsd/castty"; - license = licenses.bsd3; - maintainers = with maintainers; [ iblech ]; - platforms = platforms.unix; - mainProgram = "castty"; - }; -} diff --git a/pkgs/tools/misc/catimg/default.nix b/pkgs/tools/misc/catimg/default.nix deleted file mode 100644 index 9edfc576837d..000000000000 --- a/pkgs/tools/misc/catimg/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake } : - -stdenv.mkDerivation rec { - pname = "catimg"; - version = "2.7.0"; - - src = fetchFromGitHub { - owner = "posva"; - repo = pname; - rev = version; - sha256 = "0a2dswbv4xddb2l2d55hc43lzvjwrjs5z9am7v6i0p0mi2fmc89s"; - }; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - license = licenses.mit; - homepage = "https://github.com/posva/catimg"; - description = "Insanely fast image printing in your terminal"; - maintainers = with maintainers; [ ryantm ]; - platforms = platforms.unix; - mainProgram = "catimg"; - }; - -} diff --git a/pkgs/tools/misc/cc2538-bsl/default.nix b/pkgs/tools/misc/cc2538-bsl/default.nix deleted file mode 100644 index a4b3c992544a..000000000000 --- a/pkgs/tools/misc/cc2538-bsl/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, fetchFromGitHub -, fetchpatch -, python3Packages -}: - -python3Packages.buildPythonPackage rec { - pname = "cc2538-bsl"; - version = "2.1-unstable-2023-10-03"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "JelmerT"; - repo = "cc2538-bsl"; - rev = "4d64ac633dbaf29d098842c5937ed6eea2fd7c45"; - hash = "sha256-NX2jPYAz15bSucj/YR5E/0eJy/cbszSrNxyJHRsbXxo="; - }; - - patches = [ - (fetchpatch { - # fix extras specification in setup.py; https://github.com/JelmerT/cc2538-bsl/pull/143 - url = "https://github.com/JelmerT/cc2538-bsl/commit/c70f58ec0222357db8020176711d6d45cf24da35.patch"; - hash = "sha256-Rxm/TRcm87WgRfq60cu0loyrbJmZou09XYR7uhrhhj8="; - }) - ]; - - env.SETUPTOOLS_SCM_PRETEND_VERSION = "0.1.dev0+g${lib.substring 0 7 src.rev}"; - - nativeBuildInputs = with python3Packages; [ - setuptools-scm - ]; - - propagatedBuildInputs = with python3Packages; [ - intelhex - pyserial - python-magic - ]; - - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - scripttest - ]; - - postInstall = '' - # Remove .py from binary - mv $out/bin/cc2538-bsl.py $out/bin/cc2538-bsl - ''; - - meta = with lib; { - homepage = "https://github.com/JelmerT/cc2538-bsl"; - description = "Flash TI SimpleLink chips (CC2538, CC13xx, CC26xx) over serial"; - license = licenses.bsd3; - maintainers = with maintainers; [ lorenz ]; - mainProgram = "cc2538-bsl"; - }; -} - diff --git a/pkgs/tools/misc/ccal/default.nix b/pkgs/tools/misc/ccal/default.nix deleted file mode 100644 index dd3465669ab7..000000000000 --- a/pkgs/tools/misc/ccal/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv -, lib -, fetchurl -, makeWrapper -, ghostscript_headless # for ps2pdf binary -}: - -stdenv.mkDerivation rec { - pname = "ccal"; - version = "2.5.3"; - src = fetchurl { - url = "https://ccal.chinesebay.com/ccal-${version}.tar.gz"; - sha256 = "sha256-PUy9yfkFzgKrSEBB+79/C3oxmuajUMbBbWNuGlpQ35Y="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - makeFlags = [ "CXX:=$(CXX)" "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ]; - installTargets = [ "install" "install-man" ]; - - # ccalpdf depends on a `ps2pdf` binary in PATH - postFixup = '' - wrapProgram $out/bin/ccalpdf \ - --prefix PATH : ${lib.makeBinPath [ ghostscript_headless ]}:$out/bin - ''; - - meta = { - homepage = "https://ccal.chinesebay.com/ccal.htm"; - description = "Command line Chinese calendar viewer, similar to cal"; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ sharzy ]; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/tools/misc/ccze/default.nix b/pkgs/tools/misc/ccze/default.nix deleted file mode 100644 index 2c028485ccd3..000000000000 --- a/pkgs/tools/misc/ccze/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }: - -stdenv.mkDerivation rec { - pname = "ccze"; - version = "0.2.1-2"; - - src = fetchFromGitHub { - owner = "madhouse"; - repo = "ccze"; - rev = "ccze-${version}"; - hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c="; - }; - - nativeBuildInputs = [ autoconf ]; - - buildInputs = [ ncurses pcre ]; - - preConfigure = '' - autoheader - autoconf - ''; - - meta = with lib; { - description = "Fast, modular log colorizer"; - longDescription = '' - Fast log colorizer written in C, intended to be a drop-in replacement - for the Perl colorize tool. Includes plugins for a variety of log - formats (Apache, Postfix, Procmail, etc.). - ''; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ malyn ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/cf-terraforming/default.nix b/pkgs/tools/misc/cf-terraforming/default.nix deleted file mode 100644 index 4a1ad53e1a0b..000000000000 --- a/pkgs/tools/misc/cf-terraforming/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib, cf-terraforming, testers, installShellFiles, stdenv }: - -buildGoModule rec { - pname = "cf-terraforming"; - version = "0.20.0"; - - src = fetchFromGitHub { - owner = "cloudflare"; - repo = "cf-terraforming"; - rev = "v${version}"; - sha256 = "sha256-r5iRXhbjmFNlzoOe9s6vheROl/XKbeIfGD+ACl0hmro="; - }; - - vendorHash = "sha256-FinthjJeXwfjyNORdgmgArjRk+2zUlVV67P52V/lK+A="; - ldflags = [ "-X github.com/cloudflare/cf-terraforming/internal/app/cf-terraforming/cmd.versionString=${version}" ]; - - # The test suite insists on downloading a binary release of Terraform from - # Hashicorp at runtime, which isn't going to work in a nix build - doCheck = false; - - passthru.tests = testers.testVersion { - package = cf-terraforming; - command = "cf-terraforming version"; - }; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)'' - installShellCompletion --cmd cf-terraforming \ - --bash <($out/bin/cf-terraforming completion bash) \ - --fish <($out/bin/cf-terraforming completion fish) \ - --zsh <($out/bin/cf-terraforming completion zsh) - ''; - - meta = with lib; { - description = "Command line utility to facilitate terraforming your existing Cloudflare resources"; - homepage = "https://github.com/cloudflare/cf-terraforming/"; - license = licenses.mpl20; - maintainers = with maintainers; [ benley ]; - mainProgram = "cf-terraforming"; - }; -} diff --git a/pkgs/tools/misc/cfonts/default.nix b/pkgs/tools/misc/cfonts/default.nix deleted file mode 100644 index 12d9687c59be..000000000000 --- a/pkgs/tools/misc/cfonts/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: -rustPlatform.buildRustPackage rec { - pname = "cfonts"; - version = "1.1.3"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-ixxDlHjx5Bi6Wl/kzJ/R7d+jgTDCAti25TV1RlXRPus="; - }; - - cargoHash = "sha256-NltvO5ACf8TsE9CgC1jAXx04/T/kHSZLxXJ4zhA5DGo="; - - meta = with lib; { - homepage = "https://github.com/dominikwilkowski/cfonts"; - description = - "A silly little command line tool for sexy ANSI fonts in the console"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ leifhelm ]; - mainProgram = "cfonts"; - }; -} diff --git a/pkgs/tools/misc/chafa/default.nix b/pkgs/tools/misc/chafa/default.nix index 6272fdc8914d..334d970ce05c 100644 --- a/pkgs/tools/misc/chafa/default.nix +++ b/pkgs/tools/misc/chafa/default.nix @@ -4,14 +4,14 @@ }: stdenv.mkDerivation rec { - version = "1.14.4"; + version = "1.14.5"; pname = "chafa"; src = fetchFromGitHub { owner = "hpjansson"; repo = "chafa"; rev = version; - sha256 = "sha256-jrLlhpPWsc1aOEH36W6MbikAj1nAX8CinHKG+iRk+18="; + sha256 = "sha256-9RkN0yZnHf5cx6tsp3P6jsi0/xtplWxMm3hYCPjWj0M="; }; nativeBuildInputs = [ autoconf @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ glib imagemagick ] - ++ lib.optional stdenv.isDarwin Foundation; + ++ lib.optional stdenv.hostPlatform.isDarwin Foundation; patches = [ ./xmlcatalog_patch.patch ]; diff --git a/pkgs/tools/misc/changelogger/default.nix b/pkgs/tools/misc/changelogger/default.nix deleted file mode 100644 index fa46e7b10752..000000000000 --- a/pkgs/tools/misc/changelogger/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, installShellFiles -}: - -buildGoModule rec { - pname = "changelogger"; - version = "0.6.1"; - - src = fetchFromGitHub { - owner = "MarkusFreitag"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-XDiO8r1HpdsfBKzFLnsWdxte2EqL1blPH21137fNm5M="; - }; - - vendorHash = "sha256-E6J+0tZriskBnXdhQOQA240c3z+laXM5honoREjHPfM="; - - ldflags = [ - "-s" - "-w" - "-X github.com/MarkusFreitag/changelogger/cmd.BuildVersion=${version}" - "-X github.com/MarkusFreitag/changelogger/cmd.BuildDate=1970-01-01T00:00:00" - ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion --cmd changelogger \ - --bash <($out/bin/changelogger completion bash) \ - --fish <($out/bin/changelogger completion fish) \ - --zsh <($out/bin/changelogger completion zsh) - ''; - - meta = with lib; { - description = "Tool to manage your changelog file in Markdown"; - homepage = "https://github.com/MarkusFreitag/changelogger"; - changelog = "https://github.com/MarkusFreitag/changelogger/blob/v${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ tomsiewert ]; - mainProgram = "changelogger"; - }; -} diff --git a/pkgs/tools/misc/charasay/default.nix b/pkgs/tools/misc/charasay/default.nix deleted file mode 100644 index 5048b9dd655a..000000000000 --- a/pkgs/tools/misc/charasay/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -}: - -rustPlatform.buildRustPackage rec { - pname = "charasay"; - version = "3.2.0"; - - src = fetchFromGitHub { - owner = "latipun7"; - repo = pname; - rev = "v${version}"; - hash = "sha256-7z5+7yrx5X5rdBMNj9oWBZ2IX0s88c1SLhgz2IDDEn8="; - }; - - cargoHash = "sha256-5htNU8l+amh+C8EL1K4UcXzf5Pbhhjd5RhxrucJoj/M="; - - nativeBuildInputs = [ installShellFiles ]; - - postPatch = '' - rm .cargo/config.toml - ''; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd chara \ - --bash <($out/bin/chara completions --shell bash) \ - --fish <($out/bin/chara completions --shell fish) \ - --zsh <($out/bin/chara completions --shell zsh) - ''; - - meta = with lib; { - description = "Future of cowsay - Colorful characters saying something"; - homepage = "https://github.com/latipun7/charasay"; - license = licenses.mit; - maintainers = with maintainers; [ hmajid2301 ]; - mainProgram = "chara"; - }; -} diff --git a/pkgs/tools/misc/chatgpt-cli/default.nix b/pkgs/tools/misc/chatgpt-cli/default.nix deleted file mode 100644 index a7712aee4116..000000000000 --- a/pkgs/tools/misc/chatgpt-cli/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, -}: -buildGoModule rec { - pname = "chatgpt"; - version = "1.3.5"; - - src = fetchFromGitHub { - owner = "j178"; - repo = pname; - rev = "v${version}"; - hash = "sha256-+U5fDG/t1x7F4h+D3rVdgvYICoQDH7dd5GUNOCkXw/Q="; - }; - - vendorHash = "sha256-/bL9RRqNlKLqZSaym9y5A+RUDrHpv7GBR6ubZkZMPS4="; - - subPackages = [ "cmd/chatgpt" ]; - - meta = with lib; { - description = "Interactive CLI for ChatGPT"; - homepage = "https://github.com/j178/chatgpt"; - license = licenses.mit; - mainProgram = "chatgpt"; - maintainers = with maintainers; [ Ruixi-rebirth ]; - }; -} diff --git a/pkgs/tools/misc/checkpwn/default.nix b/pkgs/tools/misc/checkpwn/default.nix deleted file mode 100644 index 994fecc6c4db..000000000000 --- a/pkgs/tools/misc/checkpwn/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "checkpwn"; - version = "0.5.6"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-M0Jb+8rKn4KVuumNSsM6JEbSOoBOFy9mmXiCnUnDgak="; - }; - - cargoHash = "sha256-G+QWnGf+Zp94EHVnYM3Q/iEhEQMU2O/c4i5ya/dY7K4="; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - # requires internet access - checkFlags = [ - "--skip=test_cli_" - ]; - - meta = with lib; { - description = "Check Have I Been Pwned and see if it's time for you to change passwords"; - homepage = "https://github.com/brycx/checkpwn"; - changelog = "https://github.com/brycx/checkpwn/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "checkpwn"; - }; -} diff --git a/pkgs/tools/misc/chelf/default.nix b/pkgs/tools/misc/chelf/default.nix deleted file mode 100644 index 7dd84eba1e44..000000000000 --- a/pkgs/tools/misc/chelf/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "chelf"; - version = "0.2.2"; - - src = fetchFromGitHub { - owner = "Gottox"; - repo = "chelf"; - rev = "v${version}"; - sha256 = "0xwd84aynyqsi2kcndbff176vmhrak3jmn3lfcwya59653pppjr6"; - }; - - installPhase = '' - mkdir -p $out/bin - mv chelf $out/bin/chelf - ''; - - meta = with lib; { - description = "change or display the stack size of an ELF binary"; - homepage = "https://github.com/Gottox/chelf"; - license = licenses.bsd2; - maintainers = with maintainers; [ dtzWill ]; - mainProgram = "chelf"; - }; -} diff --git a/pkgs/tools/misc/chrome-export/default.nix b/pkgs/tools/misc/chrome-export/default.nix deleted file mode 100644 index d3f4878ee691..000000000000 --- a/pkgs/tools/misc/chrome-export/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub -, python3 -}: - -stdenv.mkDerivation rec { - pname = "chrome-export"; - version = "2.0.2"; - - src = fetchFromGitHub { - owner = "bdesham"; - repo = pname; - rev = "v${version}"; - sha256 = "0p1914wfjggjavw7a0dh2nb7z97z3wrkwrpwxkdc2pj5w5lv405m"; - }; - - buildInputs = [ python3 ]; - - dontBuild = true; - installPhase = '' - mkdir -p $out/bin - cp export-chrome-bookmarks export-chrome-history $out/bin - mkdir -p $out/share/man/man1 - cp man_pages/*.1 $out/share/man/man1 - ''; - doInstallCheck = true; - installCheckPhase = '' - bash test/run_tests $out/bin - ''; - - meta = with lib; { - description = "Scripts to save Google Chrome's bookmarks and history as HTML bookmarks files"; - homepage = "https://github.com/bdesham/chrome-export"; - license = [ licenses.isc ]; - maintainers = [ maintainers.bdesham ]; - platforms = python3.meta.platforms; - }; -} diff --git a/pkgs/tools/misc/cht.sh/default.nix b/pkgs/tools/misc/cht.sh/default.nix deleted file mode 100644 index f61defdbdeda..000000000000 --- a/pkgs/tools/misc/cht.sh/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, unstableGitUpdater -, makeWrapper -, curl -, ncurses -, rlwrap -, xsel -}: - -stdenv.mkDerivation { - pname = "cht.sh"; - version = "0-unstable-2022-04-18"; - - nativeBuildInputs = [ makeWrapper ]; - - src = fetchFromGitHub { - owner = "chubin"; - repo = "cheat.sh"; - rev = "571377f2f79422398a701cb1864487124ec3dcc6"; - sha256 = "0e9YhYcxU9t0SFeT1TjoRGTM3h1xRC528ae69tvz+a0="; - }; - - # Fix ".cht.sh-wrapped" in the help message - postPatch = "substituteInPlace share/cht.sh.txt --replace '\${0##*/}' cht.sh"; - - installPhase = '' - install -m755 -D share/cht.sh.txt "$out/bin/cht.sh" - - # install shell completion files - mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions - mv share/bash_completion.txt $out/share/bash-completion/completions/cht.sh - cp share/zsh.txt $out/share/zsh/site-functions/_cht - - wrapProgram "$out/bin/cht.sh" \ - --prefix PATH : "${lib.makeBinPath [ curl rlwrap ncurses xsel ]}" - ''; - - passthru.updateScript = unstableGitUpdater { - url = "https://github.com/chubin/cheat.sh.git"; - }; - - meta = with lib; { - description = "CLI client for cheat.sh, a community driven cheat sheet"; - license = licenses.mit; - maintainers = with maintainers; [ fgaz evanjs ]; - homepage = "https://github.com/chubin/cheat.sh"; - mainProgram = "cht.sh"; - }; -} diff --git a/pkgs/tools/misc/cicero-tui/Cargo.lock b/pkgs/tools/misc/cicero-tui/Cargo.lock deleted file mode 100644 index 26aa86890a5c..000000000000 --- a/pkgs/tools/misc/cicero-tui/Cargo.lock +++ /dev/null @@ -1,958 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -dependencies = [ - "winapi", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - -[[package]] -name = "cc" -version = "1.0.70" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cicero" -version = "0.4.0" -dependencies = [ - "clap", - "crossterm 0.20.0", - "dirs", - "freetype-rs", - "hex-slice", - "scopeguard", - "serde", - "serde_json", - "servo-fontconfig", - "toml", - "tui", - "unic", - "walkdir", -] - -[[package]] -name = "clap" -version = "2.33.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" -dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim", - "textwrap", - "unicode-width", - "vec_map", -] - -[[package]] -name = "cloudabi" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" -dependencies = [ - "bitflags", -] - -[[package]] -name = "cmake" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb6210b637171dfba4cda12e579ac6dc73f5165ad56133e5d72ef3131f320855" -dependencies = [ - "cc", -] - -[[package]] -name = "crossterm" -version = "0.17.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f4919d60f26ae233e14233cc39746c8c8bb8cd7b05840ace83604917b51b6c7" -dependencies = [ - "bitflags", - "crossterm_winapi 0.6.2", - "lazy_static", - "libc", - "mio", - "parking_lot 0.10.2", - "signal-hook 0.1.17", - "winapi", -] - -[[package]] -name = "crossterm" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ebde6a9dd5e331cd6c6f48253254d117642c31653baa475e394657c59c1f7d" -dependencies = [ - "bitflags", - "crossterm_winapi 0.8.0", - "libc", - "mio", - "parking_lot 0.11.2", - "signal-hook 0.3.10", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2265c3f8e080075d9b6417aa72293fc71662f34b4af2612d8d1b074d29510db" -dependencies = [ - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6966607622438301997d3dac0d2f6e9a90c68bb6bc1785ea98456ab93c0507" -dependencies = [ - "winapi", -] - -[[package]] -name = "dirs" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30baa043103c9d0c2a57cf537cc2f35623889dc0d405e6c3cccfadbc81c71309" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-sys" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "either" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" - -[[package]] -name = "expat-sys" -version = "2.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658f19728920138342f68408b7cf7644d90d4784353d8ebc32e7e8663dbe45fa" -dependencies = [ - "cmake", - "pkg-config", -] - -[[package]] -name = "freetype-rs" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74eadec9d0a5c28c54bb9882e54787275152a4e36ce206b45d7451384e5bf5fb" -dependencies = [ - "bitflags", - "freetype-sys", - "libc", -] - -[[package]] -name = "freetype-sys" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a37d4011c0cc628dfa766fcc195454f4b068d7afdc2adfd28861191d866e731a" -dependencies = [ - "cmake", - "libc", - "pkg-config", -] - -[[package]] -name = "getrandom" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hex-slice" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5491a308e0214554f07a81d8944abe45f552871c12e3c3c6e7e5d354039a6c4c" - -[[package]] -name = "instant" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "itertools" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.102" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2a5ac8f984bfcf3a823267e5fde638acc3325f6496633a5da6bb6eb2171e103" - -[[package]] -name = "lock_api" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "lock_api" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109" -dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "matches" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" - -[[package]] -name = "mio" -version = "0.7.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" -dependencies = [ - "libc", - "log", - "miow", - "ntapi", - "winapi", -] - -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", -] - -[[package]] -name = "ntapi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" -dependencies = [ - "winapi", -] - -[[package]] -name = "parking_lot" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e" -dependencies = [ - "lock_api 0.3.4", - "parking_lot_core 0.7.2", -] - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api 0.4.5", - "parking_lot_core 0.8.5", -] - -[[package]] -name = "parking_lot_core" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3" -dependencies = [ - "cfg-if 0.1.10", - "cloudabi", - "libc", - "redox_syscall 0.1.57", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if 1.0.0", - "instant", - "libc", - "redox_syscall 0.2.10", - "smallvec", - "winapi", -] - -[[package]] -name = "pkg-config" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c" - -[[package]] -name = "proc-macro2" -version = "1.0.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f5105d4fdaab20335ca9565e106a5d9b82b6219b5ba735731124ac6711d23d" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "quote" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" - -[[package]] -name = "redox_syscall" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" -dependencies = [ - "getrandom", - "redox_syscall 0.2.10", -] - -[[package]] -name = "ryu" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "serde" -version = "1.0.130" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.130" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "servo-fontconfig" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e3e22fe5fd73d04ebf0daa049d3efe3eae55369ce38ab16d07ddd9ac5c217c" -dependencies = [ - "libc", - "servo-fontconfig-sys", -] - -[[package]] -name = "servo-fontconfig-sys" -version = "5.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36b879db9892dfa40f95da1c38a835d41634b825fbd8c4c418093d53c24b388" -dependencies = [ - "expat-sys", - "freetype-sys", - "pkg-config", -] - -[[package]] -name = "signal-hook" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729" -dependencies = [ - "libc", - "mio", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c98891d737e271a2954825ef19e46bd16bdb98e2746f2eec4f7a4ef7946efd1" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-mio" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29fd5867f1c4f2c5be079aee7a2adf1152ebb04a4bc4d341f504b7dece607ed4" -dependencies = [ - "libc", - "mio", - "signal-hook 0.3.10", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "smallvec" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "syn" -version = "1.0.76" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f107db402c2c2055242dbf4d2af0e69197202e9faacbef9571bbe47f5a1b84" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "toml" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" -dependencies = [ - "serde", -] - -[[package]] -name = "tui" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9533d39bef0ae8f510e8a99d78702e68d1bbf0b98a78ec9740509d287010ae1e" -dependencies = [ - "bitflags", - "cassowary", - "crossterm 0.17.7", - "either", - "itertools", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "unic" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-bidi", - "unic-char", - "unic-common", - "unic-emoji", - "unic-idna", - "unic-normal", - "unic-segment", - "unic-ucd", -] - -[[package]] -name = "unic-bidi" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "matches", - "unic-ucd-bidi", -] - -[[package]] -name = "unic-char" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-basics", - "unic-char-property", - "unic-char-range", -] - -[[package]] -name = "unic-char-basics" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" - -[[package]] -name = "unic-char-property" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-range", -] - -[[package]] -name = "unic-char-range" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" - -[[package]] -name = "unic-common" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" - -[[package]] -name = "unic-emoji" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-emoji-char", -] - -[[package]] -name = "unic-emoji-char" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-idna" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "matches", - "unic-idna-mapping", - "unic-idna-punycode", - "unic-normal", - "unic-ucd-bidi", - "unic-ucd-normal", - "unic-ucd-version", -] - -[[package]] -name = "unic-idna-mapping" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-idna-punycode" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" - -[[package]] -name = "unic-normal" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-ucd-normal", -] - -[[package]] -name = "unic-segment" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-ucd-segment", -] - -[[package]] -name = "unic-ucd" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-ucd-age", - "unic-ucd-bidi", - "unic-ucd-block", - "unic-ucd-case", - "unic-ucd-category", - "unic-ucd-common", - "unic-ucd-hangul", - "unic-ucd-ident", - "unic-ucd-name", - "unic-ucd-name_aliases", - "unic-ucd-normal", - "unic-ucd-segment", - "unic-ucd-unihan", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-age" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-bidi" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-block" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-case" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-category" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "matches", - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-common" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-hangul" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-ident" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-name" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-ucd-hangul", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-name_aliases" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-normal" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-ucd-category", - "unic-ucd-hangul", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-segment" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-char-range", - "unic-emoji-char", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-unihan" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-char-property", - "unic-ucd-version", -] - -[[package]] -name = "unic-ucd-version" -version = "0.9.0" -source = "git+https://github.com/eyeplum/rust-unic.git?branch=develop#ecd51a730750922eab49f0e0309c8874eb5b8121" -dependencies = [ - "unic-common", -] - -[[package]] -name = "unicode-segmentation" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" - -[[package]] -name = "unicode-width" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" - -[[package]] -name = "unicode-xid" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "walkdir" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" -dependencies = [ - "same-file", - "winapi", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/pkgs/tools/misc/cicero-tui/default.nix b/pkgs/tools/misc/cicero-tui/default.nix deleted file mode 100644 index 0ab33112a6e3..000000000000 --- a/pkgs/tools/misc/cicero-tui/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, cmake -, pkg-config -, expat -, fontconfig -, freetype -}: - -rustPlatform.buildRustPackage rec { - pname = "cicero-tui"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "eyeplum"; - repo = "cicero-tui"; - rev = "v${version}"; - sha256 = "sha256-2raSkIycXCdT/TSlaQviI6Eql7DONgRVsPP2B2YuW8U="; - }; - - nativeBuildInputs = [ - cmake - pkg-config - ]; - buildInputs = [ - expat - fontconfig - freetype - ]; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "unic-0.9.0" = "sha256-ZE4C+rrtmHdqTmenP5c7QGNTW/n7pi8nh7lqLhHgi3w="; - }; - }; - - meta = with lib; { - description = "Unicode tool with a terminal user interface"; - homepage = "https://github.com/eyeplum/cicero-tui"; - license = with licenses; [ gpl3Plus ]; - maintainers = with maintainers; [ shamilton ]; - platforms = platforms.linux; - mainProgram = "cicero"; - }; -} diff --git a/pkgs/tools/misc/citron/default.nix b/pkgs/tools/misc/citron/default.nix deleted file mode 100644 index d40c8c936928..000000000000 --- a/pkgs/tools/misc/citron/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -, dbus -, installShellFiles -, pkg-config -}: - -rustPlatform.buildRustPackage rec { - pname = "citron"; - version = "0.15.0"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA="; - }; - - cargoHash = "sha256-xTmhgE4iHydhZBMrHWqQUcS9KDlZAzW2CmPGpJr40Fw="; - - buildInputs = [ dbus ]; - - nativeBuildInputs = [ installShellFiles pkg-config ]; - - postInstall = '' - installManPage doc/citron.1 - ''; - - meta = { - homepage = "https://git.sr.ht/~grtcdr/citron"; - description = "System data via on-demand notifications"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ vuimuich ]; - platforms = lib.platforms.linux; - mainProgram = "citron"; - }; -} diff --git a/pkgs/tools/misc/ckb-next/default.nix b/pkgs/tools/misc/ckb-next/default.nix index ca0f6705b9fe..6c077b227274 100644 --- a/pkgs/tools/misc/ckb-next/default.nix +++ b/pkgs/tools/misc/ckb-next/default.nix @@ -1,6 +1,6 @@ { lib, wrapQtAppsHook, fetchFromGitHub, substituteAll, udev, stdenv , pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu, gnused -, withPulseaudio ? stdenv.isLinux, libpulseaudio, quazip +, withPulseaudio ? stdenv.hostPlatform.isLinux, libpulseaudio, quazip }: stdenv.mkDerivation rec { diff --git a/pkgs/tools/misc/clac/default.nix b/pkgs/tools/misc/clac/default.nix deleted file mode 100644 index f154a9fa7ab3..000000000000 --- a/pkgs/tools/misc/clac/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "clac"; - version = "0.3.3-unstable-2021-09-06"; - - src = fetchFromGitHub { - owner = "soveran"; - repo = "clac"; - rev = "beae8c4bc89912f4cd66bb875585fa471692cd54"; - sha256 = "XaULDkFF9OZW7Hbh60wbGgvCJ6L+3gZNGQ9uQv3G0zU="; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - postInstall = '' - mkdir -p "$out/share/doc/clac" - cp README* LICENSE "$out/share/doc/clac" - ''; - - meta = with lib; { - description = "Interactive stack-based calculator"; - homepage = "https://github.com/soveran/clac"; - license = licenses.bsd2; - maintainers = with maintainers; [ raskin ]; - platforms = platforms.unix; - mainProgram = "clac"; - }; -} diff --git a/pkgs/tools/misc/claws/default.nix b/pkgs/tools/misc/claws/default.nix deleted file mode 100644 index cb1a55b06957..000000000000 --- a/pkgs/tools/misc/claws/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "claws"; - version = "0.4.1"; - - src = fetchFromGitHub { - rev = version; - owner = "thehowl"; - repo = pname; - hash = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; - }; - - vendorHash = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - homepage = "https://github.com/thehowl/claws"; - description = "Interactive command line client for testing websocket servers"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "claws"; - }; -} diff --git a/pkgs/tools/misc/clematis/default.nix b/pkgs/tools/misc/clematis/default.nix deleted file mode 100644 index cba0b6cd5f95..000000000000 --- a/pkgs/tools/misc/clematis/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ buildGoModule -, fetchFromGitHub -, lib -}: - -buildGoModule rec { - pname = "clematis"; - version = "2022-04-16"; - - src = fetchFromGitHub { - owner = "TorchedSammy"; - repo = "clematis"; - rev = "cbe74da084b9d3f6893f53721c27cd0f3a45fe93"; - sha256 = "sha256-TjoXHbY0vUQ2rhwdCJ/s/taRd9/MG0P9HaEw2BOIy/s="; - }; - - vendorHash = "sha256-YKu+7LFUoQwCH//URIswiaqa0rmnWZJvuSn/68G3TUA="; - - meta = with lib; { - description = "Discord rich presence for MPRIS music players"; - homepage = "https://github.com/TorchedSammy/Clematis"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ misterio77 ]; - mainProgram = "clematis"; - }; -} diff --git a/pkgs/tools/misc/clickclack/default.nix b/pkgs/tools/misc/clickclack/default.nix deleted file mode 100644 index 15fe00486d3e..000000000000 --- a/pkgs/tools/misc/clickclack/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, stdenv -, fetchFromSourcehut -, SDL2 -}: - -stdenv.mkDerivation rec { - pname = "clickclack"; - version = "0.2.3"; - - src = fetchFromSourcehut { - owner = "~proycon"; - repo = "clickclack"; - rev = version; - hash = "sha256-YmlbGEmZgT/30c+mWQzdz4rKc69d75zhoNUA5FdxdMc="; - }; - - buildInputs = [ - SDL2 - ]; - - makeFlags = [ - "PREFIX=${placeholder "out"}" - ]; - - meta = with lib; { - description = "Vibration/audio feedback tool to be used with virtual keyboards"; - homepage = "https://git.sr.ht/~proycon/clickclack"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ dotlambda ]; - mainProgram = "clickclack"; - }; -} diff --git a/pkgs/tools/misc/clini/default.nix b/pkgs/tools/misc/clini/default.nix deleted file mode 100644 index b6190a1141d9..000000000000 --- a/pkgs/tools/misc/clini/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ fetchCrate, lib, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "clini"; - version = "0.1.0"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-+HnoYFRG7GGef5lV4CUsUzqPzFUzXDajprLu25SCMQo="; - }; - - cargoHash = "sha256-hOPj3c3WIISRqP/9Kpc/Yh9Z/wfAkHQ/731+BkWElIQ="; - - meta = with lib; { - description = "Simple tool to do basic modification of ini files"; - homepage = "https://github.com/domgreen/clini"; - license = licenses.mit; - maintainers = with maintainers; [ Flakebi ]; - mainProgram = "clini"; - }; -} diff --git a/pkgs/tools/misc/clipboard-jh/default.nix b/pkgs/tools/misc/clipboard-jh/default.nix deleted file mode 100644 index 78ba8e6c3ba7..000000000000 --- a/pkgs/tools/misc/clipboard-jh/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, libffi -, pkg-config -, wayland-protocols -, wayland-scanner -, wayland -, xorg -, darwin -, nix-update-script -, alsa-lib -}: - -stdenv.mkDerivation rec { - pname = "clipboard-jh"; - version = "0.9.0.1"; - - src = fetchFromGitHub { - owner = "Slackadays"; - repo = "clipboard"; - rev = version; - hash = "sha256-iILtyURYCshicgAV3MWkgMQsXHe7Unj1A08W7tUMU2o="; - }; - - postPatch = '' - sed -i "/CMAKE_OSX_ARCHITECTURES/d" CMakeLists.txt - ''; - - nativeBuildInputs = [ - cmake - pkg-config - wayland-scanner - ]; - - buildInputs = lib.optionals stdenv.isLinux [ - libffi - wayland-protocols - wayland - xorg.libX11 - alsa-lib - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.AppKit - ]; - - cmakeBuildType = "MinSizeRel"; - - cmakeFlags = [ - "-Wno-dev" - "-DINSTALL_PREFIX=${placeholder "out"}" - ]; - - postFixup = lib.optionalString stdenv.isLinux '' - patchelf $out/bin/cb --add-rpath $out/lib - ''; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Cut, copy, and paste anything, anywhere, all from the terminal"; - homepage = "https://github.com/Slackadays/clipboard"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ dit7ya ]; - platforms = platforms.all; - mainProgram = "cb"; - }; -} diff --git a/pkgs/tools/misc/clipnotify/default.nix b/pkgs/tools/misc/clipnotify/default.nix deleted file mode 100644 index 8f94f974b058..000000000000 --- a/pkgs/tools/misc/clipnotify/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ libX11, libXfixes, lib, stdenv, fetchFromGitHub }: -stdenv.mkDerivation rec { - pname = "clipnotify"; - version = "unstable-2018-02-20"; - - src = fetchFromGitHub { - owner = "cdown"; - repo = "clipnotify"; - rev = "9cb223fbe494c5b71678a9eae704c21a97e3bddd"; - sha256 = "1x9avjq0fgw0svcbw6b6873qnsqxbacls9sipmcv86xia4bxh8dn"; - }; - - buildInputs = [ libX11 libXfixes ]; - - installPhase = '' - mkdir -p $out/bin - cp clipnotify $out/bin - ''; - - meta = with lib; { - description = "Notify on new X clipboard events"; - inherit (src.meta) homepage; - maintainers = with maintainers; [ jb55 ]; - license = licenses.publicDomain; - mainProgram = "clipnotify"; - }; -} diff --git a/pkgs/tools/misc/clipster/default.nix b/pkgs/tools/misc/clipster/default.nix deleted file mode 100644 index 5c9c2cd1054c..000000000000 --- a/pkgs/tools/misc/clipster/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{fetchFromGitHub , lib, stdenv, python3, gtk3, libwnck, - gobject-introspection, wrapGAppsHook3 }: - -stdenv.mkDerivation rec { - pname = "clipster"; - version = "2.1.1"; - - src = fetchFromGitHub { - owner = "mrichar1"; - repo = "clipster"; - rev = version; - sha256 = "sha256-MLLkFsBBQtb7RFQN+uoEmuCn5bnbkYsqoyWGZtTCI2U="; - }; - - pythonEnv = python3.withPackages(ps: with ps; [ pygobject3 ]); - - nativeBuildInputs = [ gobject-introspection ]; - buildInputs = [ pythonEnv gtk3 libwnck wrapGAppsHook3 ]; - - installPhase = '' - sed -i 's/python/python3/g' clipster - mkdir -p $out/bin/ - cp clipster $out/bin/ - ''; - - meta = with lib; { - description = "lightweight python clipboard manager"; - longDescription = '' - Clipster was designed to try to add a good selection of useful features, while avoiding bad design decisions or becoming excessively large. - Its feature list includes: - - Event driven, rather than polling. More efficient, helps with power management. - - Control over when it write to disk, for similar reasons. - - Command-line options/config for everything. - - No global keybindings - that's the job of a Window Manager - - Sensible handling of unusual clipboard events. Some apps (Chrome, Emacs) trigger a clipboard 'update event' for every character you select, rather than just one event when you stop selecting. - - Preserves the last item in clipboard after an application closes. (Many apps clear the clipboard on exit). - - Minimal dependencies, no complicated build/install requirements. - - utf-8 support - - Proper handling of embedded newlines and control codes. - - Smart matching of urls, emails, regexes. (extract_*) - - Option to synchronise the SELECTION and CLIPBOARD clipboards. (sync_selections) - - Option to track one or both clipboards. (active_selections) - - Option to ignore clipboard updates form certain applications. (filter_classes) - - Ability to delete items in clipboard history. - ''; - license = licenses.agpl3Only; - homepage = "https://github.com/mrichar1/clipster"; - platforms = platforms.linux; - maintainers = [ maintainers.magnetophon ]; - mainProgram = "clipster"; - }; -} diff --git a/pkgs/tools/misc/cloc/default.nix b/pkgs/tools/misc/cloc/default.nix deleted file mode 100644 index 39215caa63a5..000000000000 --- a/pkgs/tools/misc/cloc/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages }: - -let version = "2.02"; -in stdenv.mkDerivation { - pname = "cloc"; - inherit version; - - src = fetchFromGitHub { - owner = "AlDanial"; - repo = "cloc"; - rev = "v${version}"; - sha256 = "sha256-qTrBCCC2J8Ewt6GvYlnXU8F1iB31A1xTFXdkee8L0Os="; - }; - - setSourceRoot = '' - sourceRoot=$(echo */Unix) - ''; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = with perlPackages; [ - perl - AlgorithmDiff - ParallelForkManager - RegexpCommon - ]; - - makeFlags = [ "prefix=" "DESTDIR=$(out)" "INSTALL=install" ]; - - postFixup = "wrapProgram $out/bin/cloc --prefix PERL5LIB : $PERL5LIB"; - - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - - echo -n 'checking --version...' - $out/bin/cloc --version | grep '${version}' > /dev/null - echo ' ok' - - cat > test.nix <<EOF - {a, b}: { - test = a - + b; - } - EOF - - echo -n 'checking lines in test.nix...' - $out/bin/cloc --quiet --csv test.nix | grep '1,Nix,0,0,4' > /dev/null - echo ' ok' - - runHook postInstallCheck - ''; - - meta = { - description = "Program that counts lines of source code"; - homepage = "https://github.com/AlDanial/cloc"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.all; - maintainers = with lib.maintainers; [ rycee ]; - mainProgram = "cloc"; - }; -} diff --git a/pkgs/tools/misc/clolcat/default.nix b/pkgs/tools/misc/clolcat/default.nix deleted file mode 100644 index 5ba22c69b41b..000000000000 --- a/pkgs/tools/misc/clolcat/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ stdenv -, fetchFromGitHub -, lib -}: - -stdenv.mkDerivation rec { - pname = "clolcat"; - version = "1.1"; - - src = fetchFromGitHub { - owner = "IchMageBaume"; - repo = "clolcat"; - rev = version; - sha256 = "sha256-fLa239dwEXe4Jyy5ntgfU9V0h5wrBsvq6/s2HCis7Sc="; - }; - - preInstall = "mkdir -p $out/bin"; - - makeFlags = [ "DESTDIR=$(out)/bin" ]; - - meta = with lib; { - description = "Much faster lolcat"; - homepage = "https://github.com/IchMageBaume/clolcat"; - platforms = platforms.all; - maintainers = [ maintainers.felipeqq2 ]; - license = licenses.wtfpl; - mainProgram = "clolcat"; - }; -} diff --git a/pkgs/tools/misc/cloud-utils/default.nix b/pkgs/tools/misc/cloud-utils/default.nix deleted file mode 100644 index 294746ae9a36..000000000000 --- a/pkgs/tools/misc/cloud-utils/default.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, gitUpdater -, makeWrapper -, gawk -, gnused -, util-linux -, file -, wget -, python3 -, qemu-utils -, e2fsprogs -, cdrkit -, gptfdisk -}: -let - # according to https://packages.debian.org/sid/cloud-image-utils + https://packages.debian.org/sid/admin/cloud-guest-utils - guestDeps = [ - e2fsprogs - gptfdisk - gawk - gnused - util-linux - ]; - binDeps = guestDeps ++ [ - wget - file - qemu-utils - cdrkit - ]; -in -stdenv.mkDerivation rec { - # NOTICE: if you bump this, make sure to run - # $ nix-build nixos/release-combined.nix -A nixos.tests.ec2-nixops - # growpart is needed in initrd in nixos/system/boot/grow-partition.nix - pname = "cloud-utils"; - version = "0.33"; - src = fetchFromGitHub { - owner = "canonical"; - repo = "cloud-utils"; - rev = "refs/tags/${version}"; - hash = "sha256-YqfkmYclPZu6Mc2bFYxtiuH7uvfa3V4YlD0aHuKn1hw="; - }; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ python3 ]; - installFlags = [ "LIBDIR=$(out)/lib" "BINDIR=$(out)/bin" "MANDIR=$(out)/man/man1" "DOCDIR=$(out)/doc" ]; - - # $guest output contains all executables needed for cloud-init and $out the rest + $guest - # This is similar to debian's package split into cloud-image-utils and cloud-guest-utils - # The reason is to reduce the closure size - outputs = [ "out" "guest" ]; - - postFixup = '' - moveToOutput bin/ec2metadata $guest - moveToOutput bin/growpart $guest - moveToOutput bin/vcs-run $guest - - for i in $out/bin/*; do - wrapProgram $i --prefix PATH : "${lib.makeBinPath binDeps}:$out/bin" - done - - for i in $guest/bin/*; do - wrapProgram $i --prefix PATH : "${lib.makeBinPath guestDeps}:$guest/bin" - ln -s $i $out/bin - done - ''; - - dontBuild = true; - - passthru.updateScript = gitUpdater { }; - - meta = with lib; { - description = "Useful set of utilities for interacting with a cloud"; - homepage = "https://github.com/canonical/cloud-utils"; - platforms = platforms.unix; - license = licenses.gpl3; - }; -} diff --git a/pkgs/tools/misc/clpeak/clpeak-clhpp2.diff b/pkgs/tools/misc/clpeak/clpeak-clhpp2.diff deleted file mode 100644 index aed9112682b8..000000000000 --- a/pkgs/tools/misc/clpeak/clpeak-clhpp2.diff +++ /dev/null @@ -1,72 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 86fec9e..b9d0341 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -22,7 +22,7 @@ elseif(WIN32 AND ${OpenCL_LIBRARIES} MATCHES "OpenCL.lib") - set(OpenCL_LIBRARIES ${OpenCL_LIBRARIES} cfgmgr32.lib) - endif() - --FIND_PATH(HPP_FOUND CL/cl.hpp PATHS ${OpenCL_INCLUDE_DIRS}) -+FIND_PATH(HPP_FOUND CL/cl2.hpp PATHS ${OpenCL_INCLUDE_DIRS}) - if(NOT HPP_FOUND) - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") - include(BuildCLHpp) -diff --git a/include/clpeak.h b/include/clpeak.h -index c090d31..0d9d5e2 100644 ---- a/include/clpeak.h -+++ b/include/clpeak.h -@@ -1,14 +1,10 @@ - #ifndef CLPEAK_HPP - #define CLPEAK_HPP - --#define __CL_ENABLE_EXCEPTIONS -- --#include <CL/cl.hpp> -- - #include <iostream> - #include <stdio.h> - #include <iomanip> --#include <string.h> -+#include <string> - #include <sstream> - #include <common.h> - #include <logger.h> -diff --git a/include/common.h b/include/common.h -index 91318cb..6aaca04 100644 ---- a/include/common.h -+++ b/include/common.h -@@ -1,7 +1,11 @@ - #ifndef COMMON_H - #define COMMON_H - --#include <CL/cl.hpp> -+#define CL_HPP_ENABLE_EXCEPTIONS -+#define CL_HPP_MINIMUM_OPENCL_VERSION 120 -+#define CL_HPP_TARGET_OPENCL_VERSION 120 -+#include <CL/cl2.hpp> -+ - #if defined(__APPLE__) || defined(__MACOSX) || defined(__FreeBSD__) - #include <sys/types.h> - #endif -diff --git a/src/clpeak.cpp b/src/clpeak.cpp -index 8708463..4a47842 100644 ---- a/src/clpeak.cpp -+++ b/src/clpeak.cpp -@@ -3,7 +3,7 @@ - - #define MSTRINGIFY(...) #__VA_ARGS__ - --static const char *stringifiedKernels = -+static const std::string stringifiedKernels = - #include "global_bandwidth_kernels.cl" - #include "compute_sp_kernels.cl" - #include "compute_hp_kernels.cl" -@@ -65,7 +65,7 @@ int clPeak::runAll() - - cl::Context ctx(CL_DEVICE_TYPE_ALL, cps); - vector<cl::Device> devices = ctx.getInfo<CL_CONTEXT_DEVICES>(); -- cl::Program::Sources source(1, make_pair(stringifiedKernels, (strlen(stringifiedKernels) + 1))); -+ cl::Program::Sources source(1, stringifiedKernels); - cl::Program prog = cl::Program(ctx, source); - - for (size_t d = 0; d < devices.size(); d++) diff --git a/pkgs/tools/misc/clpeak/default.nix b/pkgs/tools/misc/clpeak/default.nix deleted file mode 100644 index 6060a2078113..000000000000 --- a/pkgs/tools/misc/clpeak/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, ocl-icd, opencl-clhpp }: - -stdenv.mkDerivation rec { - pname = "clpeak"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "krrishnarraj"; - repo = "clpeak"; - rev = version; - fetchSubmodules = true; - sha256 = "1wkjpvn4r89c3y06rv7gfpwpqw6ljmqwz0w0mljl9y5hn1r4pkx2"; - }; - - patches = [ - # The cl.hpp header was removed from opencl-clhpp. This patch - # updates clpeak to use the new cp2.hpp header. The patch comes - # from the following PR and was updated to apply against more - # recent versions: https://github.com/krrishnarraj/clpeak/pull/46 - ./clpeak-clhpp2.diff - ]; - - nativeBuildInputs = [ cmake ]; - - buildInputs = [ ocl-icd opencl-clhpp ]; - - meta = with lib; { - description = "Tool which profiles OpenCL devices to find their peak capacities"; - homepage = "https://github.com/krrishnarraj/clpeak/"; - license = licenses.unlicense; - maintainers = [ ]; - mainProgram = "clpeak"; - }; -} diff --git a/pkgs/tools/misc/clubhouse-cli/default.nix b/pkgs/tools/misc/clubhouse-cli/default.nix deleted file mode 100644 index 8e44b2c0cec8..000000000000 --- a/pkgs/tools/misc/clubhouse-cli/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -}: - -buildNpmPackage rec { - pname = "clubhouse-cli"; - version = "2.7.0"; - - src = fetchFromGitHub { - owner = "andjosh"; - repo = "clubhouse-cli"; - rev = "v${version}"; - hash = "sha256-OGUEPWKL3GBIQHEDljX1gXMRDEztIrJT5ivAIcyW91k="; - }; - - npmDepsHash = "sha256-QlCLEvmqLVkWwgTVlToYD6bptLp/MVfQ10Wdfr3PIr4="; - - meta = { - description = "Command line tool for viewing, creating and updating clubhouse.io stories"; - homepage = "https://github.com/andjosh/clubhouse-cli"; - changelog = "https://github.com/andjosh/clubhouse-cli/blob/${src.rev}/CHANGELOG.md"; - license = lib.licenses.mit; - mainProgram = "club"; - maintainers = with lib.maintainers; [ tobim ]; - }; -} diff --git a/pkgs/tools/misc/cod/default.nix b/pkgs/tools/misc/cod/default.nix deleted file mode 100644 index eba78d6c2263..000000000000 --- a/pkgs/tools/misc/cod/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, buildGoModule, python3 }: - -buildGoModule rec { - pname = "cod"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "dim-an"; - repo = pname; - rev = "v${version}"; - hash = "sha256-mT7OkR8fXXTE3TPx9AmH6ehKGLk4CP9euBPs2zVAJnI="; - }; - - vendorHash = "sha256-kezfBDTgpOTBYKTNlwuP+M5tXU2w/MXz0B5nBJcL1io="; - - ldflags = [ "-s" "-w" "-X main.GitSha=${src.rev}" ]; - - nativeCheckInputs = [ python3 ]; - - preCheck = '' - pushd test/binaries/ - for f in *.py; do - patchShebangs ''$f - done - popd - export COD_TEST_BINARY="''${NIX_BUILD_TOP}/go/bin/cod" - - substituteInPlace test/learn_test.go --replace TestLearnArgparseSubCommand SkipLearnArgparseSubCommand - ''; - - meta = with lib; { - description = "Tool for generating Bash/Fish/Zsh autocompletions based on `--help` output"; - homepage = "https://github.com/dim-an/cod/"; - license = licenses.asl20; - maintainers = with maintainers; [ SuperSandro2000 ]; - broken = stdenv.isDarwin; - mainProgram = "cod"; - }; -} diff --git a/pkgs/tools/misc/code-minimap/default.nix b/pkgs/tools/misc/code-minimap/default.nix deleted file mode 100644 index db58ede25abf..000000000000 --- a/pkgs/tools/misc/code-minimap/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, libiconv -}: - -rustPlatform.buildRustPackage rec { - pname = "code-minimap"; - version = "0.6.7"; - - src = fetchFromGitHub { - owner = "wfxr"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-d9qcSSiRv1I7NYuLrra5ShIUXT2HVeHGD0WPb+dnQCc="; - }; - - cargoHash = "sha256-5/UgEzkJw9XDgtS1jKyWh5ijTp3L+UQLuE5CXcyIgTs="; - - buildInputs = lib.optional stdenv.isDarwin libiconv; - - meta = with lib; { - description = "High performance code minimap render"; - homepage = "https://github.com/wfxr/code-minimap"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ bsima ]; - mainProgram = "code-minimap"; - }; -} diff --git a/pkgs/tools/misc/codebraid/default.nix b/pkgs/tools/misc/codebraid/default.nix deleted file mode 100644 index 516dd66cf01b..000000000000 --- a/pkgs/tools/misc/codebraid/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: - -python3Packages.buildPythonApplication rec { - pname = "codebraid"; - version = "0.11.0"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "gpoore"; - repo = pname; - rev = "v${version}"; - hash = "sha256-E9vzGK9ZEVwF+UBpSkdM+hm6vINen/A+LgnnPpc77QQ="; - }; - - nativeBuildInputs = with python3Packages; [ setuptools ]; - propagatedBuildInputs = with python3Packages; [ bespon ]; - # unfortunately upstream doesn't contain tests - checkPhase = '' - $out/bin/codebraid --help > /dev/null - ''; - meta = with lib; { - homepage = "https://github.com/gpoore/codebraid"; - description = '' - Live code in Pandoc Markdown. - - Codebraid is a Python program that enables executable code in Pandoc - Markdown documents. Using Codebraid can be as simple as adding a class to - your code blocks' attributes, and then running codebraid rather than - pandoc to convert your document from Markdown to another format. - codebraid supports almost all of pandoc's options and passes them to - pandoc internally. - - Codebraid provides two options for executing code. It includes a built-in - code execution system that currently supports Python 3.5+, Julia, Rust, - R, Bash, and JavaScript. Code can also be executed using Jupyter kernels, - with support for rich output like plots. - ''; - license = licenses.bsd3; - maintainers = with maintainers; [ synthetica ]; - mainProgram = "codebraid"; - }; -} diff --git a/pkgs/tools/misc/codemov/default.nix b/pkgs/tools/misc/codemov/default.nix deleted file mode 100644 index 2134a7300f13..000000000000 --- a/pkgs/tools/misc/codemov/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, makeBinaryWrapper -, pkg-config -, oniguruma -, ffmpeg -, git -}: - -rustPlatform.buildRustPackage { - pname = "codemov"; - version = "unstable-2023-08-08"; - - src = fetchFromGitHub { - owner = "sloganking"; - repo = "codemov"; - rev = "8a4d6e50c21010866ca06f845f30c2aa54c09854"; - hash = "sha256-nOqh8kXS5mx0AM4NvIcwvC0lAZRHsQwrxI0c+9PeroU="; - }; - - cargoHash = "sha256-whGTGJQIjdg/tIm5sZsBs0sbwiRuFIfgYvizmL+sQCE="; - - cargoPatches = [ - # fix build with rust 1.80 by updating time crate version - # https://github.com/sloganking/codemov/pull/16 - ./fix-build-with-rust-1.80.patch - ]; - - nativeBuildInputs = [ - makeBinaryWrapper - pkg-config - ]; - - buildInputs = [ - oniguruma - ]; - - env = { - RUSTONIG_SYSTEM_LIBONIG = true; - }; - - postInstall = '' - wrapProgram $out/bin/codemov \ - --prefix PATH : ${lib.makeBinPath [ ffmpeg git ]} - ''; - - meta = with lib; { - description = "Create a video of how a git repository's code changes over time"; - homepage = "https://github.com/sloganking/codemov"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "codemov"; - }; -} diff --git a/pkgs/tools/misc/codemov/fix-build-with-rust-1.80.patch b/pkgs/tools/misc/codemov/fix-build-with-rust-1.80.patch deleted file mode 100644 index 9fd6b7d6fc24..000000000000 --- a/pkgs/tools/misc/codemov/fix-build-with-rust-1.80.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff --git a/Cargo.lock b/Cargo.lock -index a4c40ab..b3451ea 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -378,9 +378,12 @@ dependencies = [ - - [[package]] - name = "deranged" --version = "0.3.7" -+version = "0.3.11" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "7684a49fb1af197853ef7b2ee694bc1f5b4179556f1e5710e1760c5db6f5e929" -+checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -+dependencies = [ -+ "powerfmt", -+] - - [[package]] - name = "either" -@@ -811,6 +814,12 @@ dependencies = [ - "getrandom", - ] - -+[[package]] -+name = "num-conv" -+version = "0.1.0" -+source = "registry+https://github.com/rust-lang/crates.io-index" -+checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" -+ - [[package]] - name = "num-integer" - version = "0.1.45" -@@ -1007,6 +1016,12 @@ dependencies = [ - "miniz_oxide", - ] - -+[[package]] -+name = "powerfmt" -+version = "0.2.0" -+source = "registry+https://github.com/rust-lang/crates.io-index" -+checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" -+ - [[package]] - name = "proc-macro2" - version = "1.0.66" -@@ -1185,18 +1200,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - - [[package]] - name = "serde" --version = "1.0.183" -+version = "1.0.193" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c" -+checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" - dependencies = [ - "serde_derive", - ] - - [[package]] - name = "serde_derive" --version = "1.0.183" -+version = "1.0.193" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816" -+checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" - dependencies = [ - "proc-macro2", - "quote", -@@ -1356,12 +1371,14 @@ dependencies = [ - - [[package]] - name = "time" --version = "0.3.25" -+version = "0.3.36" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea" -+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" - dependencies = [ - "deranged", - "itoa", -+ "num-conv", -+ "powerfmt", - "serde", - "time-core", - "time-macros", -@@ -1369,16 +1386,17 @@ dependencies = [ - - [[package]] - name = "time-core" --version = "0.1.1" -+version = "0.1.2" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" -+checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - - [[package]] - name = "time-macros" --version = "0.2.11" -+version = "0.2.18" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd" -+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" - dependencies = [ -+ "num-conv", - "time-core", - ] - diff --git a/pkgs/tools/misc/codevis/default.nix b/pkgs/tools/misc/codevis/default.nix deleted file mode 100644 index 3ef5e899b4ac..000000000000 --- a/pkgs/tools/misc/codevis/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, oniguruma -}: - -rustPlatform.buildRustPackage rec { - pname = "codevis"; - version = "0.8.4"; - - src = fetchFromGitHub { - owner = "sloganking"; - repo = "codevis"; - rev = "v${version}"; - hash = "sha256-LZ6NsoyEPUvgcVdbG7U2Vzuz/TLLraScvW97PocUNpU="; - }; - - cargoHash = "sha256-sQKZJVnRs4IcBKmmaQDoJYBQtnuZW4aEICr6Xa8Flnk="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - oniguruma - ]; - - env = { - RUSTONIG_SYSTEM_LIBONIG = true; - }; - - meta = with lib; { - description = "Tool to take all source code in a folder and render them to one image"; - homepage = "https://github.com/sloganking/codevis"; - changelog = "https://github.com/sloganking/codevis/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "codevis"; - }; -} diff --git a/pkgs/tools/misc/coinlive/default.nix b/pkgs/tools/misc/coinlive/default.nix index 2db008551c8b..564f19f85b97 100644 --- a/pkgs/tools/misc/coinlive/default.nix +++ b/pkgs/tools/misc/coinlive/default.nix @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; diff --git a/pkgs/tools/misc/colord-gtk/default.nix b/pkgs/tools/misc/colord-gtk/default.nix deleted file mode 100644 index 6f7e41964247..000000000000 --- a/pkgs/tools/misc/colord-gtk/default.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ lib -, stdenv -, fetchurl -, colord -, gettext -, meson -, ninja -, gobject-introspection -, gtk-doc -, docbook-xsl-ns -, docbook-xsl-nons -, docbook_xml_dtd_412 -, libxslt -, glib -, withGtk4 ? false -, gtk3 -, gtk4 -, pkg-config -, lcms2 -}: - -stdenv.mkDerivation rec { - pname = "colord-gtk"; - version = "0.3.1"; - - outputs = [ "out" "dev" "devdoc" ]; - - src = fetchurl { - url = "https://www.freedesktop.org/software/colord/releases/colord-gtk-${version}.tar.xz"; - sha256 = "wXa4ibdWMKF/Tj1+8kwJo+EjaOYzSWCHRZyLU6w6Ei0="; - }; - - nativeBuildInputs = [ - pkg-config - gettext - meson - ninja - gobject-introspection - gtk-doc - docbook-xsl-ns - docbook-xsl-nons - docbook_xml_dtd_412 - libxslt - ]; - - buildInputs = [ - glib - lcms2 - ]; - - propagatedBuildInputs = [ - colord - ] ++ (if withGtk4 then [ - gtk4 - ] else [ - gtk3 - ]); - - mesonFlags = [ - "-Dgtk4=${lib.boolToString withGtk4}" - "-Dgtk3=${lib.boolToString (!withGtk4)}" - ]; - - meta = with lib; { - homepage = "https://www.freedesktop.org/software/colord/intro.html"; - license = licenses.lgpl21Plus; - maintainers = teams.gnome.members; - platforms = platforms.linux; - mainProgram = "cd-convert"; - }; -} diff --git a/pkgs/tools/misc/colord/default.nix b/pkgs/tools/misc/colord/default.nix deleted file mode 100644 index 986babbf2867..000000000000 --- a/pkgs/tools/misc/colord/default.nix +++ /dev/null @@ -1,121 +0,0 @@ -{ lib -, stdenv -, fetchurl -, nixosTests -, bash-completion -, glib -, polkit -, pkg-config -, gettext -, gusb -, lcms2 -, sqlite -, systemd -, dbus -, gobject-introspection -, argyllcms -, meson -, mesonEmulatorHook -, ninja -, vala -, libgudev -, wrapGAppsNoGuiHook -, shared-mime-info -, sane-backends -, docbook_xsl -, docbook_xsl_ns -, docbook_xml_dtd_412 -, gtk-doc -, libxslt -, enableDaemon ? true -}: - -stdenv.mkDerivation rec { - pname = "colord"; - version = "1.4.6"; - - outputs = [ "out" "dev" "devdoc" "man" "installedTests" ]; - - src = fetchurl { - url = "https://www.freedesktop.org/software/colord/releases/colord-${version}.tar.xz"; - sha256 = "dAdjGie/5dG2cueuQndwAcEF2GC3tzkig8jGMA3ojm8="; - }; - - patches = [ - # Put installed tests into its own output - ./installed-tests-path.patch - ]; - - postPatch = '' - for file in data/tests/meson.build lib/colord/cd-test-shared.c lib/colord/meson.build; do - substituteInPlace $file --subst-var-by installed_tests_dir "$installedTests" - done - ''; - - mesonFlags = [ - "--localstatedir=/var" - "-Dinstalled_tests=true" - "-Dlibcolordcompat=true" - "-Dsane=true" - "-Dvapi=true" - "-Ddaemon=${lib.boolToString enableDaemon}" - "-Ddaemon_user=colord" - ]; - - nativeBuildInputs = [ - docbook_xml_dtd_412 - docbook_xsl - docbook_xsl_ns - gettext - gobject-introspection - gtk-doc - libxslt - meson - ninja - pkg-config - shared-mime-info - vala - wrapGAppsNoGuiHook - ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ - mesonEmulatorHook - ]; - - buildInputs = [ - argyllcms - bash-completion - dbus - glib - gusb - lcms2 - libgudev - sane-backends - sqlite - systemd - ] ++ lib.optionals enableDaemon [ - polkit - ]; - - postInstall = '' - glib-compile-schemas $out/share/glib-2.0/schemas - ''; - - PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system"; - PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user"; - PKG_CONFIG_SYSTEMD_TMPFILESDIR = "${placeholder "out"}/lib/tmpfiles.d"; - PKG_CONFIG_BASH_COMPLETION_COMPLETIONSDIR = "${placeholder "out"}/share/bash-completion/completions"; - PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev"; - - passthru = { - tests = { - installedTests = nixosTests.installed-tests.colord; - }; - }; - - meta = with lib; { - description = "System service to manage, install and generate color profiles to accurately color manage input and output devices"; - homepage = "https://www.freedesktop.org/software/colord/"; - license = licenses.lgpl2Plus; - maintainers = [ maintainers.marcweber ] ++ teams.freedesktop.members; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/colord/installed-tests-path.patch b/pkgs/tools/misc/colord/installed-tests-path.patch deleted file mode 100644 index 6d91cbbcb022..000000000000 --- a/pkgs/tools/misc/colord/installed-tests-path.patch +++ /dev/null @@ -1,72 +0,0 @@ -diff --git a/data/tests/meson.build b/data/tests/meson.build -index 8b38f10..250582c 100644 ---- a/data/tests/meson.build -+++ b/data/tests/meson.build -@@ -17,6 +17,6 @@ if get_option('installed_tests') - 'test.ccss', - 'test.sp', - ], -- install_dir: join_paths(libexecdir, 'installed-tests', 'colord') -+ install_dir: join_paths('@installed_tests_dir@', 'libexec', 'installed-tests', 'colord') - ) - endif -diff --git a/lib/colord/cd-test-shared.c b/lib/colord/cd-test-shared.c -index c3b9d23..7577e13 100644 ---- a/lib/colord/cd-test-shared.c -+++ b/lib/colord/cd-test-shared.c -@@ -45,7 +45,8 @@ cd_test_get_filename (const gchar *filename) - - /* running in the installed system */ - if (g_getenv ("INSTALLED_TESTS") != NULL) { -- return g_build_filename (LIBEXECDIR, -+ return g_build_filename ("@installed_tests_dir@", -+ "libexec", - "installed-tests", - PACKAGE_NAME, - filename, -diff --git a/lib/colord/meson.build b/lib/colord/meson.build -index 61f0518..df71358 100644 ---- a/lib/colord/meson.build -+++ b/lib/colord/meson.build -@@ -214,20 +214,20 @@ endif - if get_option('installed_tests') - con2 = configuration_data() - con2.set('installedtestsdir', -- join_paths(libexecdir, 'installed-tests', 'colord')) -+ join_paths('@installed_tests_dir@', 'libexec', 'installed-tests', 'colord')) - configure_file( - input : 'colord-daemon.test.in', - output : 'colord-daemon.test', - configuration : con2, - install: true, -- install_dir: join_paths('share', 'installed-tests', 'colord'), -+ install_dir: join_paths('@installed_tests_dir@', 'share', 'installed-tests', 'colord'), - ) - configure_file( - input : 'colord-private.test.in', - output : 'colord-private.test', - configuration : con2, - install: true, -- install_dir: join_paths('share', 'installed-tests', 'colord'), -+ install_dir: join_paths('@installed_tests_dir@', 'share', 'installed-tests', 'colord'), - ) - endif - -@@ -254,7 +254,7 @@ if get_option('tests') - '-DTESTDATADIR="' + testdatadir + '"', - ], - install : get_option('installed_tests'), -- install_dir : join_paths(libexecdir, 'installed-tests', 'colord'), -+ install_dir : join_paths('@installed_tests_dir@','libexec', 'installed-tests', 'colord'), - ) - test('colord-test-private', e) - e = executable( -@@ -278,7 +278,7 @@ if get_option('tests') - '-DTESTDATADIR="' + testdatadir + '"', - ], - install : get_option('installed_tests'), -- install_dir : join_paths(libexecdir, 'installed-tests', 'colord'), -+ install_dir : join_paths('@installed_tests_dir@', 'libexec', 'installed-tests', 'colord'), - ) - test('colord-test-daemon', e) - endif diff --git a/pkgs/tools/misc/colorless/default.nix b/pkgs/tools/misc/colorless/default.nix deleted file mode 100644 index 024b70343e2a..000000000000 --- a/pkgs/tools/misc/colorless/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, fetchurl -, stdenvNoCC -, coreutils -, bash -, binSh ? "${bash}/bin/bash" -, gnused -, less -}: - -stdenvNoCC.mkDerivation rec { - pname = "colorless"; - version = "109"; - - src = fetchurl { - url = "http://software.kimmo.suominen.com/colorless-${version}.tar.gz"; - sha256 = "039a140fa11cf153cc4d03e4f753b7ff142cab88ff116b7600ccf9edee81927c"; - }; - - makeFlags = [ - "TOOLPATH=${lib.makeBinPath [ coreutils gnused less ]}" - "PREFIX=$(out)" - "SHELL=${binSh}" - ]; - - preInstall = '' - mkdir -p $out/bin $out/share/man/man1 - ''; - - postInstall = '' - install -Dm644 -t $out/share/doc/colorless LICENSE README.md - ''; - - strictDeps = true; - - meta = with lib; { - homepage = "https://kimmo.suominen.com/sw/colorless"; - description = "Enable colorised command output and pipe it to less"; - longDescription = '' - colorless is a wrapper that enables colorised output of commands and - pipes the output to less(1). - ''; - license = licenses.bsd2; - maintainers = with maintainers; [ suominen ]; - platforms = platforms.unix; - mainProgram = "colorless"; - }; -} diff --git a/pkgs/tools/misc/colorpanes/default.nix b/pkgs/tools/misc/colorpanes/default.nix deleted file mode 100644 index 72209cf217a9..000000000000 --- a/pkgs/tools/misc/colorpanes/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, rustPlatform, fetchFromGitea }: - -rustPlatform.buildRustPackage rec { - pname = "colorpanes"; - version = "3.0.1"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "annaaurora"; - repo = pname; - rev = "v${version}"; - sha256 = "qaOH+LXNDq+utwyI1yzHWNt25AvdAXCTAziGV9ElroU="; - }; - - cargoHash = "sha256-eJne4OmV4xHxntTb8HE+2ghX1hZLE3WQ3QqsjVm9E4M="; - - postInstall = '' - ln -s $out/bin/colp $out/bin/colorpanes - ''; - - meta = with lib; { - description = "Panes in the 8 bright terminal colors with shadows of the respective darker color"; - homepage = "https://codeberg.org/annaaurora/colorpanes"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ annaaurora ]; - }; -} diff --git a/pkgs/tools/misc/colorpicker/default.nix b/pkgs/tools/misc/colorpicker/default.nix deleted file mode 100644 index 8b45da17626c..000000000000 --- a/pkgs/tools/misc/colorpicker/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, gtk2 }: - -stdenv.mkDerivation rec { - pname = "colorpicker"; - version = "unstable-2017-09-01"; - - src = fetchFromGitHub { - owner = "Jack12816"; - repo = "colorpicker"; - rev = "a4455b92fde1dfbac81e7852f171093932154a30"; - sha256 = "z2asxTIP8WcsWcePmIg0k4bOF2JwkqOxNqSpQv4/a40="; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ gtk2 ]; - - installPhase = '' - install -Dt $out/bin colorpicker - ''; - - meta = with lib; { - description = "Click on a pixel on your screen and print its color value in RGB"; - homepage = "https://github.com/Jack12816/colorpicker"; - maintainers = with maintainers; [ jb55 ]; - license = licenses.mit; - mainProgram = "colorpicker"; - }; -} diff --git a/pkgs/tools/misc/colorz/default.nix b/pkgs/tools/misc/colorz/default.nix deleted file mode 100644 index f60843afcfb0..000000000000 --- a/pkgs/tools/misc/colorz/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "colorz"; - version = "1.0.3"; - - src = fetchPypi { - inherit pname version; - sha256 = "0ghd90lgplf051fs5n5bb42zffd3fqpgzkbv6bhjw7r8jqwgcky0"; - }; - - propagatedBuildInputs = with python3Packages; [ pillow scipy ]; - - checkPhase = '' - $out/bin/colorz --help > /dev/null - ''; - - meta = with lib; { - description = "Color scheme generator"; - homepage = "https://github.com/metakirby5/colorz"; - license = licenses.mit; - maintainers = with maintainers; [ skykanin ]; - mainProgram = "colorz"; - }; -} diff --git a/pkgs/tools/misc/compdb/default.nix b/pkgs/tools/misc/compdb/default.nix deleted file mode 100644 index 0a5e689bb4b8..000000000000 --- a/pkgs/tools/misc/compdb/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "compdb"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "Sarcasm"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-nFAgTrup6V5oE+LP4UWDOCgTVCv2v9HbQbkGW+oDnTg="; - }; - - meta = with lib; { - description = "Command line tool to manipulate compilation databases"; - license = licenses.mit; - homepage = "https://github.com/Sarcasm/compdb"; - maintainers = [ maintainers.detegr ]; - mainProgram = "compdb"; - }; -} diff --git a/pkgs/tools/misc/complete-alias/default.nix b/pkgs/tools/misc/complete-alias/default.nix deleted file mode 100644 index fdf0c1ae0ab2..000000000000 --- a/pkgs/tools/misc/complete-alias/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, fetchFromGitHub -, stdenvNoCC -}: - -stdenvNoCC.mkDerivation rec { - pname = "complete-alias"; - version = "1.18.0"; - - src = fetchFromGitHub { - owner = "cykerway"; - repo = pname; - rev = version; - sha256 = "18lmdb3inphxyjv08ing5wckqnjq0m5zfl0f15mqzlvf2ypar63x"; - }; - - buildPhase = '' - runHook preBuild - - # required for the patchShebangs setup hook - chmod +x complete_alias - - patchShebangs complete_alias - - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp -r complete_alias "$out"/bin - - runHook postInstall - ''; - - meta = with lib; { - description = "Automagical shell alias completion"; - homepage = "https://github.com/cykerway/complete-alias"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ tuxinaut ]; - mainProgram = "complete_alias"; - }; -} diff --git a/pkgs/tools/misc/completely/Gemfile b/pkgs/tools/misc/completely/Gemfile deleted file mode 100644 index bfae92920327..000000000000 --- a/pkgs/tools/misc/completely/Gemfile +++ /dev/null @@ -1,2 +0,0 @@ -source 'https://rubygems.org' -gem 'completely' diff --git a/pkgs/tools/misc/completely/Gemfile.lock b/pkgs/tools/misc/completely/Gemfile.lock deleted file mode 100644 index 656c96cbc40c..000000000000 --- a/pkgs/tools/misc/completely/Gemfile.lock +++ /dev/null @@ -1,20 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - colsole (0.8.2) - completely (0.5.2) - colsole (~> 0.6) - mister_bin (~> 0.7.2) - docopt (0.6.1) - mister_bin (0.7.3) - colsole (~> 0.7) - docopt (~> 0.6) - -PLATFORMS - ruby - -DEPENDENCIES - completely - -BUNDLED WITH - 2.4.5 diff --git a/pkgs/tools/misc/completely/default.nix b/pkgs/tools/misc/completely/default.nix deleted file mode 100644 index 326887299c0c..000000000000 --- a/pkgs/tools/misc/completely/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib -, bundlerApp -, bundlerUpdateScript -}: - -bundlerApp { - pname = "completely"; - - gemdir = ./.; - exes = [ "completely" ]; - - passthru.updateScript = bundlerUpdateScript "completely"; - - meta = with lib; { - description = "Generate bash completion scripts using a simple configuration file"; - homepage = "https://github.com/DannyBen/completely"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ zendo ]; - mainProgram = "completely"; - }; -} diff --git a/pkgs/tools/misc/completely/gemset.nix b/pkgs/tools/misc/completely/gemset.nix deleted file mode 100644 index a078a113f6d4..000000000000 --- a/pkgs/tools/misc/completely/gemset.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ - colsole = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1l29sxy4p9jbvcihckxfsyqx98b8xwzd3hjqvdh1zxw8nv5walnp"; - type = "gem"; - }; - version = "0.8.2"; - }; - completely = { - dependencies = ["colsole" "mister_bin"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0w7cmmsp9m42c8w4j03kr98zy7x7yszw3qsm3ww600dmc0d0xd2b"; - type = "gem"; - }; - version = "0.5.2"; - }; - docopt = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0rvlfbb7kzyagncm4zdpcjwrh682zamgf5rcf5qmj0bd6znkgy3k"; - type = "gem"; - }; - version = "0.6.1"; - }; - mister_bin = { - dependencies = ["colsole" "docopt"]; - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "1f51zs9wjpslhdadp8yfx4ij0jj1ya92cbzqlfd2wfr19wdr2jgd"; - type = "gem"; - }; - version = "0.7.3"; - }; -} diff --git a/pkgs/tools/misc/conserver/default.nix b/pkgs/tools/misc/conserver/default.nix deleted file mode 100644 index ca066c834b8a..000000000000 --- a/pkgs/tools/misc/conserver/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, autoreconfHook -, libxcrypt -, gssapiSupport ? false -, libkrb5 -, freeipmiSupport ? false -, freeipmi -, ipv6Support ? true -, opensslSupport ? true -, openssl -, trustUdsCredSupport ? false -, udsSupport ? false -}: - -stdenv.mkDerivation rec { - pname = "conserver"; - version = "8.2.7"; - - src = fetchFromGitHub { - owner = "bstansell"; - repo = "conserver"; - rev = "v${version}"; - sha256 = "sha256-LiCknqitBoa8E8rNMVgp1004CwkW8G4O5XGKe4NfZI8="; - }; - - # Remove upon next release since upstream is fixed - # https://github.com/bstansell/conserver/pull/82 - patches = [ - (fetchpatch { - url = "https://github.com/bstansell/conserver/commit/84fc79a459e00dbc87b8cfc943c5045bfcc7aeeb.patch"; - sha256 = "sha256:1dy8r9z7rv8512fl0rk5gi1vl02hnh7x0i6flvpcc13h6r6fhxyc"; - }) - ]; - - nativeBuildInputs = [ autoreconfHook ]; - - buildInputs = [ libxcrypt ] - ++ lib.optionals freeipmiSupport [ freeipmi ] - ++ lib.optionals gssapiSupport [ libkrb5 ] - ++ lib.optionals opensslSupport [ openssl ]; - - configureFlags = [ "--with-ccffile=/dev/null" "--with-cffile=/dev/null" ] - ++ lib.optionals freeipmiSupport [ "--with-freeipmi=${freeipmi}/include" ] - ++ lib.optionals gssapiSupport [ "--with-gssapi=${libkrb5.dev}/include" ] - ++ lib.optionals ipv6Support [ "--with-ipv6" ] - ++ lib.optionals opensslSupport [ "--with-openssl=${openssl.dev}/include" ] - ++ lib.optionals trustUdsCredSupport [ "--with-trust-uds-cred" ] - ++ lib.optionals udsSupport [ "--with-uds" ]; - - # Disabled due to exist upstream cases failing 8/15 tests - doCheck = false; - - meta = with lib; { - homepage = "https://www.conserver.com/"; - description = "Application that allows multiple users to watch a serial console at the same time"; - license = licenses.bsd3; - platforms = platforms.unix; - maintainers = with maintainers; [ sarcasticadmin ]; - }; -} diff --git a/pkgs/tools/misc/convbin/default.nix b/pkgs/tools/misc/convbin/default.nix deleted file mode 100644 index 96164902dc2c..000000000000 --- a/pkgs/tools/misc/convbin/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "convbin"; - version = "3.7"; - - src = fetchFromGitHub { - owner = "mateoconlechuga"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-zCRM62xwaPaN8+cg+CeaqK/9hKpZmSBBeUOQqAvQGYw="; - }; - - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile --replace "-flto" "" - ''; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - checkPhase = '' - pushd test - patchShebangs test.sh - ./test.sh - popd - ''; - - doCheck = true; - - installPhase = '' - install -Dm755 bin/convbin $out/bin/convbin - ''; - - meta = with lib; { - description = "Converts files to other formats"; - longDescription = '' - This program is used to convert files to other formats, - specifically for the TI84+CE and related calculators. - ''; - homepage = "https://github.com/mateoconlechuga/convbin"; - license = licenses.bsd3; - maintainers = with maintainers; [ luc65r ]; - platforms = platforms.all; - mainProgram = "convbin"; - }; -} diff --git a/pkgs/tools/misc/convfont/default.nix b/pkgs/tools/misc/convfont/default.nix deleted file mode 100644 index d58f7ecc2bea..000000000000 --- a/pkgs/tools/misc/convfont/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "convfont"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "drdnar"; - repo = pname; - rev = "v20190438"; - sha256 = "1lj24yq5gj9hxhy1srk73521q95zyqzkws0q4v271hf5wmqaxa2f"; - }; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - installPhase = '' - install -Dm755 convfont $out/bin/convfont - ''; - - meta = with lib; { - description = "Converts font for use with FontLibC"; - homepage = "https://github.com/drdnar/convfont"; - license = licenses.wtfpl; - maintainers = with maintainers; [ luc65r ]; - platforms = platforms.all; - mainProgram = "convfont"; - }; -} diff --git a/pkgs/tools/misc/convimg/default.nix b/pkgs/tools/misc/convimg/default.nix deleted file mode 100644 index 561a425dfae9..000000000000 --- a/pkgs/tools/misc/convimg/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "convimg"; - version = "9.4"; - - src = fetchFromGitHub { - owner = "mateoconlechuga"; - repo = pname; - rev = "v${version}"; - hash = "sha256-5insJ391Usef8GF3Yh74PEqE534zitQg9udFRPcz69g="; - fetchSubmodules = true; - }; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - checkPhase = '' - pushd test - patchShebangs test.sh - ./test.sh - popd - ''; - - doCheck = true; - - installPhase = '' - install -Dm755 bin/convimg $out/bin/convimg - ''; - - meta = with lib; { - description = "Image palette quantization"; - longDescription = '' - This program is used to convert images to other formats, - specifically for the TI84+CE and related calculators. - ''; - homepage = "https://github.com/mateoconlechuga/convimg"; - license = licenses.bsd3; - maintainers = with maintainers; [ luc65r ]; - platforms = platforms.linux; - mainProgram = "convimg"; - }; -} diff --git a/pkgs/tools/misc/copier/default.nix b/pkgs/tools/misc/copier/default.nix deleted file mode 100644 index 382e4d574857..000000000000 --- a/pkgs/tools/misc/copier/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, git -, python3 -, fetchFromGitHub -}: - -python3.pkgs.buildPythonApplication rec { - pname = "copier"; - version = "9.2.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "copier-org"; - repo = "copier"; - rev = "refs/tags/v${version}"; - # Conflict on APFS on darwin - postFetch = '' - rm $out/tests/demo/doc/ma*ana.txt - ''; - hash = "sha256-fjZ2ieyyFvm5LdCoKLhOffWZusYbZEGebR8o7PDF8wc="; - }; - - POETRY_DYNAMIC_VERSIONING_BYPASS = version; - - build-system = with python3.pkgs; [ - poetry-core - poetry-dynamic-versioning - ]; - - dependencies = with python3.pkgs; [ - colorama - decorator - dunamai - funcy - iteration-utilities - jinja2 - jinja2-ansible-filters - mkdocs-material - mkdocs-mermaid2-plugin - mkdocstrings - packaging - pathspec - plumbum - pydantic - pygments - pyyaml - pyyaml-include - questionary - ]; - - makeWrapperArgs = [ - "--suffix PATH : ${lib.makeBinPath [ git ] }" - ]; - - meta = with lib; { - description = "Library and command-line utility for rendering projects templates"; - homepage = "https://copier.readthedocs.io"; - changelog = "https://github.com/copier-org/copier/blob/v${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ greg ]; - mainProgram = "copier"; - }; -} diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index d9fbd4459f04..5bbc3b9581ee 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -98,7 +98,7 @@ stdenv.mkDerivation rec { echo "int main() { return 77; }" > gnulib-tests/test-parse-datetime.c echo "int main() { return 77; }" > gnulib-tests/test-getlogin.c '' - ])) + (optionalString stdenv.isAarch64 '' + ])) + (optionalString stdenv.hostPlatform.isAarch64 '' # Sometimes fails: https://github.com/NixOS/nixpkgs/pull/143097#issuecomment-954462584 sed '2i echo Skipping cut huge range test && exit 77' -i ./tests/cut/cut-huge-range.sh ''); @@ -135,7 +135,7 @@ stdenv.mkDerivation rec { ++ optional withPrefix "--program-prefix=g" # the shipped configure script doesn't enable nls, but using autoreconfHook # does so which breaks the build - ++ optional stdenv.isDarwin "--disable-nls" + ++ optional stdenv.hostPlatform.isDarwin "--disable-nls" ++ optionals (isCross && stdenv.hostPlatform.libc == "glibc") [ # TODO(19b98110126fde7cbb1127af7e3fe1568eacad3d): Needed for fstatfs() I # don't know why it is not properly detected cross building with glibc. @@ -154,7 +154,7 @@ stdenv.mkDerivation rec { # With non-standard storeDir: https://github.com/NixOS/nix/issues/512 doCheck = (!isCross) && (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.libc == "musl") - && !stdenv.isAarch32; + && !stdenv.hostPlatform.isAarch32; # Prevents attempts of running 'help2man' on cross-built binaries. PERL = if isCross then "missing" else null; diff --git a/pkgs/tools/misc/cp210x-program/default.nix b/pkgs/tools/misc/cp210x-program/default.nix deleted file mode 100644 index 50c6daab1bfa..000000000000 --- a/pkgs/tools/misc/cp210x-program/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -}: - -python3.pkgs.buildPythonApplication rec { - pname = "cp210x-program"; - version = "0.4.1"; - - src = fetchFromGitHub { - owner = "VCTLabs"; - repo = "cp210x-program"; - rev = "refs/tags/${version}"; - sha256 = "sha256-IjKshP12WfFly9cPm6svD4qZW6cT8C7lOVrGenSqbfY="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - hexdump - pyusb - ]; - - postInstall = '' - ln -s $out/bin/cp210x-program{.py,} - ''; - - meta = with lib; { - description = "EEPROM tool for Silabs CP210x USB-Serial adapter"; - homepage = "https://github.com/VCTLabs/cp210x-program"; - license = licenses.lgpl21Only; # plus/only status unclear - maintainers = [ ]; - mainProgram = "cp210x-program"; - }; -} diff --git a/pkgs/tools/misc/cp437/default.nix b/pkgs/tools/misc/cp437/default.nix deleted file mode 100644 index cb4b1b8508cb..000000000000 --- a/pkgs/tools/misc/cp437/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "cp437"; - version = "0.6"; - - src = fetchFromGitHub { - owner = "keaston"; - repo = "cp437"; - rev = "v${version}"; - sha256 = "18f4mnfnyviqclbhmbhix80k823481ypkwbp26qfvhnxdgzbggcc"; - }; - - installPhase = '' - install -Dm755 cp437 -t $out/bin - ''; - - meta = with lib; { - description = '' - Emulates an old-style "code page 437" / "IBM-PC" character - set terminal on a modern UTF-8 terminal emulator - ''; - homepage = "https://github.com/keaston/cp437"; - license = licenses.bsd3; - maintainers = with maintainers; [ jb55 ]; - mainProgram = "cp437"; - }; -} diff --git a/pkgs/tools/misc/cpufetch/default.nix b/pkgs/tools/misc/cpufetch/default.nix deleted file mode 100644 index c9a2a1dd7fd8..000000000000 --- a/pkgs/tools/misc/cpufetch/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -}: - -stdenv.mkDerivation rec { - pname = "cpufetch"; - version = "1.06"; - - src = fetchFromGitHub { - owner = "Dr-Noob"; - repo = "cpufetch"; - rev = "v${version}"; - sha256 = "sha256-sE3i2rw8W362BExFEImjw/t17qX8D4/0Ty8jG63bjbk="; - }; - - nativeBuildInputs = [ - installShellFiles - ]; - - installPhase = '' - runHook preInstall - - mkdir $out - install -Dm755 cpufetch $out/bin/cpufetch - install -Dm644 LICENSE $out/share/licenses/cpufetch/LICENSE - installManPage cpufetch.1 - - runHook postInstall - ''; - - meta = with lib; { - description = "Simplistic yet fancy CPU architecture fetching tool"; - license = licenses.gpl2Only; - homepage = "https://github.com/Dr-Noob/cpufetch"; - changelog = "https://github.com/Dr-Noob/cpufetch/releases/tag/v${version}"; - maintainers = with maintainers; [ devhell ]; - mainProgram = "cpufetch"; - }; -} diff --git a/pkgs/tools/misc/cpulimit/default.nix b/pkgs/tools/misc/cpulimit/default.nix deleted file mode 100644 index 4788bc57befe..000000000000 --- a/pkgs/tools/misc/cpulimit/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "cpulimit"; - version = "0.2"; - - src = fetchFromGitHub { - owner = "opsengine"; - repo = "cpulimit"; - rev = "v${version}"; - sha256 = "1dz045yhcsw1rdamzpz4bk8mw888in7fyqk1q1b3m1yk4pd1ahkh"; - }; - - patches = [ ./remove-sys-sysctl.h.patch ./get-missing-basename.patch ]; - - - installPhase = '' - mkdir -p $out/bin - cp src/cpulimit $out/bin - ''; - - meta = with lib; { - homepage = "https://github.com/opsengine/cpulimit"; - description = "CPU usage limiter"; - platforms = platforms.unix; - license = licenses.gpl2Plus; - mainProgram = "cpulimit"; - maintainers = [ maintainers.jsoo1 ]; - }; -} diff --git a/pkgs/tools/misc/cpulimit/get-missing-basename.patch b/pkgs/tools/misc/cpulimit/get-missing-basename.patch deleted file mode 100644 index d27eda0b6fa9..000000000000 --- a/pkgs/tools/misc/cpulimit/get-missing-basename.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/process_group.c b/src/process_group.c -index 06d73a6..3ca66b0 100644 ---- a/src/process_group.c -+++ b/src/process_group.c -@@ -20,6 +20,7 @@ - */ - - #include <string.h> -+#include <libgen.h> - #include <stdlib.h> - #include <limits.h> - #include <sys/time.h> diff --git a/pkgs/tools/misc/cpulimit/remove-sys-sysctl.h.patch b/pkgs/tools/misc/cpulimit/remove-sys-sysctl.h.patch deleted file mode 100644 index a152cab3acc7..000000000000 --- a/pkgs/tools/misc/cpulimit/remove-sys-sysctl.h.patch +++ /dev/null @@ -1,21 +0,0 @@ -Remove references to sys/sysctl.h which were deprecated long ago. - -diff --git a/src/cpulimit.c b/src/cpulimit.c -index 50eabea..eba4615 100644 ---- a/src/cpulimit.c -+++ b/src/cpulimit.c -@@ -38,7 +38,9 @@ - #include <string.h> - #include <sys/stat.h> - #include <sys/time.h> -+#ifdef __APPLE__ - #include <sys/sysctl.h> -+#endif - #include <sys/resource.h> - #include <sys/types.h> - #include <sys/wait.h> - --#ifdef __APPLE__ || __FREEBSD__ -+#if defined(__APPLE__) || defined(__FREEBSD__) - #include <libgen.h> - #endif \ No newline at end of file diff --git a/pkgs/tools/misc/cpuminer/default.nix b/pkgs/tools/misc/cpuminer/default.nix deleted file mode 100644 index 8b9e07762c83..000000000000 --- a/pkgs/tools/misc/cpuminer/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, curl -, jansson -, perl -, autoreconfHook -}: - -stdenv.mkDerivation rec { - pname = "cpuminer"; - version = "2.5.1"; - - src = fetchFromGitHub { - owner = "pooler"; - repo = pname; - rev = "v${version}"; - sha256 = "0f44i0z8rid20c2hiyp92xq0q0mjj537r05sa6vdbc0nl0a5q40i"; - }; - - patches = [ - (fetchpatch { - name = "fix-build-on-aarch64.patch"; - url = "https://github.com/pooler/cpuminer/commit/5f02105940edb61144c09a7eb960bba04a10d5b7.patch"; - hash = "sha256-lGAcwDcXgcJBFhasSEdQIEIY7pp6x/PEXHBsVwAOqhc="; - }) - ]; - - postPatch = if stdenv.cc.isClang then "${perl}/bin/perl ./nomacro.pl" else null; - - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ curl jansson ]; - - configureFlags = [ "CFLAGS=-O3" ]; - - meta = with lib; { - homepage = "https://github.com/pooler/cpuminer"; - description = "CPU miner for Litecoin and Bitcoin"; - license = licenses.gpl2Plus; - platforms = platforms.all; - maintainers = with maintainers; [ pSub ]; - mainProgram = "minerd"; - }; -} diff --git a/pkgs/tools/misc/crex/default.nix b/pkgs/tools/misc/crex/default.nix deleted file mode 100644 index d173457d7190..000000000000 --- a/pkgs/tools/misc/crex/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: - -stdenv.mkDerivation rec { - pname = "crex"; - version = "0.2.5"; - - src = fetchFromGitHub { - owner = "octobanana"; - repo = "crex"; - rev = version; - sha256 = "086rvwl494z48acgsq3yq11qh1nxm8kbf11adn16aszai4d4ipr3"; - }; - - postPatch = '' - substituteInPlace CMakeLists.txt --replace "/usr/local/bin" "bin" - ''; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - description = "Explore, test, and check regular expressions in the terminal"; - homepage = "https://octobanana.com/software/crex"; - license = licenses.mit; - maintainers = with maintainers; [ dtzWill ]; - platforms = platforms.all; - mainProgram = "crex"; - }; -} diff --git a/pkgs/tools/misc/crudini/default.nix b/pkgs/tools/misc/crudini/default.nix deleted file mode 100644 index 041a0095fb1c..000000000000 --- a/pkgs/tools/misc/crudini/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib -, fetchFromGitHub -, python3Packages -, help2man -, installShellFiles -}: - -python3Packages.buildPythonApplication rec { - pname = "crudini"; - version = "0.9.5"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "pixelb"; - repo = "crudini"; - rev = version; - hash = "sha256-BU4u7uBsNyDOwWUjOIlBWcf1AeUXXZ+johAe+bjws1U="; - }; - - postPatch = '' - patchShebangs crudini.py crudini-help tests/test.sh - ''; - - nativeBuildInputs = [ - help2man - installShellFiles - python3Packages.setuptools - python3Packages.setuptools-scm - python3Packages.wheel - ]; - - propagatedBuildInputs = with python3Packages; [ iniparse ]; - - postInstall = '' - # this just creates the man page - make all - - install -Dm444 -t $out/share/doc/${pname} README.md EXAMPLES - installManPage *.1 - ''; - - checkPhase = '' - runHook preCheck - - pushd tests >/dev/null - ./test.sh - popd >/dev/null - - runHook postCheck - ''; - - meta = with lib; { - description = "Utility for manipulating ini files"; - homepage = "https://www.pixelbeat.org/programs/crudini/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ peterhoeg ]; - mainProgram = "crudini"; - }; -} diff --git a/pkgs/tools/misc/crypto-tracker/default.nix b/pkgs/tools/misc/crypto-tracker/default.nix deleted file mode 100644 index 273a0aa63e4c..000000000000 --- a/pkgs/tools/misc/crypto-tracker/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "crypto-tracker"; - version = "0.1.8"; - - src = fetchFromGitHub { - owner = "Nox04"; - repo = "crypto-tracker"; - rev = "v${version}"; - hash = "sha256-8tTaXpHZWcDq0Jfa9Hf258VYwfimLhYjCAzD4X/Ow0s="; - }; - - vendorHash = "sha256-ORdDrZ61u76mz2oZyxfdf7iuo9SnuQeDxESt9lORhgQ="; - - meta = with lib; { - description = "Program to retrieve the latest price for several cryptocurrencies using the CoinMarketCap API"; - homepage = "https://github.com/Nox04/crypto-tracker"; - license = licenses.mit; - maintainers = with maintainers; [ tiredofit ]; - mainProgram = "crypto-tracker"; - }; -} diff --git a/pkgs/tools/misc/csv2latex/default.nix b/pkgs/tools/misc/csv2latex/default.nix deleted file mode 100644 index acfe07f26228..000000000000 --- a/pkgs/tools/misc/csv2latex/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "csv2latex"; - version = "0.23.1"; - - src = fetchurl { - url = "http://brouits.free.fr/csv2latex/csv2latex-${version}.tar.gz"; - sha256 = "sha256-k1vQyrVJmfaJ7jVaoW2dkPD7GO8EoDqJY5m8O2U/kYw="; - }; - - installPhase = '' - mkdir -p $out/bin - make PREFIX=$out install - ''; - - meta = with lib; { - description = "Command-line CSV to LaTeX file converter"; - homepage = "http://brouits.free.fr/csv2latex/"; - license = licenses.gpl2Only; - maintainers = [ maintainers.catern ]; - mainProgram = "csv2latex"; - }; -} diff --git a/pkgs/tools/misc/csv2parquet/default.nix b/pkgs/tools/misc/csv2parquet/default.nix deleted file mode 100644 index 0d6050d703a7..000000000000 --- a/pkgs/tools/misc/csv2parquet/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "csv2parquet"; - version = "0.6.1"; - - src = fetchFromGitHub { - owner = "domoritz"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-499DC0kLvvP5Oq2WYRb9BIppTdfm41u8hwrPU8b66Zw="; - }; - - cargoHash = "sha256-GoUmr1NArOyGx1A9E9K/Od0xXR2YxZqBcBdYFumgIJU="; - - meta = with lib; { - description = "Convert CSV files to Apache Parquet"; - homepage = "https://github.com/domoritz/csv2parquet"; - license = licenses.mit; - maintainers = with maintainers; [ john-shaffer ]; - mainProgram = "csv2parquet"; - }; -} diff --git a/pkgs/tools/misc/csvs-to-sqlite/default.nix b/pkgs/tools/misc/csvs-to-sqlite/default.nix deleted file mode 100644 index 2ed4af000f56..000000000000 --- a/pkgs/tools/misc/csvs-to-sqlite/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib, python3, fetchFromGitHub, fetchpatch }: - -with python3.pkgs; buildPythonApplication rec { - pname = "csvs-to-sqlite"; - version = "1.3"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "simonw"; - repo = pname; - rev = version; - hash = "sha256-wV6htULG3lg2IhG2bXmc/9vjcK8/+WA7jm3iJu4ZoOE="; - }; - - patches = [ - # https://github.com/simonw/csvs-to-sqlite/pull/92 - (fetchpatch { - name = "pandas2-compatibility-1.patch"; - url = "https://github.com/simonw/csvs-to-sqlite/commit/fcd5b9c7485bc7b95bf2ed9507f18a60728e0bcb.patch"; - hash = "sha256-ZmaNWxsqeNw5H5gAih66DLMmzmePD4no1B5mTf8aFvI="; - }) - (fetchpatch { - name = "pandas2-compatibility-2.patch"; - url = "https://github.com/simonw/csvs-to-sqlite/commit/3d190aa44e8d3a66a9a3ca5dc11c6fe46da024df.patch"; - hash = "sha256-uYUH0Mhn6LIf+AHcn6WuCo5zFuSNWOZBM+AoqkmMnSI="; - }) - ]; - - nativeBuildInputs = [ - ]; - - propagatedBuildInputs = [ - click - dateparser - pandas - py-lru-cache - six - ]; - - pythonRelaxDeps = [ - "click" - ]; - - nativeCheckInputs = [ - cogapp - pytestCheckHook - ]; - - disabledTests = [ - # Test needs to be adjusted for click >= 8. - "test_if_cog_needs_to_be_run" - ]; - - meta = with lib; { - description = "Convert CSV files into a SQLite database"; - homepage = "https://github.com/simonw/csvs-to-sqlite"; - license = licenses.asl20; - maintainers = [ maintainers.costrouc ]; - mainProgram = "csvs-to-sqlite"; - }; -} diff --git a/pkgs/tools/misc/cunit/default.nix b/pkgs/tools/misc/cunit/default.nix deleted file mode 100644 index af623c659d51..000000000000 --- a/pkgs/tools/misc/cunit/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchurl, autoconf, automake, libtool, autoreconfHook}: - -stdenv.mkDerivation rec { - pname = "CUnit"; - version = "2.1-3"; - - nativeBuildInputs = [ autoreconfHook autoconf automake ]; - buildInputs = [libtool]; - - src = fetchurl { - url = "mirror://sourceforge/cunit/CUnit/${version}/CUnit-${version}.tar.bz2"; - sha256 = "057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm"; - }; - - meta = { - description = "Unit Testing Framework for C"; - - longDescription = '' - CUnit is a lightweight system for writing, administering, and running - unit tests in C. It provides C programmers a basic testing functionality - with a flexible variety of user interfaces. - ''; - - homepage = "https://cunit.sourceforge.net/"; - - license = lib.licenses.lgpl2; - platforms = lib.platforms.unix; - }; -} diff --git a/pkgs/tools/misc/cutecom/default.nix b/pkgs/tools/misc/cutecom/default.nix index e36bd288b2ae..9ed7ef6295e6 100644 --- a/pkgs/tools/misc/cutecom/default.nix +++ b/pkgs/tools/misc/cutecom/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { buildInputs = [ qtserialport ]; nativeBuildInputs = [ cmake wrapQtAppsHook ]; - postInstall = if stdenv.isDarwin then '' + postInstall = if stdenv.hostPlatform.isDarwin then '' mkdir -p $out/Applications '' else '' cd .. diff --git a/pkgs/tools/misc/cyberchef/default.nix b/pkgs/tools/misc/cyberchef/default.nix deleted file mode 100644 index 11fc25bd9d17..000000000000 --- a/pkgs/tools/misc/cyberchef/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, fetchzip -, stdenv -}: - -stdenv.mkDerivation rec { - pname = "cyberchef"; - version = "10.19.2"; - - src = fetchzip { - url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip"; - sha256 = "sha256-+ICoJnW92IOi/QDwJXRNxP9tN99hNfH6BwLKJvzZFF4="; - stripRoot = false; - }; - - installPhase = '' - mkdir -p "$out/share/cyberchef" - mv "CyberChef_v${version}.html" index.html - mv * "$out/share/cyberchef" - ''; - - meta = with lib; { - description = "Cyber Swiss Army Knife for encryption, encoding, compression and data analysis"; - homepage = "https://gchq.github.io/CyberChef"; - changelog = "https://github.com/gchq/CyberChef/blob/v${version}/CHANGELOG.md"; - maintainers = with maintainers; [ sebastianblunt ]; - license = licenses.asl20; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/cyclonedx-python/default.nix b/pkgs/tools/misc/cyclonedx-python/default.nix deleted file mode 100644 index fe3711935951..000000000000 --- a/pkgs/tools/misc/cyclonedx-python/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - fetchFromGitHub, - python3Packages, -}: - -python3Packages.buildPythonApplication rec { - pname = "cyclonedx-python"; - version = "4.6.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "CycloneDX"; - repo = "cyclonedx-python"; - rev = "refs/tags/v${version}"; - hash = "sha256-EcCxw3SppuGUgN7AIU9NhpRw7dLDhTHHT5emGOgkDFU="; - }; - - build-system = with python3Packages; [ poetry-core ]; - - dependencies = with python3Packages; [ - chardet - cyclonedx-python-lib - packageurl-python - pip-requirements-parser - packaging - tomli - ] ++ cyclonedx-python-lib.optional-dependencies.validation; - - pythonImportsCheck = [ "cyclonedx" ]; - - meta = { - description = "Creates CycloneDX Software Bill of Materials (SBOM) from Python projects"; - homepage = "https://github.com/CycloneDX/cyclonedx-python"; - changelog = "https://github.com/CycloneDX/cyclonedx-python/releases/tag/v${version}"; - license = lib.licenses.asl20; - maintainers = lib.teams.cyberus.members; - mainProgram = "cyclonedx-py"; - }; -} diff --git a/pkgs/tools/misc/dabet/default.nix b/pkgs/tools/misc/dabet/default.nix deleted file mode 100644 index acdc66cbad8f..000000000000 --- a/pkgs/tools/misc/dabet/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, rustPlatform, fetchFromGitea }: - -rustPlatform.buildRustPackage rec { - pname = "dabet"; - version = "3.0.1"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "annaaurora"; - repo = pname; - rev = "v${version}"; - hash = "sha256-BYE+GGwf84zENf+lPS98OzZQbXxd7kykWL+B3guyVNI="; - }; - - cargoHash = "sha256-kguQmCXP5+E6e8CSKP18faa93VKToU2pcQixDOBrd+8="; - - meta = with lib; { - description = "Print the duration between two times"; - homepage = "https://codeberg.org/annaaurora/dabet"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ annaaurora ]; - mainProgram = "dabet"; - }; -} - diff --git a/pkgs/tools/misc/daktilo/default.nix b/pkgs/tools/misc/daktilo/default.nix deleted file mode 100644 index e557862b6713..000000000000 --- a/pkgs/tools/misc/daktilo/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -, unixtools -, pkg-config -, alsa-lib -, xorg -}: - -rustPlatform.buildRustPackage rec { - pname = "daktilo"; - version = "0.6.0"; - - src = fetchFromGitHub { - owner = "orhun"; - repo = "daktilo"; - rev = "v${version}"; - hash = "sha256-gIBWonJGX6IpxyBeMulcfQEExsG1GrBVQLZbBBA1ruc="; - }; - - cargoHash = "sha256-lBlzXTkhsEboTby5tH7WfsvZxUwtw7sLYVJRozjI1D4="; - - nativeBuildInputs = [ - installShellFiles - pkg-config - ]; - - buildInputs = [ - alsa-lib - xorg.libX11 - xorg.libXi - xorg.libXtst - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - nativeCheckInputs = [ - unixtools.script - ]; - - postInstall = '' - mkdir -p man completions - - OUT_DIR=man $out/bin/daktilo-mangen - OUT_DIR=completions $out/bin/daktilo-completions - - installManPage man/daktilo.1 - installShellCompletion \ - completions/daktilo.{bash,fish} \ - --zsh completions/_daktilo - - rm $out/bin/daktilo-{completions,mangen} - ''; - - meta = with lib; { - description = "Turn your keyboard into a typewriter"; - homepage = "https://github.com/orhun/daktilo"; - changelog = "https://github.com/orhun/daktilo/blob/${src.rev}/CHANGELOG.md"; - license = with licenses; [ asl20 mit ]; - maintainers = with maintainers; [ orhun ]; - mainProgram = "daktilo"; - }; -} diff --git a/pkgs/tools/misc/dashing/default.nix b/pkgs/tools/misc/dashing/default.nix deleted file mode 100644 index 600dc5dd850e..000000000000 --- a/pkgs/tools/misc/dashing/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, dashing }: - -buildGoModule rec { - pname = "dashing"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "technosophos"; - repo = pname; - rev = version; - hash = "sha256-CcEgGPnJGrTXrgo82u5dxQTB/YjFBhHdsv7uggsHG1Y="; - }; - - vendorHash = "sha256-XeUFmzf6y0S82gMOzkj4AUNFkVvkVOwauYpqY4jeWLM="; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - passthru.tests.version = testers.testVersion { - package = dashing; - }; - - meta = with lib; { - description = "Dash Generator Script for Any HTML"; - homepage = "https://github.com/technosophos/dashing"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "dashing"; - }; -} diff --git a/pkgs/tools/misc/dasht/default.nix b/pkgs/tools/misc/dasht/default.nix deleted file mode 100644 index 4ab9cfdd0e0f..000000000000 --- a/pkgs/tools/misc/dasht/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, makeWrapper -, installShellFiles -, coreutils -, gnused -, gnugrep -, sqlite -, wget -, w3m -, socat -, gawk -}: - -stdenv.mkDerivation rec { - pname = "dasht"; - version = "2.4.0"; - - src = fetchFromGitHub { - owner = "sunaku"; - repo = pname; - rev = "v${version}"; - sha256 = "08wssmifxi7pnvn9gqrvpzpkc2qpkfbzbhxh0dk1gff2y2211qqk"; - }; - - deps = lib.makeBinPath [ - coreutils - gnused - gnugrep - sqlite - wget - w3m - socat - gawk - (placeholder "out") - ]; - - nativeBuildInputs = [ makeWrapper installShellFiles ]; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp bin/* $out/bin/ - - installManPage man/man1/* - installShellCompletion --zsh etc/zsh/completions/* - - for i in $out/bin/*; do - echo "Wrapping $i" - wrapProgram $i --prefix PATH : ${deps}; - done; - - runHook postInstall - ''; - - meta = { - description = "Search API docs offline, in terminal or browser"; - homepage = "https://sunaku.github.io/dasht/man"; - license = lib.licenses.isc; - platforms = lib.platforms.unix; #cannot test other - maintainers = with lib.maintainers; [ matthiasbeyer ]; - }; -} diff --git a/pkgs/tools/misc/datamash/default.nix b/pkgs/tools/misc/datamash/default.nix deleted file mode 100644 index 7d6318928292..000000000000 --- a/pkgs/tools/misc/datamash/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "datamash"; - version = "1.8"; - - src = fetchurl { - url = "mirror://gnu/datamash/datamash-${version}.tar.gz"; - sha256 = "sha256-etl+jH72Ft0DqlvWeuJMSIJy2z59H1d0FhwYt18p9v0="; - }; - - meta = with lib; { - description = "Command-line program which performs basic numeric,textual and statistical operations on input textual data files"; - homepage = "https://www.gnu.org/software/datamash/"; - license = licenses.gpl3Plus; - platforms = platforms.all; - maintainers = with maintainers; [ pSub ]; - }; - -} diff --git a/pkgs/tools/misc/datefmt/default.nix b/pkgs/tools/misc/datefmt/default.nix deleted file mode 100644 index 36fdf9fcfebb..000000000000 --- a/pkgs/tools/misc/datefmt/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchurl, datefmt, testers }: - -stdenv.mkDerivation rec { - pname = "datefmt"; - version = "0.2.2"; - - src = fetchurl { - url = "https://cdn.jb55.com/tarballs/datefmt/datefmt-${version}.tar.gz"; - sha256 = "sha256-HgW/vOGVEmAbm8k3oIwIa+cogq7qmX7MfTmHqxv9lhY="; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - passthru.tests.version = testers.testVersion { package = datefmt; }; - - meta = with lib; { - homepage = "https://jb55.com/datefmt"; - description = "Tool that formats timestamps in text streams"; - platforms = platforms.all; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ jb55 ]; - mainProgram = "datefmt"; - }; -} diff --git a/pkgs/tools/misc/dateutils/default.nix b/pkgs/tools/misc/dateutils/default.nix deleted file mode 100644 index 45adc23832ab..000000000000 --- a/pkgs/tools/misc/dateutils/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchurl, autoreconfHook, tzdata }: - -stdenv.mkDerivation rec { - version = "0.4.11"; - pname = "dateutils"; - - src = fetchurl { - url = "https://bitbucket.org/hroptatyr/dateutils/downloads/dateutils-${version}.tar.xz"; - sha256 = "sha256-uP6gsJcUu63yArmzQ0zOa1nCgueGkmjQwIuFiA/btEY="; - }; - - # https://github.com/hroptatyr/dateutils/issues/148 - postPatch = "rm test/dzone.008.ctst"; - - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ tzdata ]; # needed for datezone - enableParallelBuilding = true; - - doCheck = true; - - meta = with lib; { - description = "Bunch of tools that revolve around fiddling with dates and times in the command line"; - homepage = "http://www.fresse.org/dateutils/"; - license = licenses.bsd3; - platforms = platforms.unix; - maintainers = [ maintainers.paperdigits ]; - }; -} diff --git a/pkgs/tools/misc/dbacl/default.nix b/pkgs/tools/misc/dbacl/default.nix deleted file mode 100644 index a7069ad92bb3..000000000000 --- a/pkgs/tools/misc/dbacl/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{fetchurl, lib, stdenv}: - -stdenv.mkDerivation rec { - pname = "dbacl"; - version = "1.14"; - - src = fetchurl { - url = "https://www.lbreyer.com/gpl/dbacl-${version}.tar.gz"; - sha256 = "0224g6x71hyvy7jikfxmgcwww1r5lvk0jx36cva319cb9nmrbrq7"; - }; - - meta = { - homepage = "https://dbacl.sourceforge.net/"; - longDescription = "a digramic Bayesian classifier for text recognition."; - maintainers = [ ]; - license = lib.licenses.gpl3; - platforms = lib.platforms.unix; - }; -} diff --git a/pkgs/tools/misc/dbus-map/default.nix b/pkgs/tools/misc/dbus-map/default.nix deleted file mode 100644 index de5c07041fdb..000000000000 --- a/pkgs/tools/misc/dbus-map/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, pkg-config, glib, procps, libxml2 }: - -stdenv.mkDerivation { - pname = "dbus-map"; - version = "2015-05-28"; - src = fetchFromGitHub { - owner = "taviso"; - repo = "dbusmap"; - rev = "43703fc5e15743309b67131b5ba457b0d6ea7667"; - sha256 = "1pjqn6w29ci8hfxkn1aynzfc8nvy3pqv3hixbxwr7qx20g4rwvdc"; - }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - glib procps libxml2 - ]; - installPhase = '' - mkdir -p $out/bin - mv dbus-map $out/bin - ''; - meta = with lib; { - description = "Simple utility for enumerating D-Bus endpoints, an nmap for D-Bus"; - homepage = "https://github.com/taviso/dbusmap"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = [ ]; - mainProgram = "dbus-map"; - }; -} diff --git a/pkgs/tools/misc/ddate/default.nix b/pkgs/tools/misc/ddate/default.nix deleted file mode 100644 index 012e00c8f972..000000000000 --- a/pkgs/tools/misc/ddate/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: - -stdenv.mkDerivation rec { - pname = "ddate"; - version = "0.2.2"; - - src = fetchFromGitHub { - owner = "bo0ts"; - repo = pname; - rev = "refs/tags/v${version}"; - sha256 = "1qchxnxvghbma6gp1g78wnjxsri0b72ha9axyk31cplssl7yn73f"; - }; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - homepage = "https://github.com/bo0ts/ddate"; - description = "Discordian version of the date program"; - license = licenses.publicDomain; - maintainers = with maintainers; [ kovirobi ]; - platforms = platforms.all; - mainProgram = "ddate"; - }; -} diff --git a/pkgs/tools/misc/ddccontrol/default.nix b/pkgs/tools/misc/ddccontrol/default.nix deleted file mode 100644 index 5886d2e18318..000000000000 --- a/pkgs/tools/misc/ddccontrol/default.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, autoreconfHook -, intltool -, libxml2 -, pciutils -, pkg-config -, gtk2 -, ddccontrol-db -}: - -stdenv.mkDerivation rec { - pname = "ddccontrol"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "ddccontrol"; - repo = "ddccontrol"; - rev = version; - sha256 = "sha256-100SITpGbui/gRhFjVZxn6lZRB0najtGHd18oUpByJo="; - }; - - nativeBuildInputs = [ - autoreconfHook - intltool - pkg-config - ]; - - buildInputs = [ - libxml2 - pciutils - gtk2 - ddccontrol-db - ]; - - patches = [ - # Upstream commit, fixed the version number in v1.0.0 - (fetchpatch { - url = "https://github.com/ddccontrol/ddccontrol/commit/fc8c5b5d0f2b64b08b95f4a7d8f47f2fd8ceec34.patch"; - hash = "sha256-SB1BaolTNCUYgj38nMg1uLUqOHvnwCr8T3cnfu/7rjI="; - }) - ]; - - configureFlags = [ - "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" - ]; - - prePatch = '' - substituteInPlace configure.ac \ - --replace \ - "\$""{datadir}/ddccontrol-db" \ - "${ddccontrol-db}/share/ddccontrol-db" - - substituteInPlace src/ddcpci/Makefile.am \ - --replace "chmod 4711" "chmod 0711" - ''; - - preConfigure = '' - intltoolize --force - ''; - - meta = with lib; { - description = "Program used to control monitor parameters by software"; - homepage = "https://github.com/ddccontrol/ddccontrol"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with lib.maintainers; [ pakhfn ]; - }; -} diff --git a/pkgs/tools/misc/ddcutil/default.nix b/pkgs/tools/misc/ddcutil/default.nix deleted file mode 100644 index baf41aac7041..000000000000 --- a/pkgs/tools/misc/ddcutil/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, stdenv -, fetchurl -, autoreconfHook -, pkg-config -, glib -, jansson -, udev -, libgudev -, libusb1 -, libdrm -, xorg -}: - -stdenv.mkDerivation rec { - pname = "ddcutil"; - version = "2.1.4"; - - src = fetchurl { - url = "https://www.ddcutil.com/tarballs/ddcutil-${version}.tar.gz"; - hash = "sha256-4U/igqtgw2rwyuhEkV1pWYPIyNZEt2N6hlXJ9bDUyRw="; - }; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - - buildInputs = [ - glib - jansson - libdrm - libgudev - libusb1 - udev - xorg.libXext - xorg.libXrandr - ]; - - enableParallelBuilding = true; - - meta = with lib; { - homepage = "http://www.ddcutil.com/"; - description = "Query and change Linux monitor settings using DDC/CI and USB"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ rnhmjoj ]; - changelog = "https://github.com/rockowitz/ddcutil/blob/v${version}/CHANGELOG.md"; - mainProgram = "ddcutil"; - }; -} - diff --git a/pkgs/tools/misc/debian-devscripts/default.nix b/pkgs/tools/misc/debian-devscripts/default.nix deleted file mode 100644 index d70994753dbd..000000000000 --- a/pkgs/tools/misc/debian-devscripts/default.nix +++ /dev/null @@ -1,89 +0,0 @@ -{lib, stdenv, fetchurl, fetchpatch, xz, dpkg -, libxslt, docbook_xsl, makeWrapper, writeShellScript -, python3Packages -, perlPackages, curl, gnupg, diffutils, nano, pkg-config, bash-completion, help2man -, sendmailPath ? "/run/wrappers/bin/sendmail" -}: - -let - inherit (python3Packages) python setuptools; - sensible-editor = writeShellScript "sensible-editor" '' - exec ''${EDITOR-${nano}/bin/nano} "$@" - ''; -in stdenv.mkDerivation rec { - version = "2.23.5"; - pname = "debian-devscripts"; - - src = fetchurl { - url = "mirror://debian/pool/main/d/devscripts/devscripts_${version}.tar.xz"; - hash = "sha256-j0fUVTS/lPKFdgeMhksiJz2+E5koB07IK2uEj55EWG0="; - }; - - patches = [ - (fetchpatch { - name = "hardening-check-obey-binutils-env-vars.patch"; - url = "https://github.com/Debian/devscripts/pull/2/commits/c6a018e0ef50a1b0cb4962a2f96dae7c6f21f1d4.patch"; - hash = "sha256-UpS239JiAM1IYxNuJLdILq2h0xlR5t0Tzhj47xiMHww="; - }) - ]; - - postPatch = '' - substituteInPlace scripts/Makefile --replace /usr/share/dpkg ${dpkg}/share/dpkg - substituteInPlace scripts/debrebuild.pl --replace /usr/bin/perl ${perlPackages.perl}/bin/perl - patchShebangs scripts - ''; - - nativeBuildInputs = [ makeWrapper pkg-config ]; - buildInputs = [ xz dpkg libxslt python setuptools curl gnupg diffutils bash-completion help2man ] ++ - (with perlPackages; [ perl CryptSSLeay LWP TimeDate DBFile FileDesktopEntry ParseDebControl LWPProtocolHttps Moo FileHomeDir IPCRun FileDirList FileTouch ]); - - preConfigure = '' - export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${dpkg}"; - tgtpy="$out/${python.sitePackages}" - mkdir -p "$tgtpy" - export PYTHONPATH="$PYTHONPATH''${PYTHONPATH:+:}$tgtpy" - find lib po4a scripts -type f -exec sed -r \ - -e "s@/usr/bin/gpg(2|)@${gnupg}/bin/gpg@g" \ - -e "s@/usr/(s|)bin/sendmail@${sendmailPath}@g" \ - -e "s@/usr/bin/diff@${diffutils}/bin/diff@g" \ - -e "s@/usr/bin/gpgv(2|)@${gnupg}/bin/gpgv@g" \ - -e "s@(command -v|/usr/bin/)curl@${curl.bin}/bin/curl@g" \ - -e "s@sensible-editor@${sensible-editor}@g" \ - -e "s@(^|\W)/bin/bash@\1${stdenv.shell}@g" \ - -i {} + - sed -e "s@/usr/share/sgml/[^ ]*/manpages/docbook.xsl@${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl@" -i scripts/Makefile - sed -r \ - -e "s@/usr( |$|/)@$out\\1@g" \ - -e "s@/etc( |$|/)@$out/etc\\1@g" \ - -e 's/ translated_manpages//; s/--install-layout=deb//; s@--root="[^ ]*"@--prefix="'"$out"'"@' \ - -i Makefile* */Makefile* - ''; - - makeFlags = [ - "DESTDIR=$(out)" - "PREFIX=" - "COMPL_DIR=/share/bash-completion/completions" - "PERLMOD_DIR=/share/devscripts" - ]; - - postInstall = '' - sed -re 's@(^|[ !`"])/bin/bash@\1${stdenv.shell}@g' -i "$out/bin"/* - for i in "$out/bin"/*; do - wrapProgram "$i" \ - --prefix PERL5LIB : "$PERL5LIB" \ - --prefix PERL5LIB : "$out/share/devscripts" \ - --prefix PYTHONPATH : "$out/${python.sitePackages}" \ - --prefix PATH : "${dpkg}/bin" - done - ln -s cvs-debi $out/bin/cvs-debc - ln -s debchange $out/bin/dch - ln -s pts-subscribe $out/bin/pts-unsubscribe - ''; - - meta = with lib; { - description = "Debian package maintenance scripts"; - license = licenses.free; # Mix of public domain, Artistic+GPL, GPL1+, GPL2+, GPL3+, and GPL2-only... TODO - maintainers = with maintainers; [raskin]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/debootstrap/default.nix b/pkgs/tools/misc/debootstrap/default.nix deleted file mode 100644 index c22dfdb14865..000000000000 --- a/pkgs/tools/misc/debootstrap/default.nix +++ /dev/null @@ -1,102 +0,0 @@ -{ lib -, stdenv -, fetchFromGitLab -, dpkg -, gawk -, perl -, wget -, binutils -, bzip2 -, coreutils -, util-linux -, gnugrep -, gnupg1 -, gnutar -, gnused -, gzip -, xz -, makeWrapper -, nix-update-script -, testers -, debootstrap -}: - -# USAGE like this: debootstrap sid /tmp/target-chroot-directory -# There is also cdebootstrap now. Is that easier to maintain? -let binPath = lib.makeBinPath [ - binutils - bzip2 - coreutils - dpkg - gawk - gnugrep - gnupg1 - gnused - gnutar - gzip - perl - wget - xz - ]; -in stdenv.mkDerivation rec { - pname = "debootstrap"; - version = "1.0.137"; - - src = fetchFromGitLab { - domain = "salsa.debian.org"; - owner = "installer-team"; - repo = "debootstrap"; - rev = "refs/tags/${version}"; - hash = "sha256-l4vdojsrHAJsa8RwZezH3uI6pWJHK/PBs+YZCtnpXnQ="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontBuild = true; - - installPhase = '' - runHook preInstall - - substituteInPlace debootstrap \ - --replace 'CHROOT_CMD="chroot ' 'CHROOT_CMD="${coreutils}/bin/chroot ' \ - --replace 'CHROOT_CMD="unshare ' 'CHROOT_CMD="${util-linux}/bin/unshare ' \ - --replace /usr/bin/dpkg ${dpkg}/bin/dpkg \ - --replace '#!/bin/sh' '#!/bin/bash' \ - --subst-var-by VERSION ${version} - - d=$out/share/debootstrap - mkdir -p $out/{share/debootstrap,bin} - - mv debootstrap $out/bin - - cp -r . $d - - wrapProgram $out/bin/debootstrap \ - --set PATH ${binPath} \ - --set-default DEBOOTSTRAP_DIR $d - - mkdir -p $out/man/man8 - mv debootstrap.8 $out/man/man8 - - rm -rf $d/debian - - runHook postInstall - ''; - - passthru = { - updateScript = nix-update-script { }; - tests.version = testers.testVersion { - package = debootstrap; - }; - }; - - meta = with lib; { - changelog = "https://salsa.debian.org/installer-team/debootstrap/-/blob/${version}/debian/changelog"; - description = "Tool to create a Debian system in a chroot"; - homepage = "https://wiki.debian.org/Debootstrap"; - license = licenses.mit; - maintainers = with maintainers; [ marcweber ]; - platforms = platforms.linux; - mainProgram = "debootstrap"; - }; -} diff --git a/pkgs/tools/misc/depotdownloader/default.nix b/pkgs/tools/misc/depotdownloader/default.nix index 419b58bfa722..b7c3e1414be9 100644 --- a/pkgs/tools/misc/depotdownloader/default.nix +++ b/pkgs/tools/misc/depotdownloader/default.nix @@ -1,21 +1,24 @@ { lib , buildDotnetModule , fetchFromGitHub +, dotnetCorePackages }: buildDotnetModule rec { pname = "depotdownloader"; - version = "2.5.0"; + version = "2.7.3"; src = fetchFromGitHub { owner = "SteamRE"; repo = "DepotDownloader"; rev = "DepotDownloader_${version}"; - sha256 = "Kgi0u+H5BIAhrjk9e+8H1h0p5Edm3+2twYBPY3JQGps="; + sha256 = "TKPUE9PzTUoYmhT1O+Qvb0lukPY6fGs70wSiCdEJUMQ="; }; projectFile = "DepotDownloader.sln"; nugetDeps = ./deps.nix; + dotnet-sdk = dotnetCorePackages.sdk_8_0; + dotnet-runtime = dotnetCorePackages.runtime_8_0; passthru.updateScript = ./update.sh; diff --git a/pkgs/tools/misc/depotdownloader/deps.nix b/pkgs/tools/misc/depotdownloader/deps.nix index 58e2f63ba01d..998c6a8b5563 100644 --- a/pkgs/tools/misc/depotdownloader/deps.nix +++ b/pkgs/tools/misc/depotdownloader/deps.nix @@ -2,14 +2,18 @@ # Please dont edit it manually, your changes might get overwritten! { fetchNuGet }: [ - (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; sha256 = "0mwpwdflidzgzfx2dlpkvvnkgkr2ayaf0s80737h4wa35gaj11rc"; }) - (fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; sha256 = "102hvhq2gmlcbq8y2cb7hdr2dnmjzfp2k3asr1ycwrfacwyaak7n"; }) - (fetchNuGet { pname = "protobuf-net"; version = "3.2.16"; sha256 = "0pwlqlq2p8my2sr8b0cvdav5cm8wpwf3s4gy7s1ba701ac2zyb9y"; }) - (fetchNuGet { pname = "protobuf-net.Core"; version = "3.2.16"; sha256 = "00znhikq7valr3jaxg66cwli9hf75wkmmpf6rf8p790hf8lxq0c5"; }) - (fetchNuGet { pname = "QRCoder"; version = "1.4.3"; sha256 = "1hmlqbdyq5n9bsmns5h0dwcxpd2jvqr9a2y6dyc9kbjmc8j1dpla"; }) - (fetchNuGet { pname = "SteamKit2"; version = "2.5.0-beta.1"; sha256 = "0691285g4z12hv5kpv72l36h45086n14rw56x3dnixcvrjzg2q01"; }) - (fetchNuGet { pname = "System.Collections.Immutable"; version = "7.0.0"; sha256 = "1n9122cy6v3qhsisc9lzwa1m1j62b8pi2678nsmnlyvfpk0zdagm"; }) - (fetchNuGet { pname = "System.Runtime.CompilerServices.Unsafe"; version = "6.0.0"; sha256 = "0qm741kh4rh57wky16sq4m0v05fxmkjjr87krycf5vp9f0zbahbc"; }) - (fetchNuGet { pname = "System.Security.AccessControl"; version = "5.0.0"; sha256 = "17n3lrrl6vahkqmhlpn3w20afgz09n7i6rv0r3qypngwi7wqdr5r"; }) - (fetchNuGet { pname = "System.Security.Principal.Windows"; version = "5.0.0"; sha256 = "1mpk7xj76lxgz97a5yg93wi8lj0l8p157a5d50mmjy3gbz1904q8"; }) + (fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; hash = "sha256-LIcg1StDcQLPOABp4JRXIs837d7z0ia6+++3SF3jl1c="; }) + (fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; hash = "sha256-9kylPGfKZc58yFqNKa77stomcoNnMeERXozWJzDcUIA="; }) + (fetchNuGet { pname = "Microsoft.Windows.CsWin32"; version = "0.3.106"; hash = "sha256-S1uQa684taPb6uh69784ebVpXoirMoX+pxBRA+Rrzlg="; }) + (fetchNuGet { pname = "Microsoft.Windows.SDK.Win32Docs"; version = "0.1.42-alpha"; hash = "sha256-6DvzmNzrGVfWmNJNqooj+Ya+7bAQlyeg7pmyKaUlIws="; }) + (fetchNuGet { pname = "Microsoft.Windows.SDK.Win32Metadata"; version = "60.0.34-preview"; hash = "sha256-KdRe73sXipzMvm2BLmwwBZGh+l9isZDC9l8WFyUR1zM="; }) + (fetchNuGet { pname = "Microsoft.Windows.WDK.Win32Metadata"; version = "0.11.4-experimental"; hash = "sha256-b3oKUKbr+3Udfl7RWzUY9BR/XWNsN+VmEkBxk6KiFo0="; }) + (fetchNuGet { pname = "protobuf-net"; version = "3.2.30"; hash = "sha256-keRy5OWT+/tlZt3D7x+9PEdjTvEJcZdYsf/i1ZBtciE="; }) + (fetchNuGet { pname = "protobuf-net.Core"; version = "3.2.30"; hash = "sha256-GMpJNecoBfrV2VgpYOhcZnKZaLFDObNLcX2LBTThrwY="; }) + (fetchNuGet { pname = "QRCoder"; version = "1.6.0"; hash = "sha256-2Ev/6d7PH6K4dVYQQHlZ+ZggkCnDtrlaGygs65mDo28="; }) + (fetchNuGet { pname = "SteamKit2"; version = "3.0.0-beta.4"; hash = "sha256-7cXlpCuUD8ZuTMtqsT5MdklkZb+XIGBdoI28anjUXtg="; }) + (fetchNuGet { pname = "System.Collections.Immutable"; version = "7.0.0"; hash = "sha256-9an2wbxue2qrtugYES9awshQg+KfJqajhnhs45kQIdk="; }) + (fetchNuGet { pname = "System.IO.Hashing"; version = "8.0.0"; hash = "sha256-szOGt0TNBo6dEdC3gf6H+e9YW3Nw0woa6UnCGGGK5cE="; }) + (fetchNuGet { pname = "System.Security.AccessControl"; version = "5.0.0"; hash = "sha256-ueSG+Yn82evxyGBnE49N4D+ngODDXgornlBtQ3Omw54="; }) + (fetchNuGet { pname = "System.Security.Principal.Windows"; version = "5.0.0"; hash = "sha256-CBOQwl9veFkrKK2oU8JFFEiKIh/p+aJO+q9Tc2Q/89Y="; }) ] diff --git a/pkgs/tools/misc/desktop-file-utils/default.nix b/pkgs/tools/misc/desktop-file-utils/default.nix deleted file mode 100644 index 3ad645e5068e..000000000000 --- a/pkgs/tools/misc/desktop-file-utils/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ stdenv -, lib -, fetchurl -, pkg-config -, meson -, ninja -, glib -, libintl -}: - -stdenv.mkDerivation rec { - pname = "desktop-file-utils"; - version = "0.27"; - - src = fetchurl { - url = "https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${version}.tar.xz"; - hash = "sha256-oIF985zjhbZiGIBAfFbx8pgWjAQMIDLO34jVt2r/6DY="; - }; - - nativeBuildInputs = [ - pkg-config - meson - ninja - ]; - - buildInputs = [ - glib - libintl - ]; - - postPatch = '' - substituteInPlace src/install.c \ - --replace \"update-desktop-database\" \"$out/bin/update-desktop-database\" - ''; - - setupHook = ./setup-hook.sh; - - meta = with lib; { - homepage = "https://www.freedesktop.org/wiki/Software/desktop-file-utils"; - description = "Command line utilities for working with .desktop files"; - platforms = platforms.linux ++ platforms.darwin; - license = licenses.gpl2Plus; - }; -} diff --git a/pkgs/tools/misc/desktop-file-utils/setup-hook.sh b/pkgs/tools/misc/desktop-file-utils/setup-hook.sh deleted file mode 100644 index 728070e34581..000000000000 --- a/pkgs/tools/misc/desktop-file-utils/setup-hook.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Remove mimeinfo cache -mimeinfoPreFixupPhase() { - rm -f $out/share/applications/mimeinfo.cache -} - -preFixupPhases="${preFixupPhases-} mimeinfoPreFixupPhase" diff --git a/pkgs/tools/misc/detox/default.nix b/pkgs/tools/misc/detox/default.nix deleted file mode 100644 index aa9220da60d1..000000000000 --- a/pkgs/tools/misc/detox/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, flex, autoreconfHook }: - -stdenv.mkDerivation rec { - pname = "detox"; - version = "1.4.5"; - - src = fetchFromGitHub { - owner = "dharple"; - repo = pname; - rev = "v${version}"; - hash = "sha256-cTuK5EIimRVZ1nfuTa1ds6xrawYIAbwNNIkNONd9y4Q="; - }; - - nativeBuildInputs = [ flex autoreconfHook ]; - - hardeningDisable = [ "format" ]; - - meta = with lib; { - homepage = "https://github.com/dharple/detox"; - description = "Utility designed to clean up filenames"; - changelog = "https://github.com/dharple/detox/blob/v${version}/CHANGELOG.md"; - longDescription = '' - Detox is a utility designed to clean up filenames. It replaces - difficult to work with characters, such as spaces, with standard - equivalents. It will also clean up filenames with UTF-8 or Latin-1 - (or CP-1252) characters in them. - ''; - license = licenses.bsd3; - platforms = platforms.linux; - maintainers = [ ]; - mainProgram = "detox"; - }; -} diff --git a/pkgs/tools/misc/dialogbox/default.nix b/pkgs/tools/misc/dialogbox/default.nix index 7012f9d69ad5..e6849fa84310 100644 --- a/pkgs/tools/misc/dialogbox/default.nix +++ b/pkgs/tools/misc/dialogbox/default.nix @@ -37,7 +37,7 @@ mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; homepage = "https://github.com/martynets/dialogbox/"; description = "Qt-based scriptable engine providing GUI dialog boxes"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/misc/didu/default.nix b/pkgs/tools/misc/didu/default.nix deleted file mode 100644 index 6db10b058ae5..000000000000 --- a/pkgs/tools/misc/didu/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitea }: - -rustPlatform.buildRustPackage rec { - pname = "didu"; - version = "2.5.2"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "annaaurora"; - repo = pname; - rev = "v${version}"; - sha256 = "szYWRN1NZbfpshipwMMJSWJw/NG4w7I+aqwtmqpT0R0="; - }; - - cargoHash = "sha256-O1kkfrwv7xiOh3wCV/ce6cqpkMPRRzcXOFESYMAhiKA="; - - meta = with lib; { - description = "Duration conversion between units"; - homepage = "https://codeberg.org/annaaurora/didu"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ annaaurora ]; - mainProgram = "didu"; - }; -} diff --git a/pkgs/tools/misc/didyoumean/default.nix b/pkgs/tools/misc/didyoumean/default.nix index 362673a5ca82..94efc1af33db 100644 --- a/pkgs/tools/misc/didyoumean/default.nix +++ b/pkgs/tools/misc/didyoumean/default.nix @@ -25,14 +25,14 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; - buildInputs = lib.optionals stdenv.isLinux [ + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb openssl - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ]; diff --git a/pkgs/tools/misc/diffoci/default.nix b/pkgs/tools/misc/diffoci/default.nix deleted file mode 100644 index b2142cfc227e..000000000000 --- a/pkgs/tools/misc/diffoci/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, stdenv -, buildPackages -, buildGoModule -, fetchFromGitHub -, installShellFiles -}: - -buildGoModule rec { - pname = "diffoci"; - version = "0.1.5"; - - src = fetchFromGitHub { - owner = "reproducible-containers"; - repo = "diffoci"; - rev = "v${version}"; - hash = "sha256-ZVWnfg5uWYuqsNd4X6t1gWBGMfdcirSp7QZZDhqAfaI="; - }; - - vendorHash = "sha256-qb4HvK4UbJbtP/ypeptV/MMbhOu5UZDaGartq/RGpDM="; - - ldflags = [ - "-s" - "-w" - "-X=github.com/reproducible-containers/diffoci/cmd/diffoci/version.Version=v${version}" - ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = - let - diffoci = if stdenv.buildPlatform.canExecute stdenv.hostPlatform then placeholder "out" else buildPackages.diffoci; - in - '' - installShellCompletion --cmd trivy \ - --bash <(${diffoci}/bin/diffoci completion bash) \ - --fish <(${diffoci}/bin/diffoci completion fish) \ - --zsh <(${diffoci}/bin/diffoci completion zsh) - ''; - - meta = with lib; { - description = "Diff for Docker and OCI container images"; - homepage = "https://github.com/reproducible-containers/diffoci/"; - license = licenses.asl20; - maintainers = with maintainers; [ jk ]; - mainProgram = "diffoci"; - }; -} diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index f76b7a766e77..31f8c6b2c8e4 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -102,11 +102,11 @@ in # Note: when upgrading this package, please run the list-missing-tools.sh script as described below! python.pkgs.buildPythonApplication rec { pname = "diffoscope"; - version = "277"; + version = "283"; src = fetchurl { url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2"; - hash = "sha256-ZDW9EzoQG5b0dmydKi850rdf0a8UWKFjrk+toxgBicY="; + hash = "sha256-4kAM1MmWbFh0fqFSnulhm4lHR59PMNPR3z5nzBgI6WY="; }; outputs = [ @@ -245,7 +245,7 @@ python.pkgs.buildPythonApplication rec { # docx2txt, nixpkgs packages another project named the same, which does not work ]) # oggvideotools is broken on Darwin, please put it back when it will be fixed? - ++ lib.optionals stdenv.isLinux [ oggvideotools ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ oggvideotools ] # This doesn't work on aarch64-darwin ++ lib.optionals (stdenv.hostPlatform.system != "aarch64-darwin") [ gnumeric ] ) @@ -272,7 +272,7 @@ python.pkgs.buildPythonApplication rec { # Fails because it fails to determine llvm version "test_item3_deflate_llvm_bitcode" ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Disable flaky tests on Darwin "test_non_unicode_filename" "test_listing" @@ -288,7 +288,7 @@ python.pkgs.buildPythonApplication rec { "test_libmix_differences" ]; - disabledTestPaths = lib.optionals stdenv.isDarwin [ + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/comparators/test_git.py" "tests/comparators/test_java.py" "tests/comparators/test_uimage.py" diff --git a/pkgs/tools/misc/digitemp/default.nix b/pkgs/tools/misc/digitemp/default.nix deleted file mode 100644 index c26968c276c4..000000000000 --- a/pkgs/tools/misc/digitemp/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ fetchFromGitHub, lib, stdenv }: - -stdenv.mkDerivation rec { - pname = "digitemp"; - version = "3.7.2"; - - src = fetchFromGitHub { - owner = "bcl"; - repo = "digitemp"; - rev = "v${version}"; - sha256 = "19zka5fcdxhhginaspak76l984iqq9v2j6qrwvi5mvca7bcj8f72"; - }; - - enableParallelBuilding = true; - - makeFlags = [ - "LOCK=no" - "ds9097" - "ds9097u" - ]; - - installPhase = '' - runHook preInstall - install -D -m555 -t $out/bin digitemp_* - install -D -m444 -t $out/share/doc/digitemp FAQ README - runHook postInstall - ''; - - meta = with lib; { - description = "Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol"; - longDescription = '' - DigiTemp is a command line application used for reading 1-wire sensors like - the DS18S20 temperature sensor, or DS2438 battery monitor. DigiTemp supports - the following devices: - - DS18S20 (and older DS1820) Temperature Sensor - DS18B20 Temperature Sensor - DS1822 Temperature Sensor - DS2438 Battery monitor - DS2409 1-wire coupler (used in 1-wire hubs) - DS2422 Counter - DS2423 Counter - - The output format can be customized and all settings are stored in a - configuration file (.digitemprc) in the current directory. DigiTemp can - repeatedly read the sensors and output to stdout and/or to a logfile. - ''; - homepage = "https://www.digitemp.com"; - license = licenses.gpl2Plus; - maintainers = [ ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/dijo/default.nix b/pkgs/tools/misc/dijo/default.nix index 1a73a4d84faf..344faf84f60b 100644 --- a/pkgs/tools/misc/dijo/default.nix +++ b/pkgs/tools/misc/dijo/default.nix @@ -3,7 +3,7 @@ rustPlatform.buildRustPackage rec { pname = "dijo"; version = "0.2.7"; - buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices; + buildInputs = [ ncurses ] ++ lib.optional stdenv.hostPlatform.isDarwin CoreServices; src = fetchFromGitHub { owner = "NerdyPepper"; repo = "dijo"; diff --git a/pkgs/tools/misc/ding-libs/default.nix b/pkgs/tools/misc/ding-libs/default.nix deleted file mode 100644 index 211e694f2fdf..000000000000 --- a/pkgs/tools/misc/ding-libs/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchurl, check }: - -stdenv.mkDerivation rec { - pname = "ding-libs"; - version = "0.6.1"; - - src = fetchurl { - url = "https://releases.pagure.org/SSSD/ding-libs/ding-libs-${version}.tar.gz"; - sha256 = "1h97mx2jdv4caiz4r7y8rxfsq78fx0k4jjnfp7x2s7xqvqks66d3"; - }; - - enableParallelBuilding = true; - buildInputs = [ check ]; - - doCheck = true; - - meta = { - description = "'D is not GLib' utility libraries"; - homepage = "https://pagure.io/SSSD/ding-libs"; - platforms = with lib.platforms; linux; - maintainers = [ ]; - license = [ lib.licenses.gpl3 lib.licenses.lgpl3 ]; - }; -} diff --git a/pkgs/tools/misc/discocss/default.nix b/pkgs/tools/misc/discocss/default.nix deleted file mode 100644 index 102b75aee71f..000000000000 --- a/pkgs/tools/misc/discocss/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ stdenvNoCC -, lib -, fetchFromGitHub -, discordAlias ? false -, discord -, makeWrapper -}: - -stdenvNoCC.mkDerivation rec { - pname = "discocss"; - version = "0.2.3"; - - src = fetchFromGitHub { - owner = "mlvzk"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-of7OMgbuwebnFmbefGD1/dOhyTX1Hy7TccnWSRCweW0="; - }; - - dontBuild = true; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - install -Dm755 discocss $out/bin/discocss - '' + lib.optionalString discordAlias '' - wrapProgram $out/bin/discocss --set DISCOCSS_DISCORD_BIN ${discord}/bin/Discord - ln -s $out/bin/discocss $out/bin/Discord - ln -s $out/bin/discocss $out/bin/discord - mkdir -p $out/share - ln -s ${discord}/share/* $out/share - ''; - - meta = with lib; { - description = "Tiny Discord css-injector"; - changelog = "https://github.com/mlvzk/discocss/releases/tag/v${version}"; - homepage = "https://github.com/mlvzk/discocss"; - license = licenses.mpl20; - platforms = platforms.unix; - maintainers = with maintainers; [ mlvzk ]; - mainProgram = "discocss"; - }; -} diff --git a/pkgs/tools/misc/disfetch/default.nix b/pkgs/tools/misc/disfetch/default.nix deleted file mode 100644 index 6cd7a2683d60..000000000000 --- a/pkgs/tools/misc/disfetch/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ stdenv, lib, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "disfetch"; - version = "3.7"; - - src = fetchFromGitHub { - owner = "q60"; - repo = "disfetch"; - rev = version; - sha256 = "sha256-xzOE+Pnx0qb3B9vWWrF5Q0nhUo0QYBUO6j6al8N3deY="; - }; - - dontBuild = true; - - installPhase = '' - runHook preInstall - install -Dm755 -t $out/bin disfetch - runHook postInstall - ''; - - meta = with lib; { - description = "Yet another *nix distro fetching program, but less complex"; - homepage = "https://github.com/q60/disfetch"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ vel ]; - mainProgram = "disfetch"; - }; -} diff --git a/pkgs/tools/misc/diskonaut/default.nix b/pkgs/tools/misc/diskonaut/default.nix deleted file mode 100644 index d9738b398b04..000000000000 --- a/pkgs/tools/misc/diskonaut/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "diskonaut"; - version = "0.11.0"; - - src = fetchFromGitHub { - owner = "imsnif"; - repo = "diskonaut"; - rev = version; - sha256 = "1pmbag3r2ka30zmy2rs9jps2qxj2zh0gy4a774v9yhf0b6qjid54"; - }; - - cargoHash = "sha256-S/ne3iTEnlA3AqcPg3geLzV4bYVuYPjMCITSVJFnWYI="; - - # 1 passed; 44 failed https://hydra.nixos.org/build/148943783/nixlog/1 - doCheck = !stdenv.isDarwin; - - meta = with lib; { - description = "Terminal disk space navigator"; - homepage = "https://github.com/imsnif/diskonaut"; - license = licenses.mit; - maintainers = with maintainers; [ evanjs figsoda ]; - mainProgram = "diskonaut"; - }; -} diff --git a/pkgs/tools/misc/diskscan/default.nix b/pkgs/tools/misc/diskscan/default.nix deleted file mode 100644 index 7471089f45f9..000000000000 --- a/pkgs/tools/misc/diskscan/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, ncurses, zlib }: - -stdenv.mkDerivation rec { - pname = "diskscan"; - version = "0.21"; - - src = fetchFromGitHub { - owner = "baruch"; - repo = "diskscan"; - rev = version; - sha256 = "sha256-2y1ncPg9OKxqImBN5O5kXrTsuwZ/Cg/8exS7lWyZY1c="; - }; - - buildInputs = [ ncurses zlib ]; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - homepage = "https://github.com/baruch/diskscan"; - description = "Scan HDD/SSD for failed and near failed sectors"; - platforms = with platforms; linux; - maintainers = with maintainers; [ peterhoeg ]; - license = licenses.gpl3; - mainProgram = "diskscan"; - }; -} diff --git a/pkgs/tools/misc/diskus/default.nix b/pkgs/tools/misc/diskus/default.nix index fd37b2b9c99b..683da47d6af6 100644 --- a/pkgs/tools/misc/diskus/default.nix +++ b/pkgs/tools/misc/diskus/default.nix @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-SKd2CU0F2iR4bSHntu2VKvZyjjf2XJeXJG6XS/fIBMU="; }; - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; cargoHash = "sha256-qNXv6Z9sKl7rol78UTOSRFML/JCGfOJMGOdt49KHD50="; diff --git a/pkgs/tools/misc/djenrandom/default.nix b/pkgs/tools/misc/djenrandom/default.nix deleted file mode 100644 index 51f892a5a453..000000000000 --- a/pkgs/tools/misc/djenrandom/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "djenrandom"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "dj-on-github"; - repo = "djenrandom"; - rev = "${version}"; - hash = "sha256-r5UT8z8vvFZDffsl6CqBXuvBaZ/sl1WLxJi26CxkpAw="; - }; - - preBuild = '' - sed -i s/gcc/${stdenv.cc.targetPrefix}gcc/g Makefile - '' - + lib.optionalString (!stdenv.hostPlatform.isx86_64) '' - sed -i s/-m64//g Makefile - ''; - - installPhase = '' - runHook preInstall - install -D djenrandom $out/bin/djenrandom - runHook postInstall - ''; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - meta = { - homepage = "http://www.deadhat.com/"; - description = '' - A C program to generate random data using several random models, - with parameterized non uniformities and flexible output formats - ''; - license = lib.licenses.gpl2Only; - # djenrandom uses x86 specific instructions, therefore we can only compile for the x86 architechture - platforms = lib.platforms.x86; - maintainers = with lib.maintainers; [ orichter thillux ]; - mainProgram = "djenrandom"; - }; -} diff --git a/pkgs/tools/misc/dmg2img/default.nix b/pkgs/tools/misc/dmg2img/default.nix deleted file mode 100644 index 8b1e997ff736..000000000000 --- a/pkgs/tools/misc/dmg2img/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, zlib, bzip2, openssl, fetchpatch }: - -stdenv.mkDerivation rec { - pname = "dmg2img"; - version = "1.6.7"; - - src = fetchurl { - url = "http://vu1tur.eu.org/tools/dmg2img-${version}.tar.gz"; - sha256 = "066hqhg7k90xcw5aq86pgr4l7apzvnb4559vj5s010avbk8adbh2"; - }; - - buildInputs = [ zlib bzip2 openssl ]; - - patches = [ - (fetchpatch { - url = "https://raw.githubusercontent.com/Homebrew/formula-patches/85fa66a9/dmg2img/openssl-1.1.diff"; - sha256 = "076sz69hf3ryylplg025vl8sj991cb81g3yazsmrf8anrd7ffmxx"; - }) - ]; - - patchFlags = [ "-p0" ]; - - installPhase = '' - install -D dmg2img $out/bin/dmg2img - install -D vfdecrypt $out/bin/vfdecrypt - ''; - - meta = { - platforms = lib.platforms.unix; - description = "Apple's compressed dmg to standard (hfsplus) image disk file convert tool"; - license = lib.licenses.gpl3; - }; -} diff --git a/pkgs/tools/misc/docbook2mdoc/default.nix b/pkgs/tools/misc/docbook2mdoc/default.nix deleted file mode 100644 index dccafba41713..000000000000 --- a/pkgs/tools/misc/docbook2mdoc/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchurl, expat }: - -stdenv.mkDerivation rec { - pname = "docbook2mdoc"; - version = "0.0.9"; - - src = fetchurl { - url = "http://mdocml.bsd.lv/docbook2mdoc/snapshots/docbook2mdoc-${version}.tgz"; - sha256 = "07il80sg89xf6ym4bry6hxdacfzqgbwkxzyf7bjaihmw5jj0lclk"; - }; - - buildInputs = [ expat.dev ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - homepage = "http://mdocml.bsd.lv/"; - description = "converter from DocBook V4.x and v5.x XML into mdoc"; - license = licenses.isc; - platforms = platforms.all; - maintainers = with maintainers; [ ramkromberg ]; - mainProgram = "docbook2mdoc"; - }; -} diff --git a/pkgs/tools/misc/docker-ls/default.nix b/pkgs/tools/misc/docker-ls/default.nix deleted file mode 100644 index ad28d569c6e2..000000000000 --- a/pkgs/tools/misc/docker-ls/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib, docker }: - -buildGoModule rec { - pname = "docker-ls"; - version = "0.5.1"; - - src = fetchFromGitHub { - owner = "mayflower"; - repo = "docker-ls"; - rev = "v${version}"; - sha256 = "sha256-4+REt0NH4S367qFsyJncVedUrC4t1zw5o0CLTiQfIz8="; - }; - - vendorHash = "sha256-UulcjQOLEIP++eoYQTEIbCJW51jyE312dMxB8+AKcdU="; - - meta = with lib; { - description = "Tools for browsing and manipulating docker registries"; - longDescription = '' - Docker-ls is a set of CLI tools for browsing and manipulating docker registries. - In particular, docker-ls can handle authentication and display the sha256 content digests associated - with tags. - ''; - - homepage = "https://github.com/mayflower/docker-ls"; - maintainers = [ ]; - platforms = docker.meta.platforms; - license = licenses.mit; - }; -} diff --git a/pkgs/tools/misc/docui/default.nix b/pkgs/tools/misc/docui/default.nix deleted file mode 100644 index d226c2fc8f00..000000000000 --- a/pkgs/tools/misc/docui/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "docui"; - version = "2.0.4"; - - src = fetchFromGitHub { - owner = "skanehira"; - repo = "docui"; - rev = version; - hash = "sha256-tHv1caNGiWC9Dc/qR4ij9xGM1lotT0KyrpJpdBsHyks="; - }; - - vendorHash = "sha256-5xQ5MmGpyzVh4gXZAhCY16iVw8zbCMzMA5IOsPdn7b0="; - - meta = with lib; { - description = "TUI Client for Docker"; - homepage = "https://github.com/skanehira/docui"; - license = licenses.mit; - maintainers = with maintainers; [ aethelz ]; - broken = stdenv.isDarwin; - mainProgram = "docui"; - }; -} diff --git a/pkgs/tools/misc/doitlive/default.nix b/pkgs/tools/misc/doitlive/default.nix deleted file mode 100644 index 9e1d83bb4d98..000000000000 --- a/pkgs/tools/misc/doitlive/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "doitlive"; - version = "5.0.0"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-jAoibszDpQJjiNCZDhX3fLniALOG7r9YqaYEySkmMM4="; - }; - - nativeBuildInputs = with python3Packages; [ setuptools ]; - - propagatedBuildInputs = with python3Packages; [ click click-completion click-didyoumean ]; - - # disable tests (too many failures) - doCheck = false; - - meta = with lib; { - description = "Tool for live presentations in the terminal"; - homepage = "https://github.com/sloria/doitlive"; - changelog = "https://github.com/sloria/doitlive/blob/${version}/CHANGELOG.rst"; - license = licenses.mit; - maintainers = with maintainers; [ mbode ]; - mainProgram = "doitlive"; - }; -} diff --git a/pkgs/tools/misc/domine/default.nix b/pkgs/tools/misc/domine/default.nix deleted file mode 100644 index a85275acab0e..000000000000 --- a/pkgs/tools/misc/domine/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ buildDartApplication, fetchFromGitHub, lib }: - -buildDartApplication rec { - pname = "domine"; - version = "nightly-2023-08-10"; - - src = fetchFromGitHub { - owner = "breitburg"; - repo = pname; - rev = "d99d02b014d009b0201380a21ddaa57696dc77af"; - sha256 = "038yfa22q7lzz85czmny3c1lkv8mjv4pq62cbmh054fqvgf3k3s4"; - }; - - pubspecLock = lib.importJSON ./pubspec.lock.json; - meta.mainProgram = "domine"; -} diff --git a/pkgs/tools/misc/domine/pubspec.lock.json b/pkgs/tools/misc/domine/pubspec.lock.json deleted file mode 100644 index 214f3f49b2d9..000000000000 --- a/pkgs/tools/misc/domine/pubspec.lock.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "packages": { - "args": { - "dependency": "direct main", - "description": { - "name": "args", - "sha256": "eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.4.2" - }, - "async": { - "dependency": "transitive", - "description": { - "name": "async", - "sha256": "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.11.0" - }, - "collection": { - "dependency": "transitive", - "description": { - "name": "collection", - "sha256": "f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.17.2" - }, - "dart_openai": { - "dependency": "direct main", - "description": { - "name": "dart_openai", - "sha256": "707f6975454513f4a6197125b5a0fbe92ab7cbe4b8ea9111e529a09d7a3ce0c3", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "4.0.0" - }, - "dio": { - "dependency": "direct main", - "description": { - "name": "dio", - "sha256": "ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "5.3.2" - }, - "dio_smart_retry": { - "dependency": "direct main", - "description": { - "name": "dio_smart_retry", - "sha256": "1a2d0cf73ab56bf5998b375cda2d51f45c77268e712e4073f232cdc7753a94b2", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "5.0.0" - }, - "fetch_api": { - "dependency": "transitive", - "description": { - "name": "fetch_api", - "sha256": "7896632eda5af40c4459d673ad601df21d4c3ae6a45997e300a92ca63ec9fe4c", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.0.1" - }, - "fetch_client": { - "dependency": "transitive", - "description": { - "name": "fetch_client", - "sha256": "83c07b07a63526a43630572c72715707ca113a8aa3459efbc7b2d366b79402af", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.0.2" - }, - "http": { - "dependency": "transitive", - "description": { - "name": "http", - "sha256": "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.1.0" - }, - "http_parser": { - "dependency": "transitive", - "description": { - "name": "http_parser", - "sha256": "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "4.0.2" - }, - "js": { - "dependency": "transitive", - "description": { - "name": "js", - "sha256": "f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.6.7" - }, - "lints": { - "dependency": "direct dev", - "description": { - "name": "lints", - "sha256": "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.1.1" - }, - "meta": { - "dependency": "transitive", - "description": { - "name": "meta", - "sha256": "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.9.1" - }, - "path": { - "dependency": "transitive", - "description": { - "name": "path", - "sha256": "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.8.3" - }, - "source_span": { - "dependency": "transitive", - "description": { - "name": "source_span", - "sha256": "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.10.0" - }, - "string_scanner": { - "dependency": "transitive", - "description": { - "name": "string_scanner", - "sha256": "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.2.0" - }, - "term_glyph": { - "dependency": "transitive", - "description": { - "name": "term_glyph", - "sha256": "a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.2.1" - }, - "tint": { - "dependency": "direct main", - "description": { - "name": "tint", - "sha256": "9652d9a589f4536d5e392cf790263d120474f15da3cf1bee7f1fdb31b4de5f46", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.0.1" - }, - "typed_data": { - "dependency": "transitive", - "description": { - "name": "typed_data", - "sha256": "facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.3.2" - } - }, - "sdks": { - "dart": ">=3.0.6 <4.0.0" - } -} diff --git a/pkgs/tools/misc/dotacat/default.nix b/pkgs/tools/misc/dotacat/default.nix deleted file mode 100644 index 2512ff20d8d5..000000000000 --- a/pkgs/tools/misc/dotacat/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitLab -}: - -rustPlatform.buildRustPackage { - pname = "dotacat"; - version = "v0.3.0"; - - src = fetchFromGitLab { - domain = "gitlab.scd31.com"; - owner = "stephen"; - repo = "dotacat"; - rev = "f3b7e7816bed6b84123e066c57cf4003d77a85f1"; - hash = "sha256-y+u9PO01W+IzBatGHZpgOD7cRKjdeuy4/VX7/V9cu3Q="; - }; - - cargoHash = "sha256-ilvsqwvfQejo453veSZ5VMP8XhL7NryrDh+rYJkXk30="; - - meta = with lib; { - description = "Like lolcat, but fast"; - homepage = "https://gitlab.scd31.com/stephen/dotacat"; - license = licenses.mit; - maintainers = with maintainers; [ traxys ]; - mainProgram = "dotacat"; - }; -} diff --git a/pkgs/tools/misc/dpt-rp1-py/default.nix b/pkgs/tools/misc/dpt-rp1-py/default.nix deleted file mode 100644 index 5f1e53f8105f..000000000000 --- a/pkgs/tools/misc/dpt-rp1-py/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: -python3Packages.buildPythonApplication rec { - pname = "dpt-rp1-py"; - version = "0.1.16"; - - src = fetchFromGitHub { - owner = "janten"; - repo = pname; - rev = "v${version}"; - sha256 = "0zvf09b9rzpx5b0w81ziqd7v321hfhgsgvshdx23karj2hf75bvj"; - }; - - doCheck = false; - - propagatedBuildInputs = with python3Packages; [ - anytree - fusepy - httpsig - pbkdf2 - pyyaml - requests - setuptools - tqdm - urllib3 - zeroconf - ]; - - pythonImportsCheck = [ "dptrp1" ]; - - meta = with lib; { - homepage = "https://github.com/janten/dpt-rp1-py"; - description = "Python script to manage Sony DPT-RP1 without Digital Paper App"; - license = licenses.mit; - maintainers = with maintainers; [ mt-caret ]; - mainProgram = "dptrp1"; - }; -} diff --git a/pkgs/tools/misc/dsq/default.nix b/pkgs/tools/misc/dsq/default.nix deleted file mode 100644 index 9d05e567fb10..000000000000 --- a/pkgs/tools/misc/dsq/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, nix-update-script -, testers -, python3 -, curl -, jq -, p7zip -, dsq -}: - -buildGoModule rec { - pname = "dsq"; - version = "0.23.0"; - - src = fetchFromGitHub { - owner = "multiprocessio"; - repo = "dsq"; - rev = "v${version}"; - hash = "sha256-FZBJe+2y4HV3Pgeap4yvD0a8M/j+6pAJEFpoQVVE1ec="; - }; - - vendorHash = "sha256-MbBR+OC1OGhZZGcZqc+Jzmabdc5ZfFEwzqP5YMrj6mY="; - - ldflags = [ "-X" "main.Version=${version}" ]; - - nativeCheckInputs = [ python3 curl jq p7zip ]; - - preCheck = '' - substituteInPlace scripts/test.py \ - --replace 'dsq latest' 'dsq ${version}' - ''; - - checkPhase = '' - runHook preCheck - - 7z e testdata/taxi.csv.7z - cp "$GOPATH/bin/dsq" . - python3 scripts/test.py - - runHook postCheck - ''; - - passthru = { - updateScript = nix-update-script { }; - - tests.version = testers.testVersion { package = dsq; }; - }; - - meta = with lib; { - mainProgram = "dsq"; - description = "Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more"; - homepage = "https://github.com/multiprocessio/dsq"; - license = licenses.asl20; - maintainers = with maintainers; [ liff ]; - }; -} diff --git a/pkgs/tools/misc/dtach/default.nix b/pkgs/tools/misc/dtach/default.nix deleted file mode 100644 index 9daabbf81b5a..000000000000 --- a/pkgs/tools/misc/dtach/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "dtach"; - version = "0.9"; - - src = fetchurl { - url = "mirror://sourceforge/project/dtach/dtach/${version}/dtach-${version}.tar.gz"; - sha256 = "1wwj2hlngi8qn2pisvhyfxxs8gyqjlgrrv5lz91w8ly54dlzvs9j"; - }; - - installPhase = '' - mkdir -p $out/bin - cp dtach $out/bin/dtach - ''; - - meta = { - homepage = "https://dtach.sourceforge.net/"; - description = "Program that emulates the detach feature of screen"; - - longDescription = '' - dtach is a tiny program that emulates the detach feature of - screen, allowing you to run a program in an environment that is - protected from the controlling terminal and attach to it later. - dtach does not keep track of the contents of the screen, and - thus works best with programs that know how to redraw - themselves. - ''; - - license = lib.licenses.gpl2Plus; - - platforms = lib.platforms.unix; - maintainers = [ ]; - mainProgram = "dtach"; - }; -} diff --git a/pkgs/tools/misc/dtool/default.nix b/pkgs/tools/misc/dtool/default.nix deleted file mode 100644 index 8b4349dbb59a..000000000000 --- a/pkgs/tools/misc/dtool/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "dtool"; - version = "0.12.0"; - - src = fetchFromGitHub { - owner = "guoxbin"; - repo = "dtool"; - rev = "v${version}"; - hash = "sha256-m4H+ANwEbK6vGW3oIVZqnqvMiAKxNJf2TLIGh/G6AU4="; - }; - - cargoHash = "sha256-o5Xvc0tnoUgfp5k7EqVuEH9Zyo3C+A+mVqPhMtZCYKw="; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - # FIXME: remove patch when upstream version of rustc-serialize is updated - cargoPatches = [ ./rustc-serialize-fix.patch ]; - - checkType = "debug"; - - meta = with lib; { - description = "Command-line tool collection to assist development written in RUST"; - homepage = "https://github.com/guoxbin/dtool"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ linuxissuper ]; - mainProgram = "dtool"; - }; -} diff --git a/pkgs/tools/misc/dtool/rustc-serialize-fix.patch b/pkgs/tools/misc/dtool/rustc-serialize-fix.patch deleted file mode 100644 index 8d0327e8a457..000000000000 --- a/pkgs/tools/misc/dtool/rustc-serialize-fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/Cargo.lock b/Cargo.lock -index b1cc23695b30..ffdeb1c90618 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -996,9 +996,9 @@ dependencies = [ - - [[package]] - name = "rustc-serialize" --version = "0.3.24" -+version = "0.3.25" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda" -+checksum = "fe834bc780604f4674073badbad26d7219cadfb4a2275802db12cbae17498401" - - [[package]] - name = "rustix" diff --git a/pkgs/tools/misc/dua/default.nix b/pkgs/tools/misc/dua/default.nix deleted file mode 100644 index 130a21d0709a..000000000000 --- a/pkgs/tools/misc/dua/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "dua"; - version = "2.29.2"; - - src = fetchFromGitHub { - owner = "Byron"; - repo = "dua-cli"; - rev = "v${version}"; - hash = "sha256-tmlf5heOZ3UyFh8ZfwXXZhQO3vlSWwyvxL9/euQ2Fn4="; - # Remove unicode file names which leads to different checksums on HFS+ - # vs. other filesystems because of unicode normalisation. - postFetch = '' - rm -r $out/tests/fixtures - ''; - }; - - cargoHash = "sha256-bqWYXcry+mCUNgYS+7+MWfiV+u+3oZZg1o3Q6Mac+vE="; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Foundation - ]; - - doCheck = false; - - meta = with lib; { - description = "Tool to conveniently learn about the disk usage of directories"; - homepage = "https://github.com/Byron/dua-cli"; - changelog = "https://github.com/Byron/dua-cli/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ figsoda killercup ]; - mainProgram = "dua"; - }; -} diff --git a/pkgs/tools/misc/duc/default.nix b/pkgs/tools/misc/duc/default.nix deleted file mode 100644 index 56fe697528ab..000000000000 --- a/pkgs/tools/misc/duc/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config -, tokyocabinet, ncurses -, cairo ? null, pango ? null -, enableCairo ? stdenv.isLinux -}: - -assert enableCairo -> cairo != null && pango != null; - -stdenv.mkDerivation rec { - pname = "duc"; - version = "1.4.5"; - - src = fetchFromGitHub { - owner = "zevv"; - repo = "duc"; - rev = version; - sha256 = "sha256-ZLNsyp82UnsveEfDKzH8WfRh/Y/PQlXq8Ma+jIZl9Gk="; - }; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ tokyocabinet ncurses ] ++ - lib.optionals enableCairo [ cairo pango ]; - - configureFlags = - lib.optionals (!enableCairo) [ "--disable-x11" "--disable-cairo" ]; - - meta = with lib; { - homepage = "http://duc.zevv.nl/"; - description = "Collection of tools for inspecting and visualizing disk usage"; - license = licenses.gpl2Only; - - platforms = platforms.all; - maintainers = [ ]; - mainProgram = "duc"; - }; -} diff --git a/pkgs/tools/misc/duf/default.nix b/pkgs/tools/misc/duf/default.nix deleted file mode 100644 index 5c2ccb5717fc..000000000000 --- a/pkgs/tools/misc/duf/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule, installShellFiles }: - -buildGoModule rec { - pname = "duf"; - version = "0.8.1"; - - src = fetchFromGitHub { - owner = "muesli"; - repo = "duf"; - rev = "v${version}"; - sha256 = "sha256-bVuqX88KY+ky+fd1FU9GWP78jQc4fRDk9yRSeIesHyI="; - }; - - vendorHash = "sha256-oihi7E67VQmym9U1gdD802AYxWRrSowhzBiKg0CBDPc="; - - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installManPage duf.1 - ''; - - meta = with lib; { - homepage = "https://github.com/muesli/duf/"; - description = "Disk Usage/Free Utility"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda penguwin ]; - mainProgram = "duf"; - }; -} diff --git a/pkgs/tools/misc/dumptorrent/default.nix b/pkgs/tools/misc/dumptorrent/default.nix deleted file mode 100644 index c80a696f8cba..000000000000 --- a/pkgs/tools/misc/dumptorrent/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "dumptorrent"; - version = "1.2"; - - src = fetchurl { - url = "mirror://sourceforge/dumptorrent/dumptorrent-${version}.tar.gz"; - sha256 = "073h03bmpfdy15qh37lvppayld2747i4acpyk0pm5nf2raiak0zm"; - }; - - postPatch = '' - substituteInPlace Makefile \ - --replace "gcc" "$CC" - ''; - - installPhase = '' - mkdir -p $out/bin - cp ./dumptorrent $out/bin - ''; - - meta = with lib; { - description = "Dump .torrent file information"; - homepage = "https://sourceforge.net/projects/dumptorrent/"; - license = licenses.gpl2Only; - maintainers = [ maintainers.zohl ]; - platforms = platforms.all; - mainProgram = "dumptorrent"; - }; -} diff --git a/pkgs/tools/misc/dupd/default.nix b/pkgs/tools/misc/dupd/default.nix deleted file mode 100644 index cf5ab77e7d47..000000000000 --- a/pkgs/tools/misc/dupd/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, perl, which -, openssl, sqlite }: - -# Instead of writing directly into $HOME, we change the default db location -# from $HOME/.dupd_sqlite to $HOME/.cache/dupd.sqlite3 - -stdenv.mkDerivation rec { - pname = "dupd"; - version = "1.7.3"; - - src = fetchFromGitHub { - owner = "jvirkki"; - repo = "dupd"; - rev = version; - sha256 = "sha256-ZiQroJ5fjBCIjU+M8KRA0N3Mrg9h0NVtfYUIS4cYyhw="; - }; - - postPatch = '' - patchShebangs tests - - # tests need HOME to write the database - export HOME=$TMPDIR - - mkdir -p $HOME/.cache - - for f in man/dupd man/dupd.1 src/main.c tests/test.56 tests/test.57 ; do - substituteInPlace $f --replace .dupd_sqlite .cache/dupd.sqlite3 - done - ''; - - buildInputs = [ openssl sqlite ]; - - nativeBuildInputs = [ perl which ]; - - makeFlags = [ - "INSTALL_PREFIX=$(out)" - ]; - - enableParallelBuilding = true; - - doCheck = true; - - meta = with lib; { - description = "CLI utility to find duplicate files"; - homepage = "http://www.virkki.com/dupd"; - license = licenses.gpl3; - maintainers = with maintainers; [ peterhoeg ]; - mainProgram = "dupd"; - }; -} diff --git a/pkgs/tools/misc/dutree/default.nix b/pkgs/tools/misc/dutree/default.nix deleted file mode 100644 index 421af51aef51..000000000000 --- a/pkgs/tools/misc/dutree/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ fetchFromGitHub, lib, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "dutree"; - version = "0.2.18"; - - src = fetchFromGitHub { - owner = "nachoparker"; - repo = pname; - rev = "v${version}"; - sha256 = "17lm8jd07bi499mywg2iq669im34j4x4yhc8a3adxn12f8j0dfg7"; - # test directory has files with unicode names which causes hash mismatches - # It is also not used by any tests or parts of build process - postFetch = '' - rm -r $out/test - ''; - }; - - cargoHash = "sha256-/E+4yJEhZbERy4vOqn0Ruv3zOcd2FA+q41qZ0Tvg4T0="; - - meta = with lib; { - description = "Tool to analyze file system usage written in Rust"; - homepage = "https://github.com/nachoparker/dutree"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "dutree"; - }; -} diff --git a/pkgs/tools/misc/dvtm/dvtm.nix b/pkgs/tools/misc/dvtm/dvtm.nix index aedac2d61f98..f4e36f271bab 100644 --- a/pkgs/tools/misc/dvtm/dvtm.nix +++ b/pkgs/tools/misc/dvtm/dvtm.nix @@ -3,7 +3,7 @@ stdenv.mkDerivation { inherit pname version src patches; - CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; + CFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE"; postPatch = lib.optionalString (customConfig != null) '' cp ${builtins.toFile "config.h" customConfig} ./config.h diff --git a/pkgs/tools/misc/dwarf2json/default.nix b/pkgs/tools/misc/dwarf2json/default.nix deleted file mode 100644 index 3bd0fa4b94a8..000000000000 --- a/pkgs/tools/misc/dwarf2json/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "dwarf2json"; - version = "unstable-2021-04-15"; - - src = fetchFromGitHub { - owner = "volatilityfoundation"; - repo = "dwarf2json"; - rev = "e8a1ce85dc33bf2039adc7f8a5f47f3016153720"; - sha256 = "sha256-hnS00glAcj78mZp5as63CsEn+dcr+GNEkz8iC3KM0h0="; - }; - - vendorHash = "sha256-tgs0l+sYdAxMHwVTew++keNpDyrHmevpmOBVIiuL+34="; - - meta = with lib; { - homepage = "https://github.com/volatilityfoundation/dwarf2json"; - description = "Convert ELF/DWARF symbol and type information into vol3's intermediate JSON"; - license = licenses.vol-sl; - maintainers = with maintainers; [ arkivm ]; - mainProgram = "dwarf2json"; - }; -} diff --git a/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix b/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix deleted file mode 100644 index 0843962703fe..000000000000 --- a/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitLab -, installShellFiles -}: - -stdenvNoCC.mkDerivation { - pname = "dwt1-shell-color-scripts"; - version = "unstable-2023-03-27"; - - src = fetchFromGitLab { - owner = "dwt1"; - repo = "shell-color-scripts"; - rev = "576735cf656ece1bfd314e617b91c0e9d486d262"; - hash = "sha256-1iDcUv6uVq5LzFgZo36RRKqAzKoYKZW/MnlbneayvCY="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - postPatch = '' - patchShebangs ./colorscript.sh - patchShebangs ./colorscripts - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin $out/share/shell-color-scripts - install -Dm755 colorscript.sh $out/bin/colorscript - cp -r colorscripts $out/share/shell-color-scripts/colorscripts - - installManPage colorscript.1 - installShellCompletion --fish completions/colorscript.fish - installShellCompletion --zsh completions/_colorscript - - runHook postInstall - ''; - - postFixup = '' - substituteInPlace \ - $out/bin/colorscript \ - $out/share/fish/vendor_completions.d/colorscript.fish \ - $out/share/zsh/site-functions/_colorscript \ - --replace-fail "/opt/shell-color-scripts/colorscripts" \ - "$out/share/shell-color-scripts/colorscripts" - ''; - - meta = { - homepage = "https://gitlab.com/dwt1/shell-color-scripts"; - description = "Collection of shell color scripts collected by dt (Derek Taylor)"; - license = with lib.licenses; [ mit ]; - maintainers = [ ]; - platforms = lib.platforms.all; - mainProgram = "colorscript"; - }; -} diff --git a/pkgs/tools/misc/dynamic-colors/default.nix b/pkgs/tools/misc/dynamic-colors/default.nix deleted file mode 100644 index 0c04f70f26f3..000000000000 --- a/pkgs/tools/misc/dynamic-colors/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "dynamic-colors"; - version = "0.2.5"; - - src = fetchFromGitHub { - owner = "peterhoeg"; - repo = "dynamic-colors"; - rev = "v${version}"; - sha256 = "sha256-jSdwq9WwYZP8MK6z7zJa0q93xfanr6iuvAt8YQkQxxE="; - }; - - PREFIX = placeholder "out"; - - postPatch = '' - substituteInPlace bin/dynamic-colors \ - --replace /usr/share/dynamic-colors $out/share/dynamic-colors - ''; - - meta = with lib; { - description = "Change terminal colors on the fly"; - homepage = "https://github.com/peterhoeg/dynamic-colors"; - license = licenses.mit; - maintainers = with maintainers; [ peterhoeg ]; - platforms = platforms.unix; - mainProgram = "dynamic-colors"; - }; -} diff --git a/pkgs/tools/misc/ea/default.nix b/pkgs/tools/misc/ea/default.nix deleted file mode 100644 index d45f3b431dcd..000000000000 --- a/pkgs/tools/misc/ea/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, rustPlatform -, installShellFiles -, libiconv -}: - -rustPlatform.buildRustPackage rec { - pname = "ea"; - version = "0.2.1"; - - src = fetchFromGitHub { - owner = "dduan"; - repo = "ea"; - rev = version; - hash = "sha256-VXSSe5d7VO3LfjumzN9a7rrKRedOtOzTdLVQWgV1ED8="; - }; - - cargoPatches = [ - # https://github.com/dduan/ea/pull/64 - (fetchpatch { - name = "update-guard.patch"; - url = "https://github.com/dduan/ea/commit/068aa36d7a472c7a4bac855f2404e7094dec7d58.patch"; - hash = "sha256-iK3fjB6zSDqe0yMUIFjP1nEFLYLFg7dy6+b0T6mC1GA="; - }) - ]; - - cargoHash = "sha256-/MkLWAbEr14CYdqSwJP1vNYxK7pAmMLdhiV61UQEbME="; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - libiconv - ]; - - postInstall = '' - installManPage docs/ea.1 - ''; - - meta = with lib; { - description = "Makes file paths from CLI output actionable"; - homepage = "https://github.com/dduan/ea"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ deejayem ]; - }; -} diff --git a/pkgs/tools/misc/easeprobe/default.nix b/pkgs/tools/misc/easeprobe/default.nix deleted file mode 100644 index 3691d73b0b34..000000000000 --- a/pkgs/tools/misc/easeprobe/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "easeprobe"; - version = "2.2.1"; - - src = fetchFromGitHub { - owner = "megaease"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-XPbRtW3UIc6N1D1LKDYxgTHGVmiGDnam+r5Eg4uBa7w="; - }; - - vendorHash = "sha256-2iQJiRKt4/mBwwkjhohA1LeOfRart8WQT1bOIFuHbtA="; - - subPackages = [ "cmd/easeprobe" ]; - - CGO_ENABLED = 0; - - ldflags = [ - "-s" - "-w" - "-extldflags -static" - "-X github.com/megaease/easeprobe/global.Ver=${version}" - "-X github.com/megaease/easeprobe/pkg/version.REPO=megaease/easeprobe" - ]; - - meta = with lib; { - description = "Simple, standalone, and lightweight tool that can do health/status checking, written in Go"; - homepage = "https://github.com/megaease/easeprobe"; - license = licenses.asl20; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "easeprobe"; - }; -} diff --git a/pkgs/tools/misc/edid-decode/default.nix b/pkgs/tools/misc/edid-decode/default.nix deleted file mode 100644 index fbee1797992d..000000000000 --- a/pkgs/tools/misc/edid-decode/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, stdenv -, fetchgit -, unstableGitUpdater -}: - -stdenv.mkDerivation { - pname = "edid-decode"; - version = "0-unstable-2024-04-02"; - - outputs = [ - "out" - "man" - ]; - - src = fetchgit { - url = "https://git.linuxtv.org/edid-decode.git"; - rev = "3d635499e4aca3319f0796ba787213c981c5a770"; - hash = "sha256-bqzO39YM/3h9p37xaGJAw9xERgWOD+4yqO/XQiq/QqM="; - }; - - preBuild = '' - export DESTDIR=$out - export bindir=/bin - export mandir=/share/man - ''; - - enableParallelBuilding = true; - - passthru.updateScript = unstableGitUpdater { }; - - meta = with lib; { - description = "EDID decoder and conformance tester"; - homepage = "https://git.linuxtv.org/edid-decode.git"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ Madouura ]; - platforms = platforms.all; - mainProgram = "edid-decode"; - }; -} diff --git a/pkgs/tools/misc/edid-generator/default.nix b/pkgs/tools/misc/edid-generator/default.nix deleted file mode 100644 index fc7f01226972..000000000000 --- a/pkgs/tools/misc/edid-generator/default.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, dos2unix -, edid-decode -, hexdump -, zsh -}: - -# Usage: -# hardware.firmware = [(edid-generator.overrideAttrs { -# clean = true; -# modelines = '' -# Modeline "PG278Q_60" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 -hsync +vsync -# Modeline "PG278Q_120" 497.75 2560 2608 2640 2720 1440 1443 1448 1525 +hsync -vsync -# Modeline "U2711_60" 241.50 2560 2600 2632 2720 1440 1443 1448 1481 -hsync +vsync -# ''; -# })]; - -stdenv.mkDerivation { - pname = "edid-generator"; - version = "master-2023-11-20"; - - # so `hardware.firmware` doesn't compress it - compressFirmware = false; - - src = fetchFromGitHub { - owner = "akatrevorjay"; - repo = "edid-generator"; - rev = "476a016d8b488df749bf6d6efbf7b9fbfb2e3cb8"; - sha256 = "sha256-UGxze273VB5cQDWrv9X/Lam6WbOu9U3bro8GcVbEvws="; - }; - - nativeBuildInputs = [ dos2unix edid-decode hexdump zsh ]; - - postPatch = '' - patchShebangs modeline2edid - ''; - - passAsFile = [ "modelines" ]; - clean = false; - modelines = ""; - - configurePhase = '' - test "$clean" != 1 || rm *x*.S - ./modeline2edid - <"$modelinesPath" - - for file in *.S ; do - echo "--- generated file: $file" - cat "$file" - done - make clean - ''; - - buildPhase = '' - make all - ''; - - doCheck = true; - checkPhase = '' - for file in *.bin ; do - echo "validating $file" - edid-decode <"$file" - done - ''; - - installPhase = '' - install -Dm 444 *.bin -t "$out/lib/firmware/edid" - ''; - - meta = { - description = "Hackerswork to generate an EDID blob from given Xorg Modelines"; - homepage = "https://github.com/akatrevorjay/edid-generator"; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ flokli nazarewk ]; - platforms = lib.platforms.all; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/edid-generator.x86_64-darwin - }; -} diff --git a/pkgs/tools/misc/edir/default.nix b/pkgs/tools/misc/edir/default.nix deleted file mode 100644 index 85fc426fc57c..000000000000 --- a/pkgs/tools/misc/edir/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "edir"; - version = "2.29"; - format = "pyproject"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-5b86/M8xqzwWMCRtsH1qwmooyfOhORgXgctRjzQEmlU="; - }; - - nativeBuildInputs = with python3Packages; [ - setuptools-scm - ]; - - propagatedBuildInputs = with python3Packages; [ - platformdirs - ]; - - meta = with lib; { - description = "Program to rename and remove files and directories using your editor"; - homepage = "https://github.com/bulletmark/edir"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ guyonvarch ]; - platforms = platforms.all; - mainProgram = "edir"; - }; -} diff --git a/pkgs/tools/misc/edk2-uefi-shell/default.nix b/pkgs/tools/misc/edk2-uefi-shell/default.nix deleted file mode 100644 index 0ec010472645..000000000000 --- a/pkgs/tools/misc/edk2-uefi-shell/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, stdenv -, edk2 -, llvmPackages -, util-linux -, nasm -, python3 -}: -edk2.mkDerivation "ShellPkg/ShellPkg.dsc" (finalAttrs: { - pname = "edk2-uefi-shell"; - inherit (edk2) version; - - nativeBuildInputs = [ util-linux nasm python3 ] - ++ lib.optionals stdenv.cc.isClang [ llvmPackages.bintools llvmPackages.llvm ]; - strictDeps = true; - - env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ "-fno-pic" "-Qunused-arguments" ]); - - # Set explicitly to use Python 3 from nixpkgs. Otherwise, the build system will detect and try to - # use `/usr/bin/python3` on Darwin when sandboxing is disabled. - PYTHON_COMMAND = "${lib.getBin python3}/bin/python3"; - - # We only have a .efi file in $out which shouldn't be patched or stripped - dontPatchELF = true; - dontStrip = true; - - # GUID hardcoded to match ShellPkg.dsc - installPhase = '' - runHook preInstall - install -D -m0644 Build/Shell/RELEASE*/*/Shell_EA4BB293-2D7F-4456-A681-1F22F42CD0BC.efi $out/shell.efi - runHook postInstall - ''; - - passthru.efi = "${finalAttrs.finalPackage}/shell.efi"; - - meta = { - inherit (edk2.meta) license platforms; - description = "UEFI Shell from Tianocore EFI development kit"; - homepage = "https://github.com/tianocore/tianocore.github.io/wiki/ShellPkg"; - maintainers = with lib.maintainers; [ LunNova mjoerg ]; - broken = stdenv.isDarwin && stdenv.isAarch64; - }; -}) diff --git a/pkgs/tools/misc/eget/default.nix b/pkgs/tools/misc/eget/default.nix deleted file mode 100644 index 89aa759741ae..000000000000 --- a/pkgs/tools/misc/eget/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, pandoc -, installShellFiles -, nix-update-script -, testers -, eget -}: - -buildGoModule rec { - pname = "eget"; - version = "1.3.4"; - - src = fetchFromGitHub { - owner = "zyedidia"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-jhVUYyp6t5LleVotQQme07IJVdVnIOVFFtKEmzt8e2k="; - }; - - vendorHash = "sha256-A3lZtV0pXh4KxINl413xGbw2Pz7OzvIQiFSRubH428c="; - - ldflags = [ "-s" "-w" "-X main.Version=v${version}" ]; - - nativeBuildInputs = [ pandoc installShellFiles ]; - - postInstall = '' - pandoc man/eget.md -s -t man -o eget.1 - installManPage eget.1 - ''; - - passthru = { - updateScript = nix-update-script { }; - tests.version = testers.testVersion { - package = eget; - command = "eget -v"; - version = "v${version}"; - }; - }; - - meta = with lib; { - description = "Easily install prebuilt binaries from GitHub"; - homepage = "https://github.com/zyedidia/eget"; - license = licenses.mit; - maintainers = with maintainers; [ zendo ]; - }; -} diff --git a/pkgs/tools/misc/ego/default.nix b/pkgs/tools/misc/ego/default.nix deleted file mode 100644 index 67a71a196bd7..000000000000 --- a/pkgs/tools/misc/ego/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, makeBinaryWrapper -, acl -, xorg -}: - -rustPlatform.buildRustPackage rec { - pname = "ego"; - version = "1.1.7"; - - src = fetchFromGitHub { - owner = "intgr"; - repo = "ego"; - rev = version; - hash = "sha256-613RM7Ldye0wHAH3VMhzhyT5WVTybph3gS/WNMrsgGI="; - }; - - buildInputs = [ acl ]; - - nativeBuildInputs = [ makeBinaryWrapper ]; - - cargoHash = "sha256-3leKejQ8kxamjwQPH1vg2I1CYc3r8k3pYfTWpOkqq8I="; - - # requires access to /root - checkFlags = [ - "--skip tests::test_check_user_homedir" - ]; - - postInstall = '' - wrapProgram $out/bin/ego --prefix PATH : ${lib.makeBinPath [ xorg.xhost ]} - ''; - - meta = { - description = "Run Linux desktop applications under a different local user"; - homepage = "https://github.com/intgr/ego"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ dit7ya ]; - mainProgram = "ego"; - }; -} diff --git a/pkgs/tools/misc/elfcat/default.nix b/pkgs/tools/misc/elfcat/default.nix deleted file mode 100644 index 2344eb717547..000000000000 --- a/pkgs/tools/misc/elfcat/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "elfcat"; - version = "0.1.8"; - - src = fetchFromGitHub { - owner = "ruslashev"; - repo = pname; - rev = version; - sha256 = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo="; - }; - - cargoHash = "sha256-Dc+SuLwbLFcNSr9RiNSc7dgisBOvOUEIDR8dFAkC/O0="; - - meta = with lib; { - description = "ELF visualizer, generates HTML files from ELF binaries"; - homepage = "https://github.com/ruslashev/elfcat"; - license = licenses.zlib; - maintainers = with maintainers; [ moni ]; - mainProgram = "elfcat"; - }; -} diff --git a/pkgs/tools/misc/eludris/default.nix b/pkgs/tools/misc/eludris/default.nix index e0762d179ec0..756324c1a8b2 100644 --- a/pkgs/tools/misc/eludris/default.nix +++ b/pkgs/tools/misc/eludris/default.nix @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "-p eludris" ]; cargoTestFlags = [ "-p eludris" ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; nativeBuildInputs = [ pkg-config ]; meta = with lib; { diff --git a/pkgs/tools/misc/empty/0.6-Makefile.patch b/pkgs/tools/misc/empty/0.6-Makefile.patch deleted file mode 100644 index 6fb494cdf54c..000000000000 --- a/pkgs/tools/misc/empty/0.6-Makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile b/Makefile -index 1fe4c41..2c69558 100644 ---- a/Makefile -+++ b/Makefile -@@ -16,7 +16,7 @@ LIBS = -lutil - PREFIX = /usr/local - - all: -- ${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c -+ ${CC} ${CFLAGS} -Wall -o empty empty.c ${LIBS} - - FreeBSD: all - NetBSD: all diff --git a/pkgs/tools/misc/empty/default.nix b/pkgs/tools/misc/empty/default.nix deleted file mode 100644 index 40e53ca23950..000000000000 --- a/pkgs/tools/misc/empty/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ fetchzip, lib, stdenv, which }: - -stdenv.mkDerivation rec { - pname = "empty"; - version = "0.6.21b"; - - src = fetchzip { - url = "mirror://sourceforge/empty/empty/empty-${version}.tgz"; - sha256 = "1rkixh2byr70pdxrwr4lj1ckh191rjny1m5xbjsa7nqw1fw6c2xs"; - stripRoot = false; - }; - - patches = [ - ./0.6-Makefile.patch - ]; - - nativeBuildInputs = [ which ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - postPatch = '' - rm empty - ''; - - meta = with lib; { - homepage = "https://empty.sourceforge.net"; - description = "Simple tool to automate interactive terminal applications"; - license = licenses.bsd3; - platforms = platforms.all; - longDescription = '' - The empty utility provides an interface to execute and/or interact with - processes under pseudo-terminal sessions (PTYs). This tool is definitely - useful in programming of shell scripts designed to communicate with - interactive programs like telnet, ssh, ftp, etc. In some cases empty can - be the simplest replacement for TCL/expect or other similar programming - tools because empty: - - - can be easily invoked directly from shell prompt or script - - does not use TCL, Perl, PHP, Python or anything else as an underlying language - - is written entirely in C - - has small and simple source code - - can easily be ported to almost all UNIX-like systems - ''; - maintainers = [ maintainers.djwf ]; - mainProgram = "empty"; - }; -} diff --git a/pkgs/tools/misc/emv/default.nix b/pkgs/tools/misc/emv/default.nix deleted file mode 100644 index a317805e463c..000000000000 --- a/pkgs/tools/misc/emv/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation { - pname = "emv"; - version = "1.95"; - - src = fetchurl { - url = "http://www.i0i0.de/toolchest/emv"; - sha256 = "7e0e12afa45ef5ed8025e5f2c6deea0ff5f512644a721f7b1b95b63406a8f7ce"; - }; - - dontUnpack = true; - - installPhase = '' - mkdir -pv $out/bin - cp $src $out/bin/emv - chmod +x $out/bin/emv - ''; - - meta = { - homepage = "http://www.i0i0.de/toolchest/emv"; - description = "Editor Move: Rename files with your favourite text editor"; - license = lib.licenses.publicDomain; - platforms = lib.platforms.unix; - mainProgram = "emv"; - }; -} diff --git a/pkgs/tools/misc/encpipe/default.nix b/pkgs/tools/misc/encpipe/default.nix deleted file mode 100644 index c48fa9d162f4..000000000000 --- a/pkgs/tools/misc/encpipe/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "encpipe"; - version = "0.5"; - - src = fetchFromGitHub { - owner = "jedisct1"; - repo = "encpipe"; - rev = version; - hash = "sha256-YlEKSWzZuQyDi0mbwJh9Dfn4gKiOeqihSHPt4yY6YdY="; - fetchSubmodules = true; - }; - - installFlags = [ - "PREFIX=$(out)" - ]; - - meta = with lib; { - description = "Encryption tool"; - homepage = "https://github.com/jedisct1/encpipe"; - license = licenses.isc; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "encpipe"; - }; -} diff --git a/pkgs/tools/misc/enjarify/default.nix b/pkgs/tools/misc/enjarify/default.nix deleted file mode 100644 index 4e4f21430132..000000000000 --- a/pkgs/tools/misc/enjarify/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3, runtimeShell }: - -stdenv.mkDerivation rec { - pname = "enjarify"; - version = "1.0.3"; - - src = fetchFromGitHub { - owner = "google"; - repo = pname; - rev = version; - sha256 = "sha256-VDBC5n2jWLNJsilX+PV1smL5JeBDj23jYFRwdObXwYs="; - }; - - installPhase = '' - pypath="$out/${python3.sitePackages}" - mkdir -p $out/bin $pypath - mv enjarify $pypath - - cat << EOF > $out/bin/enjarify - #!${runtimeShell} - export PYTHONPATH=$pypath - exec ${python3.interpreter} -O -m enjarify.main "\$@" - EOF - chmod +x $out/bin/enjarify - ''; - - buildInputs = [ ]; - - meta = with lib; { - description = "Tool for translating Dalvik bytecode to equivalent Java bytecode"; - homepage = "https://github.com/google/enjarify/"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "enjarify"; - }; -} diff --git a/pkgs/tools/misc/ent/default.nix b/pkgs/tools/misc/ent/default.nix deleted file mode 100644 index 3152e00503bb..000000000000 --- a/pkgs/tools/misc/ent/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{lib, stdenv, fetchurl, unzip}: - -stdenv.mkDerivation { - pname = "ent"; - version = "1.1"; - - src = fetchurl { - url = "https://www.fourmilab.ch/random/random.zip"; - sha256 = "1v39jlj3lzr5f99avzs2j2z6anqqd64bzm1pdf6q84a5n8nxckn1"; - }; - - # Work around the "unpacker appears to have produced no directories" - # case that happens when the archive doesn't have a subdirectory. - sourceRoot = "."; - - nativeBuildInputs = [ unzip ]; - - buildFlags = lib.optional stdenv.cc.isClang "CC=clang"; - - installPhase = '' - mkdir -p $out/bin - cp ent $out/bin/ - ''; - - meta = with lib; { - description = "Pseudorandom Number Sequence Test Program"; - homepage = "https://www.fourmilab.ch/random/"; - platforms = platforms.all; - license = licenses.publicDomain; - mainProgram = "ent"; - }; -} diff --git a/pkgs/tools/misc/entr/default.nix b/pkgs/tools/misc/entr/default.nix deleted file mode 100644 index ab29aca97d49..000000000000 --- a/pkgs/tools/misc/entr/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchurl, coreutils }: - -stdenv.mkDerivation rec { - pname = "entr"; - version = "5.6"; - - src = fetchurl { - url = "https://eradman.com/entrproject/code/entr-${version}.tar.gz"; - hash = "sha256-AiK435KNO1o7UZTWPn3gmFM+BBkNnZoVS5JsbB+d0U4="; - }; - - postPatch = '' - substituteInPlace entr.c --replace /bin/cat ${coreutils}/bin/cat - substituteInPlace entr.1 --replace /bin/cat cat - ''; - dontAddPrefix = true; - doCheck = true; - checkTarget = "test"; - installFlags = [ "PREFIX=$(out)" ]; - - TARGET_OS = stdenv.hostPlatform.uname.system; - - meta = with lib; { - homepage = "https://eradman.com/entrproject/"; - description = "Run arbitrary commands when files change"; - changelog = "https://github.com/eradman/entr/raw/${version}/NEWS"; - license = licenses.isc; - platforms = platforms.all; - maintainers = with maintainers; [ pSub synthetica ]; - mainProgram = "entr"; - }; -} diff --git a/pkgs/tools/misc/enumer/default.nix b/pkgs/tools/misc/enumer/default.nix deleted file mode 100644 index c10cfdccd91f..000000000000 --- a/pkgs/tools/misc/enumer/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "enumer"; - version = "1.5.9"; - - src = fetchFromGitHub { - owner = "dmarkham"; - repo = "enumer"; - rev = "refs/tags/v${version}"; - hash = "sha256-NYL36GBogFM48IgIWhFa1OLZNUeEi0ppS6KXybnPQks="; - }; - - vendorHash = "sha256-CJCay24FlzDmLjfZ1VBxih0f+bgBNu+Xn57QgWT13TA="; - - meta = with lib; { - description = "Go tool to auto generate methods for enums"; - homepage = "https://github.com/dmarkham/enumer"; - license = licenses.bsd2; - maintainers = with maintainers; [ hexa ]; - mainProgram = "enumer"; - }; -} diff --git a/pkgs/tools/misc/envchain/default.nix b/pkgs/tools/misc/envchain/default.nix index 984dd60082e3..22a007536399 100644 --- a/pkgs/tools/misc/envchain/default.nix +++ b/pkgs/tools/misc/envchain/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ libsecret readline ] - ++ lib.optionals stdenv.isDarwin [ libedit ncurses Security ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ libedit ncurses Security ]; makeFlags = [ "DESTDIR=$(out)" ]; diff --git a/pkgs/tools/misc/envsubst/default.nix b/pkgs/tools/misc/envsubst/default.nix deleted file mode 100644 index 8fc8ff2bb2d7..000000000000 --- a/pkgs/tools/misc/envsubst/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "envsubst"; - version = "1.4.2"; - - src = fetchFromGitHub { - owner = "a8m"; - repo = "envsubst"; - rev = "v${version}"; - sha256 = "sha256-gfzqf/CXSwGXBK5VHJnepFZ1wB3WElpEp6ra9JI4WtY="; - }; - - vendorHash = "sha256-L0MbABgUniuI5NXc4ffBUsQRI716W/FiH38bGthpXzI="; - - postInstall = '' - install -Dm444 -t $out/share/doc/envsubst LICENSE *.md - ''; - - meta = with lib; { - description = "Environment variables substitution for Go"; - homepage = "https://github.com/a8m/envsubst"; - license = licenses.mit; - maintainers = with maintainers; [ nicknovitski ]; - mainProgram = "envsubst"; - }; -} diff --git a/pkgs/tools/misc/eot-utilities/default.nix b/pkgs/tools/misc/eot-utilities/default.nix deleted file mode 100644 index bb9279687b1b..000000000000 --- a/pkgs/tools/misc/eot-utilities/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{lib, stdenv, fetchurl, pkg-config }: - -stdenv.mkDerivation rec { - pname = "eot_utilities"; - version = "1.1"; - - src = fetchurl { - url = "https://www.w3.org/Tools/eot-utils/eot-utilities-${version}.tar.gz"; - sha256 = "0cb41riabss23hgfg7vxhky09d6zqwjy1nxdvr3l2bh5qzd4kvaf"; - }; - - nativeBuildInputs = [ pkg-config ]; - - meta = { - homepage = "https://www.w3.org/Tools/eot-utils/"; - description = "Create Embedded Open Type from OpenType or TrueType font"; - license = lib.licenses.w3c; - maintainers = with lib.maintainers; [ leenaars ]; - platforms = with lib.platforms; unix; - }; -} diff --git a/pkgs/tools/misc/esphome/default.nix b/pkgs/tools/misc/esphome/default.nix index 54664196d2c3..2eea4ec1314a 100644 --- a/pkgs/tools/misc/esphome/default.nix +++ b/pkgs/tools/misc/esphome/default.nix @@ -21,19 +21,22 @@ let in python.pkgs.buildPythonApplication rec { pname = "esphome"; - version = "2024.9.0"; + version = "2024.10.3"; pyproject = true; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-K28H2kbfiebJfW31CF3M+Vi823wFPWNk6qLPlSaljkk="; + hash = "sha256-13hNX9uaQbO/IKUkGaOITKh+REqUCHirbTPRgomzHBU="; }; - nativeBuildInputs = with python.pkgs; [ + build-systems = with python.pkgs; [ setuptools argcomplete + ]; + + nativeBuildInputs = [ installShellFiles ]; @@ -46,7 +49,8 @@ python.pkgs.buildPythonApplication rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "setuptools==" "setuptools>=" + --replace-fail "setuptools==" "setuptools>=" \ + --replace-fail "wheel~=" "wheel>=" # ensure component dependencies are available cat requirements_optional.txt >> requirements.txt @@ -56,7 +60,7 @@ python.pkgs.buildPythonApplication rec { ''; # Remove esptool and platformio from requirements - ESPHOME_USE_SUBPROCESS = ""; + env.ESPHOME_USE_SUBPROCESS = ""; # esphome has optional dependencies it does not declare, they are # loaded when certain config blocks are used, like `font`, `image` @@ -64,7 +68,7 @@ python.pkgs.buildPythonApplication rec { # They have validation functions like: # - validate_cryptography_installed # - validate_pillow_installed - propagatedBuildInputs = with python.pkgs; [ + dependencies = with python.pkgs; [ aioesphomeapi argcomplete cairosvg @@ -79,9 +83,9 @@ python.pkgs.buildPythonApplication rec { pillow platformio protobuf + puremagic pyparsing pyserial - python-magic pyyaml requests ruamel-yaml @@ -97,8 +101,8 @@ python.pkgs.buildPythonApplication rec { # git is used in esphome/writer.py # inetutils is used in esphome/dashboard/status/ping.py "--prefix PATH : ${lib.makeBinPath [ platformio esptool git inetutils ]}" - "--prefix PYTHONPATH : ${python.pkgs.makePythonPath propagatedBuildInputs}" # will show better error messages - "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" + "--prefix PYTHONPATH : ${python.pkgs.makePythonPath dependencies}" # will show better error messages + "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ stdenv.cc.cc ]}" "--set ESPHOME_USE_SUBPROCESS ''" ]; diff --git a/pkgs/tools/misc/esptool-ck/default.nix b/pkgs/tools/misc/esptool-ck/default.nix deleted file mode 100644 index 58f84c9b0630..000000000000 --- a/pkgs/tools/misc/esptool-ck/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "esptool-ck"; - version = "0.4.13"; - - src = fetchFromGitHub { - owner = "igrr"; - repo = "esptool-ck"; - rev = "0.4.13"; - sha256 = "1cb81b30a71r7i0gmkh2qagfx9lhq0myq5i37fk881bq6g7i5n2k"; - }; - - makeFlags = [ "VERSION=${version}" ]; - - installPhase = '' - mkdir -p $out/bin - cp esptool $out/bin - ''; - - meta = with lib; { - description = "ESP8266/ESP32 build helper tool"; - homepage = "https://github.com/igrr/esptool-ck"; - license = licenses.gpl2Plus; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.linux; - mainProgram = "esptool"; - }; -} diff --git a/pkgs/tools/misc/esptool/default.nix b/pkgs/tools/misc/esptool/default.nix deleted file mode 100644 index 67eaacddaf6f..000000000000 --- a/pkgs/tools/misc/esptool/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -, softhsm -}: - -python3.pkgs.buildPythonApplication rec { - pname = "esptool"; - version = "4.7.0"; - - format = "setuptools"; - - src = fetchFromGitHub { - owner = "espressif"; - repo = "esptool"; - rev = "v${version}"; - hash = "sha256-yrEwCg0e+8jZorL6jcqeuKUCFoV0oP9HVFh1n/ezjPg="; - }; - - postPatch = '' - patchShebangs ci - - substituteInPlace test/test_espsecure_hsm.py \ - --replace "/usr/lib/softhsm" "${lib.getLib softhsm}/lib/softhsm" - ''; - - propagatedBuildInputs = with python3.pkgs; [ - bitstring - cryptography - ecdsa - intelhex - pyserial - reedsolo - pyyaml - python-pkcs11 - ]; - - nativeCheckInputs = with python3.pkgs; [ - pyelftools - pytestCheckHook - softhsm - ]; - - # tests mentioned in `.github/workflows/test_esptool.yml` - checkPhase = '' - runHook preCheck - - export SOFTHSM2_CONF=$(mktemp) - echo "directories.tokendir = $(mktemp -d)" > "$SOFTHSM2_CONF" - ./ci/setup_softhsm2.sh - - pytest test/test_imagegen.py - pytest test/test_espsecure.py - pytest test/test_espsecure_hsm.py - pytest test/test_merge_bin.py - pytest test/test_image_info.py - pytest test/test_modules.py - - runHook postCheck - ''; - - meta = with lib; { - description = "ESP8266 and ESP32 serial bootloader utility"; - homepage = "https://github.com/espressif/esptool"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ dezgeg dotlambda ] ++ teams.lumiguide.members; - platforms = with platforms; linux ++ darwin; - mainProgram = "esptool.py"; - }; -} diff --git a/pkgs/tools/misc/ethtool/default.nix b/pkgs/tools/misc/ethtool/default.nix deleted file mode 100644 index ff7fe2603271..000000000000 --- a/pkgs/tools/misc/ethtool/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib -, stdenv -, fetchurl -, libmnl -, pkg-config -, writeScript -}: - -stdenv.mkDerivation rec { - pname = "ethtool"; - version = "6.9"; - - src = fetchurl { - url = "mirror://kernel/software/network/ethtool/ethtool-${version}.tar.xz"; - sha256 = "sha256-pxsDVAEGYcXPF4vGBu1Q/LkYBc8Yl60OsoGDh6X9DNk="; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - libmnl - ]; - - passthru = { - updateScript = writeScript "update-ethtool" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p curl pcre common-updater-scripts - - set -eu -o pipefail - - # Expect the text in format of '<a href="ethtool-VER.tar.xz">...</a>' - # The page always lists versions newest to oldest. Pick the first one. - new_version="$(curl -s https://mirrors.edge.kernel.org/pub/software/network/ethtool/ | - pcregrep -o1 '<a href="ethtool-([0-9.]+)[.]tar[.]xz">' | - head -n1)" - update-source-version ethtool "$new_version" - ''; - }; - - meta = with lib; { - description = "Utility for controlling network drivers and hardware"; - homepage = "https://www.kernel.org/pub/software/network/ethtool/"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ bjornfor ]; - mainProgram = "ethtool"; - }; -} diff --git a/pkgs/tools/misc/ets/default.nix b/pkgs/tools/misc/ets/default.nix deleted file mode 100644 index ad81513a89a9..000000000000 --- a/pkgs/tools/misc/ets/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: - -buildGoModule rec { - pname = "ets"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "gdubicki"; - repo = "ets"; - rev = "v${version}"; - hash = "sha256-PowJ3ig8TfGx9P/PJPVBL8GsMh+gGZVt9l4Rf7Mqk00="; - }; - - vendorHash = "sha256-XHgdiXdp9aNEAc/Apvb64ExnpywjddWOw1scNKy+ico="; - - ldflags = [ "-s" "-w" "-X main.version=v${version}-nixpkgs" ]; - - nativeBuildInputs = [ installShellFiles ]; - - preBuild = '' - rm -rf fixtures - ''; - - postInstall = '' - installManPage ets.1 - ''; - - doCheck = false; - - meta = with lib; { - description = "Command output timestamper"; - homepage = "https://github.com/gdubicki/ets/"; - license = licenses.mit; - maintainers = with maintainers; [ cameronfyfe ]; - mainProgram = "ets"; - }; -} diff --git a/pkgs/tools/misc/eva/default.nix b/pkgs/tools/misc/eva/default.nix deleted file mode 100644 index 93645a92203c..000000000000 --- a/pkgs/tools/misc/eva/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "eva"; - version = "0.3.1"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec="; - }; - - cargoHash = "sha256-gnym2sedyzQzubOtj64Yoh+sKT+sa60w/Z72hby7Pms="; - - meta = with lib; { - description = "Calculator REPL, similar to bc"; - homepage = "https://github.com/NerdyPepper/eva"; - license = licenses.mit; - maintainers = with maintainers; [ nrdxp ma27 figsoda ]; - mainProgram = "eva"; - }; -} diff --git a/pkgs/tools/misc/evhz/default.nix b/pkgs/tools/misc/evhz/default.nix deleted file mode 100644 index 712606c6913a..000000000000 --- a/pkgs/tools/misc/evhz/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, stdenv -, fetchFromSourcehut -}: - -stdenv.mkDerivation { - pname = "evhz"; - version = "unstable-2021-09-20"; - - src = fetchFromSourcehut { - owner = "~iank"; - repo = "evhz"; - rev = "35b7526e0655522bbdf92f6384f4e9dff74f38a0"; - hash = "sha256-lC0CeN9YVhkSiooC59Dbom811jHvPDQcYl+KADUwVdQ="; - }; - - buildPhase = "gcc -o evhz evhz.c"; - - installPhase = '' - mkdir -p $out/bin - mv evhz $out/bin - ''; - - meta = with lib; { - description = "Show mouse refresh rate under linux + evdev"; - homepage = "https://git.sr.ht/~iank/evhz"; - license = licenses.gpl3; - maintainers = with maintainers; [ Tungsten842 ]; - platforms = platforms.linux; - mainProgram = "evhz"; - }; -} diff --git a/pkgs/tools/misc/expect/0004-enable-cross-compilation.patch b/pkgs/tools/misc/expect/0004-enable-cross-compilation.patch deleted file mode 100644 index c09623d292b2..000000000000 --- a/pkgs/tools/misc/expect/0004-enable-cross-compilation.patch +++ /dev/null @@ -1,295 +0,0 @@ -From: Andrew Ruder <andrew.ruder@elecsyscorp.com> -Subject: [PATCH] enable cross compilation for expect - -This patch was created by running ./configure on a modern Linux machine -and inserting the results into the cross compilation section of -each AC_MSG_CHECKING that bombed out with an error. - -Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> - --- - -The original patch, and description above, is originally from -https://github.com/buildroot/buildroot/blob/master/package/expect/0001-enable-cross-compilation.patch - -This patch has been further modified to not hard-code Linux assumptions. - ---- - -Index: expect-5.45/configure.in -=================================================================== ---- expect-5.45.orig/configure.in 2013-11-14 07:59:58.732100595 -0600 -+++ expect-5.45/configure.in 2013-11-14 07:59:58.732100595 -0600 -@@ -6,10 +6,12 @@ - AC_INIT([expect],[5.45.4]) - - TEA_INIT([3.9]) - - AC_CONFIG_AUX_DIR(tclconfig) -+ -+AC_LANG([C]) - - #-------------------------------------------------------------------- - # Configure script for package 'Expect'. - # TEA compliant. - #-------------------------------------------------------------------- -@@ -465,26 +467,20 @@ - # Some systems only define WNOHANG if _POSIX_SOURCE is defined - # The following merely tests that sys/wait.h can be included - # and if so that WNOHANG is not defined. The only place I've - # seen this is ISC. - AC_MSG_CHECKING([if WNOHANG requires _POSIX_SOURCE]) --AC_TRY_RUN([ -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include <sys/wait.h> --int --main() { - #ifndef WNOHANG -- return 0; --#else -- return 1; -+# error "WNOHANG requires _POSIX_SOURCE to be defined" - #endif --}], -+]])], - AC_MSG_RESULT(yes) - AC_DEFINE(WNOHANG_REQUIRES_POSIX_SOURCE) - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - AC_MSG_CHECKING([if any value exists for WNOHANG]) - rm -rf wnohang - AC_TRY_RUN([ -@@ -504,11 +501,12 @@ - rm -f wnohang - , - AC_MSG_RESULT(no) - AC_DEFINE(WNOHANG_BACKUP_VALUE, 1) - , -- AC_MSG_ERROR([Expect can't be cross compiled]) -+ AC_MSG_RESULT(yes) -+ AC_DEFINE(WNOHANG_BACKUP_VALUE, 1) - ) - - # - # check how signals work - # -@@ -572,11 +570,11 @@ - }], - AC_MSG_RESULT(yes) - AC_DEFINE(REARM_SIG) - , - AC_MSG_RESULT(no) --, AC_MSG_WARN([Expect can't be cross compiled]) -+, AC_MSG_RESULT(no) - ) - - # HPUX7 has trouble with the big cat so split it - # Owen Rees <rtor@ansa.co.uk> 29Mar93 - SEDDEFS="${SEDDEFS}CONFEOF -@@ -710,25 +708,19 @@ - AC_DEFINE(POSIX) - fi - - # first check for the pure bsd - AC_MSG_CHECKING([for struct sgttyb]) --AC_TRY_RUN([ -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - #include <sgtty.h> --int --main() --{ -- struct sgttyb tmp; -- return 0; --}], -+static struct sgttyb tmp; -+]])], - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_SGTTYB) - PTY_TYPE=sgttyb - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - # mach systems have include files for unimplemented features - # so avoid doing following test on those systems - if test $mach -eq 0 ; then -@@ -735,116 +728,88 @@ - # next check for the older style ttys - # note that if we detect termio.h (only), we still set PTY_TYPE=termios - # since that just controls which of pty_XXXX.c file is use and - # pty_termios.c is set up to handle pty_termio. - AC_MSG_CHECKING([for struct termio]) -- AC_TRY_RUN([#include <termio.h> -- int -- main() -- { -- struct termio tmp; -- return 0; -- }], -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -+#include <termio.h> -+static struct termio tmp; -+]])], - AC_DEFINE(HAVE_TERMIO) - PTY_TYPE=termios - AC_MSG_RESULT(yes) - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - # now check for the new style ttys (not yet posix) - AC_MSG_CHECKING([for struct termios]) -- AC_TRY_RUN([ -- /* including termios.h on Solaris 5.6 fails unless inttypes.h included */ --# ifdef HAVE_INTTYPES_H -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -+/* including termios.h on Solaris 5.6 fails unless inttypes.h included */ -+#ifdef HAVE_INTTYPES_H - # include <inttypes.h> --# endif --# include <termios.h> -- int -- main() -- { -- struct termios tmp; -- return 0; -- }], -+#endif -+#include <termios.h> -+static struct termios tmp; -+]])], - AC_DEFINE(HAVE_TERMIOS) - PTY_TYPE=termios - AC_MSG_RESULT(yes) - , - AC_MSG_RESULT(no) -- , -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - fi - - AC_MSG_CHECKING([if TCGETS or TCGETA in termios.h]) --AC_TRY_RUN([ -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - /* including termios.h on Solaris 5.6 fails unless inttypes.h included */ - #ifdef HAVE_INTTYPES_H --#include <inttypes.h> -+# include <inttypes.h> - #endif - #include <termios.h> --int --main() { --#if defined(TCGETS) || defined(TCGETA) -- return 0; --#else -- return 1; -+# -+#if !(defined(TCGETS) || defined(TCGETA)) -+# error "missing both of TCGETS and TCGETA" - #endif --}], -+]])], - AC_DEFINE(HAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H) - AC_MSG_RESULT(yes) - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - AC_MSG_CHECKING([if TIOCGWINSZ in termios.h]) --AC_TRY_RUN([ -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - /* including termios.h on Solaris 5.6 fails unless inttypes.h included */ - #ifdef HAVE_INTTYPES_H --#include <inttypes.h> -+# include <inttypes.h> - #endif - #include <termios.h> --int --main() { --#ifdef TIOCGWINSZ -- return 0; --#else -- return 1; -+ -+#ifndef TIOCGWINSZ -+# error "missing TIOCGWINSZ" - #endif --}], -+]])], - AC_DEFINE(HAVE_TIOCGWINSZ_IN_TERMIOS_H) - AC_MSG_RESULT(yes) - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - # finally check for Cray style ttys - AC_MSG_CHECKING([for Cray-style ptys]) - SETUID=":" --AC_TRY_RUN([ --int --main(){ --#ifdef CRAY -- return 0; --#else -- return 1; -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ -+#ifndef CRAY -+# error "CRAY is not defined" - #endif --} --], -+]])], - PTY_TYPE=unicos - SETUID="chmod u+s" - AC_MSG_RESULT(yes) - , - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - # - # Check for select and/or poll. If both exist, we prefer select. - # if neither exists, define SIMPLE_EVENT. -@@ -873,26 +842,24 @@ - - # - # check for timezones - # - AC_MSG_CHECKING([for SV-style timezone]) --AC_TRY_RUN([ -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ - extern char *tzname[2]; - extern int daylight; - int - main() - { - int *x = &daylight; - char **y = tzname; - - return 0; --}], -+}]])], - AC_DEFINE(HAVE_SV_TIMEZONE) - AC_MSG_RESULT(yes), - AC_MSG_RESULT(no) --, -- AC_MSG_ERROR([Expect can't be cross compiled]) - ) - - - # Following comment stolen from Tcl's configure.in: - # Note: in the following variable, it's important to use the absolute - diff --git a/pkgs/tools/misc/expect/default.nix b/pkgs/tools/misc/expect/default.nix deleted file mode 100644 index 102120a8604e..000000000000 --- a/pkgs/tools/misc/expect/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib, stdenv, buildPackages, fetchurl, tcl, makeWrapper, autoreconfHook, fetchpatch, substituteAll }: - -tcl.mkTclDerivation rec { - pname = "expect"; - version = "5.45.4"; - - src = fetchurl { - url = "mirror://sourceforge/expect/Expect/${version}/expect${version}.tar.gz"; - hash = "sha256-Safag7C92fRtBKBN7sGcd2e7mjI+QMR4H4nK92C5LDQ="; - }; - - patches = [ - (substituteAll { - src = ./fix-build-time-run-tcl.patch; - tcl = "${buildPackages.tcl}/bin/tclsh"; - }) - # The following patches fix compilation with clang 15+ - (fetchpatch { - url = "https://sourceforge.net/p/expect/patches/24/attachment/0001-Add-prototype-to-function-definitions.patch"; - hash = "sha256-X2Vv6VVM3KjmBHo2ukVWe5YTVXRmqe//Kw2kr73OpZs="; - }) - (fetchpatch { - url = "https://sourceforge.net/p/expect/patches/_discuss/thread/b813ca9895/6759/attachment/expect-configure-c99.patch"; - hash = "sha256-PxQQ9roWgVXUoCMxkXEgu+it26ES/JuzHF6oML/nk54="; - }) - ./0004-enable-cross-compilation.patch - # Include `sys/ioctl.h` and `util.h` on Darwin, which are required for `ioctl` and `openpty`. - # Include `termios.h` on FreeBSD for `openpty` - ./fix-darwin-bsd-clang16.patch - # Remove some code which causes it to link against a file that does not exist at build time on native FreeBSD - ./freebsd-unversioned.patch - ]; - - postPatch = '' - sed -i "s,/bin/stty,$(type -p stty),g" configure.in - ''; - - nativeBuildInputs = [ autoreconfHook makeWrapper ]; - - strictDeps = true; - hardeningDisable = [ "format" ]; - - postInstall = '' - tclWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ tcl ]}) - ${lib.optionalString stdenv.isDarwin "tclWrapperArgs+=(--prefix DYLD_LIBRARY_PATH : $out/lib/expect${version})"} - ''; - - outputs = [ "out" "dev" ]; - - meta = with lib; { - description = "Tool for automating interactive applications"; - homepage = "https://expect.sourceforge.net/"; - license = licenses.publicDomain; - platforms = platforms.unix; - mainProgram = "expect"; - maintainers = with maintainers; [ SuperSandro2000 ]; - }; -} diff --git a/pkgs/tools/misc/expect/fix-build-time-run-tcl.patch b/pkgs/tools/misc/expect/fix-build-time-run-tcl.patch deleted file mode 100644 index 8edc4bea39d6..000000000000 --- a/pkgs/tools/misc/expect/fix-build-time-run-tcl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.in 2022-09-07 21:46:37.090519258 +0200 -+++ b/Makefile.in 2022-09-07 21:46:21.462592279 +0200 -@@ -380,7 +380,7 @@ - cp $(DIST_ROOT)/$(PKG_DIR).tar.gz $(top_builddir) - - $(SCRIPTS): -- $(TCLSH) $(srcdir)/fixline1 $(SHORT_BINDIR) < $(srcdir)/example/$@ > $@ -+ @tcl@ $(srcdir)/fixline1 $(SHORT_BINDIR) < $(srcdir)/example/$@ > $@ - - ## We cannot use TCL_LIBS below (after TCL_LIB_SPEC) because its - ## expansion references the contents of LIBS, which contains linker diff --git a/pkgs/tools/misc/expect/fix-darwin-bsd-clang16.patch b/pkgs/tools/misc/expect/fix-darwin-bsd-clang16.patch deleted file mode 100644 index a0e11a5f9d6b..000000000000 --- a/pkgs/tools/misc/expect/fix-darwin-bsd-clang16.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -ur a/exp_win.c b/exp_win.c ---- a/exp_win.c 2018-02-02 14:15:52.000000000 -0500 -+++ b/exp_win.c 2023-10-10 07:47:33.082690432 -0400 -@@ -39,7 +39,8 @@ - /* Sigh. On AIX 2.3, termios.h exists but does not define TIOCGWINSZ */ - /* Instead, it has to come from ioctl.h. However, As I said above, this */ - /* can't be cavalierly included on all machines, even when it exists. */ --#if defined(HAVE_TERMIOS) && !defined(HAVE_TIOCGWINSZ_IN_TERMIOS_H) -+/* Darwin also has termios.h, but it requires ioctl.h for `ioctl`. */ -+#if defined(HAVE_TERMIOS) && (defined(__APPLE__) || !defined(HAVE_TIOCGWINSZ_IN_TERMIOS_H)) - # include <sys/ioctl.h> - #endif - -diff -ur d/pty_termios.c c/pty_termios.c ---- d/pty_termios.c 2023-10-10 07:59:23.244452442 -0400 -+++ c/pty_termios.c 2023-10-10 08:00:35.303231582 -0400 -@@ -7,7 +7,18 @@ - - */ - --#include <pty.h> /* openpty */ -+/* openpty */ -+#if defined(__APPLE__) -+# include <util.h> -+#elif defined(__FreeBSD__) -+# include <sys/types.h> -+# include <sys/ioctl.h> -+# include <termios.h> -+# include <libutil.h> -+#else /* pty.h is Linux-specific */ -+# include <pty.h> -+#endif -+ - #include <stdio.h> - #include <signal.h> - diff --git a/pkgs/tools/misc/expect/freebsd-unversioned.patch b/pkgs/tools/misc/expect/freebsd-unversioned.patch deleted file mode 100644 index 345fa4f6277f..000000000000 --- a/pkgs/tools/misc/expect/freebsd-unversioned.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- expect5.45.4/tclconfig/tcl.m4.orig 2024-05-29 11:24:56.150656190 -0700 -+++ expect5.45.4/tclconfig/tcl.m4 2024-05-29 11:25:22.850790934 -0700 -@@ -1643,11 +1643,6 @@ - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) -- # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" diff --git a/pkgs/tools/misc/f2/default.nix b/pkgs/tools/misc/f2/default.nix deleted file mode 100644 index f97c2b8e80c6..000000000000 --- a/pkgs/tools/misc/f2/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "f2"; - version = "1.9.1"; - - src = fetchFromGitHub { - owner = "ayoisaiah"; - repo = "f2"; - rev = "v${version}"; - sha256 = "sha256-vpyI6WtK/0UpPiB8y+HpPd0IsKKkMHa/eIreYo32iAA="; - }; - - vendorHash = "sha256-Bz3Igjcyq4rkMkgv1J3+JiAqroAjxyAvHw4d4eZJgAM="; - - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; - - # has no tests - doCheck = false; - - meta = with lib; { - description = "Command-line batch renaming tool"; - homepage = "https://github.com/ayoisaiah/f2"; - license = licenses.mit; - maintainers = with maintainers; [ zendo ]; - mainProgram = "f2"; - }; -} diff --git a/pkgs/tools/misc/faketty/default.nix b/pkgs/tools/misc/faketty/default.nix deleted file mode 100644 index a1ec209498c0..000000000000 --- a/pkgs/tools/misc/faketty/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "faketty"; - version = "1.0.18"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-b6rHyg1rHMihmJ1okH11uDvOsqNydfK/c1cAgP6Tvx0="; - }; - - cargoHash = "sha256-LeTZkGhr1yTPG6OoukRB2+pcEAZKtjd9b60MLBi0Xl8="; - - postPatch = '' - patchShebangs tests/test.sh - ''; - - meta = with lib; { - description = "Wrapper to execute a command in a pty, even if redirecting the output"; - homepage = "https://github.com/dtolnay/faketty"; - changelog = "https://github.com/dtolnay/faketty/releases/tag/${version}"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "faketty"; - }; -} diff --git a/pkgs/tools/misc/fasd/default.nix b/pkgs/tools/misc/fasd/default.nix deleted file mode 100644 index 45ec3d6ddfdd..000000000000 --- a/pkgs/tools/misc/fasd/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchFromGitHub } : - -stdenv.mkDerivation rec { - pname = "fasd"; - version = "unstable-2016-08-11"; - - src = fetchFromGitHub { - owner = "clvv"; - repo = pname; - rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc"; - sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11"; - }; - - installPhase = '' - PREFIX=$out make install - ''; - - meta = with lib; { - homepage = "https://github.com/clvv/fasd"; - description = "Quick command-line access to files and directories for POSIX shells"; - license = licenses.mit; - - longDescription = '' - Fasd is a command-line productivity booster. - Fasd offers quick access to files and directories for POSIX shells. It is - inspired by tools like autojump, z and v. Fasd keeps track of files and - directories you have accessed, so that you can quickly reference them in the - command line. - ''; - - platforms = platforms.all; - maintainers = [ ]; - mainProgram = "fasd"; - }; -} diff --git a/pkgs/tools/misc/fbcat/default.nix b/pkgs/tools/misc/fbcat/default.nix deleted file mode 100644 index d90ec77b6d5e..000000000000 --- a/pkgs/tools/misc/fbcat/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, netpbm -}: - -stdenv.mkDerivation rec { - pname = "fbcat"; - version = "0.5.2"; - - src = fetchFromGitHub { - owner = "jwilk"; - repo = pname; - rev = version; - sha256 = "sha256-ORzcd8XGy2BfwuPK5UX+K5Z+FYkb+tdg/gHl3zHjvbk="; - }; - - postPatch = '' - substituteInPlace fbgrab \ - --replace 'pnmtopng' '${netpbm}/bin/pnmtopng' \ - --replace 'fbcat' "$out/bin/fbcat" - ''; - - installFlags = [ - "PREFIX=${placeholder "out"}" - ]; - - meta = with lib; { - homepage = "http://jwilk.net/software/fbcat"; - description = "Framebuffer screenshot tool"; - license = licenses.gpl2Plus; - maintainers = [ maintainers.matthiasbeyer ]; - platforms = platforms.linux; - }; -} - diff --git a/pkgs/tools/misc/fbmark/default.nix b/pkgs/tools/misc/fbmark/default.nix deleted file mode 100644 index fe8bca0e2240..000000000000 --- a/pkgs/tools/misc/fbmark/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "fbmark"; - version = "0.3"; - - src = fetchFromGitHub { - owner = "caramelli"; - repo = pname; - rev = "v${version}"; - sha256 = "0n2czl2sy1k6r5ri0hp7jgq84xcwrx4x43bqvw1b4na99mqhyahn"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Linux Framebuffer Benchmark"; - homepage = "https://github.com/caramelli/fbmark"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ davidak ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/fclones/default.nix b/pkgs/tools/misc/fclones/default.nix index deb97aced8ef..f7a70b966acf 100644 --- a/pkgs/tools/misc/fclones/default.nix +++ b/pkgs/tools/misc/fclones/default.nix @@ -18,12 +18,12 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-mEgFfg8I+JJuUEvj+sia2aL3BVg3HteQorZ2EOiLo64="; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk_11_0.frameworks.AppKit ]; # device::test_physical_device_name test fails on Darwin - doCheck = !stdenv.isDarwin; + doCheck = !stdenv.hostPlatform.isDarwin; checkFlags = [ # ofborg sometimes fails with "Resource temporarily unavailable" diff --git a/pkgs/tools/misc/fclones/gui.nix b/pkgs/tools/misc/fclones/gui.nix index 8dff1eec4928..bf010cfa798e 100644 --- a/pkgs/tools/misc/fclones/gui.nix +++ b/pkgs/tools/misc/fclones/gui.nix @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec { gdk-pixbuf gtk4 libadwaita - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk_11_0.frameworks.IOKit ]; diff --git a/pkgs/tools/misc/fcp/default.nix b/pkgs/tools/misc/fcp/default.nix deleted file mode 100644 index 814d764a7999..000000000000 --- a/pkgs/tools/misc/fcp/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ expect, fetchFromGitHub, lib, rustPlatform, stdenv }: - -rustPlatform.buildRustPackage rec { - pname = "fcp"; - version = "0.2.1"; - - src = fetchFromGitHub { - owner = "svetlitski"; - repo = pname; - rev = "v${version}"; - sha256 = "0f242n8w88rikg1srimdifadhggrb2r1z0g65id60ahb4bjm8a0x"; - }; - - cargoHash = "sha256-iS3H87kTS7Iq0FhHE47zBOozPKC1mG9eHiATxp18hz8="; - - nativeBuildInputs = [ expect ]; - - # character_device fails with "File name too long" on darwin - doCheck = !stdenv.isDarwin; - - postPatch = '' - patchShebangs tests/*.exp - ''; - - meta = with lib; { - description = "Significantly faster alternative to the classic Unix cp(1) command"; - homepage = "https://github.com/svetlitski/fcp"; - changelog = "https://github.com/svetlitski/fcp/releases/tag/v${version}"; - license = licenses.bsd3; - platforms = platforms.unix; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "fcp"; - }; -} diff --git a/pkgs/tools/misc/fd/default.nix b/pkgs/tools/misc/fd/default.nix deleted file mode 100644 index 4e2529ee44af..000000000000 --- a/pkgs/tools/misc/fd/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ stdenv, lib, rustPlatform, fetchFromGitHub, installShellFiles, rust-jemalloc-sys, testers, fd }: - -rustPlatform.buildRustPackage rec { - pname = "fd"; - version = "10.2.0"; - - src = fetchFromGitHub { - owner = "sharkdp"; - repo = "fd"; - rev = "v${version}"; - hash = "sha256-B+lOohoPH7UkRxRNTzSVt0SDrqEwh4hIvBF3uWliDEI="; - }; - - cargoHash = "sha256-H8xkm1cGJUaSgLUfN/vlxsWg5UMClvFhp9pjM0byQPs="; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = [ rust-jemalloc-sys ]; - - # skip flaky test - checkFlags = [ - "--skip=test_owner_current_group" - # Fails if the filesystem performs UTF-8 validation (such as ZFS with utf8only=on) - "--skip=test_exec_invalid_utf8" - "--skip=test_invalid_utf8" - ]; - - postInstall = '' - installManPage doc/fd.1 - '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd fd \ - --bash <($out/bin/fd --gen-completions bash) \ - --fish <($out/bin/fd --gen-completions fish) - installShellCompletion --zsh contrib/completion/_fd - ''; - - passthru.tests.version = testers.testVersion { - package = fd; - }; - - meta = with lib; { - description = "Simple, fast and user-friendly alternative to find"; - longDescription = '' - `fd` is a simple, fast and user-friendly alternative to `find`. - - While it does not seek to mirror all of `find`'s powerful functionality, - it provides sensible (opinionated) defaults for 80% of the use cases. - ''; - homepage = "https://github.com/sharkdp/fd"; - changelog = "https://github.com/sharkdp/fd/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ dywedir figsoda globin ma27 zowoq ]; - mainProgram = "fd"; - }; -} diff --git a/pkgs/tools/misc/fdtools/default.nix b/pkgs/tools/misc/fdtools/default.nix deleted file mode 100644 index 6f0d205203df..000000000000 --- a/pkgs/tools/misc/fdtools/default.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ stdenv, lib, fetchurl, skawarePackages }: - -let - pname = "fdtools"; - # When you update, check whether we can drop the skalibs pin. - version = "2020.05.04"; - sha256 = "0lnafcp4yipi0dl8gh33zjs8wlpz0mim8mwmiz9s49id0b0fmlla"; - skalibs = skawarePackages.skalibs_2_10; - -in stdenv.mkDerivation { - inherit pname version; - - src = fetchurl { - url = "https://code.dogmap.org/fdtools/releases/fdtools-${version}.tar.bz2"; - inherit sha256; - }; - - patches = [ ./new-skalibs.patch ]; - outputs = [ "bin" "lib" "dev" "doc" "out" ]; - - buildInputs = [ - # temporary, until fdtools catches up to skalibs - skalibs - ]; - - configurePhase = '' - cd fdtools-${version} - sed -e 's|gcc|$CC|' \ - conf-compile/defaults/host_link.sh \ - > conf-compile/host_link.sh - sed -e 's|gcc|$CC|' \ - conf-compile/defaults/host_compile.sh \ - > conf-compile/host_compile.sh - - echo "${skalibs.lib}/lib/skalibs/sysdeps" \ - > conf-compile/depend_skalibs_sysdeps - ''; - - buildPhase = '' - bash package/build - ''; - - installPhase = '' - mkdir -p $bin/bin - tools=( grabconsole multitee pipecycle recvfd seek0 sendfd setblock setstate statfile vc-get vc-lock vc-switch ) - - for t in "''${tools[@]}"; do - mv "command/$t" "$bin/bin/$t" - done - - mkdir -p $lib/lib - mkdir -p $dev/include - docdir=$doc/share/doc/fdtools - mkdir -p $docdir - - mv library/fdtools.a $lib/lib/fdtools.a - mv include/fdtools.h $dev/include/fdtools.h - - ${skawarePackages.cleanPackaging.commonFileActions { - noiseFiles = [ - "conf-compile/**/*" - "src/**/*" - "src/.**/*" - "compile/**/*" - "package/{build,check,compile,elsewhere,install,install_commands,own,run,sharing,upgrade,upgrade_version,url_src,url_src_latest,versions}" - ]; - docFiles = [ - "package/INSTALL" - "package/LICENSE" - "package/README" - ]; - }} $docdir - - ${skawarePackages.cleanPackaging.checkForRemainingFiles} - - # we don’t use this, but nixpkgs requires it - touch $out - ''; - - meta = { - homepage = "https://code.dogmap.org/fdtools/"; - description = "Set of utilities for working with file descriptors"; - license = lib.licenses.gpl2Only; - platforms = lib.platforms.linux; - maintainers = [ lib.maintainers.Profpatsch ]; - }; -} diff --git a/pkgs/tools/misc/fdtools/new-skalibs.patch b/pkgs/tools/misc/fdtools/new-skalibs.patch deleted file mode 100644 index 76c5396f8a88..000000000000 --- a/pkgs/tools/misc/fdtools/new-skalibs.patch +++ /dev/null @@ -1,223 +0,0 @@ -diff -Naur misc/fdtools-2020.05.04/src/check_exit_exec.c misc-new/fdtools-2020.05.04/src/check_exit_exec.c ---- misc/fdtools-2020.05.04/src/check_exit_exec.c 2015-03-16 04:55:56.000000000 +0100 -+++ misc-new/fdtools-2020.05.04/src/check_exit_exec.c 2021-01-22 10:50:25.529955213 +0100 -@@ -2,6 +2,7 @@ - #include <unistd.h> - #include <errno.h> - -+#include <skalibs/exec.h> - #include <skalibs/stddjb.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" -@@ -14,7 +15,7 @@ - - if (str_equal(arg, ":")) { - ++argv; -- pathexec0((char const**)argv); -+ mexec0((char const**)argv); - DIE1(exec, argv[0]); - } - } -diff -Naur misc/fdtools-2020.05.04/src/grabconsole.c misc-new/fdtools-2020.05.04/src/grabconsole.c ---- misc/fdtools-2020.05.04/src/grabconsole.c 2020-04-24 06:01:22.000000000 +0200 -+++ misc-new/fdtools-2020.05.04/src/grabconsole.c 2021-01-22 10:43:27.887754936 +0100 -@@ -4,6 +4,7 @@ - #include <errno.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" -@@ -26,6 +27,6 @@ - if (fd_grabconsole(fd)!=0) DIE0(tioccons); - - argv+=2; -- pathexec0((char const**)argv); -+ mexec0((char const**)argv); - DIE1(exec, argv[0]); - } -diff -Naur misc/fdtools-2020.05.04/src/pipecycle.c misc-new/fdtools-2020.05.04/src/pipecycle.c ---- misc/fdtools-2020.05.04/src/pipecycle.c 2015-03-16 04:55:56.000000000 +0100 -+++ misc-new/fdtools-2020.05.04/src/pipecycle.c 2021-01-22 10:47:58.033220790 +0100 -@@ -4,6 +4,7 @@ - #include <unistd.h> - #include <signal.h> - -+#include <skalibs/exec.h> - #include <skalibs/stddjb.h> - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" -@@ -56,7 +57,7 @@ - if (fd_shuffle(2, current, wanted)!=0) DIE0(dup); - } - read(start[0], &j, 1); -- pathexec(args); -+ mexec(args); - DIE1(exec, args[0]); - } - -diff -Naur misc/fdtools-2020.05.04/src/recvfd.c misc-new/fdtools-2020.05.04/src/recvfd.c ---- misc/fdtools-2020.05.04/src/recvfd.c 2020-04-28 09:35:05.000000000 +0200 -+++ misc-new/fdtools-2020.05.04/src/recvfd.c 2021-01-22 10:47:14.180994779 +0100 -@@ -7,6 +7,7 @@ - #include <limits.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" - #include "fdtools.h" -@@ -69,9 +70,9 @@ - named_fd=duped; - } - buf[int_fmt(buf, named_fd)]='\0'; -- if (pathexec_env(argv[i]+1, buf)==0) DIE0(alloc); -+ if (env_mexec(argv[i]+1, buf)==0) DIE0(alloc); - } - argv+=nfds+1; -- pathexec0((char const**)argv); -+ mexec0((char const**)argv); - DIE1(exec, argv[0]); - } -diff -Naur misc/fdtools-2020.05.04/src/sendfd.c misc-new/fdtools-2020.05.04/src/sendfd.c ---- misc/fdtools-2020.05.04/src/sendfd.c 2015-03-16 06:48:39.000000000 +0100 -+++ misc-new/fdtools-2020.05.04/src/sendfd.c 2021-01-22 10:43:07.207634214 +0100 -@@ -7,6 +7,7 @@ - #include <limits.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" - #include "fdtools.h" -@@ -40,6 +41,6 @@ - argv+=nfds; - if (*argv==NULL) _exit(0); - ++argv; -- pathexec0((char const**)argv); -+ mexec0((char const**)argv); - DIE1(exec, argv[0]); - } -diff -Naur misc/fdtools-2020.05.04/src/setstate.c misc-new/fdtools-2020.05.04/src/setstate.c ---- misc/fdtools-2020.05.04/src/setstate.c 2020-05-04 10:04:21.000000000 +0200 -+++ misc-new/fdtools-2020.05.04/src/setstate.c 2021-01-22 10:45:05.084304318 +0100 -@@ -8,6 +8,7 @@ - #include <errno.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/intattr.h" - #include "prjlibs-c/diewarn.h" -@@ -167,6 +168,6 @@ - } - - argv+=2; -- pathexec_run(argv[0], (char const**)argv, (char const**)environ); -+ mexec_ae(argv[0], (char const**)argv, (char const**)environ); - DIE1(exec, argv[0]); - } -diff -Naur misc/fdtools-2020.05.04/src/statfile.c misc-new/fdtools-2020.05.04/src/statfile.c ---- misc/fdtools-2020.05.04/src/statfile.c 2015-03-22 00:33:44.000000000 +0100 -+++ misc-new/fdtools-2020.05.04/src/statfile.c 2021-01-22 10:48:23.673351183 +0100 -@@ -6,6 +6,7 @@ - #include <errno.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/warn.h" -@@ -15,7 +16,7 @@ - char const* PROG="statfile"; - - static void set(char const* const var, char const* const val) { -- if (pathexec_env(var, val)==0) DIE0(alloc); -+ if (env_mexec(var, val)==0) DIE0(alloc); - } - - static void set64n(char const* const var, time_t t, unsigned int nsec) { -@@ -178,6 +179,6 @@ - } - - argv+=3; -- pathexec((char const**)argv); -+ mexec((char const**)argv); - DIE1(exec, argv[0]); - } -diff -Naur misc/fdtools-2020.05.04/src/vc-get-linux.c misc-new/fdtools-2020.05.04/src/vc-get-linux.c ---- misc/fdtools-2020.05.04/src/vc-get-linux.c 2020-04-28 07:04:49.000000000 +0200 -+++ misc-new/fdtools-2020.05.04/src/vc-get-linux.c 2021-01-22 10:47:34.649100757 +0100 -@@ -10,6 +10,7 @@ - #include <sys/sysmacros.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" -@@ -38,7 +39,7 @@ - errno=0; - if (ioctl(fd, VT_OPENQRY, &vtnum)<0 || vtnum==-1) DIE0(vt_qry); - bufnum[ulong_fmt(bufnum, vtnum)]='\0'; -- if (pathexec_env("TTY", buf)==0) DIE0(alloc); -+ if (env_mexec("TTY", buf)==0) DIE0(alloc); - } - fd_close(fd); - -@@ -50,12 +51,12 @@ - if (fstat(fd, &statbuf)!=0) DIE1(stat, buf); - buf[ulong_fmt(buf, minor(statbuf.st_rdev))]='\0'; - } -- if (pathexec_env("VCNUM", buf)==0) DIE0(alloc); -+ if (env_mexec("VCNUM", buf)==0) DIE0(alloc); - - buf[ulong_fmt(buf, fd)]='\0'; -- if (pathexec_env("VCFD", buf)==0) DIE0(alloc); -+ if (env_mexec("VCFD", buf)==0) DIE0(alloc); - } - -- pathexec((char const**)argv+2); -+ mexec((char const**)argv+2); - DIE1(exec, argv[2]); - } -diff -Naur misc/fdtools-2020.05.04/src/vc-lock-linux.c misc-new/fdtools-2020.05.04/src/vc-lock-linux.c ---- misc/fdtools-2020.05.04/src/vc-lock-linux.c 2015-03-20 05:59:42.000000000 +0100 -+++ misc-new/fdtools-2020.05.04/src/vc-lock-linux.c 2021-01-22 10:48:36.857417751 +0100 -@@ -8,6 +8,7 @@ - #include <sys/ioctl.h> - #include <sys/vt.h> - -+#include <skalibs/exec.h> - #include <skalibs/stddjb.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" -@@ -79,7 +80,7 @@ - WARN0(fork); - } else if (pid==0) { - sigprocmask(SIG_SETMASK, &old_set, NULLP); -- pathexec((char const**)argv); -+ mexec((char const**)argv); - DIE1(exec, *argv); - } else { - int status; -diff -Naur misc/fdtools-2020.05.04/src/vc-switch-linux.c misc-new/fdtools-2020.05.04/src/vc-switch-linux.c ---- misc/fdtools-2020.05.04/src/vc-switch-linux.c 2020-04-28 07:14:04.000000000 +0200 -+++ misc-new/fdtools-2020.05.04/src/vc-switch-linux.c 2021-01-22 10:42:41.259480648 +0100 -@@ -10,6 +10,7 @@ - #include <sys/sysmacros.h> - - #include <skalibs/stddjb.h> -+#include <skalibs/exec.h> - #include "prjlibs-c/constants.h" - #include "prjlibs-c/diewarn.h" - #include "prjlibs-c/types.h" -@@ -36,6 +37,6 @@ - if (ioctl(fd, VT_ACTIVATE, ttyno)<0) DIE0(vt_act); - if (!scan) fd_close(fd); - -- pathexec0((char const**)argv+3); -+ mexec0((char const**)argv+3); - DIE1(exec, argv[3]); - } diff --git a/pkgs/tools/misc/fdupes/default.nix b/pkgs/tools/misc/fdupes/default.nix deleted file mode 100644 index 834f35aa530a..000000000000 --- a/pkgs/tools/misc/fdupes/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, ncurses -, pcre2 -, sqlite -}: - -stdenv.mkDerivation rec { - pname = "fdupes"; - version = "2.3.2"; - - src = fetchFromGitHub { - owner = "adrianlopezroche"; - repo = "fdupes"; - rev = "v${version}"; - hash = "sha256-VPaNDKUgaJRF75cxksK0nZNFarqhat7n8ztIdBoxHI8="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - buildInputs = [ - ncurses - pcre2 - sqlite - ]; - - meta = with lib; { - description = "Identifies duplicate files residing within specified directories"; - longDescription = '' - fdupes searches the given path for duplicate files. - Such files are found by comparing file sizes and MD5 signatures, - followed by a byte-by-byte comparison. - ''; - homepage = "https://github.com/adrianlopezroche/fdupes"; - license = licenses.mit; - platforms = platforms.all; - maintainers = [ maintainers.maggesi ]; - mainProgram = "fdupes"; - }; -} diff --git a/pkgs/tools/misc/fedifetcher/default.nix b/pkgs/tools/misc/fedifetcher/default.nix deleted file mode 100644 index 4eac63989761..000000000000 --- a/pkgs/tools/misc/fedifetcher/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, fetchFromGitHub, python3, stdenv }: - -python3.pkgs.buildPythonApplication rec { - pname = "fedifetcher"; - version = "7.1.12"; - format = "other"; - - src = fetchFromGitHub { - owner = "nanos"; - repo = "FediFetcher"; - rev = "refs/tags/v${version}"; - hash = "sha256-DWex4pZV9ZVR1bqYcOpTe74ZQCQCQQxjWrv0QgtRY40="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - defusedxml - python-dateutil - requests - xxhash - ]; - - installPhase = '' - runHook preInstall - - install -vD find_posts.py $out/bin/fedifetcher - - runHook postInstall - ''; - - checkPhase = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - runHook preCheck - - $out/bin/fedifetcher --help>/dev/null - - runHook postCheck - ''; - - meta = with lib; { - description = "Tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances"; - longDescription = '' - FediFetcher is a tool for Mastodon that automatically fetches missing - replies and posts from other fediverse instances, and adds them to your - own Mastodon instance. - ''; - homepage = "https://blog.thms.uk/fedifetcher"; - changelog = "https://github.com/nanos/FediFetcher/releases/tag/v${version}"; - license = licenses.mit; - maintainers = teams.c3d2.members; - mainProgram = "fedifetcher"; - }; -} diff --git a/pkgs/tools/misc/fend/default.nix b/pkgs/tools/misc/fend/default.nix deleted file mode 100644 index 860906fdd555..000000000000 --- a/pkgs/tools/misc/fend/default.nix +++ /dev/null @@ -1,91 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, darwin -, pandoc -, pkg-config -, openssl -, installShellFiles -, copyDesktopItems -, makeDesktopItem -, nix-update-script -, testers -, writeText -, runCommand -, fend -}: - -rustPlatform.buildRustPackage rec { - pname = "fend"; - version = "1.5.2"; - - src = fetchFromGitHub { - owner = "printfn"; - repo = "fend"; - rev = "v${version}"; - hash = "sha256-ktCfIFSGXOqHfqFkXt2ZO8jZFGTRd8wTxukGLZD1PTU="; - }; - - cargoHash = "sha256-R5p7f+eEMDs0rs+45XNJC4znrJ9BrPBv5+dvMgoHFdA="; - - nativeBuildInputs = [ pandoc installShellFiles pkg-config copyDesktopItems ]; - buildInputs = [ pkg-config openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; - - postBuild = '' - patchShebangs --build ./documentation/build.sh - ./documentation/build.sh - ''; - - preFixup = '' - installManPage documentation/fend.1 - ''; - - doInstallCheck = true; - - installCheckPhase = '' - [[ "$($out/bin/fend "1 km to m")" = "1000 m" ]] - ''; - - postInstall = '' - install -D -m 444 $src/icon/icon.svg $out/share/icons/hicolor/scalable/apps/fend.svg - ''; - - desktopItems = [ - (makeDesktopItem { - name = "fend"; - desktopName = "fend"; - genericName = "Calculator"; - comment = "Arbitrary-precision unit-aware calculator"; - icon = "fend"; - exec = "fend"; - terminal = true; - categories = [ "Utility" "Calculator" "ConsoleOnly" ]; - }) - ]; - - passthru = { - updateScript = nix-update-script { }; - tests = { - version = testers.testVersion { package = fend; }; - units = testers.testEqualContents { - assertion = "fend does simple math and unit conversions"; - expected = writeText "expected" '' - 36 kph - ''; - actual = runCommand "actual" { } '' - ${lib.getExe fend} '(100 meters) / (10 seconds) to kph' > $out - ''; - }; - }; - }; - - meta = with lib; { - description = "Arbitrary-precision unit-aware calculator"; - homepage = "https://github.com/printfn/fend"; - changelog = "https://github.com/printfn/fend/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ djanatyn liff ]; - mainProgram = "fend"; - }; -} diff --git a/pkgs/tools/misc/fet-sh/default.nix b/pkgs/tools/misc/fet-sh/default.nix deleted file mode 100644 index 3a95451d0016..000000000000 --- a/pkgs/tools/misc/fet-sh/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ stdenvNoCC, lib, fetchFromGitHub }: - -stdenvNoCC.mkDerivation rec { - pname = "fet-sh"; - version = "1.9"; - - src = fetchFromGitHub { - owner = "6gk"; - repo = "fet.sh"; - rev = "v${version}"; - sha256 = "sha256-xhX2nVteC3T3IjQh++mYlm0btDJQbyQa6b8sGualV0E="; - }; - - postPatch = '' - patchShebangs fet.sh - ''; - - installPhase = '' - install -m755 -D fet.sh $out/bin/fet.sh - ''; - - meta = with lib; { - description = "Fetch written in posix shell without any external commands"; - homepage = "https://github.com/6gk/fet.sh"; - license = licenses.isc; - platforms = platforms.all; - maintainers = with maintainers; [ elkowar ]; - mainProgram = "fet.sh"; - }; -} diff --git a/pkgs/tools/misc/fetch-scm/default.nix b/pkgs/tools/misc/fetch-scm/default.nix deleted file mode 100644 index a5bc1f65a904..000000000000 --- a/pkgs/tools/misc/fetch-scm/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, guile }: - -stdenv.mkDerivation rec { - pname = "fetch-scm"; - version = "0.1.6"; - - src = fetchFromGitHub { - owner = "KikyTokamuro"; - repo = "fetch.scm"; - rev = "v${version}"; - sha256 = "sha256-WdYi8EVxQ6xPtld8JyZlUmgpxroevBehtkRANovMh2E="; - }; - - dontBuild = true; - - buildInputs = [ guile ]; - - installPhase = '' - runHook preInstall - install -Dm555 fetch.scm $out/bin/fetch-scm - runHook postInstall - ''; - - meta = with lib; { - description = "System information fetcher written in GNU Guile Scheme"; - homepage = "https://github.com/KikyTokamuro/fetch.scm"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ vel ]; - mainProgram = "fetch-scm"; - }; -} diff --git a/pkgs/tools/misc/fetchutils/default.nix b/pkgs/tools/misc/fetchutils/default.nix deleted file mode 100644 index b4ab650ecaaf..000000000000 --- a/pkgs/tools/misc/fetchutils/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, bash, scdoc }: - -stdenvNoCC.mkDerivation rec { - pname = "fetchutils"; - version = "unstable-2021-03-16"; - - src = fetchFromGitHub { - owner = "kiedtl"; - repo = pname; - rev = "882781a297e86f4ad4eaf143e0777fb3e7c69526"; - sha256 = "sha256-ONrVZC6GBV5v3TeBekW9ybZjDHF3FNyXw1rYknqKRbk="; - }; - - buildInputs = [ bash scdoc ]; - - installFlags = [ "PREFIX=$(out)/" ]; - - postPatch = '' - patchShebangs --host src/* - ''; - - meta = with lib; { - description = "Collection of small shell utilities to fetch system information"; - homepage = "https://github.com/lptstr/fetchutils"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ moni ]; - }; -} diff --git a/pkgs/tools/misc/ffsend/default.nix b/pkgs/tools/misc/ffsend/default.nix index 91fcaf4ac449..c24650d4ffbc 100644 --- a/pkgs/tools/misc/ffsend/default.nix +++ b/pkgs/tools/misc/ffsend/default.nix @@ -2,13 +2,13 @@ , installShellFiles , Security, AppKit -, x11Support ? stdenv.isLinux || stdenv.hostPlatform.isBSD +, x11Support ? stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isBSD , xclip ? null, xsel ? null , preferXsel ? false # if true and xsel is non-null, use it instead of xclip }: let - usesX11 = stdenv.isLinux || stdenv.isBSD; + usesX11 = stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isBSD; in assert (x11Support && usesX11) -> xclip != null || xsel != null; @@ -58,9 +58,9 @@ rustPlatform.buildRustPackage rec { ]; nativeBuildInputs = [ installShellFiles ] - ++ lib.optionals stdenv.isLinux [ pkg-config ]; + ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; buildInputs = - if stdenv.isDarwin then [ Security AppKit ] + if stdenv.hostPlatform.isDarwin then [ Security AppKit ] else [ openssl ]; preBuild = lib.optionalString (x11Support && usesX11) ( diff --git a/pkgs/tools/misc/fiano/default.nix b/pkgs/tools/misc/fiano/default.nix deleted file mode 100644 index ba4b415b283e..000000000000 --- a/pkgs/tools/misc/fiano/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "fiano"; - - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "linuxboot"; - repo = "fiano"; - rev = "v${version}"; - hash = "sha256-QX0XMec99YbYWyfRThhwDaNjKstkUEz6wsisBynprmg="; - }; - - subPackages = [ - "cmds/cbfs" - "cmds/create-ffs" - "cmds/fmap" - "cmds/fspinfo" - "cmds/glzma" - "cmds/guid2english" - "cmds/microcode" - "cmds/utk" - ]; - - vendorHash = "sha256-00ZSAVEmk2pNjv6fo++gnpIheK8lo4AVWf+ghXappnI="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Go-based tools for modifying UEFI firmware"; - homepage = "https://github.com/linuxboot/fiano"; - changelog = "https://github.com/linuxboot/fiano/blob/v${version}/RELEASES.md"; - license = licenses.bsd3; - maintainers = [ maintainers.jmbaur ]; - }; -} diff --git a/pkgs/tools/misc/figlet/default.nix b/pkgs/tools/misc/figlet/default.nix deleted file mode 100644 index 746def80c6d9..000000000000 --- a/pkgs/tools/misc/figlet/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, fetchzip }: - -stdenv.mkDerivation rec { - pname = "figlet"; - version = "2.2.5"; - - # some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/ - src = fetchurl { - url = "ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz"; - sha256 = "0za1ax15x7myjl8jz271ybly8ln9kb9zhm1gf6rdlxzhs07w925z"; - }; - - contributed = fetchzip { - url = "ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz"; - hash = "sha256-AyvAoc3IqJeKWgJftBahxb/KJjudeJIY4KD6mElNagQ="; - }; - - patches = [ - (fetchpatch { - url = "https://git.alpinelinux.org/aports/plain/main/figlet/musl-fix-cplusplus-decls.patch?h=3.4-stable&id=71776c73a6f04b6f671430f702bcd40b29d48399"; - name = "musl-fix-cplusplus-decls.patch"; - sha256 = "1720zgrfk9makznqkbjrnlxm7nnhk6zx7g458fv53337n3g3zn7j"; - }) - (fetchpatch { - url = "https://github.com/cmatsuoka/figlet/commit/9a50c1795bc32e5a698b855131ee87c8d7762c9e.patch"; - name = "unistd-on-darwin.patch"; - sha256 = "hyfY87N+yuAwjsBIjpgvcdJ1IbzlR4A2yUJQSzShCRI="; - }) - ]; - - makeFlags = [ "prefix=$(out)" "CC:=$(CC)" "LD:=$(CC)" ]; - - postInstall = "cp -ar ${contributed}/* $out/share/figlet/"; - - doCheck = true; - - meta = { - description = "Program for making large letters out of ordinary text"; - homepage = "http://www.figlet.org/"; - license = lib.licenses.afl21; - maintainers = with lib.maintainers; [ ehmry ]; - platforms = lib.platforms.unix; - }; -} diff --git a/pkgs/tools/misc/filebench/default.nix b/pkgs/tools/misc/filebench/default.nix deleted file mode 100644 index 7cbb5f15936a..000000000000 --- a/pkgs/tools/misc/filebench/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl, autoreconfHook, bison, flex }: - -stdenv.mkDerivation rec { - pname = "filebench"; - version = "1.4.9.1"; - - src = fetchurl { - url = "mirror://sourceforge/filebench/filebench-${version}.tar.gz"; - sha256 = "13hmx67lsz367sn8lrvz1780mfczlbiz8v80gig9kpkpf009yksc"; - }; - - nativeBuildInputs = [ autoreconfHook bison flex ]; - - meta = with lib; { - description = "File system and storage benchmark that can generate both micro and macro workloads"; - homepage = "https://sourceforge.net/projects/filebench/"; - license = licenses.cddl; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.linux; - mainProgram = "filebench"; - }; -} diff --git a/pkgs/tools/misc/findup/default.nix b/pkgs/tools/misc/findup/default.nix deleted file mode 100644 index eaba884d79d9..000000000000 --- a/pkgs/tools/misc/findup/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, testers -, zig_0_10 -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "findup"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "booniepepper"; - repo = "findup"; - rev = "v${finalAttrs.version}"; - hash = "sha256-Tpyiy5oJQ04lqVEOFshFC0+90VoNILQ+N6Dd7lbuH/Q="; - }; - - nativeBuildInputs = [ zig_0_10.hook ]; - - passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; - - meta = { - homepage = "https://github.com/booniepepper/findup"; - description = "Search parent directories for sentinel files"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ booniepepper ]; - mainProgram = "findup"; - }; -}) diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 41432415a2c6..239aa98b04e0 100644 --- a/pkgs/tools/misc/findutils/default.nix +++ b/pkgs/tools/misc/findutils/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { "--localstatedir=/var/cache" ]; - CFLAGS = lib.optionals stdenv.isDarwin [ + CFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [ # TODO: Revisit upstream issue https://savannah.gnu.org/bugs/?59972 # https://github.com/Homebrew/homebrew-core/pull/69761#issuecomment-770268478 "-D__nonnull\\(params\\)=" diff --git a/pkgs/tools/misc/flashrom/default.nix b/pkgs/tools/misc/flashrom/default.nix deleted file mode 100644 index 190841582a4f..000000000000 --- a/pkgs/tools/misc/flashrom/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ fetchurl -, stdenv -, installShellFiles -, lib -, libftdi1 -, libjaylink -, libusb1 -, pciutils -, pkg-config -, jlinkSupport ? false -}: - -stdenv.mkDerivation rec { - pname = "flashrom"; - version = "1.3.0"; - - src = fetchurl { - url = "https://download.flashrom.org/releases/flashrom-v${version}.tar.bz2"; - hash = "sha256-oFMjRFPM0BLnnzRDvcxhYlz5e3/Xy0zdi/v/vosUliM="; - }; - - nativeBuildInputs = [ pkg-config installShellFiles ]; - buildInputs = [ libftdi1 libusb1 ] - ++ lib.optionals (!stdenv.isDarwin) [ pciutils ] - ++ lib.optional jlinkSupport libjaylink; - - postPatch = '' - substituteInPlace util/flashrom_udev.rules \ - --replace 'GROUP="plugdev"' 'TAG+="uaccess", TAG+="udev-acl"' - ''; - - makeFlags = [ "PREFIX=$(out)" "libinstall" ] - ++ lib.optional jlinkSupport "CONFIG_JLINK_SPI=yes" - ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "CONFIG_INTERNAL_X86=no" "CONFIG_INTERNAL_DMI=no" "CONFIG_RAYER_SPI=no" ]; - - postInstall = '' - install -Dm644 util/flashrom_udev.rules $out/lib/udev/rules.d/flashrom.rules - ''; - - meta = with lib; { - homepage = "https://www.flashrom.org"; - description = "Utility for reading, writing, erasing and verifying flash ROM chips"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ fpletz felixsinger ]; - platforms = platforms.all; - mainProgram = "flashrom"; - }; -} diff --git a/pkgs/tools/misc/flexoptix-app/default.nix b/pkgs/tools/misc/flexoptix-app/default.nix deleted file mode 100644 index fa2004ce40ca..000000000000 --- a/pkgs/tools/misc/flexoptix-app/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib, appimageTools, fetchurl, asar }: let - pname = "flexoptix-app"; - version = "5.21.2-latest"; - - src = fetchurl { - name = "${pname}-${version}.AppImage"; - url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; - hash = "sha256-BnNRwD09CE1EZDg3Hn3khN4FZ8Hj5LLAunk+NKU5BJo="; - }; - - udevRules = fetchurl { - url = "https://www.flexoptix.net/static/frontend/Flexoptix/default/en_US/files/99-tprogrammer.rules"; - hash = "sha256-OZe5dV50xq99olImbo7JQxPjRd7hGyBIVwFvtR9cIVc="; - }; - - appimageContents = (appimageTools.extract { inherit pname version src; }).overrideAttrs (oA: { - buildCommand = '' - ${oA.buildCommand} - - # Get rid of the autoupdater - ${asar}/bin/asar extract $out/resources/app.asar app - patch -p0 < ${./disable-autoupdate.patch} - ${asar}/bin/asar pack app $out/resources/app.asar - ''; - }); - -in appimageTools.wrapAppImage { - inherit pname version; - src = appimageContents; - - extraPkgs = pkgs: [ pkgs.hidapi ]; - - extraInstallCommands = '' - # Add desktop convencience stuff - install -Dm444 ${appimageContents}/flexoptix-app.desktop -t $out/share/applications - install -Dm444 ${appimageContents}/flexoptix-app.png -t $out/share/pixmaps - substituteInPlace $out/share/applications/flexoptix-app.desktop \ - --replace 'Exec=AppRun' "Exec=$out/bin/${pname} --" - - # Add udev rules - mkdir -p $out/lib/udev/rules.d - ln -s ${udevRules} $out/lib/udev/rules.d/99-tprogrammer.rules - ''; - - meta = { - description = "Configure FLEXOPTIX Universal Transceivers in seconds"; - homepage = "https://www.flexoptix.net"; - changelog = "https://www.flexoptix.net/en/flexoptix-app/?os=linux#flexapp__modal__changelog"; - license = lib.licenses.unfree; - maintainers = with lib.maintainers; [ das_j ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch b/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch deleted file mode 100644 index d71133951e72..000000000000 --- a/pkgs/tools/misc/flexoptix-app/disable-autoupdate.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- app/electron/jsComponents/mainWindowEvents.js 2024-02-18 12:53:41.115773007 -0500 -+++ app/electron/jsComponents/mainWindowEvents.js2 2024-02-18 23:22:20.003280203 -0500 -@@ -128,7 +128,12 @@ - - if (app.isPackaged) { - global.mainWindow.webContents.once("did-finish-load", function () { -- autoUpdater.checkForUpdates(); -+ global.mainWindow.loadURL( -+ url.format({ -+ ...global.APPLICATION_URL_OBJECT, -+ slashes: true, -+ }), -+ ); - }); - } else { - global.mainWindow.webContents.openDevTools(); diff --git a/pkgs/tools/misc/flitter/default.nix b/pkgs/tools/misc/flitter/default.nix deleted file mode 100644 index b32329efd9eb..000000000000 --- a/pkgs/tools/misc/flitter/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, pkg-config -, xorg -}: - -rustPlatform.buildRustPackage rec { - pname = "flitter"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "alexozer"; - repo = "flitter"; - rev = "v${version}"; - sha256 = "sha256-CjWixIiQFBoS+m8hPLqz0UR/EbQWgx8eKf3Y9kkgQew="; - }; - - cargoHash = "sha256-jkIdlvMYNopp8syZpIiAiekALUrRWWRKFFHYyMYRMg4="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - xorg.libX11 - ]; - - meta = with lib; { - description = "Livesplit-inspired speedrunning split timer for Linux/macOS terminal"; - license = licenses.mit; - maintainers = with maintainers; [ fgaz ]; - homepage = "https://github.com/alexozer/flitter"; - platforms = platforms.unix; - mainProgram = "flitter"; - broken = stdenv.isDarwin; - }; -} diff --git a/pkgs/tools/misc/flowgger/default.nix b/pkgs/tools/misc/flowgger/default.nix index 6783e9dc80cf..1cff8298ca9b 100644 --- a/pkgs/tools/misc/flowgger/default.nix +++ b/pkgs/tools/misc/flowgger/default.nix @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = [ openssl ] - ++ lib.optional stdenv.isDarwin CoreServices; + ++ lib.optional stdenv.hostPlatform.isDarwin CoreServices; checkFlags = [ # test failed diff --git a/pkgs/tools/misc/fntsample/default.nix b/pkgs/tools/misc/fntsample/default.nix deleted file mode 100644 index 6ddbace3c0b7..000000000000 --- a/pkgs/tools/misc/fntsample/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchFromGitHub -, cmake -, pkg-config -, cairo -, fontconfig -, freetype -, glib -, libXdmcp -, makeWrapper -, pango -, pcre -, perlPackages -}: - -let - ucd-blocks = fetchurl { - url = "https://www.unicode.org/Public/15.0.0/ucd/Blocks.txt"; - hash = "sha256-Up3F0PY4bVLy9W4AS7+rSM4tWH7qnTi6VGxAUkkb2CA="; - }; -in -stdenv.mkDerivation rec { - pname = "fntsample"; - version = "5.4"; - - src = fetchFromGitHub { - owner = "eugmes"; - repo = pname; - rev = "release/${version}"; - hash = "sha256-O5RT68wPWwzCb51JZWWNcIubWoM7NZw/MRiaHXPDmF0="; - }; - - cmakeFlags = [ - "-DUNICODE_BLOCKS=${ucd-blocks.outPath}" - ]; - - outputs = [ "out" "man" ]; - - nativeBuildInputs = [ - cmake - makeWrapper - pkg-config - ]; - - buildInputs = [ - cairo - fontconfig - freetype - glib - libXdmcp - pango - perlPackages.perl - pcre - ]; - - postFixup = - let - perlPath = with perlPackages; makePerlPath [ - ExporterTiny - ListMoreUtils - PDFAPI2 - libintl-perl - ]; - in '' - for cmd in pdfoutline pdf-extract-outline; do - wrapProgram "$out/bin/$cmd" --prefix PERL5LIB : "${perlPath}" - done - ''; - - meta = with lib; { - homepage = "https://github.com/eugmes/fntsample"; - description = "PDF and PostScript font samples generator"; - license = licenses.gpl3Plus; - maintainers = [ ]; - platforms = platforms.unix; - }; -} -# TODO: factor/package ucd-blocks diff --git a/pkgs/tools/misc/foma/default.nix b/pkgs/tools/misc/foma/default.nix deleted file mode 100644 index 8c83d33ee359..000000000000 --- a/pkgs/tools/misc/foma/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, bison, cmake, flex, pkg-config, readline, zlib }: - -stdenv.mkDerivation rec { - pname = "foma"; - version = "0.10.0alpha-unstable-03-13-2024"; - - src = fetchFromGitHub { - owner = "mhulden"; - repo = "foma"; - rev = "e0d8122bda4bbd56f18510bdfe840617f9736ae7"; - hash = "sha256-UbwuHTilKWo4sVD3igcSlTqH78N6JQFvRD35QwfoX10="; - }; - - sourceRoot = "${src.name}/foma"; - - outputs = [ "out" "dev" ]; - - nativeBuildInputs = [ bison cmake flex pkg-config ]; - buildInputs = [ readline zlib ]; - - cmakeFlags = [ - # the cmake package does not handle absolute CMAKE_INSTALL_XXXDIR - # correctly (setting it to an absolute path causes include files to go to - # $out/$out/include, because the absolute path is interpreted with root at - # $out). - "-DCMAKE_INSTALL_INCLUDEDIR=include" - "-DCMAKE_INSTALL_LIBDIR=lib" - ]; - - meta = with lib; { - description = "Multi-purpose finite-state toolkit designed for applications ranging from natural language processing to research in automata theory"; - homepage = "https://github.com/mhulden/foma"; - license = licenses.asl20; - maintainers = [ maintainers.tckmn ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/fondu/default.nix b/pkgs/tools/misc/fondu/default.nix index 9435d0487b76..fe6ab396d139 100644 --- a/pkgs/tools/misc/fondu/default.nix +++ b/pkgs/tools/misc/fondu/default.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation rec { sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2"; }; - postConfigure = lib.optionalString stdenv.isDarwin '' + postConfigure = lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices" ''; - buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ]; makeFlags = [ "DESTDIR=$(out)" ]; diff --git a/pkgs/tools/misc/font-config-info/default.nix b/pkgs/tools/misc/font-config-info/default.nix deleted file mode 100644 index 20133eb0df77..000000000000 --- a/pkgs/tools/misc/font-config-info/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, pkg-config -, gtk3 -, xsettingsd -}: - -stdenv.mkDerivation rec { - pname = "font-config-info"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "derat"; - repo = pname; - rev = "v${version}"; - sha256 = "14z7hg9c7q8wliyqv68kp080mmk2rh6kpww6pn87hy7lwq20l2b7"; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - gtk3 - xsettingsd - ]; - - postPatch = '' - substituteInPlace font-config-info.c --replace "dump_xsettings |" "${xsettingsd}/bin/dump_xsettings |" - ''; - - installPhase = '' - runHook preInstall - install -D -t $out/bin font-config-info - runHook postInstall - ''; - - meta = with lib; { - description = "Prints a Linux system's font configuration"; - homepage = "https://github.com/derat/font-config-info"; - license = with licenses; [ bsd3 ]; - platforms = platforms.unix; - maintainers = with maintainers; [ romildo ]; - mainProgram = "font-config-info"; - }; -} diff --git a/pkgs/tools/misc/fontforge/default.nix b/pkgs/tools/misc/fontforge/default.nix index fe626a417ab3..495a3dad8330 100644 --- a/pkgs/tools/misc/fontforge/default.nix +++ b/pkgs/tools/misc/fontforge/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { ''; # do not use x87's 80-bit arithmetic, rouding errors result in very different font binaries - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-msse2 -mfpmath=sse"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isi686 "-msse2 -mfpmath=sse"; nativeBuildInputs = [ pkg-config cmake ]; buildInputs = [ @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { ] ++ lib.optionals withSpiro [ libspiro ] ++ lib.optionals withGUI [ gtk3 cairo pango ] - ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ]; cmakeFlags = [ "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON" ] ++ lib.optional (!withSpiro) "-DENABLE_LIBSPIRO=OFF" diff --git a/pkgs/tools/misc/fortune/default.nix b/pkgs/tools/misc/fortune/default.nix deleted file mode 100644 index 4df5e1fd1aae..000000000000 --- a/pkgs/tools/misc/fortune/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib, stdenv, fetchurl, cmake, recode, perl, rinutils, withOffensive ? false }: - -stdenv.mkDerivation rec { - pname = "fortune-mod"; - version = "3.22.0"; - - # We use fetchurl instead of fetchFromGitHub because the release pack has some - # special files. - src = fetchurl { - url = "https://github.com/shlomif/fortune-mod/releases/download/fortune-mod-${version}/fortune-mod-${version}.tar.xz"; - sha256 = "sha256-BpMhu01K46v1VJPQQ86gZTTck/Giwp6GaU2e2xOAoOM="; - }; - - nativeBuildInputs = [ cmake perl rinutils ]; - - buildInputs = [ recode ]; - - cmakeFlags = [ - "-DLOCALDIR=${placeholder "out"}/share/fortunes" - ] ++ lib.optional (!withOffensive) "-DNO_OFFENSIVE=true"; - - patches = [ (builtins.toFile "not-a-game.patch" '' - diff --git a/CMakeLists.txt b/CMakeLists.txt - index 865e855..5a59370 100644 - --- a/CMakeLists.txt - +++ b/CMakeLists.txt - @@ -154,7 +154,7 @@ ENDMACRO() - my_exe( - "fortune" - "fortune/fortune.c" - - "games" - + "bin" - ) - - my_exe( - -- - '') ]; - - postFixup = lib.optionalString (!withOffensive) '' - rm $out/share/games/fortunes/men-women* - ''; - - meta = with lib; { - mainProgram = "fortune"; - description = "Program that displays a pseudorandom message from a database of quotations"; - license = licenses.bsdOriginal; - platforms = platforms.unix; - maintainers = with maintainers; [ vonfry ]; - }; -} diff --git a/pkgs/tools/misc/fpart/default.nix b/pkgs/tools/misc/fpart/default.nix deleted file mode 100644 index fe58413443f2..000000000000 --- a/pkgs/tools/misc/fpart/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, fts }: - -stdenv.mkDerivation rec { - pname = "fpart"; - version = "1.6.0"; - - src = fetchFromGitHub { - owner = "martymac"; - repo = "fpart"; - rev = "fpart-${version}"; - sha256 = "sha256-kAvGLd5W633fRS+qVD/yclreFfcauyLygQGtzv7AP24="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ fts ]; - - postInstall = '' - sed "s|^FPART_BIN=.*|FPART_BIN=\"$out/bin/fpart\"|" \ - -i "$out/bin/fpsync" - ''; - - meta = with lib; { - description = "Split file trees into bags (called \"partitions\")"; - longDescription = '' - Fpart is a tool that helps you sort file trees and pack them into bags - (called "partitions"). - - It splits a list of directories and file trees into a certain number of - partitions, trying to produce partitions with the same size and number of - files. It can also produce partitions with a given number of files or a - limited size. - - Once generated, partitions are either printed as file lists to stdout - (default) or to files. Those lists can then be used by third party programs. - - Fpart also includes a live mode, which allows it to crawl very large - filesystems and produce partitions in live. Hooks are available to act on - those partitions (e.g. immediately start a transfer using rsync(1)) - without having to wait for the filesystem traversal job to be finished. - Used this way, fpart can be seen as a powerful data migration tool. - ''; - homepage = "http://contribs.martymac.org/"; - license = licenses.bsd2; - platforms = platforms.unix; - maintainers = [ maintainers.bjornfor ]; - }; -} diff --git a/pkgs/tools/misc/fpp/default.nix b/pkgs/tools/misc/fpp/default.nix deleted file mode 100644 index d8f575b1363b..000000000000 --- a/pkgs/tools/misc/fpp/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3, installShellFiles }: - -stdenv.mkDerivation rec { - pname = "fpp"; - version = "0.9.5"; - - src = fetchFromGitHub { - owner = "facebook"; - repo = "PathPicker"; - rev = version; - sha256 = "sha256-4BkdGvG/RyF3JBnd/X5r5nboEHG4aqahcYHDunMv2zU="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - postPatch = '' - substituteInPlace fpp --replace 'PYTHONCMD="python3"' 'PYTHONCMD="${python3.interpreter}"' - ''; - - installPhase = '' - mkdir -p $out/share/fpp $out/bin - cp -r fpp src $out/share/fpp - ln -s $out/share/fpp/fpp $out/bin/fpp - installManPage debian/usr/share/man/man1/fpp.1 - ''; - - meta = { - description = "CLI program that accepts piped input and presents files for selection"; - homepage = "https://facebook.github.io/PathPicker/"; - license = lib.licenses.bsd3; - platforms = lib.platforms.all; - mainProgram = "fpp"; - }; -} diff --git a/pkgs/tools/misc/fre/default.nix b/pkgs/tools/misc/fre/default.nix deleted file mode 100644 index 6953a630eb4e..000000000000 --- a/pkgs/tools/misc/fre/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "fre"; - version = "0.4.1"; - - src = fetchFromGitHub { - owner = "camdencheek"; - repo = "fre"; - rev = "v${version}"; - hash = "sha256-cYqEPohqUmewvBUoGJQfa4ATxw2uny5+nUKtNzrxK38="; - }; - - cargoHash = "sha256-BEIrjHsIrNkFEEjCrTKwsJL9hptmVOI8x3ZWoo9ZUvQ="; - - meta = with lib; { - description = "CLI tool for tracking your most-used directories and files"; - homepage = "https://github.com/camdencheek/fre"; - changelog = "https://github.com/camdencheek/fre/blob/${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ gaykitty ]; - mainProgram = "fre"; - }; -} diff --git a/pkgs/tools/misc/frei/default.nix b/pkgs/tools/misc/frei/default.nix deleted file mode 100644 index 6e8a2181abb1..000000000000 --- a/pkgs/tools/misc/frei/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "frei"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "alexcoder04"; - repo = "frei"; - rev = "v${version}"; - sha256 = "sha256-9CV6B7fRHXl73uI2JRv3RiaFczLHHBOd7/8UoCAwK6w="; - }; - - vendorHash = null; - - meta = with lib; { - description = "Modern replacement for free"; - homepage = "https://github.com/alexcoder04/frei"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ infinidoge ]; - mainProgram = "frei"; - }; -} diff --git a/pkgs/tools/misc/freshfetch/default.nix b/pkgs/tools/misc/freshfetch/default.nix index 40119d9f0b3d..ccbaa1f1bfa8 100644 --- a/pkgs/tools/misc/freshfetch/default.nix +++ b/pkgs/tools/misc/freshfetch/default.nix @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { # freshfetch depends on rust nightly features RUSTC_BOOTSTRAP = 1; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit CoreFoundation DiskArbitration diff --git a/pkgs/tools/misc/fsearch/default.nix b/pkgs/tools/misc/fsearch/default.nix deleted file mode 100644 index 43902b5d99ca..000000000000 --- a/pkgs/tools/misc/fsearch/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, gtk3 -, pcre2 -, glib -, desktop-file-utils -, meson -, ninja -, pkg-config -, wrapGAppsHook3 -, gettext -, icu -}: - -stdenv.mkDerivation rec { - pname = "fsearch"; - version = "0.2.3"; - - src = fetchFromGitHub { - owner = "cboxdoerfer"; - repo = pname; - rev = version; - hash = "sha256-VBcoDxh4ip2zLBcXVHDe9s1lVRQF4bZJKsGUt6sPcos="; - }; - - nativeBuildInputs = [ - desktop-file-utils - meson - ninja - pkg-config - wrapGAppsHook3 - gettext - ]; - - buildInputs = [ - glib - gtk3 - pcre2 - icu - ]; - - preFixup = '' - substituteInPlace $out/share/applications/io.github.cboxdoerfer.FSearch.desktop \ - --replace "Exec=fsearch" "Exec=$out/bin/fsearch" - ''; - - meta = with lib; { - description = "Fast file search utility for Unix-like systems based on GTK+3"; - homepage = "https://github.com/cboxdoerfer/fsearch.git"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ artturin ]; - platforms = platforms.unix; - mainProgram = "fsearch"; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/fsearch.x86_64-darwin - }; -} diff --git a/pkgs/tools/misc/fselect/default.nix b/pkgs/tools/misc/fselect/default.nix deleted file mode 100644 index feeb9f3a3d21..000000000000 --- a/pkgs/tools/misc/fselect/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, libiconv }: - -rustPlatform.buildRustPackage rec { - pname = "fselect"; - version = "0.8.5"; - - src = fetchFromGitHub { - owner = "jhspetersson"; - repo = "fselect"; - rev = version; - sha256 = "sha256-gEiKv1YbNNWexNfzUULbe0fT0ueJ9TJojhBHp31i6OY="; - }; - - cargoHash = "sha256-eqzqIyQHHklxo3aojCvY06TUPSqChoz6yZ2zzpgRNqs="; - - nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optional stdenv.isDarwin libiconv; - - postInstall = '' - installManPage docs/fselect.1 - ''; - - meta = with lib; { - description = "Find files with SQL-like queries"; - homepage = "https://github.com/jhspetersson/fselect"; - license = with licenses; [ asl20 mit ]; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "fselect"; - }; -} diff --git a/pkgs/tools/misc/fsmark/default.nix b/pkgs/tools/misc/fsmark/default.nix deleted file mode 100644 index 340be1a56c2e..000000000000 --- a/pkgs/tools/misc/fsmark/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "fsmark"; - version = "3.3"; - - src = fetchurl { - url = "mirror://sourceforge/fsmark/${version}/fs_mark-${version}.tar.gz"; - sha256 = "15f8clcz49qsfijdmcz165ysp8v4ybsm57d3dxhhlnq1bp1i9w33"; - }; - - patchPhase = '' - sed -i Makefile -e 's/-static //' - ''; - - installPhase = '' - mkdir -p $out/bin - cp fs_mark $out/bin/ - ''; - - meta = with lib; { - description = "Synchronous write workload file system benchmark"; - homepage = "https://sourceforge.net/projects/fsmark/"; - license = licenses.gpl2Plus; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.linux; - mainProgram = "fs_mark"; - }; -} diff --git a/pkgs/tools/misc/fsmon/default.nix b/pkgs/tools/misc/fsmon/default.nix deleted file mode 100644 index 5e3856107801..000000000000 --- a/pkgs/tools/misc/fsmon/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "fsmon"; - version = "1.8.6"; - - src = fetchFromGitHub { - owner = "nowsecure"; - repo = "fsmon"; - rev = "refs/tags/${version}"; - hash = "sha256-m0Bu1lT3KH4ytkpEakI7fvRHV1kmgaXS71+wmNGmEl8="; - }; - - installPhase = '' - make install PREFIX=$out - ''; - - meta = with lib; { - description = "FileSystem Monitor utility"; - homepage = "https://github.com/nowsecure/fsmon"; - changelog = "https://github.com/nowsecure/fsmon/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ dezgeg ]; - platforms = platforms.linux; - mainProgram = "fsmon"; - }; -} diff --git a/pkgs/tools/misc/fsql/default.nix b/pkgs/tools/misc/fsql/default.nix deleted file mode 100644 index d9f3b3ae8f90..000000000000 --- a/pkgs/tools/misc/fsql/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "fsql"; - version = "0.5.2"; - - src = fetchFromGitHub { - owner = "kshvmdn"; - repo = "fsql"; - rev = "v${version}"; - sha256 = "sha256-U6TPszqsZvoz+9GIB0wNYMRJqIDLOp/BZO3/k8FC0Gs="; - }; - - vendorHash = "sha256-+laTnx6Xkrv3QQel5opqYQSuFmo54UMI2A653xbBWzQ="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Search through your filesystem with SQL-esque queries"; - homepage = "https://github.com/kshvmdn/fsql"; - license = licenses.mit; - maintainers = with maintainers; [ pSub ]; - mainProgram = "fsql"; - }; -} diff --git a/pkgs/tools/misc/fsrx/default.nix b/pkgs/tools/misc/fsrx/default.nix deleted file mode 100644 index c1a1fa9ecc90..000000000000 --- a/pkgs/tools/misc/fsrx/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, testers, fsrx }: - -rustPlatform.buildRustPackage rec { - pname = "fsrx"; - version = "1.0.2"; - - src = fetchFromGitHub { - owner = "thatvegandev"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-hzfpjunP20WCt3erYu7AO7A3nz+UMKdFzWUA5jASbVA="; - }; - - cargoHash = "sha256-bRStmz2sJnhCKpvoQfc/ZP9B2ZdNHYNEHd+wZErdS1Y="; - - passthru = { - tests.version = testers.testVersion { - package = fsrx; - }; - }; - - meta = with lib; { - description = "Flow state reader in the terminal"; - homepage = "https://github.com/thatvegandev/fsrx"; - license = licenses.mit; - maintainers = with maintainers; [ MoritzBoehme ]; - mainProgram = "fsrx"; - }; -} diff --git a/pkgs/tools/misc/fuc/default.nix b/pkgs/tools/misc/fuc/default.nix deleted file mode 100644 index 5a2f88fcb8f7..000000000000 --- a/pkgs/tools/misc/fuc/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, clippy -, rustfmt -}: - -rustPlatform.buildRustPackage rec { - pname = "fuc"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "SUPERCILEX"; - repo = "fuc"; - rev = version; - hash = "sha256-ZEiMyX85woPOKaMtw8qqrUXUhY8Ewm71I25inUMH1GQ="; - }; - - cargoHash = "sha256-7xPZFZ+vWi6HbaHeIWEnOfQkHsLIMsHq+RuuDOWwusQ="; - - RUSTC_BOOTSTRAP = 1; - - cargoBuildFlags = [ "--workspace" "--bin cpz" "--bin rmz" ]; - - nativeCheckInputs = [ clippy rustfmt ]; - - meta = with lib; { - description = "Modern, performance focused unix commands"; - homepage = "https://github.com/SUPERCILEX/fuc"; - license = licenses.asl20; - maintainers = with maintainers; [ dit7ya ]; - }; -} diff --git a/pkgs/tools/misc/fw/default.nix b/pkgs/tools/misc/fw/default.nix deleted file mode 100644 index 5483bc872d4a..000000000000 --- a/pkgs/tools/misc/fw/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, libgit2 -, openssl -, zlib -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "fw"; - version = "2.19.1"; - - src = fetchFromGitHub { - owner = "brocode"; - repo = "fw"; - rev = "v${version}"; - hash = "sha256-fG1N/3Er7BvXOJTMGooaIMa5I9iNwnH+1om2jcWkI68="; - }; - - cargoHash = "sha256-1d2uX/A1HZAmAI3d0iet1NkG0IFuJpVnhWxpY0jVVUI="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - libgit2 - openssl - zlib - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.SystemConfiguration - ]; - - env = { - OPENSSL_NO_VENDOR = true; - }; - - meta = with lib; { - description = "Workspace productivity booster"; - homepage = "https://github.com/brocode/fw"; - license = licenses.wtfpl; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "fw"; - }; -} diff --git a/pkgs/tools/misc/fwup/default.nix b/pkgs/tools/misc/fwup/default.nix index 904aca205214..7740cbb32f56 100644 --- a/pkgs/tools/misc/fwup/default.nix +++ b/pkgs/tools/misc/fwup/default.nix @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { pname = "fwup"; - version = "1.10.2"; + version = "1.11.0"; src = fetchFromGitHub { owner = "fhunleth"; repo = "fwup"; rev = "v${version}"; - sha256 = "sha256-SuagtYfLD8yXFpLHNl1J0m5/iapYU+Si6tJl0paStTY="; + sha256 = "sha256-XdWEvIM+gNQVmNPwtcka+lZwmNIWpxAIMGBjY0b9QNM="; }; nativeBuildInputs = [ @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { libsodium xz zlib - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ DiskArbitration ]; @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { xdelta ]; - doCheck = !stdenv.isDarwin; + doCheck = !stdenv.hostPlatform.isDarwin; meta = with lib; { description = "Configurable embedded Linux firmware update creator and runner"; diff --git a/pkgs/tools/misc/fx-cast-bridge/default.nix b/pkgs/tools/misc/fx-cast-bridge/default.nix deleted file mode 100644 index 8ea1c785b01b..000000000000 --- a/pkgs/tools/misc/fx-cast-bridge/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib, buildNpmPackage, fetchFromGitHub, avahi-compat, nodejs_18, python3 }: - -buildNpmPackage rec { - pname = "fx-cast-bridge"; - version = "0.3.1"; - - nodejs = nodejs_18; - - src = fetchFromGitHub { - owner = "hensm"; - repo = "fx_cast"; - rev = "v${version}"; - hash = "sha256-hB4NVJW2exHoKsMp0CKzHerYgj8aR77rV+ZsCoWA1Dg="; - }; - sourceRoot = "${src.name}/app"; - npmDepsHash = "sha256-GLrDRZqKcX1PDGREx+MLZ1TEjr88r9nz4TvZ9nvo40g="; - - nativeBuildInputs = [ python3 ]; - buildInputs = [ avahi-compat ]; - - postPatch = '' - substituteInPlace bin/lib/paths.js \ - --replace "../../../" "../../" - ''; - - dontNpmInstall = true; - installPhase = '' - runHook preInstall - - mkdir -p $out/{bin,lib/mozilla/native-messaging-hosts} - - substituteInPlace dist/app/fx_cast_bridge.json \ - --replace "$(realpath dist/app/fx_cast_bridge.sh)" "$out/bin/fx_cast_bridge" - mv dist/app/fx_cast_bridge.json $out/lib/mozilla/native-messaging-hosts - - rm dist/app/fx_cast_bridge.sh - mv dist/app $out/lib/fx_cast_bridge - mv node_modules $out/lib/fx_cast_bridge/node_modules - - echo "#! /bin/sh - NODE_PATH=\"$out/lib/node_modules\" \\ - exec ${nodejs}/bin/node \\ - $out/lib/fx_cast_bridge/src/main.js \\ - --_name fx_cast_bridge \"\$@\" - " >$out/bin/fx_cast_bridge - chmod +x $out/bin/fx_cast_bridge - - runHook postInstall - ''; - - meta = with lib; { - description = "Implementation of the Chrome Sender API (Chromecast) within Firefox"; - homepage = "https://hensm.github.io/fx_cast/"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "fx_cast_bridge"; - }; -} diff --git a/pkgs/tools/misc/fxlinuxprintutil/default.nix b/pkgs/tools/misc/fxlinuxprintutil/default.nix deleted file mode 100644 index edb2ca73737d..000000000000 --- a/pkgs/tools/misc/fxlinuxprintutil/default.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ stdenv, lib, fetchzip, substituteAll, dpkg, autoPatchelfHook, cups, tcl, tk, xorg, makeWrapper }: -let - debPlatform = - if stdenv.hostPlatform.system == "x86_64-linux" then "amd64" - else if stdenv.hostPlatform.system == "i686-linux" then "i386" - else throw "Unsupported system: ${stdenv.hostPlatform.system}"; -in -stdenv.mkDerivation rec { - pname = "fxlinuxprintutil"; - version = "1.1.1-1"; - - # https://support-fb.fujifilm.com/driver_downloads/fxlinuxpdf112119031.zip is gone - src = fetchzip { - url = "https://github.com/NixOS/nixpkgs/files/12232817/fxlinuxpdf112119031.zip"; - sha256 = "1mv07ch6ysk9bknfmjqsgxb803sj6vfin29s9knaqv17jvgyh0n3"; - }; - - patches = [ - # replaces references to “path/to/fxlputil” via $0 that are broken by our wrapProgram - # with /nix/store/fxlinuxprintutil/bin/fxlputil - ./fxlputil.patch - - # replaces the code that looks for Tcl packages in the working directory and /usr/lib - # or /usr/lib64 with /nix/store/fxlinuxprintutil/lib - ./fxlputil.tcl.patch - - # replaces the code that looks for X11’s locale.alias in /usr/share/X11/locale or - # /usr/lib/X11/locale with /nix/store/libX11/share/X11/locale - (substituteAll { - src = ./fxlocalechk.tcl.patch; - inherit (xorg) libX11; - }) - ]; - - nativeBuildInputs = [ dpkg autoPatchelfHook makeWrapper ]; - buildInputs = [ cups tcl tk ]; - - sourceRoot = "."; - unpackCmd = "dpkg-deb -x $curSrc/fxlinuxprintutil_${version}_${debPlatform}.deb ."; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - mkdir -p $out - mv usr/bin $out - mv usr/lib $out - - wrapProgram $out/bin/fxlputil --prefix PATH : ${lib.makeBinPath [ tcl tk ]} - ''; - - meta = with lib; { - description = "Optional configuration tool for fxlinuxprint"; - homepage = "https://onlinesupport.fujixerox.com"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = [ ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/fxlinuxprintutil/fxlocalechk.tcl.patch b/pkgs/tools/misc/fxlinuxprintutil/fxlocalechk.tcl.patch deleted file mode 100644 index fbf211065e9b..000000000000 --- a/pkgs/tools/misc/fxlinuxprintutil/fxlocalechk.tcl.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/usr/bin/fxlocalechk.tcl b/usr/bin/fxlocalechk.tcl -index f0ebc6c..c3486fe 100755 ---- a/usr/bin/fxlocalechk.tcl -+++ b/usr/bin/fxlocalechk.tcl -@@ -12,12 +12,7 @@ - #THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - #i18N --#---- check locale with environment variable --set locale_alias_path /usr/share/X11/locale -- --if {[file exists $locale_alias_path/locale.alias] != 1} { -- set locale_alias_path /usr/lib/X11/locale --} -+set locale_alias_path @libX11@/share/X11/locale - - proc conv_locale {alias} { - global env envL locale_alias_path diff --git a/pkgs/tools/misc/fxlinuxprintutil/fxlputil.patch b/pkgs/tools/misc/fxlinuxprintutil/fxlputil.patch deleted file mode 100644 index 972152b2cc3e..000000000000 --- a/pkgs/tools/misc/fxlinuxprintutil/fxlputil.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/usr/bin/fxlputil b/usr/bin/fxlputil -index cdac66d..aa86d02 100755 ---- a/usr/bin/fxlputil -+++ b/usr/bin/fxlputil -@@ -7,17 +7,19 @@ - # TCL=`which fxlputil` - #fi - -+wrapper=$(dirname $0)/fxlputil -+ - #set LC_ALL --locale=`tclsh $0lo.tcl` -+locale=`tclsh ${wrapper}lo.tcl` - - case $locale in - "ja") -- env LC_ALL=ja_JP.UTF-8 wish $0.tcl $1 -+ env LC_ALL=ja_JP.UTF-8 wish ${wrapper}.tcl $1 - ;; - "en") -- env LC_ALL=en_US.ISO8859-1 wish $0.tcl $1 -+ env LC_ALL=en_US.ISO8859-1 wish ${wrapper}.tcl $1 - ;; - *) -- env LC_ALL=C wish $0.tcl $1 -+ env LC_ALL=C wish ${wrapper}.tcl $1 - ;; - esac diff --git a/pkgs/tools/misc/fxlinuxprintutil/fxlputil.tcl.patch b/pkgs/tools/misc/fxlinuxprintutil/fxlputil.tcl.patch deleted file mode 100644 index 2bfbab450cb0..000000000000 --- a/pkgs/tools/misc/fxlinuxprintutil/fxlputil.tcl.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/usr/bin/fxlputil.tcl b/usr/bin/fxlputil.tcl -index 02eeaf6..788ed5a 100755 ---- a/usr/bin/fxlputil.tcl -+++ b/usr/bin/fxlputil.tcl -@@ -25,14 +25,8 @@ catch {namespace import combobox::*} - - - --lappend auto_path $cwd -- --if {[lsearch $auto_path /usr/lib] == -1} { -- lappend auto_path /usr/lib --} --if {[lsearch $auto_path /usr/lib64] == -1} { -- lappend auto_path /usr/lib64 --} -+# https://stackoverflow.com/a/23287132 -+lappend auto_path [file join [file dirname [file dirname [info script]]] lib] - - package require fxlputil - diff --git a/pkgs/tools/misc/fzy/default.nix b/pkgs/tools/misc/fzy/default.nix deleted file mode 100644 index ea78b6c963d4..000000000000 --- a/pkgs/tools/misc/fzy/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "fzy"; - version = "1.0"; - - src = fetchFromGitHub { - owner = "jhawthorn"; - repo = "fzy"; - rev = version; - sha256 = "1gkzdvj73f71388jvym47075l9zw61v6l8wdv2lnc0mns6dxig0k"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Better fuzzy finder"; - homepage = "https://github.com/jhawthorn/fzy"; - license = licenses.mit; - maintainers = with maintainers; [ dywedir ]; - platforms = platforms.all; - mainProgram = "fzy"; - }; -} diff --git a/pkgs/tools/misc/g203-led/default.nix b/pkgs/tools/misc/g203-led/default.nix deleted file mode 100644 index f2db4f58d591..000000000000 --- a/pkgs/tools/misc/g203-led/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, python3 -}: -stdenv.mkDerivation rec { - pname = "g203-led"; - version = "unstable-2021-05-08"; - src = fetchFromGitHub { - owner = "smasty"; - repo = pname; - rev = "f9d10ba3aa8f9359f928bbab0a2ea00cefc69f4b"; - sha256 = "1fhaimci80xmihg84bgrml61zr56pi9rkxfbs13vvw9dwjf031k0"; - }; - - buildInputs = [ - (python3.withPackages (ps: with ps; [ - pyusb - ])) - ]; - - postPatch = '' - patchShebangs g203-led.py - ''; - - installPhase = '' - runHook preInstall - install -D g203-led.py $out/bin/g203-led - runHook postInstall - ''; - - meta = with lib; { - description = "Logitech G203 Prodigy / G203 LightSync Mouse LED control for Linux"; - longDescription = '' - Allows you to control the LED lighting of your G203 Prodigy - or G203 LightSync Mouse programmatically. - Inspired by and based on g810-led. - ''; - license = licenses.mit; - maintainers = with maintainers; [ r-burns ]; - homepage = "https://github.com/smasty/g203-led"; - platforms = platforms.linux; - mainProgram = "g203-led"; - }; -} diff --git a/pkgs/tools/misc/g933-utils/default.nix b/pkgs/tools/misc/g933-utils/default.nix deleted file mode 100644 index 7817f0b41695..000000000000 --- a/pkgs/tools/misc/g933-utils/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, udev, pkg-config }: - -rustPlatform.buildRustPackage rec { - pname = "g933-utils"; - version = "unstable-2021-11-19"; - - src = fetchFromGitHub { - owner = "ashkitten"; - repo = "g933-utils"; - rev = "1fc8cec375ed0d6f72191eadec788a49f51032d1"; - sha256 = "sha256-kGLMRqZHzRuXQNTjIuLz8JPC1c/ZK38msfkTIVnaomg="; - }; - - cargoHash = "sha256-FBX5hrS8tNWN83XX+x+s/mYyvO1h6V63bXCx7y0R8bY="; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ udev ]; - - meta = with lib; { - description = "Application to configure Logitech wireless G933/G533 headsets"; - homepage = "https://github.com/ashkitten/g933-utils"; - license = licenses.mit; - maintainers = with maintainers; [ seqizz ]; - platforms = platforms.linux; - mainProgram = "g933-utils"; - }; -} diff --git a/pkgs/tools/misc/gaphor/default.nix b/pkgs/tools/misc/gaphor/default.nix index 3079a620df45..edea8bcad37a 100644 --- a/pkgs/tools/misc/gaphor/default.nix +++ b/pkgs/tools/misc/gaphor/default.nix @@ -4,16 +4,23 @@ , copyDesktopItems , gobject-introspection , poetry-core -, wrapGAppsHook3 -, gtksourceview4 +, wrapGAppsHook4 +, gtksourceview5 +, libadwaita , pango , gaphas , generic , jedi , pycairo +, pillow +, dulwich +, pydot +, defusedxml +, better-exceptions +, babel , pygobject3 , tinycss2 -, gtk3 +, gtk4 , librsvg , makeDesktopItem , python @@ -21,45 +28,56 @@ buildPythonApplication rec { pname = "gaphor"; - version = "2.8.2"; - - format = "pyproject"; + version = "2.26.0"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-+qqsSLjdY2I19fxdfkOEQ9DhTTHccUDll4O5yqtLiz0="; + hash = "sha256-e0K5bfgPqlJh8qrAz40c/w3ANzkfa/6txuqzQDJYXfE="; }; + pythonRelaxDeps = [ "defusedxml" ]; + nativeBuildInputs = [ copyDesktopItems gobject-introspection - poetry-core - wrapGAppsHook3 + wrapGAppsHook4 ]; buildInputs = [ - gtksourceview4 + gtksourceview5 pango + libadwaita ]; - propagatedBuildInputs = [ - gaphas - generic - jedi + build-system = [ poetry-core ]; + + dependencies = [ pycairo pygobject3 + gaphas + generic tinycss2 + babel + jedi + better-exceptions + pydot + pillow + defusedxml + dulwich ]; - desktopItems = makeDesktopItem { - name = pname; - exec = "gaphor"; - icon = "gaphor"; - comment = meta.description; - desktopName = "Gaphor"; - }; + desktopItems = [ + (makeDesktopItem { + name = pname; + exec = "gaphor"; + icon = "gaphor"; + comment = meta.description; + desktopName = "Gaphor"; + }) + ]; - # Disable automatic wrapGAppsHook3 to prevent double wrapping + # Disable automatic wrapGAppsHook4 to prevent double wrapping dontWrapGApps = true; postInstall = '' @@ -69,7 +87,7 @@ buildPythonApplication rec { preFixup = '' makeWrapperArgs+=( "''${gappsWrapperArgs[@]}" \ - --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ + --prefix XDG_DATA_DIRS : "${gtk4}/share/gsettings-schemas/${gtk4.name}/" \ --set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" ) ''; @@ -79,6 +97,6 @@ buildPythonApplication rec { maintainers = [ ]; homepage = "https://github.com/gaphor/gaphor"; license = licenses.asl20; - platforms = [ "x86_64-linux" ]; + platforms = lib.platforms.linux; }; } diff --git a/pkgs/tools/misc/geekbench/5.nix b/pkgs/tools/misc/geekbench/5.nix index 0c23877ee847..c7504585dc0f 100644 --- a/pkgs/tools/misc/geekbench/5.nix +++ b/pkgs/tools/misc/geekbench/5.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; - buildInputs = [ stdenv.cc.cc.lib ]; + buildInputs = [ (lib.getLib stdenv.cc.cc) ]; installPhase = '' runHook preInstall diff --git a/pkgs/tools/misc/geekbench/6.nix b/pkgs/tools/misc/geekbench/6.nix index 2aca571e2cf9..6b78d65b39a1 100644 --- a/pkgs/tools/misc/geekbench/6.nix +++ b/pkgs/tools/misc/geekbench/6.nix @@ -21,7 +21,7 @@ let hash = "sha256-fbf01qa9wx3k9j8AEqv38fAM3F9tZOcnpH/wa/9rawQ="; }; }; - geekbench_avx2 = lib.optionalString stdenv.isx86_64 "geekbench_avx2"; + geekbench_avx2 = lib.optionalString stdenv.hostPlatform.isx86_64 "geekbench_avx2"; in stdenv.mkDerivation { inherit version; @@ -34,7 +34,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; - buildInputs = [ stdenv.cc.cc.lib ]; + buildInputs = [ (lib.getLib stdenv.cc.cc) ]; installPhase = '' runHook preInstall diff --git a/pkgs/tools/misc/geteltorito/default.nix b/pkgs/tools/misc/geteltorito/default.nix deleted file mode 100644 index 7bbedde4dac6..000000000000 --- a/pkgs/tools/misc/geteltorito/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, stdenv, perl, ronn, fetchurl }: - -stdenv.mkDerivation rec { - pname = "geteltorito"; - version = "0.6"; - - src = fetchurl { - url = "https://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/geteltorito-${version}.tar.gz"; - sha256 = "1gkbm9ahj2mgqrkrfpibzclsriqgsbsvjh19fr815vpd9f6snkxv"; - }; - - buildInputs = [ perl ronn ]; - - unpackCmd = ""; - dontBuild = true; - configurePhase = ""; - installPhase = '' - # reformat README to ronn markdown - cat > README.new <<EOF - geteltorito -- ${meta.description} - =========== - - ## SYNOPSIS - - EOF - - # skip the first two lines - # -e reformat function call - # -e reformat example - # -e make everything else (that is no code) that contains `: ` a list item - tail -n +3 README | sed \ - -e 's/^\(call:\s*\)\(getelt.*\)$/\1`\2`/' \ - -e 's/^\(example:\s*\)\(getelt.*\)$/\1 `\2`/' \ - -e 's/^\(.*: \)/- \1/g' \ - >> README.new - mkdir -p $out/man/man1 - ronn --roff README.new --pipe > $out/man/man1/geteltorito.1 - install -vD geteltorito $out/bin/geteltorito - ''; - - meta = with lib; { - description = "Extract the initial/default boot image from a CD image if existent"; - homepage = "https://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/"; - maintainers = [ maintainers.Profpatsch ]; - license = licenses.gpl2Only; - mainProgram = "geteltorito"; - }; - -} diff --git a/pkgs/tools/misc/getopt/default.nix b/pkgs/tools/misc/getopt/default.nix deleted file mode 100644 index 51ab637c6ba1..000000000000 --- a/pkgs/tools/misc/getopt/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{lib, stdenv, fetchurl}: - -stdenv.mkDerivation rec { - pname = "getopt"; - version = "1.1.6"; - src = fetchurl { - url = "http://frodo.looijaard.name/system/files/software/getopt/getopt-${version}.tar.gz"; - sha256 = "1zn5kp8ar853rin0ay2j3p17blxy16agpp8wi8wfg4x98b31vgyh"; - }; - - # This should be fine on Linux and Darwin. Clang 16 requires it because otherwise getopt will - # attempt to use C library functions without declaring them, which is raised as an error. - env.NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__"; - - makeFlags = [ - "WITHOUT_GETTEXT=1" - "LIBCGETOPT=0" - "prefix=${placeholder "out"}" - "CC:=$(CC)" - ]; - - meta = { - platforms = lib.platforms.unix; - homepage = "http://frodo.looijaard.name/project/getopt"; - description = "Parses command-line arguments from shell scripts"; - mainProgram = "getopt"; - }; -} diff --git a/pkgs/tools/misc/getoptions/default.nix b/pkgs/tools/misc/getoptions/default.nix deleted file mode 100644 index 2ff3d4c64403..000000000000 --- a/pkgs/tools/misc/getoptions/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, shellspec, busybox-sandbox-shell, ksh, mksh, yash, zsh }: - -stdenvNoCC.mkDerivation rec { - pname = "getoptions"; - version = "3.3.2"; - - src = fetchFromGitHub { - owner = "ko1nksm"; - repo = "getoptions"; - rev = "v${version}"; - hash = "sha256-hapOGPibqt2Mm6k73v63gHxrX+lifZ8xcwzj8vWbtgo="; - }; - - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - doCheck = true; - - nativeCheckInputs = [ shellspec ksh mksh yash zsh ] - ++ lib.lists.optional (!stdenvNoCC.isDarwin) busybox-sandbox-shell; - - # Disable checks against yash, since shellspec seems to be broken for yash>=2.54 - # (see: https://github.com/NixOS/nixpkgs/pull/218264#pullrequestreview-1434402054) - preCheck = '' - sed -i '/shellspec -s posh/d' Makefile - sed -i '/shellspec -s yash/d' Makefile - '' + lib.strings.optionalString stdenvNoCC.isDarwin '' - sed -i "/shellspec -s 'busybox ash'/d" Makefile - ''; - - checkTarget = "test_in_various_shells"; - - meta = with lib; { - description = "Elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)"; - homepage = "https://github.com/ko1nksm/getoptions"; - license = licenses.cc0; - platforms = platforms.all; - maintainers = with maintainers; [ matrss ]; - }; -} diff --git a/pkgs/tools/misc/gh-cal/default.nix b/pkgs/tools/misc/gh-cal/default.nix index e14acf372a79..2e4d05b1c274 100644 --- a/pkgs/tools/misc/gh-cal/default.nix +++ b/pkgs/tools/misc/gh-cal/default.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-73gqk0DjhaLGIEP5VQQlubPomxHQyg4RnY5XTgE7msQ="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; meta = with lib; { description = "GitHub contributions calender terminal viewer"; diff --git a/pkgs/tools/misc/gh-ost/default.nix b/pkgs/tools/misc/gh-ost/default.nix deleted file mode 100644 index 91798cfae8c9..000000000000 --- a/pkgs/tools/misc/gh-ost/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, gh-ost }: - -buildGoModule rec { - pname = "gh-ost"; - version = "1.1.6"; - - src = fetchFromGitHub { - owner = "github"; - repo = "gh-ost"; - rev = "v${version}"; - hash = "sha256-dTz4w+OJXe2+ygsYsQ9tanDyaMXvdh8W3d8xpjQMapI="; - }; - - vendorHash = null; - - ldflags = [ - "-s" - "-w" - "-X main.AppVersion=${version}" - ]; - - passthru.tests.version = testers.testVersion { - package = gh-ost; - }; - - meta = with lib; { - description = "Triggerless online schema migration solution for MySQL"; - homepage = "https://github.com/github/gh-ost"; - license = licenses.mit; - mainProgram = "gh-ost"; - }; -} diff --git a/pkgs/tools/misc/ghostie/Cargo.lock b/pkgs/tools/misc/ghostie/Cargo.lock deleted file mode 100644 index 8e696d2b3c72..000000000000 --- a/pkgs/tools/misc/ghostie/Cargo.lock +++ /dev/null @@ -1,2665 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "anyhow" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" - -[[package]] -name = "async-attributes" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "async-broadcast" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d26004fe83b2d1cd3a97609b21e39f9a31535822210fe83205d2ce48866ea61" -dependencies = [ - "event-listener", - "futures-core", - "parking_lot", -] - -[[package]] -name = "async-channel" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14485364214912d3b19cc3435dde4df66065127f05fa0d75c712f36f12c2f28" -dependencies = [ - "concurrent-queue 1.2.4", - "event-listener", - "futures-core", -] - -[[package]] -name = "async-executor" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b" -dependencies = [ - "async-lock", - "async-task", - "concurrent-queue 2.0.0", - "fastrand", - "futures-lite", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776" -dependencies = [ - "async-channel", - "async-executor", - "async-io", - "async-lock", - "blocking", - "futures-lite", - "once_cell", - "tokio", -] - -[[package]] -name = "async-io" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c374dda1ed3e7d8f0d9ba58715f924862c63eae6849c92d3a18e7fbde9e2794" -dependencies = [ - "async-lock", - "autocfg", - "concurrent-queue 2.0.0", - "futures-lite", - "libc", - "log", - "parking", - "polling", - "slab", - "socket2", - "waker-fn", - "windows-sys 0.42.0", -] - -[[package]] -name = "async-lock" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685" -dependencies = [ - "event-listener", - "futures-lite", -] - -[[package]] -name = "async-recursion" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7d78656ba01f1b93024b7c3a0467f1608e4be67d725749fdcd7d2c7678fd7a2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-attributes", - "async-channel", - "async-global-executor", - "async-io", - "async-lock", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" - -[[package]] -name = "async-trait" -version = "0.1.58" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e805d94e6b5001b651426cf4cd446b1ab5f319d27bab5c644f61de0a804360c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atomic-waker" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a" - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "block" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" - -[[package]] -name = "blocking" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6ccb65d468978a086b69884437ded69a90faab3bbe6e67f242173ea728acccc" -dependencies = [ - "async-channel", - "async-task", - "atomic-waker", - "fastrand", - "futures-lite", - "once_cell", -] - -[[package]] -name = "boxfnonce" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5988cb1d626264ac94100be357308f29ff7cbdd3b36bda27f450a4ee3f713426" - -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata", -] - -[[package]] -name = "bumpalo" -version = "3.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" - -[[package]] -name = "cache-padded" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" - -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - -[[package]] -name = "cc" -version = "1.0.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9f73505338f7d905b19d18738976aae232eb46b8efc15554ffc56deb5d9ebe4" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" -dependencies = [ - "iana-time-zone", - "num-integer", - "num-traits", - "serde", - "winapi", -] - -[[package]] -name = "clap" -version = "3.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" -dependencies = [ - "atty", - "bitflags", - "clap_derive", - "clap_lex", - "indexmap", - "once_cell", - "strsim", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap_derive" -version = "3.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" -dependencies = [ - "heck 0.4.0", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "clokwerk" -version = "0.4.0-rc1" -source = "git+https://github.com/attriaayush/clokwerk#f8180dfe64a98d39a5cded998998a3df8809b92c" -dependencies = [ - "chrono", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - -[[package]] -name = "concurrent-queue" -version = "1.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af4780a44ab5696ea9e28294517f1fffb421a83a25af521333c838635509db9c" -dependencies = [ - "cache-padded", -] - -[[package]] -name = "concurrent-queue" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7bef69dc86e3c610e4e7aed41035e2a7ed12e72dd7530f61327a6579a4390b" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "console" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c050367d967ced717c04b65d8c619d863ef9292ce0c5760028655a2fb298718c" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "terminal_size", - "unicode-width", - "winapi", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" -dependencies = [ - "autocfg", - "cfg-if", - "crossbeam-utils", - "memoffset 0.7.1", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossterm" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" -dependencies = [ - "bitflags", - "crossterm_winapi", - "libc", - "mio", - "parking_lot", - "signal-hook", - "signal-hook-mio", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ae1b35a484aa10e07fe0638d02301c5ad24de82d310ccbd2f3693da5f09bf1c" -dependencies = [ - "winapi", -] - -[[package]] -name = "ctor" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "cxx" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a41a86530d0fe7f5d9ea779916b7cadd2d4f9add748b99c2c029cbbdfaf453" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06416d667ff3e3ad2df1cd8cd8afae5da26cf9cec4d0825040f88b5ca659a2f0" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "820a9a2af1669deeef27cb271f476ffd196a2c4b6731336011e0ba63e2c7cf71" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.82" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a08a6e2fcc370a089ad3b4aaf54db3b1b4cee38ddabce5896b33eb693275f470" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "daemonize" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70c24513e34f53b640819f0ac9f705b673fcf4006d7aab8778bee72ebfc89815" -dependencies = [ - "boxfnonce", - "libc", -] - -[[package]] -name = "dashmap" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" -dependencies = [ - "cfg-if", - "hashbrown", - "lock_api", - "once_cell", - "parking_lot_core", -] - -[[package]] -name = "derivative" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "dialoguer" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92e7e37ecef6857fdc0c0c5d42fd5b0938e46590c2183cc92dd310a6d078eb1" -dependencies = [ - "console", - "tempfile", - "zeroize", -] - -[[package]] -name = "dirs" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "dirs-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "either" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "encoding_rs" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "enumflags2" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb" -dependencies = [ - "enumflags2_derive", - "serde", -] - -[[package]] -name = "enumflags2_derive" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "fake" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" -dependencies = [ - "rand", -] - -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - -[[package]] -name = "fallible-streaming-iterator" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" - -[[package]] -name = "fastrand" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" -dependencies = [ - "instant", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac" - -[[package]] -name = "futures-executor" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb" - -[[package]] -name = "futures-lite" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" -dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-macro" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9" - -[[package]] -name = "futures-task" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea" - -[[package]] -name = "futures-util" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "getrandom" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "ghostie" -version = "0.1.0" -dependencies = [ - "anyhow", - "async-std", - "cfg-if", - "chrono", - "clap", - "clokwerk", - "crossterm", - "daemonize", - "dialoguer", - "dirs", - "fake", - "futures", - "lazy_static", - "notify-rust", - "open", - "opener", - "rand", - "regex", - "reqwest", - "rusqlite", - "serde", - "serde_json", - "serial_test", - "sysinfo", - "thiserror", - "tui", - "which", -] - -[[package]] -name = "gloo-timers" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb7d06c1c8cc2a29bee7ec961009a0b2caa0793ee4900c2ffb348734ba1c8f9" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "h2" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] - -[[package]] -name = "hashlink" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69fe1fcf8b4278d860ad0548329f892a3631fb63f82574df68275f34cdbe0ffa" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "heck" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "http" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "hyper" -version = "0.14.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "idna" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "indexmap" -version = "1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "ipnet" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f88c5561171189e69df9d98bcf18fd5f9558300f7ea7b801eb8a0fd748bd8745" - -[[package]] -name = "itoa" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" - -[[package]] -name = "js-sys" -version = "0.3.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.137" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" - -[[package]] -name = "libsqlite3-sys" -version = "0.25.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa" -dependencies = [ - "pkg-config", - "vcpkg", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" -dependencies = [ - "cc", -] - -[[package]] -name = "lock_api" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", - "value-bag", -] - -[[package]] -name = "mac-notification-sys" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e72d50edb17756489e79d52eb146927bec8eba9dd48faadf9ef08bca3791ad5" -dependencies = [ - "cc", - "dirs-next", - "objc-foundation", - "objc_id", - "time", -] - -[[package]] -name = "malloc_buf" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" -dependencies = [ - "libc", -] - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mio" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" -dependencies = [ - "libc", - "log", - "wasi", - "windows-sys 0.42.0", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "nix" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" -dependencies = [ - "bitflags", - "cc", - "cfg-if", - "libc", - "memoffset 0.6.5", -] - -[[package]] -name = "notify-rust" -version = "4.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368e89ea58df747ce88be669ae44e79783c1d30bfd540ad0fc520b3f41f0b3b0" -dependencies = [ - "mac-notification-sys", - "serde", - "tauri-winrt-notification", - "zbus", - "zvariant", - "zvariant_derive", -] - -[[package]] -name = "ntapi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc51db7b362b205941f71232e56c625156eb9a929f8cf74a428fd5bc094a4afc" -dependencies = [ - "winapi", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", -] - -[[package]] -name = "objc-foundation" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" -dependencies = [ - "block", - "objc", - "objc_id", -] - -[[package]] -name = "objc_id" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" -dependencies = [ - "objc", -] - -[[package]] -name = "once_cell" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" - -[[package]] -name = "open" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2078c0039e6a54a0c42c28faa984e115fb4c2d5bf2208f77d1961002df8576f8" -dependencies = [ - "pathdiff", - "windows-sys 0.42.0", -] - -[[package]] -name = "opener" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea3ebcd72a54701f56345f16785a6d3ac2df7e986d273eb4395c0b01db17952" -dependencies = [ - "bstr", - "winapi", -] - -[[package]] -name = "openssl" -version = "0.10.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12fc0523e3bd51a692c8850d075d74dc062ccf251c0110668cbd921917118a13" -dependencies = [ - "bitflags", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03b84c3b2d099b81f0953422b4d4ad58761589d0229b5506356afca05a3670a" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "ordered-stream" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44630c059eacfd6e08bdaa51b1db2ce33119caa4ddc1235e923109aa5f25ccb1" -dependencies = [ - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "os_str_bytes" -version = "6.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" - -[[package]] -name = "parking" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc9e0dc2adc1c69d09143aff38d3d30c5c3f0df0dad82e6d25547af174ebec0" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-sys 0.42.0", -] - -[[package]] -name = "pathdiff" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - -[[package]] -name = "polling" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab4609a838d88b73d8238967b60dd115cc08d38e2bbaf51ee1e4b695f89122e2" -dependencies = [ - "autocfg", - "cfg-if", - "libc", - "log", - "wepoll-ffi", - "winapi", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "proc-macro-crate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" -dependencies = [ - "once_cell", - "thiserror", - "toml", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quick-xml" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11bafc859c6815fbaffbbbf4229ecb767ac913fecb27f9ad4343662e9ef099ea" -dependencies = [ - "memchr", -] - -[[package]] -name = "quote" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rayon" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e060280438193c554f654141c9ea9417886713b7acd75974c85b18a69a88e0b" -dependencies = [ - "crossbeam-deque", - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom", - "redox_syscall", - "thiserror", -] - -[[package]] -name = "regex" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" - -[[package]] -name = "regex-syntax" -version = "0.6.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "reqwest" -version = "0.11.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c" -dependencies = [ - "base64", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "rusqlite" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a" -dependencies = [ - "bitflags", - "fallible-iterator", - "fallible-streaming-iterator", - "hashlink", - "libsqlite3-sys", - "smallvec", -] - -[[package]] -name = "ryu" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" - -[[package]] -name = "schannel" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2" -dependencies = [ - "lazy_static", - "windows-sys 0.36.1", -] - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "scratch" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" - -[[package]] -name = "security-framework" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "serde" -version = "1.0.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020ff22c755c2ed3f8cf162dbb41a7268d934702f3ed3631656ea597e08fc3db" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_repr" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fe39d9fbb0ebf5eb2c7cb7e2a47e4f462fad1379f1166b8ae49ad9eae89a7ca" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serial_test" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92761393ee4dc3ff8f4af487bd58f4307c9329bbedea02cac0089ad9c411e153" -dependencies = [ - "dashmap", - "futures", - "lazy_static", - "log", - "parking_lot", - "serial_test_derive", -] - -[[package]] -name = "serial_test_derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6f5d1c3087fb119617cff2966fe3808a80e5eb59a8c1601d5994d66f4346a5" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sha1" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1da05c97445caa12d05e848c4a4fcbbea29e748ac28f7e80e9b010392063770" -dependencies = [ - "sha1_smol", -] - -[[package]] -name = "sha1_smol" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012" - -[[package]] -name = "signal-hook" -version = "0.3.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-mio" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" -dependencies = [ - "libc", - "mio", - "signal-hook", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "slab" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "socket2" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "strum" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb" -dependencies = [ - "heck 0.3.3", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "syn" -version = "1.0.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sysinfo" -version = "0.26.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c375d5fd899e32847b8566e10598d6e9f1d9b55ec6de3cdf9e7da4bdc51371bc" -dependencies = [ - "cfg-if", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "tauri-winrt-notification" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58de036c4d2e20717024de2a3c4bf56c301f07b21bc8ef9b57189fce06f1f3b" -dependencies = [ - "quick-xml", - "strum", - "windows", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "terminal_size" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "time" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376" -dependencies = [ - "serde", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76ce4a75fb488c605c54bf610f221cea8b0dafb53333c1a67e8ee199dcd2ae3" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio", - "num_cpus", - "pin-project-lite", - "socket2", - "winapi", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" -dependencies = [ - "serde", -] - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", -] - -[[package]] -name = "try-lock" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" - -[[package]] -name = "tui" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1" -dependencies = [ - "bitflags", - "cassowary", - "crossterm", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "uds_windows" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce65604324d3cce9b966701489fbd0cf318cb1f7bd9dd07ac9a4ee6fb791930d" -dependencies = [ - "tempfile", - "winapi", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" - -[[package]] -name = "unicode-ident" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "value-bag" -version = "1.0.0-alpha.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55" -dependencies = [ - "ctor", - "version_check", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "waker-fn" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" - -[[package]] -name = "web-sys" -version = "0.3.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "wepoll-ffi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" -dependencies = [ - "cc", -] - -[[package]] -name = "which" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55551e42cbdf2ce2bedd2203d0cc08dba002c27510f86dab6d0ce304cba3dfe" -dependencies = [ - "either", - "libc", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1c4bd0a50ac6020f65184721f758dba47bb9fbc2133df715ec74a237b26794a" -dependencies = [ - "windows_aarch64_msvc 0.39.0", - "windows_i686_gnu 0.39.0", - "windows_i686_msvc 0.39.0", - "windows_x86_64_gnu 0.39.0", - "windows_x86_64_msvc 0.39.0", -] - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.0", - "windows_i686_gnu 0.42.0", - "windows_i686_msvc 0.42.0", - "windows_x86_64_gnu 0.42.0", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_gnu" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_i686_msvc" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "zbus" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d8f1a037b2c4a67d9654dc7bdfa8ff2e80555bbefdd3c1833c1d1b27c963a6b" -dependencies = [ - "async-broadcast", - "async-channel", - "async-executor", - "async-io", - "async-lock", - "async-recursion", - "async-task", - "async-trait", - "byteorder", - "derivative", - "dirs", - "enumflags2", - "event-listener", - "futures-core", - "futures-sink", - "futures-util", - "hex", - "lazy_static", - "nix", - "once_cell", - "ordered-stream", - "rand", - "serde", - "serde_repr", - "sha1", - "static_assertions", - "tracing", - "uds_windows", - "winapi", - "zbus_macros", - "zbus_names", - "zvariant", -] - -[[package]] -name = "zbus_macros" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f8fb5186d1c87ae88cf234974c240671238b4a679158ad3b94ec465237349a6" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "regex", - "syn", -] - -[[package]] -name = "zbus_names" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f34f314916bd89bdb9934154627fab152f4f28acdda03e7c4c68181b214fe7e3" -dependencies = [ - "serde", - "static_assertions", - "zvariant", -] - -[[package]] -name = "zeroize" -version = "1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" - -[[package]] -name = "zvariant" -version = "3.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "576cc41e65c7f283e5460f5818073e68fb1f1631502b969ef228c2e03c862efb" -dependencies = [ - "byteorder", - "enumflags2", - "libc", - "serde", - "static_assertions", - "zvariant_derive", -] - -[[package]] -name = "zvariant_derive" -version = "3.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd4aafc0dee96ae7242a24249ce9babf21e1562822f03df650d4e68c20e41ed" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] diff --git a/pkgs/tools/misc/ghostie/default.nix b/pkgs/tools/misc/ghostie/default.nix deleted file mode 100644 index 0a4e1cb695e0..000000000000 --- a/pkgs/tools/misc/ghostie/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, openssl -, sqlite -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "ghostie"; - version = "0.3.1"; - - src = fetchFromGitHub { - owner = "attriaayush"; - repo = "ghostie"; - rev = "v${version}"; - sha256 = "sha256-lEjJLmBA3dlIVxc8E+UvR7u154QGeCfEbxdgUxAS3Cw="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "clokwerk-0.4.0-rc1" = "sha256-GQDWEN2arDDRu2ft8QYdXsNhBEIhBNZTnLoLy27cbAI="; - }; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - openssl - sqlite - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Cocoa - ]; - - # 4 out of 5 tests are notification tests which do not work in nix builds - doCheck = false; - - preBuild = lib.optionalString stdenv.isDarwin '' - export HOME=$(mktemp -d) - ''; - - meta = with lib; { - description = "Github notifications in your terminal"; - homepage = "https://github.com/attriaayush/ghostie"; - changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ matthiasbeyer ]; - broken = stdenv.isx86_64 && stdenv.isDarwin; - mainProgram = "ghostie"; - }; -} diff --git a/pkgs/tools/misc/gibo/default.nix b/pkgs/tools/misc/gibo/default.nix deleted file mode 100644 index d037059fd4e3..000000000000 --- a/pkgs/tools/misc/gibo/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, coreutils, findutils, git }: - -stdenv.mkDerivation rec { - pname = "gibo"; - version = "1.0.6"; - - src = fetchFromGitHub { - owner = "simonwhitaker"; - repo = "gibo"; - rev = version; - sha256 = "07j3sv9ar9l074krajw8nfmsfmdp836irsbd053dbqk2v880gfm6"; - }; - - installPhase = '' - mkdir -p $out/bin $out/share/bash-completion/completions - cp gibo $out/bin - cp gibo-completion.bash $out/share/bash-completion/completions - - sed -e 's|\<git |${git}/bin/git |g' \ - -e 's|\<basename |${coreutils}/bin/basename |g' \ - -i "$out/bin/gibo" - sed -e 's|\<find |${findutils}/bin/find |g' \ - -i "$out/share/bash-completion/completions/gibo-completion.bash" - ''; - - meta = { - homepage = "https://github.com/simonwhitaker/gibo"; - license = lib.licenses.publicDomain; - description = "Shell script for easily accessing gitignore boilerplates"; - platforms = lib.platforms.unix; - mainProgram = "gibo"; - }; -} diff --git a/pkgs/tools/misc/gif-for-cli/default.nix b/pkgs/tools/misc/gif-for-cli/default.nix deleted file mode 100644 index 3a2ad84a4430..000000000000 --- a/pkgs/tools/misc/gif-for-cli/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib -, fetchFromGitHub -, fetchpatch -, python3Packages -, ffmpeg -, zlib -, libjpeg -}: - -python3Packages.buildPythonApplication { - pname = "gif-for-cli"; - version = "1.1.2"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "google"; - repo = "gif-for-cli"; - rev = "31f8aa2d617d6d6e941154f60e287c38dd9a74d5"; - hash = "sha256-Bl5o492BUAn1KsscnlMIXCzJuy7xWUsdnxIKZKaRM3M="; - }; - - patches = [ - # https://github.com/google/gif-for-cli/pull/36 - (fetchpatch { - name = "pillow-10-compatibility.patch"; - url = "https://github.com/google/gif-for-cli/commit/49b13ec981e197cbc10f920b7b25a97c4cc6a61c.patch"; - hash = "sha256-B8wfkdhSUY++St6DzgaJ1xF1mZKvi8oxLXbo63yemDM="; - }) - ]; - - # coverage is not needed to build and test this package - postPatch = '' - sed -i '/coverage>=/d' setup.py - ''; - - buildInputs = [ - zlib - libjpeg - ]; - - propagatedBuildInputs = with python3Packages; [ - ffmpeg - pillow - requests - x256 - ]; - - meta = with lib; { - description = "Render gifs as ASCII art in your cli"; - longDescription = "Takes in a GIF, short video, or a query to the Tenor GIF API and converts it to animated ASCII art."; - homepage = "https://github.com/google/gif-for-cli"; - license = licenses.asl20; - maintainers = with maintainers; [ Scriptkiddi ]; - mainProgram = "gif-for-cli"; - }; -} diff --git a/pkgs/tools/misc/gigalixir/default.nix b/pkgs/tools/misc/gigalixir/default.nix deleted file mode 100644 index 101b5f6a9346..000000000000 --- a/pkgs/tools/misc/gigalixir/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ stdenv -, lib -, python3 -, fetchPypi -, git -}: - -python3.pkgs.buildPythonApplication rec { - pname = "gigalixir"; - version = "1.12.1"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-T16+0F28/SxDl53GGTRzKbG+ghbL/80NkY08WpCixhA="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace "'pytest-runner'," "" \ - --replace "cryptography==" "cryptography>=" - ''; - - propagatedBuildInputs = with python3.pkgs; [ - click - pygments - pyopenssl - qrcode - requests - rollbar - stripe - ]; - - nativeCheckInputs = [ - git - ] ++ (with python3.pkgs; [ - httpretty - pytestCheckHook - sure - ]); - - disabledTests = [ - # Test requires network access - "test_rollback_without_version" - # These following test's are now depraced and removed, check out these commits: - # https://github.com/gigalixir/gigalixir-cli/commit/00b758ed462ad8eff6ff0b16cd37fa71f75b2d7d - # https://github.com/gigalixir/gigalixir-cli/commit/76fa25f96e71fd75cc22e5439b4a8f9e9ec4e3e5 - "test_create_config" - "test_delete_free_database" - "test_get_free_databases" - ]; - - pythonImportsCheck = [ - "gigalixir" - ]; - - meta = with lib; { - broken = stdenv.isDarwin; - description = "Gigalixir Command-Line Interface"; - homepage = "https://github.com/gigalixir/gigalixir-cli"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "gigalixir"; - }; -} diff --git a/pkgs/tools/misc/github-backup/default.nix b/pkgs/tools/misc/github-backup/default.nix deleted file mode 100644 index 6958bf579b5a..000000000000 --- a/pkgs/tools/misc/github-backup/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -, git -, git-lfs -}: - -python3Packages.buildPythonApplication rec { - pname = "github-backup"; - version = "0.46.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "josegonzalez"; - repo = "python-github-backup"; - rev = "refs/tags/${version}"; - hash = "sha256-kSxkD8vWBvaT7C0sS9rs3CEP2yeWsAJ0kjPlrGezoLU="; - }; - - build-system = with python3Packages; [ - setuptools - ]; - - makeWrapperArgs = [ - "--prefix" "PATH" ":" (lib.makeBinPath [ git git-lfs ]) - ]; - - # has no unit tests - doCheck = false; - - meta = with lib; { - description = "Backup a github user or organization"; - homepage = "https://github.com/josegonzalez/python-github-backup"; - changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst"; - license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; - mainProgram = "github-backup"; - }; -} diff --git a/pkgs/tools/misc/github-copilot-cli/default.nix b/pkgs/tools/misc/github-copilot-cli/default.nix deleted file mode 100644 index 8bed7df94084..000000000000 --- a/pkgs/tools/misc/github-copilot-cli/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, buildNpmPackage, fetchzip }: - -buildNpmPackage rec { - pname = "github-copilot-cli"; - version = "0.1.36"; - - src = fetchzip { - url = "https://registry.npmjs.org/@githubnext/github-copilot-cli/-/github-copilot-cli-${version}.tgz"; - hash = "sha256-7n+7sN61OrqMVGaKll85+HwX7iGG9M/UW5lf2Pd5sRU="; - }; - - npmDepsHash = "sha256-h0StxzGbl3ZeOQ4Jy1BgJ5sJ0pAbubMCRsiIOYpU04w="; - - postPatch = '' - cp ${./package-lock.json} package-lock.json - ''; - - dontNpmBuild = true; - - meta = with lib; { - description = "CLI experience for letting GitHub Copilot help you on the command line"; - homepage = "https://githubnext.com/projects/copilot-cli/"; - license = licenses.unfree; # upstream has no license - maintainers = [ maintainers.malo ]; - platforms = platforms.all; - mainProgram = "github-copilot-cli"; - }; -} - diff --git a/pkgs/tools/misc/github-copilot-cli/package-lock.json b/pkgs/tools/misc/github-copilot-cli/package-lock.json deleted file mode 100644 index 03bc0c1fc339..000000000000 --- a/pkgs/tools/misc/github-copilot-cli/package-lock.json +++ /dev/null @@ -1,3329 +0,0 @@ -{ - "name": "@githubnext/github-copilot-cli", - "version": "0.1.36", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@githubnext/github-copilot-cli", - "version": "0.1.36", - "dependencies": { - "applicationinsights": "^2.9.1", - "axios": "^1.6.0", - "chalk": "^5.1.0", - "cli-highlight": "^2.1.11", - "commander": "^9.4.1", - "get-stream": "^6.0.1", - "immer": "^9.0.16", - "ink": "^3.2.0", - "ink-divider": "^3.0.0", - "ink-select-input": "^4.2.1", - "ink-spinner": "^4.0.3", - "ink-text-input": "^4.0.3", - "inquirer": "^9.1.4", - "marked": "^4.2.12", - "marked-terminal": "^5.1.1", - "ora": "^6.1.2", - "radash": "^9.1.0", - "react": "17", - "react-devtools-core": "^4.28.4", - "react-dom": "17", - "react-query": "^3.39.2", - "semver": "^5.7.2", - "simple-update-notifier": "^1.1.0", - "tiny-invariant": "^1.3.1", - "tough-cookie": "^4.1.3", - "ts-dedent": "^2.2.0", - "use-zustand": "^0.0.1", - "uuid": "^9.0.0", - "zustand": "^4.1.4" - }, - "bin": { - "github-copilot-cli": "cli.js" - }, - "devDependencies": { - "@types/inquirer": "^9.0.2", - "@types/node": "^18.8.3", - "@types/react": "^18.0.25", - "@types/uuid": "^8.3.4", - "esbuild": "^0.15.10", - "genversion": "^3.1.1", - "typescript": "^4.8.4" - } - }, - "node_modules/@azure/abort-controller": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", - "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/core-auth": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.5.0.tgz", - "integrity": "sha512-udzoBuYG1VBoHVohDTrvKjyzel34zt77Bhp7dQntVGGD0ehVq48owENbBG8fIgkHRNUBQH5k1r0hpoMu5L8+kw==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-util": "^1.1.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/core-rest-pipeline": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.10.1.tgz", - "integrity": "sha512-Kji9k6TOFRDB5ZMTw8qUf2IJ+CeJtsuMdAHox9eqpTf1cefiNMpzrfnF6sINEBZJsaVaWgQ0o48B6kcUH68niA==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "@azure/core-auth": "^1.4.0", - "@azure/core-tracing": "^1.0.1", - "@azure/core-util": "^1.0.0", - "@azure/logger": "^1.0.0", - "form-data": "^4.0.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "tslib": "^2.2.0", - "uuid": "^8.3.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/core-rest-pipeline/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/@azure/core-tracing": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.1.tgz", - "integrity": "sha512-I5CGMoLtX+pI17ZdiFJZgxMJApsK6jjfm85hpgp3oazCdq5Wxgh4wMr7ge/TTWW1B5WBuvIOI1fMU/FrOAMKrw==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@azure/core-util": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.2.0.tgz", - "integrity": "sha512-ffGIw+Qs8bNKNLxz5UPkz4/VBM/EZY07mPve1ZYFqYUdPwFqRj0RPk0U7LZMOfT7GCck9YjuT1Rfp1PApNl1ng==", - "dependencies": { - "@azure/abort-controller": "^1.0.0", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/logger": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.4.tgz", - "integrity": "sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==", - "dependencies": { - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@azure/opentelemetry-instrumentation-azure-sdk": { - "version": "1.0.0-beta.5", - "resolved": "https://registry.npmjs.org/@azure/opentelemetry-instrumentation-azure-sdk/-/opentelemetry-instrumentation-azure-sdk-1.0.0-beta.5.tgz", - "integrity": "sha512-fsUarKQDvjhmBO4nIfaZkfNSApm1hZBzcvpNbSrXdcUBxu7lRvKsV5DnwszX7cnhLyVOW9yl1uigtRQ1yDANjA==", - "dependencies": { - "@azure/core-tracing": "^1.0.0", - "@azure/logger": "^1.0.0", - "@opentelemetry/api": "^1.4.1", - "@opentelemetry/core": "^1.15.2", - "@opentelemetry/instrumentation": "^0.41.2", - "tslib": "^2.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.23.8", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.8.tgz", - "integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==", - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "optional": true, - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.18.tgz", - "integrity": "sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz", - "integrity": "sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@ljharb/through": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", - "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", - "dependencies": { - "call-bind": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/@microsoft/applicationinsights-web-snippet": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@microsoft/applicationinsights-web-snippet/-/applicationinsights-web-snippet-1.0.1.tgz", - "integrity": "sha512-2IHAOaLauc8qaAitvWS+U931T+ze+7MNWrDHY47IENP5y2UA0vqJDu67kWZDdpCN1fFC77sfgfB+HV7SrKshnQ==" - }, - "node_modules/@opentelemetry/api": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.7.0.tgz", - "integrity": "sha512-AdY5wvN0P2vXBi3b29hxZgSFvdhdxPB9+f0B6s//P9Q8nibRWeA3cHm8UmLpio9ABigkVHJ5NMPk+Mz8VCCyrw==", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/core": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.20.0.tgz", - "integrity": "sha512-lSRvk5AIdD6CtgYJcJXh0wGibQ3S/8bC2qbqKs9wK8e0K1tsWV6YkGFOqVc+jIRlCbZoIBeZzDe5UI+vb94uvg==", - "dependencies": { - "@opentelemetry/semantic-conventions": "1.20.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/instrumentation": { - "version": "0.41.2", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.41.2.tgz", - "integrity": "sha512-rxU72E0pKNH6ae2w5+xgVYZLzc5mlxAbGzF4shxMVK8YC2QQsfN38B2GPbj0jvrKWWNUElfclQ+YTykkNg/grw==", - "dependencies": { - "@types/shimmer": "^1.0.2", - "import-in-the-middle": "1.4.2", - "require-in-the-middle": "^7.1.1", - "semver": "^7.5.1", - "shimmer": "^1.2.1" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@opentelemetry/resources": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.20.0.tgz", - "integrity": "sha512-nOpV0vGegSq+9ze2cEDvO3BMA5pGBhmhKZiAlj+xQZjiEjPmJtdHIuBLRvptu2ahcbFJw85gIB9BYHZOvZK1JQ==", - "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.20.0.tgz", - "integrity": "sha512-BAIZ0hUgnhdb3OBQjn1FKGz/Iwie4l+uOMKklP7FGh7PTqEAbbzDNMJKaZQh6KepF7Fq+CZDRKslD3yrYy2Tzw==", - "dependencies": { - "@opentelemetry/core": "1.20.0", - "@opentelemetry/resources": "1.20.0", - "@opentelemetry/semantic-conventions": "1.20.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.8.0" - } - }, - "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.20.0.tgz", - "integrity": "sha512-3zLJJCgTKYpbqFX8drl8hOCHtdchELC+kGqlVcV4mHW1DiElTtv1Nt9EKBptTd1IfL56QkuYnWJ3DeHd2Gtu/A==", - "engines": { - "node": ">=14" - } - }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "engines": { - "node": ">= 10" - } - }, - "node_modules/@types/inquirer": { - "version": "9.0.7", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.7.tgz", - "integrity": "sha512-Q0zyBupO6NxGRZut/JdmqYKOnN95Eg5V8Csg3PGKkP+FnvsUZx1jAyK7fztIszxxMuoBA6E3KXWvdZVXIpx60g==", - "dev": true, - "dependencies": { - "@types/through": "*", - "rxjs": "^7.2.0" - } - }, - "node_modules/@types/node": { - "version": "18.19.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.8.tgz", - "integrity": "sha512-g1pZtPhsvGVTwmeVoexWZLTQaOvXwoSq//pTL0DHeNzUDrFnir4fgETdhjhIxjVnN+hKOuh98+E1eMLnUXstFg==", - "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/prop-types": { - "version": "15.7.11", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", - "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", - "devOptional": true - }, - "node_modules/@types/react": { - "version": "18.2.48", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz", - "integrity": "sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==", - "devOptional": true, - "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "node_modules/@types/scheduler": { - "version": "0.16.8", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.8.tgz", - "integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==", - "devOptional": true - }, - "node_modules/@types/shimmer": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/shimmer/-/shimmer-1.0.5.tgz", - "integrity": "sha512-9Hp0ObzwwO57DpLFF0InUjUm/II8GmKAvzbefxQTihCb7KI6yc9yzf0nLc4mVdby5N4DRCgQM2wCup9KTieeww==" - }, - "node_modules/@types/through": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.33.tgz", - "integrity": "sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/uuid": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", - "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", - "dev": true - }, - "node_modules/@types/yoga-layout": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@types/yoga-layout/-/yoga-layout-1.9.2.tgz", - "integrity": "sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==" - }, - "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-import-assertions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", - "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansicolors": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==" - }, - "node_modules/any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" - }, - "node_modules/applicationinsights": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-2.9.2.tgz", - "integrity": "sha512-wlDiD7v0BQNM8oNzsf9C836R5ze25u+CuCEZsbA5xMIXYYBxkqkWE/mo9GFJM7rsKaiGqpxEwWmePHKD2Lwy2w==", - "dependencies": { - "@azure/core-auth": "^1.5.0", - "@azure/core-rest-pipeline": "1.10.1", - "@azure/core-util": "1.2.0", - "@azure/opentelemetry-instrumentation-azure-sdk": "^1.0.0-beta.5", - "@microsoft/applicationinsights-web-snippet": "^1.0.1", - "@opentelemetry/api": "^1.7.0", - "@opentelemetry/core": "^1.19.0", - "@opentelemetry/sdk-trace-base": "^1.19.0", - "@opentelemetry/semantic-conventions": "^1.19.0", - "cls-hooked": "^4.2.2", - "continuation-local-storage": "^3.2.1", - "diagnostic-channel": "1.1.1", - "diagnostic-channel-publishers": "1.0.8" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "applicationinsights-native-metrics": "*" - }, - "peerDependenciesMeta": { - "applicationinsights-native-metrics": { - "optional": true - } - } - }, - "node_modules/arr-rotate": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/arr-rotate/-/arr-rotate-1.0.0.tgz", - "integrity": "sha512-yOzOZcR9Tn7enTF66bqKorGGH0F36vcPaSWg8fO0c0UYb3LX3VMXj5ZxEqQLNOecAhlRJ7wYZja5i4jTlnbIfQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", - "dev": true - }, - "node_modules/async-hook-jl": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/async-hook-jl/-/async-hook-jl-1.7.6.tgz", - "integrity": "sha512-gFaHkFfSxTjvoxDMYqDuGHlcRyUuamF8s+ZTtJdDzqjws4mCt7v0vuV79/E2Wr2/riMQgtG4/yUtXWs1gZ7JMg==", - "dependencies": { - "stack-chain": "^1.3.7" - }, - "engines": { - "node": "^4.7 || >=6.9 || >=7.3" - } - }, - "node_modules/async-listener": { - "version": "0.6.10", - "resolved": "https://registry.npmjs.org/async-listener/-/async-listener-0.6.10.tgz", - "integrity": "sha512-gpuo6xOyF4D5DE5WvyqZdPA3NGhiT6Qf07l7DCB0wwDEsLvDIbCr6j9S5aj5Ch96dLace5tXVzWBZkxU/c5ohw==", - "dependencies": { - "semver": "^5.3.0", - "shimmer": "^1.1.0" - }, - "engines": { - "node": "<=0.11.8 || >0.11.10" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "node_modules/auto-bind": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz", - "integrity": "sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", - "dependencies": { - "follow-redirects": "^1.15.4", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/big-integer": { - "version": "1.6.52", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", - "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bl": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", - "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", - "dependencies": { - "buffer": "^6.0.3", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/broadcast-channel": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/broadcast-channel/-/broadcast-channel-3.7.0.tgz", - "integrity": "sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==", - "dependencies": { - "@babel/runtime": "^7.7.2", - "detect-node": "^2.1.0", - "js-sha3": "0.8.0", - "microseconds": "0.2.0", - "nano-time": "1.0.0", - "oblivious-set": "1.0.0", - "rimraf": "3.0.2", - "unload": "2.2.0" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", - "dependencies": { - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/cardinal": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", - "integrity": "sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==", - "dependencies": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" - }, - "bin": { - "cdl": "bin/cdl.js" - } - }, - "node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" - }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==" - }, - "node_modules/cli-boxes": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", - "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-highlight": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz", - "integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==", - "dependencies": { - "chalk": "^4.0.0", - "highlight.js": "^10.7.1", - "mz": "^2.4.0", - "parse5": "^5.1.1", - "parse5-htmlparser2-tree-adapter": "^6.0.0", - "yargs": "^16.0.0" - }, - "bin": { - "highlight": "bin/highlight" - }, - "engines": { - "node": ">=8.0.0", - "npm": ">=5.0.0" - } - }, - "node_modules/cli-highlight/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-table3": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", - "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", - "dependencies": { - "string-width": "^4.2.0" - }, - "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" - } - }, - "node_modules/cli-truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", - "dependencies": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", - "engines": { - "node": ">= 12" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/cls-hooked": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/cls-hooked/-/cls-hooked-4.2.2.tgz", - "integrity": "sha512-J4Xj5f5wq/4jAvcdgoGsL3G103BtWpZrMo8NEinRltN+xpTZdI+M38pyQqhuFU/P792xkMFvnKSf+Lm81U1bxw==", - "dependencies": { - "async-hook-jl": "^1.7.6", - "emitter-listener": "^1.0.1", - "semver": "^5.4.1" - }, - "engines": { - "node": "^4.7 || >=6.9 || >=7.3 || >=8.2.1" - } - }, - "node_modules/code-excerpt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-3.0.0.tgz", - "integrity": "sha512-VHNTVhd7KsLGOqfX3SyeO8RyYPMp1GJOg194VITk04WMYCv4plV68YWe6TJZxd9MhobjtpMRnVky01gqZsalaw==", - "dependencies": { - "convert-to-spaces": "^1.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", - "engines": { - "node": "^12.20.0 || >=14" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/continuation-local-storage": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/continuation-local-storage/-/continuation-local-storage-3.2.1.tgz", - "integrity": "sha512-jx44cconVqkCEEyLSKWwkvUXwO561jXMa3LPjTPsm5QR22PA0/mhe33FT4Xb5y74JDvt/Cq+5lm8S8rskLv9ZA==", - "dependencies": { - "async-listener": "^0.6.0", - "emitter-listener": "^1.1.1" - } - }, - "node_modules/convert-to-spaces": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-1.0.2.tgz", - "integrity": "sha512-cj09EBuObp9gZNQCzc7hByQyrs6jVGE+o9kSJmeUoj+GiPiJvi5LYqEH/Hmme4+MTLHM+Ejtq+FChpjjEnsPdQ==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "devOptional": true - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", - "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/detect-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==" - }, - "node_modules/diagnostic-channel": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/diagnostic-channel/-/diagnostic-channel-1.1.1.tgz", - "integrity": "sha512-r2HV5qFkUICyoaKlBEpLKHjxMXATUf/l+h8UZPGBHGLy4DDiY2sOLcIctax4eRnTw5wH2jTMExLntGPJ8eOJxw==", - "dependencies": { - "semver": "^7.5.3" - } - }, - "node_modules/diagnostic-channel-publishers": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/diagnostic-channel-publishers/-/diagnostic-channel-publishers-1.0.8.tgz", - "integrity": "sha512-HmSm9hXxSPxA9BaLGY98QU1zsdjeCk113KjAYGPCen1ZP6mhVaTPzHd6UYv5r21DnWANi+f+NyPOHruGT9jpqQ==", - "peerDependencies": { - "diagnostic-channel": "*" - } - }, - "node_modules/diagnostic-channel/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ejs": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", - "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", - "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/emitter-listener": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/emitter-listener/-/emitter-listener-1.1.2.tgz", - "integrity": "sha512-Bt1sBAGFHY9DKY+4/2cV6izcKJUf5T7/gkdmkxzX/qv9CcGH8xSwVRW5mtX03SWJtRTWSOpzCuWN9rBFYZepZQ==", - "dependencies": { - "shimmer": "^1.2.0" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/esbuild": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.18.tgz", - "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.15.18", - "@esbuild/linux-loong64": "0.15.18", - "esbuild-android-64": "0.15.18", - "esbuild-android-arm64": "0.15.18", - "esbuild-darwin-64": "0.15.18", - "esbuild-darwin-arm64": "0.15.18", - "esbuild-freebsd-64": "0.15.18", - "esbuild-freebsd-arm64": "0.15.18", - "esbuild-linux-32": "0.15.18", - "esbuild-linux-64": "0.15.18", - "esbuild-linux-arm": "0.15.18", - "esbuild-linux-arm64": "0.15.18", - "esbuild-linux-mips64le": "0.15.18", - "esbuild-linux-ppc64le": "0.15.18", - "esbuild-linux-riscv64": "0.15.18", - "esbuild-linux-s390x": "0.15.18", - "esbuild-netbsd-64": "0.15.18", - "esbuild-openbsd-64": "0.15.18", - "esbuild-sunos-64": "0.15.18", - "esbuild-windows-32": "0.15.18", - "esbuild-windows-64": "0.15.18", - "esbuild-windows-arm64": "0.15.18" - } - }, - "node_modules/esbuild-android-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz", - "integrity": "sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-android-arm64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz", - "integrity": "sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz", - "integrity": "sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz", - "integrity": "sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz", - "integrity": "sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz", - "integrity": "sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-32": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz", - "integrity": "sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz", - "integrity": "sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz", - "integrity": "sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz", - "integrity": "sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz", - "integrity": "sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz", - "integrity": "sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-riscv64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz", - "integrity": "sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-s390x": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz", - "integrity": "sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-netbsd-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz", - "integrity": "sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-openbsd-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz", - "integrity": "sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-sunos-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz", - "integrity": "sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-32": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz", - "integrity": "sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz", - "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-windows-arm64": { - "version": "0.15.18", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz", - "integrity": "sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - } - }, - "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/find-package": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-package/-/find-package-1.0.0.tgz", - "integrity": "sha512-yVn71XCCaNgxz58ERTl8nA/8YYtIQDY9mHSrgFBfiFtdNNfY0h183Vh8BRkKxD8x9TUw3ec290uJKhDVxqGZBw==", - "dev": true, - "dependencies": { - "parents": "^1.0.1" - } - }, - "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/genversion": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/genversion/-/genversion-3.2.0.tgz", - "integrity": "sha512-OIYSX6XYA8PHecLDCTri30hadSZfAjZ8Iq1+BBDXqLWP4dRLuJNLoNjsSWtTpw97IccK2LDWzkEstxAB8GdN7g==", - "dev": true, - "dependencies": { - "commander": "^7.2.0", - "ejs": "^3.1.9", - "find-package": "^1.0.0" - }, - "bin": { - "genversion": "bin/genversion.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/genversion/node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", - "dependencies": { - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", - "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", - "dependencies": { - "get-intrinsic": "^1.2.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/highlight.js": { - "version": "10.7.3", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", - "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", - "engines": { - "node": "*" - } - }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/immer": { - "version": "9.0.21", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", - "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/immer" - } - }, - "node_modules/import-in-the-middle": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-1.4.2.tgz", - "integrity": "sha512-9WOz1Yh/cvO/p69sxRmhyQwrIGGSp7EIdcb+fFNVi7CzQGQB8U1/1XrKVSbEd/GNOAeM0peJtmi7+qphe7NvAw==", - "dependencies": { - "acorn": "^8.8.2", - "acorn-import-assertions": "^1.9.0", - "cjs-module-lexer": "^1.2.2", - "module-details-from-path": "^1.0.3" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ink": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ink/-/ink-3.2.0.tgz", - "integrity": "sha512-firNp1q3xxTzoItj/eOOSZQnYSlyrWks5llCTVX37nJ59K3eXbQ8PtzCguqo8YI19EELo5QxaKnJd4VxzhU8tg==", - "dependencies": { - "ansi-escapes": "^4.2.1", - "auto-bind": "4.0.0", - "chalk": "^4.1.0", - "cli-boxes": "^2.2.0", - "cli-cursor": "^3.1.0", - "cli-truncate": "^2.1.0", - "code-excerpt": "^3.0.0", - "indent-string": "^4.0.0", - "is-ci": "^2.0.0", - "lodash": "^4.17.20", - "patch-console": "^1.0.0", - "react-devtools-core": "^4.19.1", - "react-reconciler": "^0.26.2", - "scheduler": "^0.20.2", - "signal-exit": "^3.0.2", - "slice-ansi": "^3.0.0", - "stack-utils": "^2.0.2", - "string-width": "^4.2.2", - "type-fest": "^0.12.0", - "widest-line": "^3.1.0", - "wrap-ansi": "^6.2.0", - "ws": "^7.5.5", - "yoga-layout-prebuilt": "^1.9.6" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "@types/react": ">=16.8.0", - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/ink-divider": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ink-divider/-/ink-divider-3.0.0.tgz", - "integrity": "sha512-Mqb9WArtEZCtXw622aHhJqPK157QNc+8ssl9/RvAZlS6nZRCKyW4mYOYCudQh6dSuFGt9eG5yaqT1mJaGmwu+w==", - "dependencies": { - "prop-types": "^15.7.2", - "string-width": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "ink": ">=3.0.0", - "react": ">=16.8.0" - } - }, - "node_modules/ink-select-input": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/ink-select-input/-/ink-select-input-4.2.2.tgz", - "integrity": "sha512-E5AS2Vnd4CSzEa7Rm+hG47wxRQo1ASfh4msKxO7FHmn/ym+GKSSsFIfR+FonqjKNDPXYJClw8lM47RdN3Pi+nw==", - "dependencies": { - "arr-rotate": "^1.0.0", - "figures": "^3.2.0", - "lodash.isequal": "^4.5.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "ink": "^3.0.5", - "react": "^16.5.2 || ^17.0.0" - } - }, - "node_modules/ink-spinner": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/ink-spinner/-/ink-spinner-4.0.3.tgz", - "integrity": "sha512-uJ4nbH00MM9fjTJ5xdw0zzvtXMkeGb0WV6dzSWvFv2/+ks6FIhpkt+Ge/eLdh0Ah6Vjw5pLMyNfoHQpRDRVFbQ==", - "dependencies": { - "cli-spinners": "^2.3.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "ink": ">=3.0.5", - "react": ">=16.8.2" - } - }, - "node_modules/ink-text-input": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/ink-text-input/-/ink-text-input-4.0.3.tgz", - "integrity": "sha512-eQD01ik9ltmNoHmkeQ2t8LszYkv2XwuPSUz3ie/85qer6Ll/j0QSlSaLNl6ENHZakBHdCBVZY04iOXcLLXA0PQ==", - "dependencies": { - "chalk": "^4.1.0", - "type-fest": "^0.15.1" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "ink": "^3.0.0-3", - "react": "^16.5.2 || ^17.0.0" - } - }, - "node_modules/ink-text-input/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/ink-text-input/node_modules/type-fest": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.15.1.tgz", - "integrity": "sha512-n+UXrN8i5ioo7kqT/nF8xsEzLaqFra7k32SEsSPwvXVGyAcRgV/FUQN/sgfptJTR1oRmmq7z4IXMFSM7im7C9A==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ink/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/inquirer": { - "version": "9.2.12", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", - "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", - "dependencies": { - "@ljharb/through": "^2.3.11", - "ansi-escapes": "^4.3.2", - "chalk": "^5.3.0", - "cli-cursor": "^3.1.0", - "cli-width": "^4.1.0", - "external-editor": "^3.1.0", - "figures": "^5.0.0", - "lodash": "^4.17.21", - "mute-stream": "1.0.0", - "ora": "^5.4.1", - "run-async": "^3.0.0", - "rxjs": "^7.8.1", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0" - }, - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/inquirer/node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/inquirer/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/inquirer/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", - "dependencies": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inquirer/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/inquirer/node_modules/log-symbols/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/inquirer/node_modules/ora/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/inquirer/node_modules/ora/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jake": { - "version": "10.8.7", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", - "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", - "dev": true, - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.4", - "minimatch": "^3.1.2" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jake/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" - }, - "node_modules/log-symbols": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", - "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", - "dependencies": { - "chalk": "^5.0.0", - "is-unicode-supported": "^1.1.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/marked-terminal": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-5.2.0.tgz", - "integrity": "sha512-Piv6yNwAQXGFjZSaiNljyNFw7jKDdGrw70FSbtxEyldLsyeuV5ZHm/1wW++kWbrOF1VPnUgYOhB2oLL0ZpnekA==", - "dependencies": { - "ansi-escapes": "^6.2.0", - "cardinal": "^2.1.1", - "chalk": "^5.2.0", - "cli-table3": "^0.6.3", - "node-emoji": "^1.11.0", - "supports-hyperlinks": "^2.3.0" - }, - "engines": { - "node": ">=14.13.1 || >=16.0.0" - }, - "peerDependencies": { - "marked": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0" - } - }, - "node_modules/marked-terminal/node_modules/ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", - "dependencies": { - "type-fest": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/marked-terminal/node_modules/type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/match-sorter": { - "version": "6.3.3", - "resolved": "https://registry.npmjs.org/match-sorter/-/match-sorter-6.3.3.tgz", - "integrity": "sha512-sgiXxrRijEe0SzHKGX4HouCpfHRPnqteH42UdMEW7BlWy990ZkzcvonJGv4Uu9WE7Y1f8Yocm91+4qFPCbmNww==", - "dependencies": { - "@babel/runtime": "^7.23.8", - "remove-accents": "0.5.0" - } - }, - "node_modules/microseconds": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/microseconds/-/microseconds-0.2.0.tgz", - "integrity": "sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA==" - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/module-details-from-path": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz", - "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==" - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/mute-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", - "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/mz": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", - "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", - "dependencies": { - "any-promise": "^1.0.0", - "object-assign": "^4.0.1", - "thenify-all": "^1.0.0" - } - }, - "node_modules/nano-time": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/nano-time/-/nano-time-1.0.0.tgz", - "integrity": "sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA==", - "dependencies": { - "big-integer": "^1.6.16" - } - }, - "node_modules/node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", - "dependencies": { - "lodash": "^4.17.21" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/oblivious-set": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.0.0.tgz", - "integrity": "sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw==" - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-6.3.1.tgz", - "integrity": "sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==", - "dependencies": { - "chalk": "^5.0.0", - "cli-cursor": "^4.0.0", - "cli-spinners": "^2.6.1", - "is-interactive": "^2.0.0", - "is-unicode-supported": "^1.1.0", - "log-symbols": "^5.1.0", - "stdin-discarder": "^0.1.0", - "strip-ansi": "^7.0.1", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/ora/node_modules/cli-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", - "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", - "dependencies": { - "restore-cursor": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parents": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", - "integrity": "sha512-mXKF3xkoUt5td2DoxpLmtOmZvko9VfFpwRwkKDHSNvgmpLAeBo18YDhcPbBzJq+QLCHMbGOfzia2cX4U+0v9Mg==", - "dev": true, - "dependencies": { - "path-platform": "~0.11.15" - } - }, - "node_modules/parse5": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", - "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==" - }, - "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", - "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", - "dependencies": { - "parse5": "^6.0.1" - } - }, - "node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" - }, - "node_modules/patch-console": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-1.0.0.tgz", - "integrity": "sha512-nxl9nrnLQmh64iTzMfyylSlRozL7kAXIaxw1fVcLYdyhNkJCRUzirRZTikXGJsg+hc4fqpneTK6iU2H1Q8THSA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-platform": { - "version": "0.11.15", - "resolved": "https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz", - "integrity": "sha512-Y30dB6rab1A/nfEKsZxmr01nUotHX0c/ZiIAsCTatEe1CmS5Pm5He7fZ195bPT7RdquoaL8lLxFCMQi/bS7IJg==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, - "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/radash": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/radash/-/radash-9.5.0.tgz", - "integrity": "sha512-t0s8BJlvrk8YPaOS8X0J2xzqAsBlXAUkDEjoBXwlzaXsXNCpBILjT9OvWlabLa2KB/r4XrhThdXjxMs7SiCyIw==", - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-devtools-core": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.28.5.tgz", - "integrity": "sha512-cq/o30z9W2Wb4rzBefjv5fBalHU0rJGZCHAkf/RHSBWSSYwh8PlQTqqOJmgIIbBtpj27T6FIPXeomIjZtCNVqA==", - "dependencies": { - "shell-quote": "^1.6.1", - "ws": "^7" - } - }, - "node_modules/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" - }, - "peerDependencies": { - "react": "17.0.2" - } - }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, - "node_modules/react-query": { - "version": "3.39.3", - "resolved": "https://registry.npmjs.org/react-query/-/react-query-3.39.3.tgz", - "integrity": "sha512-nLfLz7GiohKTJDuT4us4X3h/8unOh+00MLb2yJoGTPjxKs2bc1iDhkNx2bd5MKklXnOD3NrVZ+J2UXujA5In4g==", - "dependencies": { - "@babel/runtime": "^7.5.5", - "broadcast-channel": "^3.4.1", - "match-sorter": "^6.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { - "optional": true - } - } - }, - "node_modules/react-reconciler": { - "version": "0.26.2", - "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.26.2.tgz", - "integrity": "sha512-nK6kgY28HwrMNwDnMui3dvm3rCFjZrcGiuwLc5COUipBK5hWHLOxMJhSnSomirqWwjPBJKV1QcbkI0VJr7Gl1Q==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "react": "^17.0.2" - } - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/redeyed": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", - "integrity": "sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==", - "dependencies": { - "esprima": "~4.0.0" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" - }, - "node_modules/remove-accents": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", - "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-in-the-middle": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-7.2.0.tgz", - "integrity": "sha512-3TLx5TGyAY6AOqLBoXmHkNql0HIf2RGbuMgCDT2WO/uGVAPJs6h7Kl+bN6TIZGd9bWhWPwnDnTHGtW8Iu77sdw==", - "dependencies": { - "debug": "^4.1.1", - "module-details-from-path": "^1.0.3", - "resolve": "^1.22.1" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-async": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", - "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/set-function-length": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", - "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", - "dependencies": { - "define-data-property": "^1.1.1", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.2", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/shell-quote": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", - "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/shimmer": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz", - "integrity": "sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==" - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" - }, - "node_modules/simple-update-notifier": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz", - "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==", - "dependencies": { - "semver": "~7.0.0" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/simple-update-notifier/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/stack-chain": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/stack-chain/-/stack-chain-1.3.7.tgz", - "integrity": "sha512-D8cWtWVdIe/jBA7v5p5Hwl5yOSOrmZPWDPe2KxQ5UAGD+nxbxU0lKXA4h85Ta6+qgdKVL3vUxsbIZjc1kBG7ug==" - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/stdin-discarder": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", - "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", - "dependencies": { - "bl": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/thenify": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", - "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", - "dependencies": { - "any-promise": "^1.0.0" - } - }, - "node_modules/thenify-all": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", - "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", - "dependencies": { - "thenify": ">= 3.1.0 < 4" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/tiny-invariant": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", - "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==" - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.2.0", - "url-parse": "^1.5.3" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/ts-dedent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz", - "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==", - "engines": { - "node": ">=6.10" - } - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - }, - "node_modules/type-fest": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.12.0.tgz", - "integrity": "sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg==", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true - }, - "node_modules/universalify": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", - "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/unload": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/unload/-/unload-2.2.0.tgz", - "integrity": "sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==", - "dependencies": { - "@babel/runtime": "^7.6.2", - "detect-node": "^2.0.4" - } - }, - "node_modules/url-parse": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", - "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/use-sync-external-store": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", - "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, - "node_modules/use-zustand": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/use-zustand/-/use-zustand-0.0.1.tgz", - "integrity": "sha512-axjswesUfXirTQ1CC1F4r0dkaI7g2nMEftyvg23Wq4PnAbLogswzj+o5gbnnnQaQOMXKHxNZIlYpKfuTnL466Q==", - "peerDependencies": { - "react": "*" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" - }, - "node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/widest-line": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", - "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", - "dependencies": { - "string-width": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yoga-layout-prebuilt": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/yoga-layout-prebuilt/-/yoga-layout-prebuilt-1.10.0.tgz", - "integrity": "sha512-YnOmtSbv4MTf7RGJMK0FvZ+KD8OEe/J5BNnR0GHhD8J/XcG/Qvxgszm0Un6FTHWW4uHlTgP0IztiXQnGyIR45g==", - "dependencies": { - "@types/yoga-layout": "1.9.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/zustand": { - "version": "4.4.7", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.7.tgz", - "integrity": "sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==", - "dependencies": { - "use-sync-external-store": "1.2.0" - }, - "engines": { - "node": ">=12.7.0" - }, - "peerDependencies": { - "@types/react": ">=16.8", - "immer": ">=9.0", - "react": ">=16.8" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "immer": { - "optional": true - }, - "react": { - "optional": true - } - } - } - } -} diff --git a/pkgs/tools/misc/gitrs/default.nix b/pkgs/tools/misc/gitrs/default.nix deleted file mode 100644 index f6a49fe850ce..000000000000 --- a/pkgs/tools/misc/gitrs/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, openssl -, pkg-config -, libiconv -, darwin -, rustPlatform -}: - -rustPlatform.buildRustPackage rec { - pname = "gitrs"; - version = "v0.3.6"; - - src = fetchFromGitHub { - owner = "mccurdyc"; - repo = pname; - rev = version; - hash = "sha256-+43XJroPNWmdUC6FDL84rZWrJm5fzuUXfpDkAMyVQQg="; - }; - - cargoHash = "sha256-2TXm1JTs0Xkid91A5tdi6Kokm0K1NOPmlocwFXv48uw="; - - nativeBuildInputs = [ - pkg-config # for openssl - ]; - - buildInputs = [ openssl.dev ] - ++ lib.optionals stdenv.isDarwin [ - libiconv - darwin.apple_sdk.frameworks.Security - darwin.apple_sdk.frameworks.SystemConfiguration - ]; - - meta = with lib; { - description = "Simple, opinionated, tool, written in Rust, for declaratively managing Git repos on your machine"; - homepage = "https://github.com/mccurdyc/gitrs"; - license = licenses.mit; - maintainers = with maintainers; [ mccurdyc ]; - mainProgram = "gitrs"; - }; -} diff --git a/pkgs/tools/misc/glasgow/default.nix b/pkgs/tools/misc/glasgow/default.nix deleted file mode 100644 index 39d936527dfa..000000000000 --- a/pkgs/tools/misc/glasgow/default.nix +++ /dev/null @@ -1,95 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -, sdcc -, yosys -, icestorm -, nextpnr -, unstableGitUpdater -}: - -python3.pkgs.buildPythonApplication rec { - pname = "glasgow"; - version = "0-unstable-2024-09-10"; - # from `pdm show` - realVersion = let - tag = builtins.elemAt (lib.splitString "-" version) 0; - rev = lib.substring 0 7 src.rev; - in "${tag}.1.dev2085+g${rev}"; - - pyproject = true; - - src = fetchFromGitHub { - owner = "GlasgowEmbedded"; - repo = "glasgow"; - rev = "f2c0ecbe0d47d96f940e77f9def209e9c57d3962"; - sha256 = "sha256-aNzNh/YkWjnHiO+QWbJu2Y3kL/53kDvVn/8Ncz2kpFI="; - }; - - nativeBuildInputs = [ - python3.pkgs.pdm-backend - sdcc - ]; - - propagatedBuildInputs = with python3.pkgs; [ - typing-extensions - amaranth - packaging - platformdirs - fx2 - libusb1 - pyvcd - aiohttp - ]; - - nativeCheckInputs = [ - python3.pkgs.unittestCheckHook - yosys - icestorm - nextpnr - ]; - - enableParallelBuilding = true; - - preBuild = '' - make -C firmware LIBFX2=${python3.pkgs.fx2}/share/libfx2 - cp firmware/glasgow.ihex software/glasgow - cd software - export PDM_BUILD_SCM_VERSION="${realVersion}" - ''; - - # installCheck tries to build_ext again - doInstallCheck = false; - - postInstall = '' - mkdir -p $out/etc/udev/rules.d - cp $src/config/*.rules $out/etc/udev/rules.d - ''; - - preCheck = '' - export PYTHONWARNINGS="ignore::DeprecationWarning" - # tests attempt to cache bitstreams - # for linux: - export XDG_CACHE_HOME=$TMPDIR - # for darwin: - export HOME=$TMPDIR - ''; - - makeWrapperArgs = [ - "--set" "YOSYS" "${yosys}/bin/yosys" - "--set" "ICEPACK" "${icestorm}/bin/icepack" - "--set" "NEXTPNR_ICE40" "${nextpnr}/bin/nextpnr-ice40" - ]; - - passthru.updateScript = unstableGitUpdater { - hardcodeZeroVersion = true; - }; - - meta = with lib; { - description = "Software for Glasgow, a digital interface multitool"; - homepage = "https://github.com/GlasgowEmbedded/Glasgow"; - license = licenses.bsd0; - maintainers = with maintainers; [ thoughtpolice ]; - mainProgram = "glasgow"; - }; -} diff --git a/pkgs/tools/misc/go-ios/default.nix b/pkgs/tools/misc/go-ios/default.nix deleted file mode 100644 index f26665835bce..000000000000 --- a/pkgs/tools/misc/go-ios/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nix-update-script -, pkg-config -, libusb1 -}: - -buildGoModule rec { - pname = "go-ios"; - version = "1.0.143"; - - src = fetchFromGitHub { - owner = "danielpaulus"; - repo = "go-ios"; - rev = "v${version}"; - sha256 = "sha256-6RiKyhV5y6lOrhfZezSB2m/l17T3bHYaYRhsMf04wT8="; - }; - - proxyVendor = true; - vendorHash = "sha256-GfVHAOlN2tL21ILQYPw/IaYQZccxitjHGQ09unfHcKg="; - - excludedPackages = [ - "restapi" - ]; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - libusb1 - ]; - - postInstall = '' - # aligns the binary with what is expected from go-ios - mv $out/bin/go-ios $out/bin/ios - ''; - - # skips all the integration tests (requires iOS device) (`-tags=fast`) - # as well as tests that requires networking - checkFlags = let - skippedTests = [ - "TestWorksWithoutProxy" - "TestUsesProxy" - ]; - in [ "-tags=fast" ] - ++ [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Operating system independent implementation of iOS device features"; - homepage = "https://github.com/danielpaulus/go-ios"; - license = licenses.mit; - maintainers = with maintainers; [ eyjhb ]; - mainProgram = "ios"; - }; -} diff --git a/pkgs/tools/misc/go.rice/default.nix b/pkgs/tools/misc/go.rice/default.nix deleted file mode 100644 index 4c3fd6ef4c06..000000000000 --- a/pkgs/tools/misc/go.rice/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "go-rice"; - version = "1.0.2"; - - src = fetchFromGitHub { - owner = "GeertJohan"; - repo = "go.rice"; - rev = "v${version}"; - sha256 = "sha256-jO4otde/m52L2NrE88aXRjdGDBNxnbP1Zt+5fEqfNIc="; - }; - - vendorHash = "sha256-VlpdZcqg7yWUADN8oD/IAgAXVdzJeIeymx2Pu/7E21o="; - - subPackages = [ "." "rice" ]; - - meta = with lib; { - description = "Go package that makes working with resources such as html, js, css, images, templates very easy"; - homepage = "https://github.com/GeertJohan/go.rice"; - license = licenses.bsd2; - maintainers = with maintainers; [ blaggacao ]; - mainProgram = "rice"; - }; -} diff --git a/pkgs/tools/misc/goaccess/default.nix b/pkgs/tools/misc/goaccess/default.nix deleted file mode 100644 index 9fd40e7fc334..000000000000 --- a/pkgs/tools/misc/goaccess/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - stdenv, - autoreconfHook, - fetchFromGitHub, - gettext, - libmaxminddb, - ncurses, - openssl, - withGeolocation ? true, -}: - -stdenv.mkDerivation rec { - pname = "goaccess"; - version = "1.9.3"; - - src = fetchFromGitHub { - owner = "allinurl"; - repo = "goaccess"; - rev = "refs/tags/v${version}"; - hash = "sha256-ZOngDAHA88YQvkx2pk5ZSpBzxqelvCIR4z5hiFmfGyc="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - buildInputs = [ - ncurses - openssl - ] ++ lib.optionals withGeolocation [ libmaxminddb ] ++ lib.optionals stdenv.isDarwin [ gettext ]; - - configureFlags = [ - "--enable-utf8" - "--with-openssl" - ] ++ lib.optionals withGeolocation [ "--enable-geoip=mmdb" ]; - - meta = with lib; { - description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems"; - homepage = "https://goaccess.io"; - changelog = "https://github.com/allinurl/goaccess/raw/v${version}/ChangeLog"; - license = licenses.mit; - maintainers = with maintainers; [ ederoyd46 ]; - platforms = platforms.linux ++ platforms.darwin; - mainProgram = "goaccess"; - }; -} diff --git a/pkgs/tools/misc/godu/default.nix b/pkgs/tools/misc/godu/default.nix deleted file mode 100644 index 1f310b2f6881..000000000000 --- a/pkgs/tools/misc/godu/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib }: - -buildGoModule rec { - pname = "godu"; - version = "1.5.2"; - - src = fetchFromGitHub { - owner = "viktomas"; - repo = pname; - rev = "v${version}"; - hash = "sha256-z1LCPweaf8e/HWkSrRCiMYZl4F4dKo4/wDkWgY+eTvk="; - }; - - vendorHash = "sha256-8cZCeZ0gqxqbwB0WuEOFmEUNQd3/KcLeN0eLGfWG8BY="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Utility helping to discover large files/folders"; - homepage = "https://github.com/viktomas/godu"; - license = licenses.mit; - maintainers = with maintainers; [ rople380 ]; - mainProgram = "godu"; - }; -} diff --git a/pkgs/tools/misc/gomi/default.nix b/pkgs/tools/misc/gomi/default.nix deleted file mode 100644 index 76ef724332e5..000000000000 --- a/pkgs/tools/misc/gomi/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "gomi"; - version = "1.1.6"; - - src = fetchFromGitHub { - owner = "b4b4r07"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-YsR2KU5Np6xQHkjM8KAoDp/XZ/9DkwBlMbu2IX5OQlk="; - }; - - vendorHash = "sha256-n31LUfdgbLQ/KmcFi8LdqmDHXgzbSCc+dnustGvc5SY="; - - subPackages = [ "." ]; - - meta = with lib; { - description = "Replacement for UNIX rm command"; - homepage = "https://github.com/b4b4r07/gomi"; - license = licenses.mit; - maintainers = with maintainers; [ ozkutuk ]; - mainProgram = "gomi"; - }; -} diff --git a/pkgs/tools/misc/google-cloud-bigtable-tool/default.nix b/pkgs/tools/misc/google-cloud-bigtable-tool/default.nix deleted file mode 100644 index 6e26aac5284d..000000000000 --- a/pkgs/tools/misc/google-cloud-bigtable-tool/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "google-cloud-bigtable-tool"; - version = "0.12.0"; - - src = fetchFromGitHub { - owner = "googleapis"; - repo = "cloud-bigtable-cbt-cli"; - rev = "v.${version}"; - hash = "sha256-N5nbWMj7kLIdRiwBUWFz4Rat88Wx01i3hceMxAvSjaA="; - }; - - vendorHash = "sha256-kwvEfvHs6XF84bB3Ss1307OjId0nh/0Imih1fRFdY0M="; - - checkFlags = [ - "-short" - ]; - - meta = with lib; { - description = "Google Cloud Bigtable Tool"; - longDescription = '' - `cbt` is the Google Cloud Bigtable Tool. A CLI utility to interact with Google Cloud Bigtable. - The cbt CLI is a command-line interface for performing several different operations on Cloud Bigtable. - It is written in Go using the Go client library for Cloud Bigtable. - An overview of its usage can be found in the [Google Cloud docs](https://cloud.google.com/bigtable/docs/cbt-overview). - For information about Bigtable in general, see the [overview of Bigtable](https://cloud.google.com/bigtable/docs/overview). - ''; - homepage = "https://github.com/googleapis/cloud-bigtable-cbt-cli"; - license = licenses.asl20; - maintainers = with maintainers; [ totoroot ]; - mainProgram = "cbt"; - }; -} diff --git a/pkgs/tools/misc/google-cloud-sql-proxy/default.nix b/pkgs/tools/misc/google-cloud-sql-proxy/default.nix deleted file mode 100644 index 1c5d3c19b9ae..000000000000 --- a/pkgs/tools/misc/google-cloud-sql-proxy/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nix-update-script -}: - -buildGoModule rec { - pname = "google-cloud-sql-proxy"; - version = "2.12.0"; - - src = fetchFromGitHub { - owner = "GoogleCloudPlatform"; - repo = "cloud-sql-proxy"; - rev = "v${version}"; - hash = "sha256-nEbrNRrEXXvLYi1vIvukUaq+WQn2HlonaaMn57yIA3I="; - }; - - subPackages = [ "." ]; - - vendorHash = "sha256-EI2PDVdS9JB8ACkRTsfCBLz4JEmHQ6hApFSSfSvD/cQ="; - - checkFlags = [ - "-short" - ]; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Utility for ensuring secure connections to Google Cloud SQL instances"; - longDescription = '' - The Cloud SQL Auth Proxy is a utility for ensuring secure connections to your Cloud SQL instances. - It provides IAM authorization, allowing you to control who can connect to your instance through IAM permissions, - and TLS 1.3 encryption, without having to manage certificates. - See the [Connecting Overview](https://cloud.google.com/sql/docs/mysql/connect-overview) page for more information - on connecting to a Cloud SQL instance, or the [About the Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy) - page for details on how the Cloud SQL Proxy works. - ''; - homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy"; - license = licenses.asl20; - maintainers = with maintainers; [ nicknovitski totoroot ]; - mainProgram = "cloud-sql-proxy"; - }; -} diff --git a/pkgs/tools/misc/goose/default.nix b/pkgs/tools/misc/goose/default.nix deleted file mode 100644 index b329eeea9691..000000000000 --- a/pkgs/tools/misc/goose/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, stdenv -}: - -buildGoModule rec { - pname = "goose"; - version = "3.22.1"; - - src = fetchFromGitHub { - owner = "pressly"; - repo = pname; - rev = "v${version}"; - hash = "sha256-rXh50Yv8UXJc+E32Fgg6Iy2K6x5+IM7dmxsvwFuCQ9U="; - }; - - proxyVendor = true; - vendorHash = "sha256-xb3yBiV+XyOlMp42c+eCj27DpvJalP5qhEoKG1X2kG8="; - - # skipping: end-to-end tests require a docker daemon - postPatch = '' - rm -r tests/gomigrations - ''; - - subPackages = [ - "cmd/goose" - ]; - - ldflags = [ - "-s" - "-w" - "-X=main.version=${version}" - ]; - - checkFlags = [ - # NOTE: - # - skipping: these also require a docker daemon - # - these are for go tests that live outside of the /tests directory - "-skip=TestClickUpDown|TestClickHouseFirstThree|TestLockModeAdvisorySession|TestDialectStore|TestGoMigrationStats|TestPostgresSessionLocker" - ]; - - doCheck = !stdenv.isDarwin; - - meta = with lib; { - description = "Database migration tool which supports SQL migrations and Go functions"; - homepage = "https://pressly.github.io/goose/"; - license = licenses.bsd3; - maintainers = [ ]; - mainProgram = "goose"; - }; -} diff --git a/pkgs/tools/misc/goreleaser/default.nix b/pkgs/tools/misc/goreleaser/default.nix deleted file mode 100644 index eb6d6351f2e6..000000000000 --- a/pkgs/tools/misc/goreleaser/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ stdenv -, lib -, buildGoModule -, fetchFromGitHub -, installShellFiles -, buildPackages -, testers -, goreleaser -}: -buildGoModule rec { - pname = "goreleaser"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "goreleaser"; - repo = pname; - rev = "v${version}"; - hash = "sha256-E/jLCjyXId5XsIBiDUxi7w9Dybb4SZJRc5gkCwHsTww="; - }; - - vendorHash = "sha256-+7SWKJGJlFyYkPjU3N5bWHbIzXBzG/fc9Yhy/jXt2lc="; - - ldflags = - [ "-s" "-w" "-X main.version=${version}" "-X main.builtBy=nixpkgs" ]; - - # tests expect the source files to be a build repo - doCheck = false; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = - let emulator = stdenv.hostPlatform.emulator buildPackages; - in '' - ${emulator} $out/bin/goreleaser man > goreleaser.1 - installManPage ./goreleaser.1 - installShellCompletion --cmd goreleaser \ - --bash <(${emulator} $out/bin/goreleaser completion bash) \ - --fish <(${emulator} $out/bin/goreleaser completion fish) \ - --zsh <(${emulator} $out/bin/goreleaser completion zsh) - ''; - - passthru.tests.version = testers.testVersion { - package = goreleaser; - command = "goreleaser -v"; - inherit version; - }; - - meta = with lib; { - description = "Deliver Go binaries as fast and easily as possible"; - homepage = "https://goreleaser.com"; - maintainers = with maintainers; [ - c0deaddict - sarcasticadmin - techknowlogick - developer-guy - caarlos0 - ]; - license = licenses.mit; - mainProgram = "goreleaser"; - }; -} diff --git a/pkgs/tools/misc/gosu/default.nix b/pkgs/tools/misc/gosu/default.nix deleted file mode 100644 index 0768b551fe10..000000000000 --- a/pkgs/tools/misc/gosu/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, gosu }: - -buildGoModule rec { - pname = "gosu"; - version = "1.17"; - - src = fetchFromGitHub { - owner = "tianon"; - repo = "gosu"; - rev = version; - hash = "sha256-ziviUXqCpCGECewyZNLDKSjnpmz/3i5DKrIKZlLwl4o="; - }; - - vendorHash = "sha256-fygLYSO0kpMFJd6WQp/uLYkELkyaOPZ9V8BrJcIcMuU="; - - ldflags = [ "-d" "-s" "-w" ]; - - passthru.tests.version = testers.testVersion { - package = gosu; - }; - - meta = with lib; { - description = "Tool that avoids TTY and signal-forwarding behavior of sudo and su"; - mainProgram = "gosu"; - homepage = "https://github.com/tianon/gosu"; - license = licenses.asl20; - maintainers = [ ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/gotify-cli/default.nix b/pkgs/tools/misc/gotify-cli/default.nix deleted file mode 100644 index 94a7c8c82eee..000000000000 --- a/pkgs/tools/misc/gotify-cli/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib }: - -buildGoModule rec { - pname = "gotify-cli"; - version = "2.3.2"; - - src = fetchFromGitHub { - owner = "gotify"; - repo = "cli"; - rev = "v${version}"; - sha256 = "sha256-GwPIGWEpj5GjGV9bz3LctZctHQe+Vywoc1piNb9vAAw="; - }; - - vendorHash = "sha256-+G0LWlPiDcYmEou4gpoIU/OAjzQ3VSHftM1ViG9lhYM="; - - postInstall = '' - mv $out/bin/cli $out/bin/gotify - ''; - - ldflags = [ - "-X main.Version=${version}" "-X main.Commit=${version}" "-X main.BuildDate=1970-01-01" - ]; - - meta = with lib; { - license = licenses.mit; - homepage = "https://github.com/gotify/cli"; - description = "Command line interface for pushing messages to gotify/server"; - maintainers = [ ]; - mainProgram = "gotify"; - }; -} diff --git a/pkgs/tools/misc/gotify-desktop/default.nix b/pkgs/tools/misc/gotify-desktop/default.nix deleted file mode 100644 index d1b67d927cf7..000000000000 --- a/pkgs/tools/misc/gotify-desktop/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, stdenv}: - -rustPlatform.buildRustPackage rec { - pname = "gotify-desktop"; - version = "1.3.7"; - - src = fetchFromGitHub { - owner = "desbma"; - repo = pname; - rev = version; - sha256 = "sha256-ISK1sI7NkXJBtuCkl5g8ffrGv5dYgzmpsmPTZmDAaMI="; - }; - - cargoHash = "sha256-QK2rzC9l+CiDv1+0NzR2x5B/5BYiY8KkLC2jxBdjXMU="; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ openssl ]; - - meta = with lib; { - description = "Small Gotify daemon to send messages as desktop notifications"; - homepage = "https://github.com/desbma/gotify-desktop"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ bryanasdev000 genofire ]; - broken = stdenv.isDarwin; - mainProgram = "gotify-desktop"; - }; -} diff --git a/pkgs/tools/misc/gparted/default.nix b/pkgs/tools/misc/gparted/default.nix deleted file mode 100644 index c91ed7a5a306..000000000000 --- a/pkgs/tools/misc/gparted/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib, stdenv, fetchurl, gettext, coreutils, gnused, gnome -, adwaita-icon-theme -, gnugrep, parted, glib, libuuid, pkg-config, gtkmm3, libxml2 -, gpart, hdparm, procps, util-linux, polkit, wrapGAppsHook3, substituteAll -, mtools, dosfstools, xhost -}: - -stdenv.mkDerivation rec { - pname = "gparted"; - version = "1.6.0"; - - src = fetchurl { - url = "mirror://sourceforge/gparted/gparted-${version}.tar.gz"; - sha256 = "sha256-m59Rs85JTdy1mlXhrmZ5wJQ2YE4zHb9aU21g3tbG6ls="; - }; - - # Tries to run `pkexec --version` to get version. - # however the binary won't be suid so it returns - # an error preventing the program from detection - patches = [ - (substituteAll { - src = ./polkit.patch; - polkit_version = polkit.version; - }) - ]; - - enableParallelBuilding = true; - - configureFlags = [ "--disable-doc" "--enable-xhost-root" ]; - - buildInputs = [ parted glib libuuid gtkmm3 libxml2 polkit.bin adwaita-icon-theme ]; - nativeBuildInputs = [ gettext pkg-config wrapGAppsHook3 ]; - - preConfigure = '' - # For ITS rules - addToSearchPath "XDG_DATA_DIRS" "${polkit.out}/share" - ''; - - preFixup = '' - gappsWrapperArgs+=( - --prefix PATH : "${lib.makeBinPath [ gpart hdparm util-linux procps coreutils gnused gnugrep mtools dosfstools xhost ]}" - ) - ''; - - # Doesn't get installed automaticallly if PREFIX != /usr - postInstall = '' - install -D -m0644 org.gnome.gparted.policy \ - $out/share/polkit-1/actions/org.gnome.gparted.policy - ''; - - meta = with lib; { - description = "Graphical disk partitioning tool"; - longDescription = '' - GNOME Partition Editor for creating, reorganizing, and deleting disk - partitions. GParted enables you to change the partition organization - while preserving the partition contents. - ''; - homepage = "https://gparted.org"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - mainProgram = "gparted"; - }; -} diff --git a/pkgs/tools/misc/gparted/polkit.patch b/pkgs/tools/misc/gparted/polkit.patch deleted file mode 100644 index a42ed785de94..000000000000 --- a/pkgs/tools/misc/gparted/polkit.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru old/gparted-1.0.0/configure gparted-1.0.0/configure ---- old/gparted-1.0.0/configure 2019-05-29 12:02:13.000000000 -0400 -+++ gparted-1.0.0/configure 2019-08-08 18:09:52.792795781 -0400 -@@ -16145,7 +16145,7 @@ - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkexec >= $PKEXEC_REQUIRED_VERSION" >&5 - $as_echo_n "checking for pkexec >= $PKEXEC_REQUIRED_VERSION... " >&6; } - PKEXEC_REQUIRED_INT=`echo "$PKEXEC_REQUIRED_VERSION" | $AWK -F. '{print $1 * 10000 + $2}'` --PKEXEC_VERSION_OUTPUT=`pkexec --version 2> /dev/null` || -+PKEXEC_VERSION_OUTPUT='pkexec version @polkit_version@' || - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 - $as_echo "not found" >&6; } - if test "x$PKEXEC_VERSION_OUTPUT" != 'x'; then diff --git a/pkgs/tools/misc/gpick/default.nix b/pkgs/tools/misc/gpick/default.nix deleted file mode 100644 index c21759b00fea..000000000000 --- a/pkgs/tools/misc/gpick/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ stdenv -, fetchFromGitHub -, cmake -, wrapGAppsHook3 -, boost -, pkg-config -, gtk3 -, ragel -, lua -, fetchpatch -, lib -}: - -stdenv.mkDerivation rec { - pname = "gpick"; - version = "0.3"; - - src = fetchFromGitHub { - owner = "thezbyg"; - repo = pname; - rev = "v${version}"; - hash = "sha256-Z17YpdAAr2wvDFkrAosyCN6Y/wsFVkiB9IDvXuP9lYo="; - }; - - patches = [ - # gpick/cmake/Version.cmake - ./dot-version.patch - - (fetchpatch { - url = "https://raw.githubusercontent.com/archlinux/svntogit-community/1d53a9aace4bb60300e52458bb1577d248cb87cd/trunk/buildfix.diff"; - hash = "sha256-DnRU90VPyFhLYTk4GPJoiVYadJgtYgjMS4MLgmpYLP0="; - }) - ]; - - nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 ]; - buildInputs = [ boost gtk3 ragel lua ]; - - meta = with lib; { - description = "Advanced color picker written in C++ using GTK+ toolkit"; - homepage = "http://www.gpick.org/"; - license = licenses.bsd3; - maintainers = [ maintainers.vanilla ]; - platforms = platforms.linux; - mainProgram = "gpick"; - }; -} diff --git a/pkgs/tools/misc/gpick/dot-version.patch b/pkgs/tools/misc/gpick/dot-version.patch deleted file mode 100644 index b460fbc98b21..000000000000 --- a/pkgs/tools/misc/gpick/dot-version.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff --git a/.version b/.version -new file mode 100644 -index 0000000..abc36c9 ---- /dev/null -+++ b/.version -@@ -0,0 +1,4 @@ -+0.3 -+0 -+dd27232a4dd08cf6271ecc2a7e96da25f8071ed5 -+2022-05-08 diff --git a/pkgs/tools/misc/gradescope-submit/default.nix b/pkgs/tools/misc/gradescope-submit/default.nix deleted file mode 100644 index 54ae4b458382..000000000000 --- a/pkgs/tools/misc/gradescope-submit/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib -, fetchFromGitHub -, ocamlPackages -}: - -ocamlPackages.buildDunePackage rec { - pname = "gradescope_submit"; - version = "2.0.2"; - - src = fetchFromGitHub { - owner = "nmittu"; - repo = "gradescope-submit"; - rev = version; - hash = "sha256-BVNXipgw0wz3PRGYvur8jrXZw/6i0fZ+MOZHzXzlFOk="; - }; - - buildInputs = with ocamlPackages; [ - core - core_unix - cohttp - cohttp-lwt-unix - lambdasoup - toml - yojson - lwt_ssl - ]; - - meta = with lib; { - description = "Small script to submit to Gradescope via GitHub"; - homepage = "https://github.com/nmittu/gradescope-submit"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "submit"; - }; -} diff --git a/pkgs/tools/misc/grass-sass/default.nix b/pkgs/tools/misc/grass-sass/default.nix deleted file mode 100644 index eae322e03f85..000000000000 --- a/pkgs/tools/misc/grass-sass/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -}: - -rustPlatform.buildRustPackage rec { - pname = "grass"; - version = "0.13.4"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-uk4XLF0QsH9Nhz73PmdSpwhxPdCh+DlNNqtbJtLWgNI="; - }; - - cargoHash = "sha256-Vnbda4dkCIRheqKq4umLhn2LCO7lkJQUuPrkExj9708="; - - # tests require rust nightly - doCheck = false; - - meta = with lib; { - description = "Sass compiler written purely in Rust"; - homepage = "https://github.com/connorskees/grass"; - changelog = "https://github.com/connorskees/grass/blob/master/CHANGELOG.md#${replaceStrings [ "." ] [ "" ] version}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "grass"; - }; -} diff --git a/pkgs/tools/misc/grex/default.nix b/pkgs/tools/misc/grex/default.nix index 2697c6b3febe..f3263303f96d 100644 --- a/pkgs/tools/misc/grex/default.nix +++ b/pkgs/tools/misc/grex/default.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-ZRE1vKgi0/UtSe2bdN0BLdtDfAauTfwcqOcl3y63fAA="; - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; doInstallCheck = true; installCheckPhase = '' diff --git a/pkgs/tools/misc/grit/default.nix b/pkgs/tools/misc/grit/default.nix deleted file mode 100644 index ca68506faab7..000000000000 --- a/pkgs/tools/misc/grit/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ stdenv, lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "grit"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "climech"; - repo = "grit"; - rev = "v${version}"; - sha256 = "sha256-c8wBwmXFjpst6UxL5zmTxMR4bhzpHYljQHiJFKiNDms="; - }; - - vendorHash = "sha256-iMMkjJ5dnlr0oSCifBQPWkInQBCp1bh23s+BcKzDNCg="; - - meta = with lib; { - broken = stdenv.isDarwin; - description = "Multitree-based personal task manager"; - homepage = "https://github.com/climech/grit"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "grit"; - }; -} diff --git a/pkgs/tools/misc/grizzly/default.nix b/pkgs/tools/misc/grizzly/default.nix deleted file mode 100644 index a994aead4176..000000000000 --- a/pkgs/tools/misc/grizzly/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ buildGoModule -, fetchFromGitHub -, lib -}: - -buildGoModule rec { - pname = "grizzly"; - version = "0.4.5"; - - src = fetchFromGitHub { - owner = "grafana"; - repo = pname; - rev = "v${version}"; - hash = "sha256-cHPF+WHiUU0Cd30mEe+vMbkoG2mh2jMwlKhd851woH0="; - }; - - vendorHash = "sha256-lioFmaFzqaxN1wnYJaoHA54to1xGZjaLGaqAFIfTaTs="; - - subPackages = [ "cmd/grr" ]; - - meta = with lib; { - description = "Utility for managing Jsonnet dashboards against the Grafana API"; - homepage = "https://grafana.github.io/grizzly/"; - license = licenses.asl20; - maintainers = with lib.maintainers; [ nrhtr ]; - platforms = platforms.unix; - mainProgram = "grr"; - }; -} diff --git a/pkgs/tools/misc/grub/default.nix b/pkgs/tools/misc/grub/default.nix index 67bb98474c9a..b5998456798d 100644 --- a/pkgs/tools/misc/grub/default.nix +++ b/pkgs/tools/misc/grub/default.nix @@ -97,8 +97,8 @@ stdenv.mkDerivation rec { separateDebugInfo = !xenSupport; - preConfigure = - '' for i in "tests/util/"*.in + preConfigure = '' + for i in "tests/util/"*.in do sed -i "$i" -e's|/bin/bash|${stdenv.shell}|g' done @@ -184,17 +184,17 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GNU GRUB, the Grand Unified Boot Loader"; - longDescription = - '' GNU GRUB is a Multiboot boot loader. It was derived from GRUB, GRand - Unified Bootloader, which was originally designed and implemented by - Erich Stefan Boleyn. - - Briefly, the boot loader is the first software program that runs when a - computer starts. It is responsible for loading and transferring - control to the operating system kernel software (such as the Hurd or - the Linux). The kernel, in turn, initializes the rest of the - operating system (e.g., GNU). - ''; + longDescription = '' + GNU GRUB is a Multiboot boot loader. It was derived from GRUB, GRand + Unified Bootloader, which was originally designed and implemented by + Erich Stefan Boleyn. + + Briefly, the boot loader is the first software program that runs when a + computer starts. It is responsible for loading and transferring + control to the operating system kernel software (such as the Hurd or + the Linux). The kernel, in turn, initializes the rest of the + operating system (e.g., GNU). + ''; homepage = "https://www.gnu.org/software/grub/"; diff --git a/pkgs/tools/misc/grub/pvgrub_image/configs/grub-bootstrap.cfg b/pkgs/tools/misc/grub/pvgrub_image/configs/grub-bootstrap.cfg deleted file mode 100644 index e9883149ab5d..000000000000 --- a/pkgs/tools/misc/grub/pvgrub_image/configs/grub-bootstrap.cfg +++ /dev/null @@ -1 +0,0 @@ -normal (memdisk)/grub.cfg diff --git a/pkgs/tools/misc/grub/pvgrub_image/configs/grub.cfg b/pkgs/tools/misc/grub/pvgrub_image/configs/grub.cfg deleted file mode 100644 index 69115b7101c9..000000000000 --- a/pkgs/tools/misc/grub/pvgrub_image/configs/grub.cfg +++ /dev/null @@ -1,10 +0,0 @@ -# The parentheses around ${root} here to match Grub's config file syntax -if search -s -f /boot/grub/grub.cfg ; then - echo "Reading (${root})/boot/grub/grub.cfg" - configfile /boot/grub/grub.cfg -fi - -if search -s -f /grub/grub.cfg ; then - echo "Reading (${root})/grub/grub.cfg" - configfile /grub/grub.cfg -fi diff --git a/pkgs/tools/misc/grub/pvgrub_image/default.nix b/pkgs/tools/misc/grub/pvgrub_image/default.nix deleted file mode 100644 index b6883e570802..000000000000 --- a/pkgs/tools/misc/grub/pvgrub_image/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv, grub2_xen }: - -let - efiSystemsBuild = { - i686-linux.target = "i386"; - x86_64-linux.target = "x86_64"; - armv7l-linux.target = "arm"; - aarch64-linux.target = "aarch64"; - riscv32-linux.target = "riscv32"; - riscv64-linux.target = "riscv64"; - }; - -in ( - -stdenv.mkDerivation rec { - name = "pvgrub-image"; - - configs = ./configs; - - buildInputs = [ grub2_xen ]; - - buildCommand = '' - cp "${configs}"/* . - tar -cf memdisk.tar grub.cfg - # We include all modules except all_video.mod as otherwise grub will fail printing "no symbol table" - # if we include it. - grub-mkimage -O "${efiSystemsBuild.${stdenv.hostPlatform.system}.target}-xen" -c grub-bootstrap.cfg \ - -m memdisk.tar -o "grub-${efiSystemsBuild.${stdenv.hostPlatform.system}.target}-xen.bin" \ - $(ls "${grub2_xen}/lib/grub/${efiSystemsBuild.${stdenv.hostPlatform.system}.target}-xen/" |grep 'mod''$'|grep -v '^all_video\.mod''$') - mkdir -p "$out/lib/grub-xen" - cp "grub-${efiSystemsBuild.${stdenv.hostPlatform.system}.target}-xen.bin" $out/lib/grub-xen/ - ''; - - meta = with lib; { - description = "PvGrub image for use for booting PV Xen guests"; - - longDescription = - '' This package provides a PvGrub image for booting Para-Virtualized (PV) - Xen guests - ''; - - platforms = platforms.gnu ++ platforms.linux; - }; -}) diff --git a/pkgs/tools/misc/grub4dos/default.nix b/pkgs/tools/misc/grub4dos/default.nix index 8b78c29defe7..b18298e37b66 100644 --- a/pkgs/tools/misc/grub4dos/default.nix +++ b/pkgs/tools/misc/grub4dos/default.nix @@ -1,8 +1,8 @@ { lib, stdenv, fetchFromGitHub, nasm }: let arch = - if stdenv.isi686 then "i386" - else if stdenv.isx86_64 then "x86_64" + if stdenv.hostPlatform.isi686 then "i386" + else if stdenv.hostPlatform.isx86_64 then "x86_64" else throw "Unknown architecture"; in stdenv.mkDerivation { pname = "grub4dos"; diff --git a/pkgs/tools/misc/gsmartcontrol/default.nix b/pkgs/tools/misc/gsmartcontrol/default.nix deleted file mode 100644 index c405f7a90751..000000000000 --- a/pkgs/tools/misc/gsmartcontrol/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ fetchurl, lib, stdenv, smartmontools, autoreconfHook, gettext, gtkmm3, pkg-config, wrapGAppsHook3, pcre-cpp, adwaita-icon-theme }: - -stdenv.mkDerivation rec { - pname = "gsmartcontrol"; - version = "1.1.4"; - - src = fetchurl { - url = "https://github.com/ashaduri/gsmartcontrol/releases/download/v${version}/gsmartcontrol-${version}.tar.bz2"; - sha256 = "sha256-/ECfK4qEzEC7ED1sgkAbnUwBgtWjsiPJOVnHrWYZGEc="; - }; - - patches = [ - ./fix-paths.patch - ]; - - postPatch = '' - substituteInPlace data/org.gsmartcontrol.policy --replace "/usr/sbin" $out/bin - ''; - - nativeBuildInputs = [ autoreconfHook gettext pkg-config wrapGAppsHook3 ]; - buildInputs = [ gtkmm3 pcre-cpp adwaita-icon-theme ]; - - enableParallelBuilding = true; - - preFixup = '' - gappsWrapperArgs+=( - --prefix PATH : "${lib.makeBinPath [ smartmontools ]}" - ) - ''; - - meta = { - description = "Hard disk drive health inspection tool"; - longDescription = '' - GSmartControl is a graphical user interface for smartctl (from - smartmontools package), which is a tool for querying and controlling - SMART (Self-Monitoring, Analysis, and Reporting Technology) data on - modern hard disk drives. - - It allows you to inspect the drive's SMART data to determine its health, - as well as run various tests on it. - ''; - homepage = "https://gsmartcontrol.shaduri.dev/"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [qknight]; - platforms = with lib.platforms; linux; - }; -} diff --git a/pkgs/tools/misc/gsmartcontrol/fix-paths.patch b/pkgs/tools/misc/gsmartcontrol/fix-paths.patch deleted file mode 100644 index b8ec19eb2563..000000000000 --- a/pkgs/tools/misc/gsmartcontrol/fix-paths.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/data/gsmartcontrol-root.in b/data/gsmartcontrol-root.in ---- a/data/gsmartcontrol-root.in -+++ b/data/gsmartcontrol-root.in -@@ -8,7 +8,7 @@ - # Run gsmartcontrol with root, asking for root password first. - # export GSMARTCONTROL_SU to override a su command (e.g. "kdesu -c"). - --EXEC_BIN="@prefix@/sbin/gsmartcontrol"; -+EXEC_BIN="@prefix@/bin/gsmartcontrol"; - prog_name="gsmartcontrol" - - -@@ -118,7 +118,7 @@ - # Add @prefix@/sbin as well (freebsd seems to require it). - # Note that beesu won't show a GUI login box if /usr/sbin is before /usr/bin, - # so add it first as well. --EXTRA_PATHS="/usr/bin:/usr/sbin:/usr/local/sbin:@prefix@/sbin"; -+EXTRA_PATHS="/usr/bin:/usr/sbin:/usr/local/sbin:@prefix@/bin"; - export PATH="$EXTRA_PATHS:$PATH" - - -diff --git a/src/Makefile.am b/src/Makefile.am ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -24,7 +24,7 @@ - # endif - - --sbin_PROGRAMS = gsmartcontrol -+bin_PROGRAMS = gsmartcontrol - - gsmartcontrol_LDADD = $(top_builddir)/src/applib/libapplib.a \ - $(top_builddir)/src/libdebug/libdebug.a \ diff --git a/pkgs/tools/misc/gti/default.nix b/pkgs/tools/misc/gti/default.nix deleted file mode 100644 index 9e396f33e6a1..000000000000 --- a/pkgs/tools/misc/gti/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -}: - -stdenv.mkDerivation rec { - pname = "gti"; - version = "1.9.1"; - - src = fetchFromGitHub { - owner = "rwos"; - repo = "gti"; - rev = "v${version}"; - sha256 = "sha256-DUDCFcaB38Xkp3lLfEhjGC0j430dphXFBVhGzm7/Bp0="; - }; - - postPatch = '' - substituteInPlace Makefile --replace 'CC=cc' 'CC=${stdenv.cc.targetPrefix}cc' - ''; - - nativeBuildInputs = [ - installShellFiles - ]; - - installPhase = '' - install -D gti $out/bin/gti - installManPage gti.6 - installShellCompletion --cmd gti \ - --bash completions/gti.bash \ - --zsh completions/gti.zsh - ''; - - meta = with lib; { - homepage = "https://r-wos.org/hacks/gti"; - license = licenses.mit; - description = "Humorous typo-based git runner; drives a car over the terminal"; - maintainers = with maintainers; [ fadenb ]; - platforms = platforms.unix; - mainProgram = "gti"; - }; -} diff --git a/pkgs/tools/misc/gtkterm/default.nix b/pkgs/tools/misc/gtkterm/default.nix deleted file mode 100644 index 5ec61bb70f50..000000000000 --- a/pkgs/tools/misc/gtkterm/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, meson, ninja, pkg-config, gtk3, vte, libgudev, wrapGAppsHook3, pcre2 }: - -stdenv.mkDerivation rec { - pname = "gtkterm"; - version = "1.3.1"; - - src = fetchFromGitHub { - owner = "wvdakker"; - repo = "gtkterm"; - rev = version; - sha256 = "sha256-oGqOXIu5P3KfdV6Unm7Nz+BRhb5Z6rne0+e0wZ2EcAI="; - }; - - nativeBuildInputs = [ - meson - ninja - pkg-config - wrapGAppsHook3 - ]; - - buildInputs = [ - gtk3 - vte - libgudev - pcre2 - ]; - - meta = with lib; { - description = "Simple, graphical serial port terminal emulator"; - homepage = "https://github.com/wvdakker/gtkterm"; - license = licenses.gpl3Plus; - longDescription = '' - GTKTerm is a simple, graphical serial port terminal emulator for - Linux and possibly other POSIX-compliant operating systems. It - can be used to communicate with all kinds of devices with a - serial interface, such as embedded computers, microcontrollers, - modems, GPS receivers, CNC machines and more. - ''; - maintainers = with maintainers; [ wentasah ]; - platforms = platforms.linux; - mainProgram = "gtkterm"; - }; -} diff --git a/pkgs/tools/misc/gummy/default.nix b/pkgs/tools/misc/gummy/default.nix deleted file mode 100644 index e2d600d8e2ee..000000000000 --- a/pkgs/tools/misc/gummy/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ lib -, stdenv -, fetchFromGitea -, testers -, gummy -, cmake -, libX11 -, libXext -, sdbus-cpp -, udev -, xcbutilimage -, coreutils -, cli11 -, ddcutil -, fmt -, nlohmann_json -, spdlog -}: - -stdenv.mkDerivation rec { - pname = "gummy"; - version = "0.6.0"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "fusco"; - repo = "gummy"; - rev = version; - hash = "sha256-kATieFf+dEpcYgSEPoETacP7R+u2dOrg7rOhIkNQ1uE="; - }; - - nativeBuildInputs = [ - cmake - ]; - - buildInputs = [ - cli11 - ddcutil - fmt - libX11 - libXext - nlohmann_json - sdbus-cpp - spdlog - udev - xcbutilimage - ]; - - cmakeFlags = [ - "-DUDEV_DIR=${placeholder "out"}/lib/udev" - "-DUDEV_RULES_DIR=${placeholder "out"}/lib/udev/rules.d" - ]; - - # Fixes the "gummy start" command, without this it cannot find the binary. - # Setting this through cmake does not seem to work. - postPatch = '' - substituteInPlace gummyd/gummyd/api.cpp \ - --replace "CMAKE_INSTALL_DAEMON_PATH" "\"${placeholder "out"}/libexec/gummyd\"" - ''; - - preFixup = '' - substituteInPlace $out/lib/udev/rules.d/99-gummy.rules \ - --replace "/bin/chmod" "${coreutils}/bin/chmod" - - ln -s $out/libexec/gummyd $out/bin/gummyd - ''; - - passthru.tests.version = testers.testVersion { package = gummy; }; - - meta = with lib; { - homepage = "https://codeberg.org/fusco/gummy"; - description = "Brightness and temperature manager for X11"; - longDescription = '' - CLI screen manager for X11 that allows automatic and manual brightness/temperature adjustments, - via backlight (currently only for embedded displays) and gamma. Multiple monitors are supported. - ''; - license = licenses.gpl3Only; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/hackertyper/default.nix b/pkgs/tools/misc/hackertyper/default.nix deleted file mode 100644 index 0428a38cfeb5..000000000000 --- a/pkgs/tools/misc/hackertyper/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses }: - -stdenv.mkDerivation { - pname = "hackertyper"; - version = "2.1"; - - src = fetchFromGitHub { - owner = "Hurricane996"; - repo = "Hackertyper"; - rev = "8d08e3200c65817bd8c5bd0baa5032919315853b"; - sha256 = "0shri0srihw9fk027k61qkxr9ikwkn28aaamrhps6lg0vpbqpx2w"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - buildInputs = [ ncurses ]; - - doInstallCheck = true; - installCheckPhase = '' - $out/bin/hackertyper -v - ''; - - meta = with lib; { - description = "C rewrite of hackertyper.net"; - homepage = "https://github.com/Hurricane996/Hackertyper"; - license = licenses.gpl3; - maintainers = [ maintainers.marius851000 ]; - mainProgram = "hackertyper"; - }; -} diff --git a/pkgs/tools/misc/hacksaw/default.nix b/pkgs/tools/misc/hacksaw/default.nix deleted file mode 100644 index 1f98355a6412..000000000000 --- a/pkgs/tools/misc/hacksaw/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, fetchCrate, rustPlatform, pkg-config, libXrandr, libX11, python3 }: - -rustPlatform.buildRustPackage rec { - pname = "hacksaw"; - version = "1.0.4"; - - nativeBuildInputs = [ pkg-config python3 ]; - - buildInputs = [ libXrandr libX11 ]; - - src = fetchCrate { - inherit pname version; - hash = "sha256-HRYTiccXU8DboAwZAr2gfzXUs8igSiFDpOEGtHpI0dA="; - }; - - cargoHash = "sha256-CDDJmWnAcXJ4wPfSPvu2DfthaFwZGZk1XXMNTA1g0+c="; - - meta = with lib; { - description = "Lightweight selection tool for usage in screenshot scripts etc"; - homepage = "https://github.com/neXromancers/hacksaw"; - license = with licenses; [ mpl20 ]; - maintainers = with maintainers; [ TethysSvensson ]; - platforms = platforms.linux; - mainProgram = "hacksaw"; - }; -} diff --git a/pkgs/tools/misc/hakuneko/default.nix b/pkgs/tools/misc/hakuneko/default.nix deleted file mode 100644 index fbc76aa1eb90..000000000000 --- a/pkgs/tools/misc/hakuneko/default.nix +++ /dev/null @@ -1,98 +0,0 @@ -{ autoPatchelfHook -, dpkg -, fetchurl -, makeDesktopItem -, makeWrapper -, udev -, stdenv -, lib -, wrapGAppsHook3 -, alsa-lib -, nss -, nspr -, systemd -, xorg -}: -let - desktopItem = makeDesktopItem { - desktopName = "HakuNeko Desktop"; - genericName = "Manga & Anime Downloader"; - categories = [ "Network" "FileTransfer" ]; - exec = "hakuneko"; - icon = "hakuneko-desktop"; - name = "hakuneko-desktop"; - }; -in -stdenv.mkDerivation rec { - pname = "hakuneko"; - version = "6.1.7"; - - src = { - "x86_64-linux" = fetchurl { - url = "https://github.com/manga-download/hakuneko/releases/download/v${version}/hakuneko-desktop_${version}_linux_amd64.deb"; - sha256 = "06bb17d7a06bb0601053eaaf423f9176f06ff3636cc43ffc024438e1962dcd02"; - }; - "i686-linux" = fetchurl { - url = "https://github.com/manga-download/hakuneko/releases/download/v${version}/hakuneko-desktop_${version}_linux_i386.deb"; - sha256 = "32017d26bafffaaf0a83dd6954d3926557014af4022a972371169c56c0e3d98b"; - }; - }."${stdenv.hostPlatform.system}" or (throw "unsupported system ${stdenv.hostPlatform.system}"); - - dontBuild = true; - dontConfigure = true; - dontPatchELF = true; - dontWrapGApps = true; - - # TODO: migrate off autoPatchelfHook and use nixpkgs' electron - nativeBuildInputs = [ - autoPatchelfHook - dpkg - makeWrapper - wrapGAppsHook3 - ]; - - buildInputs = [ - alsa-lib - nss - nspr - xorg.libXScrnSaver - xorg.libXtst - systemd - ]; - - unpackPhase = '' - # The deb file contains a setuid binary, so 'dpkg -x' doesn't work here - dpkg --fsys-tarfile $src | tar --extract - ''; - - installPhase = '' - cp -R usr "$out" - # Overwrite existing .desktop file. - cp "${desktopItem}/share/applications/hakuneko-desktop.desktop" \ - "$out/share/applications/hakuneko-desktop.desktop" - ''; - - runtimeDependencies = [ - (lib.getLib udev) - ]; - - postFixup = '' - makeWrapper $out/lib/hakuneko-desktop/hakuneko $out/bin/hakuneko \ - "''${gappsWrapperArgs[@]}" - ''; - - meta = with lib; { - description = "Manga & Anime Downloader"; - homepage = "https://sourceforge.net/projects/hakuneko/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unlicense; - maintainers = with maintainers; [ - nloomans - ]; - platforms = [ - "x86_64-linux" - "i686-linux" - ]; - mainProgram = "hakuneko"; - }; -} diff --git a/pkgs/tools/misc/halp/default.nix b/pkgs/tools/misc/halp/default.nix deleted file mode 100644 index e036336eb10c..000000000000 --- a/pkgs/tools/misc/halp/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -, unixtools -}: - -rustPlatform.buildRustPackage rec { - pname = "halp"; - version = "0.1.7"; - - src = fetchFromGitHub { - owner = "orhun"; - repo = "halp"; - rev = "v${version}"; - hash = "sha256-SeBponGeQWKjbiS4GL8YA7y92BqLL+ja6ZSKAI3CeRM="; - }; - - cargoHash = "sha256-/mzbLsIc0PW5yx/m9eq3IWYM6i1MKvmOY+17/Bwjguk="; - - patches = [ - # patch tests to point to the correct target directory - ./fix-target-dir.patch - ]; - - nativeBuildInputs = [ - installShellFiles - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - nativeCheckInputs = [ - unixtools.script - ]; - - # tests are failing on darwin - doCheck = !stdenv.isDarwin; - - checkFlags = [ - # requires internet access - "--skip=helper::docs::cheat::tests::test_fetch_cheat_sheet" - ]; - - postPatch = '' - substituteInPlace src/helper/args/mod.rs \ - --subst-var-by releaseDir target/${stdenv.hostPlatform.rust.rustcTargetSpec}/$cargoCheckType - ''; - - preCheck = '' - export NO_COLOR=1 - export OUT_DIR=target - ''; - - postInstall = '' - mkdir -p man completions - - OUT_DIR=man $out/bin/halp-mangen - OUT_DIR=completions $out/bin/halp-completions - - installManPage man/halp.1 - installShellCompletion \ - completions/halp.{bash,fish} \ - --zsh completions/_halp - - rm $out/bin/halp-{completions,mangen,test} - ''; - - meta = with lib; { - description = "CLI tool to get help with CLI tools"; - homepage = "https://github.com/orhun/halp"; - changelog = "https://github.com/orhun/halp/blob/${src.rev}/CHANGELOG.md"; - license = with licenses; [ asl20 mit ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "halp"; - }; -} diff --git a/pkgs/tools/misc/halp/fix-target-dir.patch b/pkgs/tools/misc/halp/fix-target-dir.patch deleted file mode 100644 index 0bc1c8e3b542..000000000000 --- a/pkgs/tools/misc/halp/fix-target-dir.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/helper/args/mod.rs -+++ b/src/helper/args/mod.rs -@@ -129,9 +129,7 @@ mod tests { - - /// Returns the path of the test binary. - fn get_test_bin() -> String { -- PathBuf::from(env!("CARGO_MANIFEST_DIR")) -- .join("target") -- .join("debug") -+ PathBuf::from("@releaseDir@") - .join(format!("{}-test", env!("CARGO_PKG_NAME"))) - .to_string_lossy() - .to_string() diff --git a/pkgs/tools/misc/handlr/default.nix b/pkgs/tools/misc/handlr/default.nix deleted file mode 100644 index b2245eafe534..000000000000 --- a/pkgs/tools/misc/handlr/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, shared-mime-info, libiconv, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "handlr"; - version = "unstable-2021-08-29"; - - src = fetchFromGitHub { - owner = "chmln"; - repo = pname; - rev = "90e78ba92d0355cb523abf268858f3123fd81238"; - sha256 = "sha256-wENhlUBwfNg/r7yMKa1cQI1fbFw+qowwK8EdO912Yys="; - }; - - cargoHash = "sha256-30fSOzWq1CoIabPWGWndi/SaCN/ckxjlbtzuwV8rk6M="; - - nativeBuildInputs = [ installShellFiles shared-mime-info ]; - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; - - preCheck = '' - export HOME=$TEMPDIR - ''; - - postInstall = '' - installShellCompletion \ - --zsh completions/_handlr \ - --bash completions/handlr \ - --fish completions/handlr.fish - ''; - - meta = with lib; { - description = "Alternative to xdg-open to manage default applications with ease"; - homepage = "https://github.com/chmln/handlr"; - license = licenses.mit; - maintainers = with maintainers; [ artturin ]; - mainProgram = "handlr"; - }; -} diff --git a/pkgs/tools/misc/hashit/default.nix b/pkgs/tools/misc/hashit/default.nix deleted file mode 100644 index 5e9f07700dc2..000000000000 --- a/pkgs/tools/misc/hashit/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, nix-update-script, meson, ninja, pkg-config, vala, pantheon, python3, libgee, gtk3, desktop-file-utils, wrapGAppsHook3 }: - -stdenv.mkDerivation rec { - pname = "hashit"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "artemanufrij"; - repo = pname; - rev = version; - sha256 = "1s8fbzg1z2ypn55xg1pfm5xh15waq55fkp49j8rsqiq8flvg6ybf"; - }; - - nativeBuildInputs = [ - desktop-file-utils - meson - ninja - vala - pkg-config - python3 - wrapGAppsHook3 - ]; - - buildInputs = [ - gtk3 - libgee - pantheon.granite - ]; - - postPatch = '' - chmod +x meson/post_install.py - patchShebangs meson/post_install.py - ''; - - passthru = { - updateScript = nix-update-script { }; - }; - - meta = with lib; { - description = "Simple app for checking usual checksums - Designed for elementary OS"; - homepage = "https://github.com/artemanufrij/hashit"; - license = licenses.gpl2Plus; - maintainers = teams.pantheon.members; - platforms = platforms.linux; - mainProgram = "com.github.artemanufrij.hashit"; - }; -} diff --git a/pkgs/tools/misc/hashpump/default.nix b/pkgs/tools/misc/hashpump/default.nix deleted file mode 100644 index cdb153f2c080..000000000000 --- a/pkgs/tools/misc/hashpump/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ stdenv, fetchFromGitHub, openssl, lib }: - -stdenv.mkDerivation (finalAttrs: { - pname = "hashpump"; - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "bwall"; - repo = "HashPump"; - rev = "v${finalAttrs.version}"; - hash = "sha256-xL/1os17agwFtdq0snS3ZJzwJhk22ujxfWLH65IMMEM="; - }; - - makeFlags = [ "INSTALLLOCATION=${placeholder "out"}/bin/" ]; - - buildInputs = [ openssl ]; - - doCheck = true; - checkPhase = '' - runHook preCheck - ./hashpump --test - runHook postCheck - ''; - - preInstall = '' - mkdir -p $out/bin - ''; - - meta = { - description = "Tool to exploit the hash length extension attack in various hashing algorithms"; - homepage = "https://github.com/bwall/HashPump"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ t4ccer ]; - platforms = lib.platforms.linux; - mainProgram = "hashpump"; - }; -}) diff --git a/pkgs/tools/misc/hdaps-gl/default.nix b/pkgs/tools/misc/hdaps-gl/default.nix deleted file mode 100644 index d472727ce3ac..000000000000 --- a/pkgs/tools/misc/hdaps-gl/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, libglut, libGL, libGLU }: - -stdenv.mkDerivation rec { - pname = "hdaps-gl"; - version = "0.0.7"; - src = fetchFromGitHub { - owner = "linux-thinkpad"; - repo = "hdaps-gl"; - rev = version; - sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - buildInputs = [ libglut libGL libGLU ]; - - meta = with lib; { - description = "GL-based laptop model that rotates in real-time via hdaps"; - homepage = "https://github.com/linux-thinkpad/hdaps-gl"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = [ maintainers.symphorien ]; - mainProgram = "hdaps-gl"; - }; -} diff --git a/pkgs/tools/misc/hddtemp/byteswap.patch b/pkgs/tools/misc/hddtemp/byteswap.patch deleted file mode 100644 index 7b0dddc2ae47..000000000000 --- a/pkgs/tools/misc/hddtemp/byteswap.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/sata.c hddtemp-0.3-beta15/src/sata.c ---- hddtemp-0.3-beta15.orig/src/sata.c 2006-05-14 02:09:55.579437498 -0700 -+++ hddtemp-0.3-beta15/src/sata.c 2006-05-14 02:06:08.495948437 -0700 -@@ -88,7 +88,9 @@ - return strdup(_("unknown")); - else - { -+ //fprintf(stderr,"sata_model1=%s\n",identify + 54); - sata_fixstring(identify + 54, 24); -+ //fprintf(stderr,"sata_model2=%s\n",identify + 54); - return strdup(identify + 54); - } - } -diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c ---- hddtemp-0.3-beta15.orig/src/satacmds.c 2006-05-14 02:09:40.983470339 -0700 -+++ hddtemp-0.3-beta15/src/satacmds.c 2006-05-14 02:09:02.319557333 -0700 -@@ -98,7 +98,10 @@ - /* convert from big-endian to host byte order */ - for (p = end ; p != s;) { - unsigned short *pp = (unsigned short *) (p -= 2); -- *pp = ntohs(*pp); -+ char tmp = p[0]; -+ p[0] = p[1]; -+ p[1] = tmp; -+ //*pp = ntohs(*pp); - } - - /* strip leading blanks */ diff --git a/pkgs/tools/misc/hddtemp/default.nix b/pkgs/tools/misc/hddtemp/default.nix deleted file mode 100644 index beaa9018d2bf..000000000000 --- a/pkgs/tools/misc/hddtemp/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchurl }: -let - db = fetchurl { - url = "mirror://savannah/hddtemp/hddtemp.db"; - sha256 = "1fr6qgns6qv7cr40lic5yqwkkc7yjmmgx8j0z6d93csg3smzhhya"; - }; - -in -stdenv.mkDerivation rec { - pname = "hddtemp"; - version = "0.3-beta15"; - - src = fetchurl { - url = "mirror://savannah/hddtemp/hddtemp-${version}.tar.bz2"; - sha256 = "sha256-YYVBWEBUCT1TvootnoHJcXTzDwCvkcuHAKl+RC1571s="; - }; - - # from Gentoo - patches = [ ./byteswap.patch ./dontwake.patch ./execinfo.patch ./satacmds.patch ]; - - configureFlags = [ - "--with-db-path=${placeholder "out"}/share/hddtemp/hddtemp.db" - ]; - - postInstall = '' - install -Dm444 ${db} $out/share/hddtemp/hddtemp.db - ''; - - enableParallelBuilding = true; - - meta = with lib; { - description = "Tool for displaying hard disk temperature"; - homepage = "https://savannah.nongnu.org/projects/hddtemp/"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ peterhoeg ]; - platforms = platforms.linux; - mainProgram = "hddtemp"; - }; -} diff --git a/pkgs/tools/misc/hddtemp/dontwake.patch b/pkgs/tools/misc/hddtemp/dontwake.patch deleted file mode 100644 index 969da7a70e40..000000000000 --- a/pkgs/tools/misc/hddtemp/dontwake.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- hddtemp-0.3-beta15/src/sata.c 2012-07-01 16:35:01.681708074 +0200 -+++ hddtemp-0.3-beta15/src/sata.c 2012-07-01 16:33:58.172109699 +0200 -@@ -125,6 +125,17 @@ - dsk->fd = -1; - return GETTEMP_NOSENSOR; - } -+ -+ switch(ata_get_powermode(dsk->fd)) { -+ case PWM_STANDBY: -+ case PWM_SLEEPING: -+ if (!wakeup) -+ return GETTEMP_DRIVE_SLEEP; -+ case PWM_UNKNOWN: -+ case PWM_ACTIVE: /* active or idle */ -+ default: -+ break; -+ } - - /* get SMART values */ - if(sata_enable_smart(dsk->fd) != 0) { diff --git a/pkgs/tools/misc/hddtemp/execinfo.patch b/pkgs/tools/misc/hddtemp/execinfo.patch deleted file mode 100644 index 1e7239535d4d..000000000000 --- a/pkgs/tools/misc/hddtemp/execinfo.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- hddtemp-0.3-beta15/configure.in~ 2005-10-17 19:14:19 +0000 -+++ hddtemp-0.3-beta15/configure.in 2006-12-11 18:23:22 +0000 -@@ -18,6 +18,7 @@ - AC_HEADER_STDC - AC_CHECK_HEADERS(fcntl.h) - AC_CHECK_HEADERS(netinet/in.h) -+AC_CHECK_HEADERS(execinfo.h) - AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], [Define to 'uint32_t' if <netinet/in.h> does not define.])], [#include <netinet/in.h>]) - - # Checks for typedefs, structures, and compiler characteristics. ---- hddtemp-0.3-beta15/src/backtrace.c-orig 2006-12-11 18:20:41 +0000 -+++ hddtemp-0.3-beta15/src/backtrace.c 2006-12-11 18:23:28 +0000 -@@ -18,7 +18,7 @@ - - #include <features.h> - --#if defined(__i386__) && defined(__GLIBC__) -+#ifdef HAS_EXECINFO_H - - #include <execinfo.h> - diff --git a/pkgs/tools/misc/hddtemp/satacmds.patch b/pkgs/tools/misc/hddtemp/satacmds.patch deleted file mode 100644 index d67e0681f33f..000000000000 --- a/pkgs/tools/misc/hddtemp/satacmds.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naurp hddtemp-0.3-beta15-orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c ---- hddtemp-0.3-beta15-orig/src/satacmds.c 2007-02-10 14:25:15.000000000 +0100 -+++ hddtemp-0.3-beta15/src/satacmds.c 2007-02-10 14:26:53.000000000 +0100 -@@ -54,7 +54,6 @@ int sata_pass_thru(int device, unsigned - unsigned char cdb[16]; - unsigned char sense[32]; - int dxfer_direction; -- int ret; - - memset(cdb, 0, sizeof(cdb)); - cdb[0] = ATA_16; -@@ -78,13 +77,7 @@ int sata_pass_thru(int device, unsigned - cdb[6] = cmd[1]; - cdb[14] = cmd[0]; - -- ret = scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); -- -- /* Verify SATA magics */ -- if (sense[0] != 0x72 || sense[7] != 0x0e || sense[9] != 0x0e || sense[10] != 0x00) -- return 1; -- else -- return ret; -+ return scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); - } - - void sata_fixstring(unsigned char *s, int bytecount) diff --git a/pkgs/tools/misc/hdf4/darwin-aarch64.patch b/pkgs/tools/misc/hdf4/darwin-aarch64.patch deleted file mode 100644 index cff81e581176..000000000000 --- a/pkgs/tools/misc/hdf4/darwin-aarch64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/hdf/src/hdfi.h 2021-06-16 16:31:31.000000000 +1200 -+++ b/hdf/src/hdfi.h 2021-06-16 16:42:26.000000000 +1200 -@@ -1343,7 +1343,7 @@ - #endif /* IA64 */ - - /* Linux AArch64 */ --#if defined __aarch64__ -+#if defined __aarch64__ && !defined __APPLE__ - - #ifdef GOT_MACHINE - If you get an error on this line more than one machine type has been defined. diff --git a/pkgs/tools/misc/hdf4/default.nix b/pkgs/tools/misc/hdf4/default.nix deleted file mode 100644 index 2636cb71717b..000000000000 --- a/pkgs/tools/misc/hdf4/default.nix +++ /dev/null @@ -1,148 +0,0 @@ -{ lib -, stdenv -, fetchpatch -, fetchurl -, fixDarwinDylibNames -, cmake -, libjpeg -, uselibtirpc ? stdenv.isLinux -, libtirpc -, zlib -, szipSupport ? false -, szip -, javaSupport ? false -, jdk -, fortranSupport ? false -, gfortran -, netcdfSupport ? false -}: -stdenv.mkDerivation rec { - pname = "hdf"; - version = "4.2.15"; - src = fetchurl { - url = "https://support.hdfgroup.org/ftp/HDF/releases/HDF${version}/src/hdf-${version}.tar.bz2"; - sha256 = "04nbgfxyj5jg4d6sr28162cxbfwqgv0sa7vz1ayzvm8wbbpkbq5x"; - }; - - patches = [ - # Note that the PPC, SPARC and s390 patches are only needed so the aarch64 patch applies cleanly - (fetchpatch { - url = "https://src.fedoraproject.org/rpms/hdf/raw/edbe5f49646b609f5bc9aeeee5a2be47e9556e8c/f/hdf-ppc.patch"; - sha256 = "0dbbfpsvvqzy9zyfv38gd81zzc44gxjib9sd8scxqnkkqprj6jq0"; - }) - (fetchpatch { - url = "https://src.fedoraproject.org/rpms/hdf/raw/edbe5f49646b609f5bc9aeeee5a2be47e9556e8c/f/hdf-4.2.4-sparc.patch"; - sha256 = "0ip4prcjpa404clm87ib7l71605mws54x9492n9pbz5yb51r9aqh"; - }) - (fetchpatch { - url = "https://src.fedoraproject.org/rpms/hdf/raw/edbe5f49646b609f5bc9aeeee5a2be47e9556e8c/f/hdf-s390.patch"; - sha256 = "0aiqbr4s1l19y3r3y4wjd5fkv9cfc8rlr4apbh1p0d57wyvqa7i3"; - }) - (fetchpatch { - url = "https://src.fedoraproject.org/rpms/hdf/raw/edbe5f49646b609f5bc9aeeee5a2be47e9556e8c/f/hdf-arm.patch"; - sha256 = "157k1avvkpf3x89m1fv4a1kgab6k3jv74rskazrmjivgzav4qaw3"; - }) - (fetchpatch { - url = "https://src.fedoraproject.org/rpms/hdf/raw/edbe5f49646b609f5bc9aeeee5a2be47e9556e8c/f/hdf-aarch64.patch"; - sha256 = "112svcsilk16ybbsi8ywnxfl2p1v44zh3rfn4ijnl8z08vfqrvvs"; - }) - ./darwin-aarch64.patch - ]; - - nativeBuildInputs = [ - cmake - ] ++ lib.optionals stdenv.isDarwin [ - fixDarwinDylibNames - ] ++ lib.optional fortranSupport gfortran; - - buildInputs = [ - libjpeg - zlib - ] - ++ lib.optional javaSupport jdk - ++ lib.optional szipSupport szip - ++ lib.optional uselibtirpc libtirpc; - - preConfigure = lib.optionalString uselibtirpc '' - # Make tirpc discovery work with CMAKE_PREFIX_PATH - substituteInPlace config/cmake/FindXDR.cmake \ - --replace 'find_path(XDR_INCLUDE_DIR NAMES rpc/types.h PATHS "/usr/include" "/usr/include/tirpc")' \ - 'find_path(XDR_INCLUDE_DIR NAMES rpc/types.h PATH_SUFFIXES include/tirpc)' - '' + lib.optionalString szipSupport '' - export SZIP_INSTALL=${szip} - ''; - - cmakeFlags = [ - "-DBUILD_SHARED_LIBS=ON" - "-DHDF4_BUILD_TOOLS=ON" - "-DHDF4_BUILD_UTILS=ON" - "-DHDF4_BUILD_WITH_INSTALL_NAME=OFF" - "-DHDF4_ENABLE_JPEG_LIB_SUPPORT=ON" - "-DHDF4_ENABLE_NETCDF=${if netcdfSupport then "ON" else "OFF"}" - "-DHDF4_ENABLE_Z_LIB_SUPPORT=ON" - "-DJPEG_DIR=${libjpeg}" - ] ++ lib.optionals javaSupport [ - "-DHDF4_BUILD_JAVA=ON" - "-DJAVA_HOME=${jdk}" - ] ++ lib.optionals szipSupport [ - "-DHDF4_ENABLE_SZIP_ENCODING=ON" - "-DHDF4_ENABLE_SZIP_SUPPORT=ON" - ] ++ (if fortranSupport - then [ - "-DHDF4_BUILD_FORTRAN=ON" - "-DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch" - ] - else [ "-DHDF4_BUILD_FORTRAN=OFF" ] - ); - - env = lib.optionalAttrs stdenv.cc.isClang { - NIX_CFLAGS_COMPILE = toString [ - "-Wno-error=implicit-function-declaration" - "-Wno-error=implicit-int" - ]; - }; - - doCheck = true; - - excludedTests = lib.optionals stdenv.isDarwin [ - "MFHDF_TEST-hdftest" - "MFHDF_TEST-hdftest-shared" - "HDP-dumpsds-18" - "NC_TEST-nctest" - ]; - - checkPhase = - let - excludedTestsRegex = lib.optionalString (excludedTests != [ ]) "(${lib.concatStringsSep "|" excludedTests})"; - in - '' - runHook preCheck - ctest -E "${excludedTestsRegex}" --output-on-failure - runHook postCheck - ''; - - outputs = [ "bin" "dev" "out" ]; - - postInstall = '' - moveToOutput bin "$bin" - ''; - - passthru = { - inherit - uselibtirpc - libtirpc - szipSupport - szip - javaSupport - jdk - ; - }; - - meta = with lib; { - description = "Data model, library, and file format for storing and managing data"; - homepage = "https://support.hdfgroup.org/products/hdf4/"; - maintainers = with maintainers; [ knedlsepp ]; - platforms = platforms.unix; - license = licenses.bsdOriginal; - }; -} diff --git a/pkgs/tools/misc/hdf5/default.nix b/pkgs/tools/misc/hdf5/default.nix index 226143c44be6..e88f591128f6 100644 --- a/pkgs/tools/misc/hdf5/default.nix +++ b/pkgs/tools/misc/hdf5/default.nix @@ -28,7 +28,7 @@ assert !cppSupport || !mpiSupport; let inherit (lib) optional optionals; in stdenv.mkDerivation rec { - version = "1.14.4.3"; + version = "1.14.5"; pname = "hdf5" + lib.optionalString cppSupport "-cpp" + lib.optionalString fortranSupport "-fortran" @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { owner = "HDFGroup"; repo = "hdf5"; rev = "hdf5_${version}"; - hash = "sha256-lvz3x04SS0oZmUn/BIxQEHnugaDOws46kfT3NAw7Hos="; + hash = "sha256-bvtSeyqqrBXVAMzUtiKOhO9RR4SCO+3GnsLux4Mig6I="; }; passthru = { @@ -71,7 +71,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DHDF5_INSTALL_CMAKE_DIR=${placeholder "dev"}/lib/cmake" "-DBUILD_STATIC_LIBS=${lib.boolToString enableStatic}" - ] ++ lib.optional stdenv.isDarwin "-DHDF5_BUILD_WITH_INSTALL_NAME=ON" + ] ++ lib.optional stdenv.hostPlatform.isDarwin "-DHDF5_BUILD_WITH_INSTALL_NAME=ON" ++ lib.optional cppSupport "-DHDF5_BUILD_CPP_LIB=ON" ++ lib.optional fortranSupport "-DHDF5_BUILD_FORTRAN=ON" ++ lib.optional szipSupport "-DHDF5_ENABLE_SZIP_SUPPORT=ON" @@ -82,7 +82,7 @@ stdenv.mkDerivation rec { ++ lib.optionals threadsafe [ "-DDHDF5_ENABLE_THREADSAFE:BOOL=ON" "-DHDF5_BUILD_HL_LIB=OFF" ] # broken in nixpkgs since around 1.14.3 -> 1.14.4.3 # https://github.com/HDFGroup/hdf5/issues/4208#issuecomment-2098698567 - ++ lib.optional (stdenv.isDarwin && stdenv.isx86_64) "-DHDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16=OFF" + ++ lib.optional (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) "-DHDF5_ENABLE_NONSTANDARD_FEATURE_FLOAT16=OFF" ; postInstall = '' diff --git a/pkgs/tools/misc/hdfview/0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch b/pkgs/tools/misc/hdfview/0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch deleted file mode 100644 index fde26e0dca83..000000000000 --- a/pkgs/tools/misc/hdfview/0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e5eb394458e19ce8f8a231e8b2005c80c64fd426 Mon Sep 17 00:00:00 2001 -From: Jiajie Chen <c@jia.je> -Date: Fri, 15 Jul 2022 10:13:23 +0800 -Subject: [PATCH] Hardcode isUbuntu=false to avoid hostname dependency. - -The original build.xml detects whether the system is ubuntu based on its -hostname, which is useless in nixpkgs and brings additional dependency. - -As suggested by @risicle in #180613, we can simply hardcode isUbuntu to -false. - -Signed-off-by: Jiajie Chen <c@jia.je> ---- - build.xml | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/build.xml b/build.xml -index c4f0974..15a6078 100644 ---- a/build.xml -+++ b/build.xml -@@ -143,11 +143,9 @@ - </and> - </condition> - -- <exec executable="hostname" outputproperty="computer.hostname"/> -- -- <condition property="isUbuntu"> -- <contains string="${computer.hostname}" substring="ubuntu" /> -- </condition> -+ <!-- Since we do not package .deb nor .rpm files, we can safely -+ hardcode isUbuntu = false. --> -+ <property name="isUbuntu" value="false" /> - - <!-- Build 64-bit binary. - Note: os.arch gives the architecture of the JVM, NOT the OS; --- -2.36.1 - diff --git a/pkgs/tools/misc/hdfview/default.nix b/pkgs/tools/misc/hdfview/default.nix deleted file mode 100644 index bbc6f512be7d..000000000000 --- a/pkgs/tools/misc/hdfview/default.nix +++ /dev/null @@ -1,84 +0,0 @@ -{ lib, stdenv, fetchurl, ant, jdk, hdf4, hdf5, makeDesktopItem, copyDesktopItems, strip-nondeterminism, stripJavaArchivesHook }: - -stdenv.mkDerivation rec { - pname = "hdfview"; - version = "3.3.1"; - - src = fetchurl { - url = "https://support.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/hdfview-${version}/src/hdfview-${version}.tar.gz"; - sha256 = "sha256-WcGYceMOB8gCycJSW4KdApy2gIBgTnE/d0PxGZClUqg="; - }; - - patches = [ - # Hardcode isUbuntu=false to avoid calling hostname to detect os - ./0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch - # Disable signing on macOS - ./disable-mac-signing.patch - # Remove timestamp comment from generated versions.properties file - ./remove-properties-timestamp.patch - ]; - - nativeBuildInputs = [ - ant - jdk - copyDesktopItems - strip-nondeterminism - stripJavaArchivesHook - ]; - - HDFLIBS = (hdf4.override { javaSupport = true; }).out; - HDF5LIBS = (hdf5.override { javaSupport = true; }).out; - - buildPhase = - let - arch = if stdenv.isx86_64 then "x86_64" else "aarch64"; - in - '' - runHook preBuild - - ant createJPackage -Dmachine.arch=${arch} - - runHook postBuild - ''; - - desktopItem = makeDesktopItem rec { - name = "HDFView"; - desktopName = name; - exec = name; - icon = name; - comment = meta.description; - categories = [ "Science" "DataVisualization" ]; - }; - - installPhase = '' - runHook preInstall - '' + lib.optionalString stdenv.isLinux '' - mkdir -p $out/bin $out/lib - cp -a build/dist/HDFView/bin/HDFView $out/bin/ - cp -a build/dist/HDFView/lib/app $out/lib/ - cp -a build/dist/HDFView/lib/libapplauncher.so $out/lib/ - ln -s ${jdk}/lib/openjdk $out/lib/runtime - - mkdir -p $out/share/applications $out/share/icons/hicolor/32x32/apps - cp src/HDFView.png $out/share/icons/hicolor/32x32/apps/ - '' + lib.optionalString stdenv.isDarwin '' - mkdir -p $out/Applications - cp -a build/dist/HDFView.app $out/Applications/ - '' + '' - runHook postInstall - ''; - - preFixup = '' - # Remove build timestamp from javadoc files - find $out/lib/app{,/mods}/doc/javadocs -name "*.html" -exec strip-nondeterminism --type javadoc {} + - ''; - - meta = { - description = "A visual tool for browsing and editing HDF4 and HDF5 files"; - license = lib.licenses.free; # BSD-like - homepage = "https://www.hdfgroup.org/downloads/hdfview"; - platforms = lib.platforms.linux ++ lib.platforms.darwin; - maintainers = with lib.maintainers; [ jiegec ]; - mainProgram = "HDFView"; - }; -} diff --git a/pkgs/tools/misc/hdfview/disable-mac-signing.patch b/pkgs/tools/misc/hdfview/disable-mac-signing.patch deleted file mode 100644 index d7d67f7ac608..000000000000 --- a/pkgs/tools/misc/hdfview/disable-mac-signing.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/build.xml b/build.xml -index 70ab3e2..9460321 100644 ---- a/build.xml -+++ b/build.xml -@@ -1802,13 +1802,6 @@ - description="Create the final package for distribution" /> - - <target name="createJPackageMac" depends="createJPackageBase" if="${isAppMac}"> -- <!-- unlock keychain --> -- <exec executable="security" dir="${dist.dir}" failonerror="true"> -- <arg value="unlock-keychain" /> -- <arg value="-p" /> -- <arg value="${login.keychain_key}" /> -- <arg value="login.keychain" /> -- </exec> - - <echo> Create the mac jpackage</echo> - <exec executable="${java.home}/bin/jpackage"> -@@ -1864,7 +1857,6 @@ - <arg value="app-image" /> - <arg value="--icon" /> - <arg value="${basedir}/package_files/macosx/HDFView.icns" /> -- <arg value="--mac-sign" /> - <arg value="--mac-package-identifier" /> - <arg value="HDFView.hdfgroup.org" /> - <arg value="--mac-package-name" /> diff --git a/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch b/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch deleted file mode 100644 index 8e3790487f2d..000000000000 --- a/pkgs/tools/misc/hdfview/remove-properties-timestamp.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/build.xml b/build.xml -index fcc4931..2afeb6c 100644 ---- a/build.xml -+++ b/build.xml -@@ -345,6 +345,9 @@ - <entry key="HDF5_VERSION" value="${hdf5.version}"/> - <entry key="HDFVIEW_VERSION" value="${app.version}"/> - </propertyfile> -+ <exec executable="sed" failonerror="true"> -+ <arg line="-i /#/d ${classes.dir}/hdf/versions.properties" /> -+ </exec> - </target> - - <target name="compile" depends="clean, create-property-file, compileobj, compilehdf4, compilefits, compilenc2, compilehdf5"> diff --git a/pkgs/tools/misc/hdl-dump/default.nix b/pkgs/tools/misc/hdl-dump/default.nix deleted file mode 100644 index 8990a447dc0c..000000000000 --- a/pkgs/tools/misc/hdl-dump/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "hdl-dump"; - version = "unstable-2022-09-19"; - - src = fetchFromGitHub { - owner = "ps2homebrew"; - repo = pname; - rev = "87d3099d2ba39a15e86ebc7dc725e8eaa49f2d5f"; - hash = "sha256-eBqF4OGEaLQXQ4JMtD/Yn+f97RzKVsnC+4oyiEhLTUM="; - }; - - makeFlags = [ "RELEASE=yes" ]; - - installPhase = '' - install -Dm755 hdl_dump -t $out/bin - ''; - - meta = with lib; { - homepage = "https://github.com/ps2homebrew/hdl-dump"; - description = "PlayStation 2 HDLoader image dump/install utility"; - platforms = platforms.linux; - license = licenses.gpl2Only; - maintainers = with maintainers; [ makefu ]; - mainProgram = "hdl_dump"; - }; -} diff --git a/pkgs/tools/misc/heatseeker/default.nix b/pkgs/tools/misc/heatseeker/default.nix deleted file mode 100644 index 79377f0f22ac..000000000000 --- a/pkgs/tools/misc/heatseeker/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, coreutils }: - -rustPlatform.buildRustPackage rec { - pname = "heatseeker"; - version = "1.7.2"; - - src = fetchFromGitHub { - owner = "rschmitt"; - repo = "heatseeker"; - rev = "v${version}"; - sha256 = "sha256-SU5HLAFA7IHnVhsmVtxskteeKKIEvvVSqHIeEk5BkfA="; - }; - - cargoHash = "sha256-RHD2/Uvj8NWpZ+xK16xTN5K/hDWYhwHnu2E5NslGFQI="; - - # https://github.com/rschmitt/heatseeker/issues/42 - # I've suggested using `/usr/bin/env stty`, but doing that isn't quite as simple - # as a substitution, and this works since we have the path to coreutils stty. - patchPhase = '' - substituteInPlace src/screen/unix.rs --replace "/bin/stty" "${coreutils}/bin/stty" - ''; - - # some tests require a tty, this variable turns them off for Travis CI, - # which we can also make use of - TRAVIS = "true"; - - meta = with lib; { - description = "General-purpose fuzzy selector"; - homepage = "https://github.com/rschmitt/heatseeker"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "hs"; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/hebcal/default.nix b/pkgs/tools/misc/hebcal/default.nix deleted file mode 100644 index d8a2b3b7295b..000000000000 --- a/pkgs/tools/misc/hebcal/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook }: - -stdenv.mkDerivation rec { - version = "4.24"; - pname = "hebcal"; - - src = fetchFromGitHub { - owner = "hebcal"; - repo = "hebcal"; - rev = "v${version}"; - sha256 = "sha256-iWp2S3s8z/y4dZ66Ogqu7Yf4gTUvSS1J5F7d0ifRbcY="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - doCheck = true; - - meta = with lib; { - homepage = "https://hebcal.github.io"; - description = "Perpetual Jewish Calendar"; - longDescription = "Hebcal is a program which prints out the days in the Jewish calendar for a given Gregorian year. Hebcal is fairly flexible in terms of which events in the Jewish calendar it displays."; - license = licenses.gpl2Plus; - maintainers = [ maintainers.hhm ]; - platforms = platforms.all; - mainProgram = "hebcal"; - }; -} diff --git a/pkgs/tools/misc/heimdall/default.nix b/pkgs/tools/misc/heimdall/default.nix index ce56a4f4057b..d750bdb131c6 100644 --- a/pkgs/tools/misc/heimdall/default.nix +++ b/pkgs/tools/misc/heimdall/default.nix @@ -27,11 +27,11 @@ mkDerivation rec { preConfigure = '' # Give ownership of the Galaxy S USB device to the logged in user. substituteInPlace heimdall/60-heimdall.rules --replace 'MODE="0666"' 'TAG+="uaccess"' - '' + lib.optionalString stdenv.isDarwin '' + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace libpit/CMakeLists.txt --replace "-std=gnu++11" "" ''; - installPhase = lib.optionalString (stdenv.isDarwin && enableGUI) '' + installPhase = lib.optionalString (stdenv.hostPlatform.isDarwin && enableGUI) '' mkdir -p $out/Applications mv bin/heimdall-frontend.app $out/Applications/heimdall-frontend.app wrapQtApp $out/Applications/heimdall-frontend.app/Contents/MacOS/heimdall-frontend @@ -44,7 +44,7 @@ mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; homepage = "http://www.glassechidna.com.au/products/heimdall/"; description = "Cross-platform tool suite to flash firmware onto Samsung Galaxy S devices"; license = licenses.mit; diff --git a/pkgs/tools/misc/hex/default.nix b/pkgs/tools/misc/hex/default.nix deleted file mode 100644 index f7f830080782..000000000000 --- a/pkgs/tools/misc/hex/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, testers -, hex -}: - -rustPlatform.buildRustPackage rec { - pname = "hex"; - version = "0.6.0"; - - src = fetchFromGitHub { - owner = "sitkevij"; - repo = "hex"; - rev = "v${version}"; - hash = "sha256-YctXDhCMJvDQLPsuhzdyYDUIlFE2vKltNtrFFeE7YE8="; - }; - - cargoHash = "sha256-Nlha9Zn0qaQhpN2ivbBvpIPxCN2I7BtJJULb6sYdpdo="; - - passthru.tests.version = testers.testVersion { - package = hex; - version = "hx ${version}"; - }; - - meta = with lib; { - description = "Futuristic take on hexdump, made in Rust"; - homepage = "https://github.com/sitkevij/hex"; - changelog = "https://github.com/sitkevij/hex/releases/tag/v${version}"; - mainProgram = "hx"; - license = licenses.mit; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/hexd/default.nix b/pkgs/tools/misc/hexd/default.nix deleted file mode 100644 index 140db3435083..000000000000 --- a/pkgs/tools/misc/hexd/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "hexd"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "FireyFly"; - repo = "hexd"; - rev = "v${version}"; - sha256 = "sha256-b/dROBQVPEiMBTcu4MTi6Lf6ChkFZqZrJ1V0j54rrFY="; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Colourful, human-friendly hexdump tool"; - homepage = "https://github.com/FireyFly/hexd"; - maintainers = [ maintainers.FireyFly ]; - license = licenses.mit; - platforms = platforms.unix; - mainProgram = "hexd"; - }; -} diff --git a/pkgs/tools/misc/hexdiff/default.nix b/pkgs/tools/misc/hexdiff/default.nix deleted file mode 100644 index 9ee711e7457e..000000000000 --- a/pkgs/tools/misc/hexdiff/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation { - pname = "hexdiff"; - version = "unstable-2018-01-24"; - - src = fetchFromGitHub { - owner = "ahroach"; - repo = "hexdiff"; - rev = "3e96f27e65167c619ede35ab04232163dc273e69"; - sha256 = "sha256-G6Qi7e4o+0ahcslJ8UfJrdoc8NNkY+nl6kyDlkJCo9I="; - }; - - dontConfigure = true; - - buildPhase = '' - runHook preBuild - - $CC -o hexdiff hexdiff.c - - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - install -D hexdiff -t $out/bin/ - - runHook postInstall - ''; - - meta = { - homepage = "https://github.com/ahroach/hexdiff"; - description = "Terminal application for differencing two binary files, with color-coded output"; - license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ rogarb ]; - platforms = lib.platforms.linux; - mainProgram = "hexdiff"; - }; -} diff --git a/pkgs/tools/misc/hexyl/default.nix b/pkgs/tools/misc/hexyl/default.nix deleted file mode 100644 index 5f72c7a702f3..000000000000 --- a/pkgs/tools/misc/hexyl/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "hexyl"; - version = "0.14.0"; - - src = fetchFromGitHub { - owner = "sharkdp"; - repo = pname; - rev = "v${version}"; - hash = "sha256-di7SBuB4LsnqlP3BdMcsSLj4zpyKA/ninVpRyR9AJaI="; - }; - - cargoHash = "sha256-fXrdOiCmRgMPJxZIS/SkTkZZkag8ZUhNnMlU4k1m/+0="; - - meta = with lib; { - description = "Command-line hex viewer"; - longDescription = '' - `hexyl` is a simple hex viewer for the terminal. It uses a colored - output to distinguish different categories of bytes (NULL bytes, - printable ASCII characters, ASCII whitespace characters, other ASCII - characters and non-ASCII). - ''; - homepage = "https://github.com/sharkdp/hexyl"; - changelog = "https://github.com/sharkdp/hexyl/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ dywedir figsoda SuperSandro2000 ]; - mainProgram = "hexyl"; - }; -} diff --git a/pkgs/tools/misc/hhpc/default.nix b/pkgs/tools/misc/hhpc/default.nix deleted file mode 100644 index 71c39c68acce..000000000000 --- a/pkgs/tools/misc/hhpc/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{lib, stdenv, fetchFromGitHub, xorg, pkg-config}: - -stdenv.mkDerivation rec { - pname = "hhpc"; - version = "0.3.1"; - - src = fetchFromGitHub { - owner = "aktau"; - repo = "hhpc"; - rev = "v${version}"; - sha256 = "1djsw1r38mh6zx0rbyn2cfa931hyddib4fl3i27c4z7xinl709ss"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ xorg.libX11 ]; - - installPhase = '' - mkdir -p $out/bin - cp hhpc $out/bin/ - ''; - - meta = with lib; { - description = "Hides the mouse pointer in X11"; - maintainers = with maintainers; [ nico202 ]; - platforms = platforms.unix; - license = lib.licenses.bsd3; - mainProgram = "hhpc"; - }; -} diff --git a/pkgs/tools/misc/hid-listen/default.nix b/pkgs/tools/misc/hid-listen/default.nix deleted file mode 100644 index d126bb9e850f..000000000000 --- a/pkgs/tools/misc/hid-listen/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchzip }: -stdenv.mkDerivation rec { - pname = "hid-listen"; - version = "1.01"; - - src = fetchzip { - name = "hid_listen_${version}"; - url = "https://www.pjrc.com/teensy/hid_listen_${version}.zip"; - sha256 = "0sd4dvi39fl4vy880mg531ryks5zglfz5mdyyqr7x6qv056ffx9w"; - }; - - installPhase = '' - mkdir -p $out/bin - mv ./hid_listen $out/bin/hid_listen - ''; - - meta = with lib; { - description = "Tool thats prints debugging information from usb HID devices"; - homepage = "https://www.pjrc.com/teensy/hid_listen.html"; - license = licenses.gpl3; - maintainers = with maintainers; [ tomsmeets ]; - platforms = platforms.linux; - mainProgram = "hid_listen"; - }; -} diff --git a/pkgs/tools/misc/hid-tools/default.nix b/pkgs/tools/misc/hid-tools/default.nix deleted file mode 100644 index 82c61caf020a..000000000000 --- a/pkgs/tools/misc/hid-tools/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ python3 -, lib -, fetchFromGitLab -}: - -python3.pkgs.buildPythonPackage rec { - pname = "hid-tools"; - version = "0.7"; - - format = "pyproject"; - - src = fetchFromGitLab { - domain = "gitlab.freedesktop.org"; - owner = "libevdev"; - repo = "hid-tools"; - rev = version; - hash = "sha256-h880jJcZDc9pIPf+nr30wu2i9y3saAKFZpooJ4MF67E="; - }; - - nativeBuildInputs = with python3.pkgs; [ - hatchling - pypandoc - ]; - - propagatedBuildInputs = with python3.pkgs; [ - libevdev - parse - pyyaml - click - pyudev - typing-extensions - ]; - - nativeCheckInputs = with python3.pkgs; [ - pytestCheckHook - ]; - - # Tests require /dev/uhid - # https://gitlab.freedesktop.org/libevdev/hid-tools/-/issues/18#note_166353 - doCheck = false; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "pypandoc_binary" "pypandoc" - ''; - - meta = with lib; { - description = "Python scripts to manipulate HID data"; - homepage = "https://gitlab.freedesktop.org/libevdev/hid-tools"; - license = licenses.mit; - maintainers = teams.freedesktop.members; - }; -} diff --git a/pkgs/tools/misc/hidrd/default.nix b/pkgs/tools/misc/hidrd/default.nix deleted file mode 100644 index 5ce3e969f276..000000000000 --- a/pkgs/tools/misc/hidrd/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook }: - -stdenv.mkDerivation { - pname = "hidrd"; - version = "unstable-2019-06-03"; - - src = fetchFromGitHub { - owner = "DIGImend"; - repo = "hidrd"; - rev = "6c0ed39708a5777ac620f902f39c8a0e03eefe4e"; - sha256 = "1rnhq6b0nrmphdig1qrpzpbpqlg3943gzpw0v7p5rwcdynb6bb94"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - meta = with lib; { - description = "HID report descriptor I/O library and conversion tool"; - homepage = "https://github.com/DIGImend/hidrd"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ pacien ]; - platforms = platforms.all; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/hidrd.x86_64-darwin - mainProgram = "hidrd-convert"; - }; -} diff --git a/pkgs/tools/misc/hiksink/default.nix b/pkgs/tools/misc/hiksink/default.nix index def3f4776949..77e74e8116f7 100644 --- a/pkgs/tools/misc/hiksink/default.nix +++ b/pkgs/tools/misc/hiksink/default.nix @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; diff --git a/pkgs/tools/misc/hoard/default.nix b/pkgs/tools/misc/hoard/default.nix deleted file mode 100644 index 4bdf7b7127b8..000000000000 --- a/pkgs/tools/misc/hoard/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, openssl -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "hoard"; - version = "1.4.2"; - - src = fetchFromGitHub { - owner = "Hyde46"; - repo = "hoard"; - rev = "v${version}"; - hash = "sha256-c9iSbxkHwLOeATkO7kzTyLD0VAwZUzCvw5c4FyuR5/E="; - }; - - cargoHash = "sha256-4EeeD1ySR4M1i2aaKJP/BNSn+t1l8ingiv2ZImFFn1A="; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ - openssl - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - meta = with lib; { - description = "CLI command organizer written in rust"; - homepage = "https://github.com/hyde46/hoard"; - changelog = "https://github.com/Hyde46/hoard/blob/${src.rev}/CHANGES.md"; - license = licenses.mit; - maintainers = with maintainers; [ builditluc figsoda ]; - mainProgram = "hoard"; - }; -} diff --git a/pkgs/tools/misc/hostmux/default.nix b/pkgs/tools/misc/hostmux/default.nix deleted file mode 100644 index 27e714a5e7f7..000000000000 --- a/pkgs/tools/misc/hostmux/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -, openssh -, tmux -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "hostmux"; - version = "1.4.0"; - - src = fetchFromGitHub { - owner = "hukl"; - repo = "hostmux"; - rev = finalAttrs.version; - hash = "sha256-odN7QFsU3MsWW8VabVjZH+8+AUFOUio8eF9ORv9iPEA="; - }; - - nativeBuildInputs = [ - installShellFiles - ]; - - buildInputs = [ - openssh - tmux - ]; - - postPatch = '' - substituteInPlace hostmux \ - --replace "SSH_CMD=ssh" "SSH_CMD=${openssh}/bin/ssh" \ - --replace "tmux -2" "${tmux}/bin/tmux -2" \ - --replace "tmux s" "${tmux}/bin/tmux s" - ''; - - installPhase = '' - runHook preInstall - - install -Dm755 hostmux $out/bin/hostmux - installManPage man/hostmux.1 - installShellCompletion --zsh zsh-completion/_hostmux - - runHook postInstall - ''; - - meta = { - description = "Small wrapper script for tmux to easily connect to a series of hosts via ssh and open a split pane for each of the hosts"; - homepage = "https://github.com/hukl/hostmux"; - license = lib.licenses.mit; - mainProgram = "hostmux"; - maintainers = with lib.maintainers; [ fernsehmuell ]; - platforms = lib.platforms.unix; - }; -}) diff --git a/pkgs/tools/misc/hostsblock/default.nix b/pkgs/tools/misc/hostsblock/default.nix deleted file mode 100644 index 96eac13b76a4..000000000000 --- a/pkgs/tools/misc/hostsblock/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ lib, coreutils, curl, fetchFromGitHub, unzip, p7zip, gnused, gnugrep, stdenv -, blacklist ? [ "adwords.google.com" ] -, whitelist ? [ - ".dropbox.com" - " www.malwaredomainlists.com" - " www.arcamax.com" - " www.instructables.com" - " goo.gl" - " www.reddit.com" - " t.co" - " bit.ly" - " www.viddler.com" - " viddler.com" - " tinyurl.com" - " ompldr.org" - " www.ompldr.org" - "login.yahoo.com" - " l.yimg.com" - ".bp.blogspot.com" -] }: - -stdenv.mkDerivation { - pname = "hostsblock"; - version = "20161213"; - - src = fetchFromGitHub { - owner = "gaenserich"; - repo = "hostsblock"; - rev = "91cacbdfbfb5e7ae9ba3babf8de41e135270c310"; - sha256 = "1w91fbgf8v2nn0a6m8l6kd455km2j1lvpvqil4yxhrg018aigax0"; - }; - - installPhase = '' - mkdir -p $out/bin - install -Dm744 src/hostsblock.sh $out/bin/hostsblock - install -Dm744 src/hostsblock-urlcheck.sh $out/bin/hostsblock-urlcheck - - mkdir -p $out/lib - install -Dm644 src/hostsblock-common.sh $out/lib/ - - mkdir -p $out/etc - install -Dm644 conf/hostsblock.conf $out/etc/ - ${lib.concatMapStrings (d: "echo ${d} >> $out/etc/black.list\n") blacklist} - ${lib.concatMapStrings (d: "echo ${d} >> $out/etc/white.list\n") whitelist} - install -Dm644 conf/hosts.head $out/etc/ - - for f in $out/bin/* $out/lib/* $out/etc/hostsblock.conf; do - substituteInPlace $f --replace "/dev/shm" "/tmp" - substituteInPlace $f --replace "/usr/lib/" "$out/lib/" - substituteInPlace $f --replace "/etc/hostsblock/" "$out/etc/" - sed --in-place --regexp-extended "s|([\` ])curl |\1${curl}/bin/curl |g" $f - substituteInPlace $f --replace grep ${gnugrep}/bin/grep - substituteInPlace $f --replace " sed " " ${gnused}/bin/sed " - sed --in-place --regexp-extended "s|([^_])unzip |\1${unzip}/bin/unzip |" $f - sed --in-place --regexp-extended "s|7za([^,])|${p7zip}/bin/7za\1|g" $f - done - - echo "postprocess(){ ${coreutils}/bin/true; }" >> $out/etc/hostsblock.conf - - mkdir -p $out/share/dbus-1/system-services - install -Dm644 systemd/hostsblock.service $out/share/dbus-1/system-services - install -Dm644 systemd/hostsblock.timer $out/share/dbus-1/system-services - ''; - - meta = with lib; { - description = "Ad- and malware-blocking script for Linux"; - homepage = "http://gaenserich.github.io/hostsblock/"; - license = licenses.gpl3; - maintainers = [ maintainers.nicknovitski ]; - platforms = platforms.unix; - }; - -} diff --git a/pkgs/tools/misc/hpcg/default.nix b/pkgs/tools/misc/hpcg/default.nix deleted file mode 100644 index 3ae5e7e1404a..000000000000 --- a/pkgs/tools/misc/hpcg/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchurl, mpi } : - -stdenv.mkDerivation rec { - pname = "hpcg"; - version = "3.1"; - - src = fetchurl { - url = "http://www.hpcg-benchmark.org/downloads/hpcg-${version}.tar.gz"; - sha256 = "197lw2nwmzsmfsbvgvi8z7kj69n374kgfzzp8pkmk7mp2vkk991k"; - }; - - dontConfigure = true; - - enableParallelBuilding = true; - - buildInputs = [ mpi ]; - - makeFlags = [ "arch=Linux_MPI" ]; - - installPhase = '' - mkdir -p $out/bin $out/share/hpcg - - cp bin/xhpcg $out/bin - cp bin/hpcg.dat $out/share/hpcg - ''; - - meta = with lib; { - description = "HPC conjugate gradient benchmark"; - homepage = "https://www.hpcg-benchmark.org"; - platforms = platforms.linux; - license = licenses.bsd3; - maintainers = [ maintainers.markuskowa ]; - mainProgram = "xhpcg"; - }; -} - diff --git a/pkgs/tools/misc/hpl/default.nix b/pkgs/tools/misc/hpl/default.nix deleted file mode 100644 index 0abd8edd527b..000000000000 --- a/pkgs/tools/misc/hpl/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, blas, lapack, mpi } : - -assert (!blas.isILP64) && (!lapack.isILP64); - -stdenv.mkDerivation rec { - pname = "hpl"; - version = "2.3"; - - src = fetchurl { - url = "http://www.netlib.org/benchmark/hpl/hpl-${version}.tar.gz"; - sha256 = "0c18c7fzlqxifz1bf3izil0bczv3a7nsv0dn6winy3ik49yw3i9j"; - }; - - enableParallelBuilding = true; - - postInstall = '' - # only contains the static lib - rm -r $out/lib - - install -D testing/ptest/HPL.dat $out/share/hpl/HPL.dat - ''; - - buildInputs = [ blas lapack mpi ]; - - meta = with lib; { - description = "Portable Implementation of the Linpack Benchmark for Distributed-Memory Computers"; - homepage = "http://www.netlib.org/benchmark/hpl/"; - platforms = platforms.unix; - license = licenses.bsdOriginal; - maintainers = [ maintainers.markuskowa ]; - mainProgram = "xhpl"; - }; -} diff --git a/pkgs/tools/misc/hsd/default.nix b/pkgs/tools/misc/hsd/default.nix deleted file mode 100644 index 44100e15283c..000000000000 --- a/pkgs/tools/misc/hsd/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, buildNpmPackage -, fetchFromGitHub -, python3 -, unbound -, cctools -}: - -buildNpmPackage rec { - pname = "hsd"; - version = "6.1.1"; - - src = fetchFromGitHub { - owner = "handshake-org"; - repo = "hsd"; - rev = "v${version}"; - hash = "sha256-T57kDEQwHIyW7xVXrzjJdUcocST9ks4x3JR8yytH8P4="; - }; - - npmDepsHash = "sha256-EBrCuRckBg42k6ZUoB25xObv3lULnSPNJ2nO9l/TWvA="; - - nativeBuildInputs = [ - python3 - ] ++ lib.optionals stdenv.isDarwin [ - cctools - ]; - - buildInputs = [ - unbound - ]; - - dontNpmBuild = true; - - meta = { - changelog = "https://github.com/handshake-org/hsd/blob/${src.rev}/CHANGELOG.md"; - description = "Implementation of the Handshake protocol"; - homepage = "https://github.com/handshake-org/hsd"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ d-xo ]; - }; -} diff --git a/pkgs/tools/misc/hueadm/default.nix b/pkgs/tools/misc/hueadm/default.nix deleted file mode 100644 index 30cbaa591cc5..000000000000 --- a/pkgs/tools/misc/hueadm/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -}: - -buildNpmPackage rec { - pname = "hueadm"; - version = "1.2.1"; - - src = fetchFromGitHub { - owner = "bahamas10"; - repo = "hueadm"; - rev = "v${version}"; - hash = "sha256-QNjkfE8V/lUkYP8NAf11liKXILBk3wSNm3NSrgaH+nc="; - }; - - npmDepsHash = "sha256-EbwHbPe8QvT6ekH20q+ihGmwpAHykwkwoJ6vwAf0FlA="; - - dontNpmBuild = true; - - meta = { - description = "Command line management interface to Philips Hue"; - homepage = "https://github.com/bahamas10/hueadm"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ sigmanificient ]; - mainProgram = "hueadm"; - }; -} diff --git a/pkgs/tools/misc/hunt/default.nix b/pkgs/tools/misc/hunt/default.nix deleted file mode 100644 index 69b9de8f7e3d..000000000000 --- a/pkgs/tools/misc/hunt/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "hunt"; - version = "2.4.0"; - - src = fetchFromGitHub { - owner = "LyonSyonII"; - repo = "hunt-rs"; - rev = "v${version}"; - sha256 = "sha256-NKXZECtepuFg6qTuXF9Gnat/vnrygt3UOZb0YUKPqi8="; - }; - - cargoHash = "sha256-ExwcFJVqQF/RTUyv1FvOCnlB+9Z7uhi/5UUjW7WcXTk="; - - meta = with lib; { - description = "Simplified Find command made with Rust"; - homepage = "https://github.com/LyonSyonII/hunt-rs"; - license = licenses.mit; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "hunt"; - }; -} diff --git a/pkgs/tools/misc/hwatch/default.nix b/pkgs/tools/misc/hwatch/default.nix deleted file mode 100644 index 2734f395570c..000000000000 --- a/pkgs/tools/misc/hwatch/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, testers, hwatch, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "hwatch"; - version = "0.3.15"; - - src = fetchFromGitHub { - owner = "blacknon"; - repo = pname; - rev = "refs/tags/${version}"; - sha256 = "sha256-UmNxdp9acRCKnUsKw7Z9z3knRvVkqQ5atxR/dqpGBYE="; - }; - - cargoHash = "sha256-pEhogmK2WBj/PxcDtJs/H0XZhPiz3zCQMX2eUcAfnTE="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion --cmd hwatch \ - --bash $src/completion/bash/hwatch-completion.bash \ - --fish $src/completion/fish/hwatch.fish \ - --zsh $src/completion/zsh/_hwatch \ - ''; - - passthru.tests.version = testers.testVersion { - package = hwatch; - }; - - meta = with lib; { - homepage = "https://github.com/blacknon/hwatch"; - description = "Modern alternative to the watch command"; - longDescription = '' - A modern alternative to the watch command, records the differences in - execution results and can check this differences at after. - ''; - license = licenses.mit; - maintainers = with maintainers; [ hamburger1984 ]; - mainProgram = "hwatch"; - }; -} diff --git a/pkgs/tools/misc/hyfetch/default.nix b/pkgs/tools/misc/hyfetch/default.nix deleted file mode 100644 index 2e906541bda1..000000000000 --- a/pkgs/tools/misc/hyfetch/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "hyfetch"; - version = "1.4.11"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "hykilpikonna"; - repo = "hyfetch"; - rev = "refs/tags/${version}"; - hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - typing-extensions - setuptools - ]; - - # No test available - doCheck = false; - - pythonImportsCheck = [ - "hyfetch" - ]; - - meta = with lib; { - description = "neofetch with pride flags <3"; - longDescription = '' - HyFetch is a command-line system information tool fork of neofetch. - HyFetch displays information about your system next to your OS logo - in ASCII representation. The ASCII representation is then colored in - the pattern of the pride flag of your choice. The main purpose of - HyFetch is to be used in screenshots to show other users what - operating system or distribution you are running, what theme or - icon set you are using, etc. - ''; - homepage = "https://github.com/hykilpikonna/HyFetch"; - license = licenses.mit; - mainProgram = "hyfetch"; - maintainers = with maintainers; [ yisuidenghua ]; - }; -} diff --git a/pkgs/tools/misc/hyperfine/default.nix b/pkgs/tools/misc/hyperfine/default.nix index 16de5fa76f3d..e4922824d729 100644 --- a/pkgs/tools/misc/hyperfine/default.nix +++ b/pkgs/tools/misc/hyperfine/default.nix @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-E2y/hQNcpW6b/ZJBlsp+2RDH2OgpX4kbn36aBHA5X6U="; nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optional stdenv.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; postInstall = '' installManPage doc/hyperfine.1 diff --git a/pkgs/tools/misc/hyperledger-fabric/default.nix b/pkgs/tools/misc/hyperledger-fabric/default.nix deleted file mode 100644 index 2647b6568772..000000000000 --- a/pkgs/tools/misc/hyperledger-fabric/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "hyperledger-fabric"; - version = "2.5.5"; - - src = fetchFromGitHub { - owner = "hyperledger"; - repo = "fabric"; - rev = "v${version}"; - hash = "sha256-Ev9a+d15kr6apKyGR5xTa/2I3cByyPSTW2Y+HAQk9GU="; - }; - - vendorHash = null; - - postPatch = '' - # Broken - rm cmd/peer/main_test.go - # Requires network - rm cmd/osnadmin/main_test.go - ''; - - subPackages = [ - "cmd/configtxgen" - "cmd/configtxlator" - "cmd/cryptogen" - "cmd/discover" - "cmd/ledgerutil" - "cmd/orderer" - "cmd/osnadmin" - "cmd/peer" - ]; - - ldflags = [ - "-s" - "-w" - "-X github.com/hyperledger/fabric/common/metadata.Version=${version}" - "-X github.com/hyperledger/fabric/common/metadata.CommitSha=${src.rev}" - ]; - - meta = with lib; { - description = "High-performance, secure, permissioned blockchain network"; - longDescription = '' - Hyperledger Fabric is an enterprise-grade permissioned distributed ledger - framework for developing solutions and applications. Its modular and - versatile design satisfies a broad range of industry use cases. It offers - a unique approach to consensus that enables performance at scale while - preserving privacy. - ''; - homepage = "https://wiki.hyperledger.org/display/fabric"; - license = licenses.asl20; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/hyperpotamus/default.nix b/pkgs/tools/misc/hyperpotamus/default.nix deleted file mode 100644 index 869b8aea9143..000000000000 --- a/pkgs/tools/misc/hyperpotamus/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -}: - -buildNpmPackage rec { - pname = "hyperpotamus"; - version = "0.39.0"; - - src = fetchFromGitHub { - owner = "pmarkert"; - repo = "hyperpotamus"; - rev = "v${version}"; - hash = "sha256-dExkvObz+PNjqAZnigZHs/DCSHq31jDg9pgFmmtPmWk="; - }; - - npmDepsHash = "sha256-cH0VEhs4q13gnFKQmmu8fXjueBu/u7xtySE6HTm+bik="; - - dontNpmBuild = true; - - meta = { - description = "YAML based HTTP script processing engine"; - homepage = "https://github.com/pmarkert/hyperpotamus"; - license = lib.licenses.mit; - mainProgram = "hyperpotamus"; - maintainers = with lib.maintainers; [ onny ]; - }; -} diff --git a/pkgs/tools/misc/i3minator/default.nix b/pkgs/tools/misc/i3minator/default.nix deleted file mode 100644 index d56ee6eadc7a..000000000000 --- a/pkgs/tools/misc/i3minator/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages, glibcLocales }: - -python3Packages.buildPythonApplication rec { - pname = "i3minator"; - version = "0.0.4"; - - src = fetchFromGitHub { - owner = "carlesso"; - repo = "i3minator"; - rev = version; - sha256 = "07dic5d2m0zw0psginpl43xn0mpxw7wilj49d02knz69f7c416lm"; - }; - - LC_ALL = "en_US.UTF-8"; - buildInputs = [ glibcLocales ]; - propagatedBuildInputs = [ python3Packages.pyyaml python3Packages.i3-py ]; - - # No tests - doCheck = false; - - meta = with lib; { - description = "i3 project manager similar to tmuxinator"; - mainProgram = "i3minator"; - longDescription = '' - A simple "workspace manager" for i3. It allows to quickly - manage workspaces defining windows and their layout. The - project is inspired by tmuxinator and uses i3-py. - ''; - homepage = "https://github.com/carlesso/i3minator"; - license = lib.licenses.wtfpl; - maintainers = with maintainers; [ domenkozar ]; - platforms = lib.platforms.linux; - }; - -} diff --git a/pkgs/tools/misc/i3nator/default.nix b/pkgs/tools/misc/i3nator/default.nix deleted file mode 100644 index ede71688175e..000000000000 --- a/pkgs/tools/misc/i3nator/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "i3nator"; - version = "1.2.0"; - - src = fetchFromGitHub { - owner = "pitkley"; - repo = pname; - rev = version; - sha256 = "10rxvxq48dhzlw5p9fsj6x0ci4pap85s9b192zakgvk4h97ifp2p"; - }; - - cargoHash = "sha256-74woBoLXuxE4v3iMvc+QWz5n5F5/peaFBgZu+3ULXRM="; - - meta = with lib; { - description = "Tmuxinator for the i3 window manager"; - homepage = "https://github.com/pitkley/i3nator"; - license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ mpoquet ]; - mainProgram = "i3nator"; - }; -} diff --git a/pkgs/tools/misc/iam-policy-json-to-terraform/default.nix b/pkgs/tools/misc/iam-policy-json-to-terraform/default.nix deleted file mode 100644 index 1c83bb6e3d99..000000000000 --- a/pkgs/tools/misc/iam-policy-json-to-terraform/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "iam-policy-json-to-terraform"; - version = "1.8.2"; - - src = fetchFromGitHub { - owner = "flosell"; - repo = pname; - rev = version; - sha256 = "sha256-ovmWZpeHt1L8zNzG7+2BohteSjpYADMivi+AP0Vm8/E="; - }; - - vendorHash = "sha256-1WTc7peTJI3IvHJqznqRz29uQ2NG0CZpAAzlyYymZCQ="; - - meta = with lib; { - description = "Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document"; - homepage = "https://github.com/flosell/iam-policy-json-to-terraform"; - changelog = "https://github.com/flosell/iam-policy-json-to-terraform/releases/tag/${version}"; - license = licenses.asl20; - maintainers = [ maintainers.ivankovnatsky ]; - }; -} diff --git a/pkgs/tools/misc/iay/default.nix b/pkgs/tools/misc/iay/default.nix index 1ef3d332e75d..5973ed258b59 100644 --- a/pkgs/tools/misc/iay/default.nix +++ b/pkgs/tools/misc/iay/default.nix @@ -28,14 +28,14 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Cocoa Foundation Security ]; - NIX_LDFLAGS = lib.optionals stdenv.isDarwin [ "-framework" "AppKit" ]; + NIX_LDFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ]; meta = with lib; { description = "Minimalistic, blazing-fast, and extendable prompt for bash and zsh"; diff --git a/pkgs/tools/misc/ibus-theme-tools/default.nix b/pkgs/tools/misc/ibus-theme-tools/default.nix deleted file mode 100644 index 05c56edd3697..000000000000 --- a/pkgs/tools/misc/ibus-theme-tools/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub, gettext }: - -python3Packages.buildPythonApplication rec { - pname = "ibus-theme-tools"; - version = "4.2.0"; - - src = fetchFromGitHub { - owner = "openSUSE"; - repo = "IBus-Theme-Tools"; - rev = "v${version}"; - sha256 = "0i8vwnikwd1bfpv4xlgzc51gn6s18q58nqhvcdiyjzcmy3z344c2"; - }; - - buildInputs = [ gettext ]; - - propagatedBuildInputs = with python3Packages; [ tinycss2 pygobject3 ]; - - # No test. - doCheck = false; - - pythonImportsCheck = [ "ibus_theme_tools" ]; - - meta = with lib; { - description = "Generate the IBus GTK or GNOME Shell theme from existing themes"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ hollowman6 ]; - homepage = "https://github.com/openSUSE/IBus-Theme-Tools"; - mainProgram = "ibus-theme-tools"; - }; -} diff --git a/pkgs/tools/misc/ical2orgpy/default.nix b/pkgs/tools/misc/ical2orgpy/default.nix deleted file mode 100644 index ac5607b4a819..000000000000 --- a/pkgs/tools/misc/ical2orgpy/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -}: - -python3.pkgs.buildPythonApplication rec { - pname = "ical2orgpy"; - version = "0.5"; - - format = "setuptools"; - - src = fetchFromGitHub { - owner = "ical2org-py"; - repo = "ical2org.py"; - rev = version; - hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - click - future - icalendar - pytz - tzlocal - recurring-ical-events - ]; - - nativeCheckInputs = with python3.pkgs; [ - freezegun - pytestCheckHook - pyyaml - ]; - - meta = with lib; { - changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.rev}/CHANGELOG.rst"; - description = "Converting ICAL file into org-mode format"; - homepage = "https://github.com/ical2org-py/ical2org.py"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ StillerHarpo ]; - mainProgram = "ical2orgpy"; - }; - -} diff --git a/pkgs/tools/misc/ictree/default.nix b/pkgs/tools/misc/ictree/default.nix deleted file mode 100644 index c8ffdc090c20..000000000000 --- a/pkgs/tools/misc/ictree/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ stdenv, lib, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "ictree"; - version = "1.0.1"; - - src = fetchFromGitHub { - owner = "NikitaIvanovV"; - repo = pname; - rev = "v${version}"; - hash = "sha256-77Wo6jN8VUGTXBuGL0a9kvSIixdyEQoxqqNsHq9jcWw="; - fetchSubmodules = true; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Like tree but interactive"; - homepage = "https://github.com/NikitaIvanovV/ictree"; - platforms = platforms.unix; - maintainers = with maintainers; [ foo-dogsquared ]; - mainProgram = "ictree"; - }; -} diff --git a/pkgs/tools/misc/ideviceinstaller/default.nix b/pkgs/tools/misc/ideviceinstaller/default.nix deleted file mode 100644 index 3071aab6d101..000000000000 --- a/pkgs/tools/misc/ideviceinstaller/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, usbmuxd -, libimobiledevice -, libzip -}: - -stdenv.mkDerivation rec { - pname = "ideviceinstaller"; - version = "1.1.1+date=2023-04-30"; - - src = fetchFromGitHub { - owner = "libimobiledevice"; - repo = pname; - rev = "71ec5eaa30d2780c2614b6b227a2229ea3aeb1e9"; - hash = "sha256-YsQwAlt71vouYJzXl0P7b3fG/MfcwI947GtvN4g3/gM="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - - buildInputs = [ - usbmuxd - libimobiledevice - libzip - ]; - - # the package uses zip_get_num_entries, which is deprecated - env.NIX_CFLAGS_COMPILE = toString [ - "-Wno-error=deprecated-declarations" - ]; - - preAutoreconf = '' - export RELEASE_VERSION=${version} - ''; - - meta = with lib; { - homepage = "https://github.com/libimobiledevice/ideviceinstaller"; - description = "List/modify installed apps of iOS devices"; - longDescription = '' - ideviceinstaller is a tool to interact with the installation_proxy - of an iOS device allowing to install, upgrade, uninstall, archive, restore - and enumerate installed or archived apps. - ''; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ aristid ]; - mainProgram = "ideviceinstaller"; - }; -} diff --git a/pkgs/tools/misc/idevicerestore/default.nix b/pkgs/tools/misc/idevicerestore/default.nix deleted file mode 100644 index 55fa9fcda8ba..000000000000 --- a/pkgs/tools/misc/idevicerestore/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, curl -, libimobiledevice -, libirecovery -, libzip -, libusbmuxd -}: - -stdenv.mkDerivation rec { - pname = "idevicerestore"; - version = "1.0.0+date=2023-05-23"; - - src = fetchFromGitHub { - owner = "libimobiledevice"; - repo = pname; - rev = "609f7f058487596597e8e742088119fdd46729df"; - hash = "sha256-VXtXAitPC1+pxZlkGBg+u6yYhyM/jVpSgDO/6dXh5V4="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - - buildInputs = [ - curl - libimobiledevice - libirecovery - libzip - libusbmuxd - # Not listing other dependencies specified in - # https://github.com/libimobiledevice/idevicerestore/blob/8a882038b2b1e022fbd19eaf8bea51006a373c06/README#L20 - # because they are inherited `libimobiledevice`. - ]; - - preAutoreconf = '' - export RELEASE_VERSION=${version} - ''; - - meta = with lib; { - homepage = "https://github.com/libimobiledevice/idevicerestore"; - description = "Restore/upgrade firmware of iOS devices"; - longDescription = '' - The idevicerestore tool allows to restore firmware files to iOS devices. - - It is a full reimplementation of all granular steps which are performed during - restore of a firmware to a device. - - In general, upgrades and downgrades are possible, however subject to - availability of SHSH blobs from Apple for signing the firmare files. - - To restore a device to some firmware, simply run the following: - $ sudo idevicerestore -l - - This will download and restore a device to the latest firmware available. - ''; - license = licenses.lgpl21Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ nh2 ]; - mainProgram = "idevicerestore"; - }; -} diff --git a/pkgs/tools/misc/idutils/default.nix b/pkgs/tools/misc/idutils/default.nix deleted file mode 100644 index cbdf1b761049..000000000000 --- a/pkgs/tools/misc/idutils/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ fetchurl, lib, stdenv, emacs, gnulib, autoconf, bison, automake, gettext, gperf, texinfo, perl, rsync, darwin }: - -stdenv.mkDerivation rec { - pname = "idutils"; - version = "4.6"; - - src = fetchurl { - url = "mirror://gnu/idutils/idutils-${version}.tar.xz"; - sha256 = "1hmai3422iaqnp34kkzxdnywl7n7pvlxp11vrw66ybxn9wxg90c1"; - }; - - preConfigure = '' - # replace embedded gnulib tests with those from gnulib package - bash -O extglob -c "cd gnulib-tests; rm -r !(Makefile.am)" - substituteInPlace ./configure.ac --replace "AC_PREREQ(2.61)" "AC_PREREQ(2.64)" - ./bootstrap --force --gnulib-srcdir=${gnulib} --skip-po --bootstrap-sync --no-git - ''; - - buildInputs = lib.optionals stdenv.isLinux [ - emacs - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.CoreServices - ]; - - nativeBuildInputs = [ gnulib autoconf bison automake gettext gperf texinfo perl rsync ]; - - doCheck = !stdenv.isDarwin; - - patches = [ ./nix-mapping.patch ]; - - meta = with lib; { - description = "Text searching utility"; - - longDescription = '' - An "ID database" is a binary file containing a list of file - names, a list of tokens, and a sparse matrix indicating which - tokens appear in which files. - - With this database and some tools to query it, many - text-searching tasks become simpler and faster. For example, - you can list all files that reference a particular `\#include' - file throughout a huge source hierarchy, search for all the - memos containing references to a project, or automatically - invoke an editor on all files containing references to some - function or variable. Anyone with a large software project to - maintain, or a large set of text files to organize, can benefit - from the ID utilities. - - Although the name `ID' is short for `identifier', the ID - utilities handle more than just identifiers; they also treat - other kinds of tokens, most notably numeric constants, and the - contents of certain character strings. - ''; - - homepage = "https://www.gnu.org/software/idutils/"; - license = licenses.gpl3Plus; - - maintainers = with maintainers; [ gfrascadorio ]; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/tools/misc/idutils/nix-mapping.patch b/pkgs/tools/misc/idutils/nix-mapping.patch deleted file mode 100644 index 6f92ffa07b52..000000000000 --- a/pkgs/tools/misc/idutils/nix-mapping.patch +++ /dev/null @@ -1,12 +0,0 @@ -Recognize `.nix' files as text files. - ---- idutils-4.5/libidu/id-lang.map 2009-05-17 16:38:42.000000000 +0200 -+++ idutils-4.5/libidu/id-lang.map 2010-07-04 15:52:48.000000000 +0200 -@@ -88,6 +88,7 @@ GNUmakefile make - *.doc text - *.txt text - *.org text -+*.nix text - - *.m4 m4 - *.ac m4 diff --git a/pkgs/tools/misc/ikill/default.nix b/pkgs/tools/misc/ikill/default.nix deleted file mode 100644 index 7b6ac685c50e..000000000000 --- a/pkgs/tools/misc/ikill/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "ikill"; - version = "1.6.0"; - - src = fetchFromGitHub { - owner = "pjmp"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-hOQBBwxkVnTkAZJi84qArwAo54fMC0zS+IeYMV04kUs="; - }; - - cargoHash = "sha256-zKa2FP0lBS2XjgPWfyPZ60aHyeAe0uNIFbmuX4Uo1rA="; - - meta = with lib; { - description = "Interactively kill running processes"; - homepage = "https://github.com/pjmp/ikill"; - maintainers = with maintainers; [ zendo ]; - license = [ licenses.mit ]; - platforms = platforms.linux; - mainProgram = "ikill"; - }; -} diff --git a/pkgs/tools/misc/ili2c/default.nix b/pkgs/tools/misc/ili2c/default.nix deleted file mode 100644 index 1d6f373db83a..000000000000 --- a/pkgs/tools/misc/ili2c/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, ant -, jdk8 -, jre8 -, makeWrapper -, stripJavaArchivesHook -}: - -let - jdk = jdk8; - jre = jre8; -in -stdenv.mkDerivation (finalAttrs: { - pname = "ili2c"; - version = "5.1.1"; # There are newer versions, but they use gradle - - nativeBuildInputs = [ - ant - jdk - makeWrapper - stripJavaArchivesHook - ]; - - src = fetchFromGitHub { - owner = "claeis"; - repo = "ili2c"; - rev = "ili2c-${finalAttrs.version}"; - hash = "sha256-FHhx+f253+UdbFjd2fOlUY1tpQ6pA2aVu9CBSwUVoKQ="; - }; - - patches = [ - # avoids modifying Version.properties file because that would insert the current timestamp into the file - ./dont-use-build-timestamp.patch - ]; - - buildPhase = '' - runHook preBuild - ant jar - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - install -Dm644 build/jar/ili2c.jar -t $out/share/ili2c - makeWrapper ${jre}/bin/java $out/bin/ili2c \ - --add-flags "-jar $out/share/ili2c/ili2c.jar" - - runHook postInstall - ''; - - meta = with lib; { - description = "INTERLIS Compiler"; - longDescription = '' - Checks the syntactical correctness of an INTERLIS data model. - ''; - homepage = "https://www.interlis.ch/downloads/ili2c"; - sourceProvenance = with sourceTypes; [ - fromSource - binaryBytecode # source bundles dependencies as jars - ]; - license = licenses.lgpl21Plus; - maintainers = with maintainers; teams.geospatial.members ++ [ das-g ]; - platforms = platforms.unix; - mainProgram = "ili2c"; - }; -}) diff --git a/pkgs/tools/misc/ili2c/dont-use-build-timestamp.patch b/pkgs/tools/misc/ili2c/dont-use-build-timestamp.patch deleted file mode 100644 index e3388c54ab53..000000000000 --- a/pkgs/tools/misc/ili2c/dont-use-build-timestamp.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/build.xml b/build.xml -index d0493d8..50d4286 100644 ---- a/build.xml -+++ b/build.xml -@@ -221,11 +221,6 @@ - </jar> - </target> - <target depends="init,compile-core,copyres" name="jar-core"> -- <propertyfile file="${versionfile}"> -- <!-- <entry key="versionMicro" type="int" value="1" operation="+"/> --> -- <entry key="versionDate" type="date" value="now" pattern="yyyyMMdd"/> -- </propertyfile> -- - <jar jarfile="${build}/jar/${ant.project.name}-core.jar"> - <!-- fileset dir="${build}/classes" excludes="ch/interlis/ili2c/tests/**/*.class" includes="ch/interlis/models/**/*.class,ch/interlis/ili2c/parser/**/*.class,ch/interlis/ili2c/generator/**/*.class,ch/interlis/ili2c/modelscan/**/*.class,ch/interlis/ili2c/metamodel/**/*.class,ch/interlis/ili2c/config/**/*.class,ch/interlis/ili2c/CompilerLogEvent.class,ch/interlis/ili2c/Ili2cException.class,ch/interlis/ili2c/Ili2cFailure.class,ch/interlis/ili2c/gui/UserSettings.class,ch/interlis/ilirepository/ReposManager.class,ch/interlis/ilirepository/impl/RepositoryAccessException.class,ch/interlis/ilirepository/Dataset.class"/--> - <fileset dir="${build}/classes-core" excludes="ch/interlis/ili2c/tests/**/*.class" /> -diff --git a/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java b/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java -index 9e165af..86d8f89 100644 ---- a/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java -+++ b/src-core/ch/interlis/ili2c/metamodel/TransferDescription.java -@@ -219,7 +219,7 @@ public static final String MIMETYPE_XTF = "application/interlis+xml;version=2.3" - ret.append(branch); - ret.append('-'); - } -- ret.append(resVersion.getString("versionDate")); -+ ret.append("nixpkgs"); - version = ret.toString(); - } - return version; diff --git a/pkgs/tools/misc/immich-cli/default.nix b/pkgs/tools/misc/immich-cli/default.nix deleted file mode 100644 index 8cf8212f8a83..000000000000 --- a/pkgs/tools/misc/immich-cli/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, testers -}: - -let - version = "2.2.15"; - src = fetchFromGitHub { - owner = "immich-app"; - repo = "immich"; - # Using a fixed commit until upstream has release tags for cli. - rev = "f7bfde6a3286d4b454c2f05ccf354914f8eccac6"; - hash = "sha256-O014Y2HwhfPqKKFFGtNDJBzCaR6ugI4azw6/kfzKET0="; - }; - meta' = { - description = "CLI utilities for Immich to help upload images and videos"; - homepage = "https://github.com/immich-app/immich"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ felschr pineapplehunter ]; - mainProgram = "immich"; - }; - - open-api-typescript-sdk = buildNpmPackage { - pname = "immich-cli-openapi-typescript-sdk"; - inherit src version; - - npmDepsHash = "sha256-rIN88xw8kdLfhFbT4OReTwzWqNlD4QVAAuvfMyda+V8="; - - postPatch = '' - cd open-api/typescript-sdk - ''; - meta = { - # using inherit for `builtin.unsafeGetAttrPos` to work correctly - inherit (meta') - description - homepage - license - maintainers; - }; - }; - - immich-cli = buildNpmPackage { - pname = "immich-cli"; - inherit src version; - - npmDepsHash = "sha256-r/kCE6FmhbnMVv2Z76hH/1O1YEYSq9VY5kB0xlqWzaM="; - - postPatch = '' - ln -sv ${open-api-typescript-sdk}/lib/node_modules/@immich/sdk/{build,node_modules} open-api/typescript-sdk - cd cli - ''; - - passthru = { - inherit open-api-typescript-sdk; - tests.version = testers.testVersion { package = immich-cli; }; - }; - - meta = { - # using inherit for `builtin.unsafeGetAttrPos` to work correctly - inherit (meta') - description - homepage - license - maintainers - mainProgram; - }; - }; -in -immich-cli diff --git a/pkgs/tools/misc/inav-blackbox-tools/default.nix b/pkgs/tools/misc/inav-blackbox-tools/default.nix deleted file mode 100644 index 43524f6a3fe2..000000000000 --- a/pkgs/tools/misc/inav-blackbox-tools/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, cairo }: - -stdenv.mkDerivation rec { - pname = "inav-blackbox-tools"; - version = "unstable-2021-04-22"; - - src = fetchFromGitHub { - owner = "iNavFlight"; - repo = "blackbox-tools"; - rev = "0109e2fb9b44d593e60bca4cef4098d83c55c373"; - sha256 = "1rdlw74dqq0hahnka2w2pgvs172vway2x6v8byxl2s773l22k4ln"; - }; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ cairo ]; - - installPhase = '' - runHook preInstall - - mkdir -p "$out/bin" - cp obj/{blackbox_decode,blackbox_render,encoder_testbed} "$out/bin" - - runHook postInstall - ''; - - meta = with lib; { - description = "Tools for working with blackbox flight logs"; - homepage = "https://github.com/inavflight/blackbox-tools"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ expipiplus1 ]; - platforms = platforms.all; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/inav-blackbox-tools.x86_64-darwin - }; -} diff --git a/pkgs/tools/misc/infracost/default.nix b/pkgs/tools/misc/infracost/default.nix deleted file mode 100644 index 58842ba6b55d..000000000000 --- a/pkgs/tools/misc/infracost/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: - -buildGoModule rec { - pname = "infracost"; - version = "0.10.38"; - - src = fetchFromGitHub { - owner = "infracost"; - rev = "v${version}"; - repo = "infracost"; - sha256 = "sha256-cnZ7ASYm1IhlqskWMEWzaAG6XKEex7P3akjmYUjHSzc="; - }; - vendorHash = "sha256-bLSj4/+7h0uHdR956VL4iLqRddKV5Ac+FIL1zJxPCW8="; - - ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; - - subPackages = [ "cmd/infracost" ]; - - nativeBuildInputs = [ installShellFiles ]; - - preCheck = '' - # Feed in all tests for testing - # This is because subPackages above limits what is built to just what we - # want but also limits the tests - unset subPackages - - # remove tests that require networking - rm cmd/infracost/{breakdown,comment,diff,hcl,run,upload}_test.go - rm cmd/infracost/comment_{azure_repos,bitbucket,github,gitlab}_test.go - ''; - - checkFlags = [ - "-short" - ]; - - postInstall = '' - export INFRACOST_SKIP_UPDATE_CHECK=true - installShellCompletion --cmd infracost \ - --bash <($out/bin/infracost completion --shell bash) \ - --fish <($out/bin/infracost completion --shell fish) \ - --zsh <($out/bin/infracost completion --shell zsh) - ''; - - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - - export INFRACOST_SKIP_UPDATE_CHECK=true - $out/bin/infracost --help - $out/bin/infracost --version | grep "v${version}" - - runHook postInstallCheck - ''; - - meta = with lib; { - homepage = "https://infracost.io"; - changelog = "https://github.com/infracost/infracost/releases/tag/v${version}"; - description = "Cloud cost estimates for Terraform in your CLI and pull requests"; - longDescription = '' - Infracost shows hourly and monthly cost estimates for a Terraform project. - This helps developers, DevOps et al. quickly see the cost breakdown and - compare different deployment options upfront. - ''; - license = licenses.asl20; - maintainers = with maintainers; [ davegallant jk kashw2 ]; - mainProgram = "infracost"; - }; -} diff --git a/pkgs/tools/misc/ink/default.nix b/pkgs/tools/misc/ink/default.nix deleted file mode 100644 index d8f13d795c82..000000000000 --- a/pkgs/tools/misc/ink/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchurl, libinklevel }: - -stdenv.mkDerivation rec { - pname = "ink"; - version = "0.5.3"; - - src = fetchurl { - url = "mirror://sourceforge/ink/ink-${version}.tar.gz"; - sha256 = "1fk0b8vic04a3i3vmq73hbk7mzbi57s8ks6ighn3mvr6m2v8yc9d"; - }; - - buildInputs = [ - libinklevel - ]; - - outputs = [ "out" "man" ]; - - meta = with lib; { - description = "Command line tool for checking the ink level of your locally connected printer"; - longDescription = '' - Ink is a command line tool for checking the ink level of your locally connected printer on a system which runs Linux or FreeBSD. Canon BJNP network printers are supported too. - ''; - homepage = "https://ink.sourceforge.net/"; - license = licenses.gpl2Only; - platforms = platforms.linux ++ platforms.freebsd; - maintainers = with maintainers; [ samb96 ]; - mainProgram = "ink"; - }; -} diff --git a/pkgs/tools/misc/inklingreader/default.nix b/pkgs/tools/misc/inklingreader/default.nix deleted file mode 100644 index 55596ba48999..000000000000 --- a/pkgs/tools/misc/inklingreader/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, gtk3 -, librsvg -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "inklingreader"; - version = "unstable-2017-09-07"; - - src = fetchFromGitHub { - owner = "roelj"; - repo = "inklingreader"; - rev = "90f9d0d7f5353657f4d25fd75635e29c10c08d2e"; - sha256 = "sha256-852m8g61r+NQhCYz9ghSbCG0sjao2E8B9GS06NG4GyY="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - buildInputs = [ - gtk3 - librsvg - libusb1 - ]; - - meta = { - homepage = "https://github.com/roelj/inklingreader"; - description = "GNU/Linux-friendly version of the Wacom Inkling SketchManager"; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ totoroot ]; - platforms = lib.platforms.linux; - mainProgram = "inklingreader"; - }; -} diff --git a/pkgs/tools/misc/instaloader/default.nix b/pkgs/tools/misc/instaloader/default.nix index 2ab8395eca85..f1201a2d50c8 100644 --- a/pkgs/tools/misc/instaloader/default.nix +++ b/pkgs/tools/misc/instaloader/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "instaloader"; - version = "4.13.1"; + version = "4.13.2"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "instaloader"; repo = "instaloader"; rev = "refs/tags/v${version}"; - sha256 = "sha256-eu2Hp3uomtPuMNjJGprcqK5HApKEjtXU9IQ5yT55cic="; + sha256 = "sha256-ysyHCdgednd+cddcXDmEIY1RO8RPHTDitj4NT1IpE8Y="; }; nativeBuildInputs = [ diff --git a/pkgs/tools/misc/interactsh/default.nix b/pkgs/tools/misc/interactsh/default.nix deleted file mode 100644 index a2c31aae9fe9..000000000000 --- a/pkgs/tools/misc/interactsh/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "interactsh"; - version = "1.1.9"; - - src = fetchFromGitHub { - owner = "projectdiscovery"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-IpKsKfu2mVLyrR0wnbraV/0aaX7uRleGbl3q4bv90Eg="; - }; - - vendorHash = "sha256-xUMEmeoE3Th37kgz5LJg3F27RlKBoIhRf0VfRzkgV2A="; - - modRoot = "."; - subPackages = [ - "cmd/interactsh-client" - "cmd/interactsh-server" - ]; - - # Test files are not part of the release tarball - doCheck = false; - - meta = with lib; { - description = "Out of bounds interaction gathering server and client library"; - longDescription = '' - Interactsh is an Open-Source Solution for Out of band Data Extraction, - A tool designed to detect bugs that cause external interactions, - For example - Blind SQLi, Blind CMDi, SSRF, etc. - ''; - homepage = "https://github.com/projectdiscovery/interactsh"; - changelog = "https://github.com/projectdiscovery/interactsh/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ hanemile ]; - }; -} diff --git a/pkgs/tools/misc/intermodal/default.nix b/pkgs/tools/misc/intermodal/default.nix deleted file mode 100644 index 4d6868d5d364..000000000000 --- a/pkgs/tools/misc/intermodal/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "intermodal"; - version = "0.1.14"; - - src = fetchFromGitHub { - owner = "casey"; - repo = pname; - rev = "v${version}"; - hash = "sha256-N3TumAwHcHDuVyY4t6FPNOO28D7xX5jheCTodfn71/Q="; - }; - - cargoHash = "sha256-k34psGOs6G+B/msmLSDHLNxnjO1yyE4OY6aQU8bt+is="; - - # include_hidden test tries to use `chflags` on darwin - checkFlags = lib.optionals stdenv.isDarwin [ "--skip=subcommand::torrent::create::tests::include_hidden" ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd imdl \ - --bash <($out/bin/imdl completions bash) \ - --fish <($out/bin/imdl completions fish) \ - --zsh <($out/bin/imdl completions zsh) - ''; - - meta = with lib; { - description = "User-friendly and featureful command-line BitTorrent metainfo utility"; - homepage = "https://github.com/casey/intermodal"; - changelog = "https://github.com/casey/intermodal/releases/tag/v${version}"; - license = licenses.cc0; - maintainers = with maintainers; [ Br1ght0ne xrelkd ]; - mainProgram = "imdl"; - }; -} diff --git a/pkgs/tools/misc/invoice/default.nix b/pkgs/tools/misc/invoice/default.nix deleted file mode 100644 index ea7ce5c2205a..000000000000 --- a/pkgs/tools/misc/invoice/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "invoice"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "maaslalani"; - repo = "invoice"; - rev = "v${version}"; - hash = "sha256-WtQ4nF31uIoplY18GZNs41ZOCxmbIu71YpEGk8aTGww="; - }; - - vendorHash = "sha256-8VhBflnpsJ5h8S6meDFZKCcS2nz5u4kPE9W710gJG4U="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Command line invoice generator"; - homepage = "https://github.com/maaslalani/invoice"; - license = licenses.mit; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "invoice"; - }; -} diff --git a/pkgs/tools/misc/ipad_charge/default.nix b/pkgs/tools/misc/ipad_charge/default.nix deleted file mode 100644 index fdbab82aabcd..000000000000 --- a/pkgs/tools/misc/ipad_charge/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, libusb1 }: - -stdenv.mkDerivation rec { - pname = "ipad_charge"; - version = "2015-02-03"; - - src = fetchFromGitHub { - sha256 = "0f40hqx1dbqpwrhyf42h5982jwqv8j5zp5hwwakz6600hyqvnnz7"; - rev = "bb24e1c3a79016cfdffb9d28189485766d655ec6"; - repo = "ipad_charge"; - owner = "mkorenkov"; - }; - - buildInputs = [ libusb1 ]; - - postPatch = '' - substituteInPlace Makefile \ - --replace " -o root -g root" "" \ - --replace "/usr" "$out" \ - --replace "/etc/udev" "$out/lib/udev" - substituteInPlace *.rules \ - --replace "/usr" "$out" - ''; - - enableParallelBuilding = true; - - preInstall = '' - mkdir -p $out/{bin,lib/udev/rules.d} - ''; - - meta = with lib; { - inherit (src.meta) homepage; - description = "Apple device USB charging utility for Linux"; - longDescription = '' - USB charging control utility used to enable/disable charging of an Apple - device connected to USB port. For a list of supported devices, see - https://github.com/mkorenkov/ipad_charge#supported-devices. - ''; - license = licenses.gpl2Plus; - platforms = platforms.linux; - mainProgram = "ipad_charge"; - }; -} diff --git a/pkgs/tools/misc/ipbt/default.nix b/pkgs/tools/misc/ipbt/default.nix deleted file mode 100644 index 66369d983394..000000000000 --- a/pkgs/tools/misc/ipbt/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchurl, perl, ncurses }: - -stdenv.mkDerivation rec { - version = "20210215.5a9cb02"; - pname = "ipbt"; - - src = fetchurl { - url = "https://www.chiark.greenend.org.uk/~sgtatham/ipbt/ipbt-${version}.tar.gz"; - sha256 = "0w6blpv22jjivzr58y440zv6djvi5iccdmj4y2md52fbpjngmsha"; - }; - - nativeBuildInputs = [ perl ]; - buildInputs = [ ncurses ]; - - meta = with lib; { - description = "High-tech ttyrec player for Unix"; - homepage = "https://www.chiark.greenend.org.uk/~sgtatham/ipbt/"; - license = licenses.mit; - maintainers = [ maintainers.tckmn ]; - platforms = platforms.unix; - mainProgram = "ipbt"; - }; -} diff --git a/pkgs/tools/misc/ised/default.nix b/pkgs/tools/misc/ised/default.nix deleted file mode 100644 index ae3308013c7b..000000000000 --- a/pkgs/tools/misc/ised/default.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "ised"; - version = "2.7.1"; - src = fetchurl { - url = "mirror://sourceforge/project/ised/ised-${version}.tar.bz2"; - sha256 = "0fhha61whkkqranqdxg792g0f5kgp5m3m6z1iqcvjh2c34rczbmb"; - }; - - meta = { - description = "Numeric sequence editor"; - maintainers = with lib.maintainers; [ raskin ]; - platforms = with lib.platforms; linux; - license = lib.licenses.gpl3Plus; - mainProgram = "ised"; - }; -} diff --git a/pkgs/tools/misc/ix/default.nix b/pkgs/tools/misc/ix/default.nix deleted file mode 100644 index 52781f8a08bb..000000000000 --- a/pkgs/tools/misc/ix/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, resholve, fetchurl, bash, curl }: - -resholve.mkDerivation { - pname = "ix"; - version = "20190815"; - - src = fetchurl { - url = "http://ix.io/client"; - hash = "sha256-p/j/Nz7tzLJV7HgUwVsiwN1WxCx4Por+HyRgFTTRgnU="; - }; - - dontUnpack = true; - - installPhase = '' - runHook preInstall - - install -Dm555 $src $out/bin/ix - substituteInPlace $out/bin/ix \ - --replace '$echo ' "" - - runHook postInstall - ''; - - solutions.default = { - scripts = [ "bin/ix" ]; - interpreter = "${lib.getExe bash}"; - inputs = [ curl ]; - }; - - meta = with lib; { - homepage = "http://ix.io"; - description = "Command line pastebin"; - maintainers = with maintainers; [ peterhoeg ]; - platforms = platforms.all; - mainProgram = "ix"; - }; -} diff --git a/pkgs/tools/misc/jdiskreport/default.nix b/pkgs/tools/misc/jdiskreport/default.nix deleted file mode 100644 index b8e983ea91bd..000000000000 --- a/pkgs/tools/misc/jdiskreport/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib, stdenv, fetchurl, unzip, jre, makeDesktopItem, copyDesktopItems }: - -let - desktopItem = makeDesktopItem { - desktopName = "JDiskReport"; - genericName = "A graphical utility to visualize disk usage"; - categories = [ "Utility" ]; - exec = "jdiskreport"; - name = "jdiskreport"; - }; -in -stdenv.mkDerivation rec { - pname = "jdiskreport"; - version = "1.4.1"; - - src = fetchurl { - url = "https://www.jgoodies.com/download/jdiskreport/jdiskreport-${lib.replaceStrings ["."] ["_"] version}.zip"; - sha256 = "0d5mzkwsbh9s9b1vyvpaawqc09b0q41l2a7pmwf7386b1fsx6d58"; - }; - - nativeBuildInputs = [ copyDesktopItems unzip ]; - inherit jre; - - installPhase = '' - runHook preInstall - - unzip $src - - jar=$(ls */*.jar) - - mkdir -p $out/share/java - mv $jar $out/share/java - - mkdir -p $out/bin - cat > $out/bin/jdiskreport <<EOF - #! $SHELL -e - exec $jre/bin/java -jar $out/share/java/$(basename $jar) - EOF - chmod +x $out/bin/jdiskreport - - runHook postInstall - ''; - - desktopItems = [ desktopItem ]; - - meta = with lib; { - homepage = "http://www.jgoodies.com/freeware/jdiskreport/"; - description = "Graphical utility to visualize disk usage"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.unfreeRedistributable; #TODO freedist, libs under BSD-3 - platforms = [ "x86_64-linux" "x86_64-darwin" ]; - maintainers = with maintainers; [ kylesferrazza ]; - mainProgram = "jdiskreport"; - }; -} diff --git a/pkgs/tools/misc/jdupes/default.nix b/pkgs/tools/misc/jdupes/default.nix deleted file mode 100644 index 9c6988846990..000000000000 --- a/pkgs/tools/misc/jdupes/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitea, - libjodycode, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "jdupes"; - version = "1.28.0"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "jbruchon"; - repo = "jdupes"; - rev = "v${finalAttrs.version}"; - hash = "sha256-jRjVuN/FNDpKB+Ibi+Mkm+WhB16cz9c33dOOeiPdgr8="; - # Unicode file names lead to different checksums on HFS+ vs. other - # filesystems because of unicode normalisation. The testdir - # directories have such files and will be removed. - postFetch = "rm -r $out/testdir"; - }; - - buildInputs = [ libjodycode ]; - - dontConfigure = true; - - makeFlags = - [ "PREFIX=${placeholder "out"}" ] - ++ lib.optionals stdenv.isLinux [ - "ENABLE_DEDUPE=1" - "STATIC_DEDUPE_H=1" - ] - ++ lib.optionals stdenv.cc.isGNU [ "HARDEN=1" ]; - - enableParallelBuilding = true; - - doCheck = false; # broken Makefile, the above also removes tests - - postInstall = '' - install -Dm444 -t $out/share/doc/jdupes CHANGES.txt LICENSE.txt README.md - ''; - - meta = { - description = "Powerful duplicate file finder and an enhanced fork of 'fdupes'"; - longDescription = '' - jdupes is a program for identifying and taking actions upon - duplicate files. This fork known as 'jdupes' is heavily modified - from and improved over the original. - ''; - homepage = "https://codeberg.org/jbruchon/jdupes"; - license = lib.licenses.mit; - maintainers = [ ]; - mainProgram = "jdupes"; - }; -}) diff --git a/pkgs/tools/misc/jfrog-cli/default.nix b/pkgs/tools/misc/jfrog-cli/default.nix deleted file mode 100644 index ac6696bbb7fe..000000000000 --- a/pkgs/tools/misc/jfrog-cli/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nodejs -, nix-update-script -}: - -buildGoModule rec { - pname = "jfrog-cli"; - version = "2.56.1"; - - src = fetchFromGitHub { - owner = "jfrog"; - repo = "jfrog-cli"; - rev = "refs/tags/v${version}"; - hash = "sha256-oUICnpVHRNCauWEplz7xH6AdP6CbbYX/Uy/QUPjwGHc="; - }; - - vendorHash = "sha256-zQjOOUlqL0Mj2DKHiG9rOfu41SKMO7C99JBJDycXAs4="; - - # Upgrade the Go version during the vendoring FOD build because it fails otherwise. - overrideModAttrs = _: { - preBuild = '' - substituteInPlace go.mod --replace-fail 'go 1.20' 'go 1.21' - ''; - postInstall = '' - cp go.mod "$out/go.mod" - ''; - }; - - # Copy the modified go.mod we got from the vendoring process. - preBuild = '' - cp vendor/go.mod go.mod - ''; - - postPatch = '' - # Patch out broken test cleanup. - substituteInPlace artifactory_test.go \ - --replace-fail \ - 'deleteReceivedReleaseBundle(t, "cli-tests", "2")' \ - '// deleteReceivedReleaseBundle(t, "cli-tests", "2")' - ''; - - postInstall = '' - # Name the output the same way as the original build script does - mv $out/bin/jfrog-cli $out/bin/jf - ''; - - # Some of the tests require a writable $HOME - preCheck = "export HOME=$TMPDIR"; - - nativeCheckInputs = [ nodejs ]; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - homepage = "https://github.com/jfrog/jfrog-cli"; - description = "Client for accessing to JFrog's Artifactory and Mission Control through their respective REST APIs"; - changelog = "https://github.com/jfrog/jfrog-cli/releases/tag/v${version}"; - license = licenses.asl20; - mainProgram = "jf"; - maintainers = with maintainers; [ detegr aidalgol ]; - }; -} diff --git a/pkgs/tools/misc/journaldriver/default.nix b/pkgs/tools/misc/journaldriver/default.nix deleted file mode 100644 index 89806e5443a9..000000000000 --- a/pkgs/tools/misc/journaldriver/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, fetchgit, rustPlatform, pkg-config, openssl, systemd }: - -rustPlatform.buildRustPackage rec { - pname = "journaldriver"; - version = "5656.0.0"; - cargoHash = "sha256-uNzgH9UM2DuC+dBn5N9tC1/AosUP6C+RkGLOh6c+u0s="; - - src = fetchgit { - url = "https://code.tvl.fyi/depot.git:/ops/journaldriver.git"; - sha256 = "0bnf67k6pkw4rngn58b5zm19danr4sh2g6rfd4k5w2sa1lzqai04"; - - # TVL revision r/5656; as of 2023-01-13 the revision tag is - # unavailable through git, hence the pinned hash. - rev = "4e191353228197ce548d63cb9955e53661244f9c"; - }; - - buildInputs = [ openssl systemd ]; - nativeBuildInputs = [ pkg-config ]; - - meta = with lib; { - description = "Log forwarder from journald to Stackdriver Logging"; - homepage = "https://code.tvl.fyi/about/ops/journaldriver"; - license = licenses.gpl3; - maintainers = [ maintainers.tazjin ]; - platforms = platforms.linux; - mainProgram = "journaldriver"; - }; -} diff --git a/pkgs/tools/misc/jsonwatch/default.nix b/pkgs/tools/misc/jsonwatch/default.nix index 451089dc185e..c40e91c87c32 100644 --- a/pkgs/tools/misc/jsonwatch/default.nix +++ b/pkgs/tools/misc/jsonwatch/default.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-Gjb7v3kz11iOml3Ykxhy43KNxzaprgMbb5DpPNChLTc="; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = with maintainers; [ fab ]; # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin && stdenv.isAarch64; + broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; mainProgram = "jsonwatch"; }; } diff --git a/pkgs/tools/misc/jstest-gtk/default.nix b/pkgs/tools/misc/jstest-gtk/default.nix deleted file mode 100644 index 8fb45330e124..000000000000 --- a/pkgs/tools/misc/jstest-gtk/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ stdenv, lib, fetchFromGitLab, cmake, pkg-config, gtkmm3, libsigcxx, xorg }: - -stdenv.mkDerivation rec { - pname = "jstest-gtk"; - version = "2018-07-10"; - - src = fetchFromGitLab { - owner = pname; - repo = pname; - rev = "62f6e2d7d44620e503149510c428df9e004c9f3b"; - sha256 = "0icbbhrj5aqljhiavdy3hic60vp0zzfzyg0d6vpjaqkbzd5pv9d8"; - }; - - nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ gtkmm3 libsigcxx xorg.libX11 ]; - - meta = with lib; { - description = "Simple joystick tester based on Gtk+"; - longDescription = '' - It provides you with a list of attached joysticks, a way to display which - buttons and axis are pressed, a way to remap axis and buttons and a way - to calibrate your joystick. - ''; - homepage = "https://jstest-gtk.gitlab.io/"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ wucke13 ]; - platforms = platforms.linux; - mainProgram = "jstest-gtk"; - }; -} diff --git a/pkgs/tools/misc/jugglinglab/default.nix b/pkgs/tools/misc/jugglinglab/default.nix deleted file mode 100644 index f8f7a3fb37fd..000000000000 --- a/pkgs/tools/misc/jugglinglab/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ lib -, stdenv -, maven -, fetchFromGitHub -, makeWrapper -, wrapGAppsHook3 -, jre -}: - -let - platformName = { - "x86_64-linux" = "linux-x86-64"; - "aarch64-linux" = "linux-aarch64"; - "x86_64-darwin" = "darwin-x86-64"; - "aarch64-darwin" = "darwin-aarch64"; - }.${stdenv.system} or null; -in -maven.buildMavenPackage rec { - pname = "jugglinglab"; - version = "1.6.5"; - - src = fetchFromGitHub { - owner = "jkboyce"; - repo = "jugglinglab"; - rev = "v${version}"; - hash = "sha256-Y87uHFpVs4A/wErNO2ZF6Su0v4LEvaE9nIysrqFoY8w="; - }; - - patches = [ - # make sure mvnHash doesn't change when maven is updated - ./fix-default-maven-plugin-versions.patch - ]; - - mvnHash = "sha256-1Uzo9nRw+YR/sd7CC9MTPe/lttkRX6BtmcsHaagP1Do="; - - # fix jar timestamps for reproducibility - mvnParameters = "-Dproject.build.outputTimestamp=1980-01-01T00:00:02Z"; - - nativeBuildInputs = [ - makeWrapper - wrapGAppsHook3 - ]; - - dontWrapGApps = true; - - installPhase = '' - runHook preInstall - - install -Dm644 bin/JugglingLab.jar -t $out/share/jugglinglab - ${lib.optionalString (platformName != null) '' - install -Dm755 bin/ortools-lib/ortools-${platformName}/* -t $out/lib/ortools-lib - ''} - - runHook postInstall - ''; - - # gappsWrapperArgs are set in preFixup - postFixup = '' - makeWrapper ${jre}/bin/java $out/bin/jugglinglab \ - "''${gappsWrapperArgs[@]}" \ - --add-flags "-Xss2048k -Djava.library.path=$out/lib/ortools-lib" \ - --add-flags "-jar $out/share/jugglinglab/JugglingLab.jar" - ''; - - meta = with lib; { - description = "Program to visualize different juggling pattens"; - homepage = "https://jugglinglab.org/"; - license = licenses.gpl2Only; - mainProgram = "jugglinglab"; - maintainers = with maintainers; [ wnklmnn tomasajt ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/jugglinglab/fix-default-maven-plugin-versions.patch b/pkgs/tools/misc/jugglinglab/fix-default-maven-plugin-versions.patch deleted file mode 100644 index a2f74b19b61f..000000000000 --- a/pkgs/tools/misc/jugglinglab/fix-default-maven-plugin-versions.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff --git a/pom.xml b/pom.xml -index 93fd6be..5f929c3 100644 ---- a/pom.xml -+++ b/pom.xml -@@ -42,6 +43,65 @@ - - <build> - <plugins> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-enforcer-plugin</artifactId> -+ <version>3.4.1</version> -+ <executions> -+ <execution> -+ <id>require-all-plugin-versions-to-be-set</id> -+ <phase>validate</phase> -+ <goals> -+ <goal>enforce</goal> -+ </goals> -+ <configuration> -+ <rules> -+ <requirePluginVersions /> -+ </rules> -+ </configuration> -+ </execution> -+ </executions> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-compiler-plugin</artifactId> -+ <version>3.12.1</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-surefire-plugin</artifactId> -+ <version>3.2.3</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-jar-plugin</artifactId> -+ <version>3.3.0</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-clean-plugin</artifactId> -+ <version>3.3.2</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-install-plugin</artifactId> -+ <version>3.1.1</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-site-plugin</artifactId> -+ <version>4.0.0-M13</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-resources-plugin</artifactId> -+ <version>3.3.1</version> -+ </plugin> -+ <plugin> -+ <groupId>org.apache.maven.plugins</groupId> -+ <artifactId>maven-deploy-plugin</artifactId> -+ <version>3.1.1</version> -+ </plugin> - - <!-- remove existing `bin/JugglingLab.jar` --> - <!-- otherwise on overwrite Maven creates `bin/original-JugglingLab.jar` --> diff --git a/pkgs/tools/misc/kalker/default.nix b/pkgs/tools/misc/kalker/default.nix deleted file mode 100644 index 452ac6abc26d..000000000000 --- a/pkgs/tools/misc/kalker/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, gmp -, mpfr -, libmpc -}: - -rustPlatform.buildRustPackage rec { - pname = "kalker"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "PaddiM8"; - repo = pname; - rev = "v${version}"; - hash = "sha256-Ri0Os+/AqGWgf/2V5D7xvelOC3JTOMjNzjq56mhA3G4="; - }; - - cargoHash = "sha256-0+NYbVMIUarLppBZu6mtyGd+2fvkjEUq0TX7urBq3XI="; - - buildInputs = [ gmp mpfr libmpc ]; - - outputs = [ "out" "lib" ]; - - postInstall = '' - moveToOutput "lib" "$lib" - ''; - - env.CARGO_FEATURE_USE_SYSTEM_LIBS = "1"; - - meta = with lib; { - homepage = "https://kalker.strct.net"; - changelog = "https://github.com/PaddiM8/kalker/releases/tag/v${version}"; - description = "Command line calculator"; - longDescription = '' - A command line calculator that supports math-like syntax with user-defined - variables, functions, derivation, integration, and complex numbers - ''; - license = licenses.mit; - maintainers = with maintainers; [ figsoda lovesegfault ]; - mainProgram = "kalker"; - }; -} diff --git a/pkgs/tools/misc/kb/default.nix b/pkgs/tools/misc/kb/default.nix deleted file mode 100644 index 41f5d7e55c32..000000000000 --- a/pkgs/tools/misc/kb/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "kb"; - version = "0.1.7"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "gnebbia"; - repo = pname; - rev = "v${version}"; - hash = "sha256-K8EAqZbl2e0h03fFwaKIclZTZARDQp1tRo44znxwW0I="; - }; - - postPatch = '' - # `attr` module is not available. And `attrs` defines another `attr` package - # that shadows it. - substituteInPlace setup.py \ - --replace \ - "install_requires=[\"colored\",\"toml\",\"attr\",\"attrs\",\"gitpython\"]," \ - "install_requires=[\"colored\",\"toml\",\"attrs\",\"gitpython\"]," - ''; - - propagatedBuildInputs = with python3.pkgs; [ - colored - toml - attrs - gitpython - ]; - - nativeCheckInputs = with python3.pkgs; [ - pytest-cov-stub - pytestCheckHook - ]; - - meta = with lib; { - description = "Minimalist command line knowledge base manager"; - longDescription = '' - kb is a text-oriented minimalist command line knowledge base manager. kb - can be considered a quick note collection and access tool oriented toward - software developers, penetration testers, hackers, students or whoever has - to collect and organize notes in a clean way. Although kb is mainly - targeted on text-based note collection, it supports non-text files as well - (e.g., images, pdf, videos and others). - ''; - homepage = "https://github.com/gnebbia/kb"; - changelog = "https://github.com/gnebbia/kb/blob/v${version}/CHANGELOG.md"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ wesleyjrz ]; - mainProgram = "kb"; - }; -} diff --git a/pkgs/tools/misc/kepubify/default.nix b/pkgs/tools/misc/kepubify/default.nix deleted file mode 100644 index 1820b3a4dca6..000000000000 --- a/pkgs/tools/misc/kepubify/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "kepubify"; - version = "4.0.4"; - - src = fetchFromGitHub { - owner = "pgaskin"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-H6W+C5twXit7Z9hLIJKAftbnvYDA9HAb9tR6yeQGRKI="; - }; - - vendorHash = "sha256-QOMLwDDvrDQAaK4M4QhBFTGD1CzblkDoA3ZqtCoRHtQ="; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - excludedPackages = [ "kobotest" ]; - - meta = with lib; { - description = "EPUB to KEPUB converter"; - homepage = "https://pgaskin.net/kepubify"; - license = licenses.mit; - maintainers = with maintainers; [ zowoq ]; - }; -} diff --git a/pkgs/tools/misc/kermit/default.nix b/pkgs/tools/misc/kermit/default.nix deleted file mode 100644 index bccecde01cc7..000000000000 --- a/pkgs/tools/misc/kermit/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchurl, ncurses, libxcrypt }: - -stdenv.mkDerivation { - pname = "kermit"; - version = "9.0.302"; - - src = fetchurl { - url = "ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz"; - sha256 = "0487mh6s99ijqf1pfmbm302pa5i4pzmm8s439hdl1ffs5g8jqpqd"; - }; - - buildInputs = [ ncurses libxcrypt ]; - - unpackPhase = '' - mkdir -p src - pushd src - tar xvzf $src - ''; - - postPatch = '' - sed -i -e 's@-I/usr/include/ncurses@@' \ - -e 's@/usr/local@'"$out"@ makefile - ''; - - buildPhase = "make -f makefile linux KFLAGS='-D_IO_file_flags' LNKFLAGS='-lcrypt -lresolv'"; - - installPhase = '' - mkdir -p $out/bin - mkdir -p $out/man/man1 - make -f makefile install - ''; - - meta = with lib; { - homepage = "https://www.kermitproject.org/ck90.html"; - description = "Portable Scriptable Network and Serial Communication Software"; - license = licenses.bsd3; - maintainers = with maintainers; [ pSub ]; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/tools/misc/keychain/default.nix b/pkgs/tools/misc/keychain/default.nix deleted file mode 100644 index bd993c34bd2c..000000000000 --- a/pkgs/tools/misc/keychain/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -, makeWrapper -, coreutils -, openssh -, gnupg -, perl -, procps -, gnugrep -, gawk -, findutils -, gnused -}: - -stdenv.mkDerivation rec { - pname = "keychain"; - version = "2.8.5"; - - src = fetchFromGitHub { - owner = "funtoo"; - repo = "keychain"; - rev = version; - sha256 = "1bkjlg0a2bbdjhwp37ci1rwikvrl4s3xlbf2jq2z4azc96dr83mj"; - }; - - nativeBuildInputs = [ installShellFiles makeWrapper ]; - buildInputs = [ perl ]; - - installPhase = '' - mkdir -p $out/bin - cp keychain $out/bin/keychain - installManPage keychain.1 - wrapProgram $out/bin/keychain \ - --prefix PATH ":" "${lib.makeBinPath [ coreutils findutils gawk gnupg gnugrep gnused openssh procps ]}" \ - ''; - - meta = with lib; { - description = "Keychain management tool"; - longDescription = '' - Keychain helps you to manage SSH and GPG keys in a convenient and secure - manner. It acts as a frontend to ssh-agent and ssh-add, but allows you - to easily have one long running ssh-agent process per system, rather - than the norm of one ssh-agent per login session. - - This dramatically reduces the number of times you need to enter your - passphrase. With keychain, you only need to enter a passphrase once - every time your local machine is rebooted. Keychain also makes it easy - for remote cron jobs to securely "hook in" to a long-running ssh-agent - process, allowing your scripts to take advantage of key-based logins. - ''; - homepage = "https://www.funtoo.org/Keychain"; - license = licenses.gpl2Only; - platforms = platforms.unix; - maintainers = with maintainers; [ sigma ]; - mainProgram = "keychain"; - }; -} diff --git a/pkgs/tools/misc/keymapviz/default.nix b/pkgs/tools/misc/keymapviz/default.nix deleted file mode 100644 index 22b361b3c94a..000000000000 --- a/pkgs/tools/misc/keymapviz/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ fetchFromGitHub, lib, python3 }: - -python3.pkgs.buildPythonApplication rec { - pname = "keymapviz"; - version = "1.14.1"; - - src = fetchFromGitHub { - owner = "yskoht"; - repo = pname; - rev = version; - sha256 = "sha256-eCvwgco22uPEDDsT8FfTRon1xCGy5p1PBp0pDfNprMs="; - }; - - propagatedBuildInputs = with python3.pkgs; [ regex ]; - - meta = with lib; { - description = "Qmk keymap.c visualizer"; - homepage = "https://github.com/yskoht/keymapviz"; - license = licenses.mit; - maintainers = with maintainers; [ lom ]; - mainProgram = "keymapviz"; - }; -} diff --git a/pkgs/tools/misc/kicli/default.nix b/pkgs/tools/misc/kicli/default.nix deleted file mode 100644 index 61eb8fe28ae6..000000000000 --- a/pkgs/tools/misc/kicli/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nix-update-script -}: -buildGoModule rec { - pname = "kicli"; - version = "0.0.3"; - - src = fetchFromGitHub { - owner = "anned20"; - repo = pname; - rev = "v${version}"; - hash = "sha256-Mt1lHOC8gBcLQ6kArUvlPrH+Y/63mIQTCsUY2UTJE2c="; - }; - - vendorHash = "sha256-+8L/9NJ3dzP4k+LXkPD208uFGeARv7aT39bhH+R08e0="; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - homepage = "https://github.com/anned20/kicli"; - description = "CLI interface to the Kimai time tracking project"; - license = licenses.mit; - maintainers = with maintainers; [ poelzi ]; - platforms = platforms.all; - mainProgram = "kicli"; - }; -} diff --git a/pkgs/tools/misc/kisslicer/default.nix b/pkgs/tools/misc/kisslicer/default.nix deleted file mode 100644 index c016c0b88f4b..000000000000 --- a/pkgs/tools/misc/kisslicer/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ fetchzip -, libX11 -, libGLU, libGL -, makeWrapper -, lib, stdenv -}: - -let - - libPath = lib.makeLibraryPath [ - libGLU libGL - stdenv.cc.cc - libX11 - ]; - - inidir = "\\\${XDG_CONFIG_HOME:-\\$HOME/.config}/kisslicer"; - -in - -stdenv.mkDerivation rec { - pname = "kisslicer"; - version = "1.6.3"; - - src = fetchzip { - url = "https://www.kisslicer.com/uploads/1/5/3/8/15381852/kisslicer_linux64_${version}_release.zip"; - sha256 = "1xmywj5jrcsqv1d5x3mphhvafs4mfm9l12npkhk7l03qxbwg9j82"; - stripRoot = false; - }; - - nativeBuildInputs = [ - makeWrapper - ]; - - buildInputs = [ - libGLU libGL - libX11 - ]; - - installPhase = '' - mkdir -p $out/bin - cp -p * $out/bin - ''; - - fixupPhase = '' - chmod 755 $out/bin/KISSlicer - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath ${libPath} $out/bin/KISSlicer - wrapProgram $out/bin/KISSlicer \ - --add-flags "-inidir ${inidir}" \ - --run "mkdir -p ${inidir}" - ''; - - meta = with lib; { - description = "Convert STL files into Gcode"; - homepage = "http://www.kisslicer.com"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = [ maintainers.cransom ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/tools/misc/kitty-img/default.nix b/pkgs/tools/misc/kitty-img/default.nix deleted file mode 100644 index c47c4e6fc80d..000000000000 --- a/pkgs/tools/misc/kitty-img/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromSourcehut }: - -rustPlatform.buildRustPackage rec { - pname = "kitty-img"; - version = "1.0.0"; - - src = fetchFromSourcehut { - owner = "~zethra"; - repo = "kitty-img"; - rev = version; - hash = "sha256-5thx4ADmJE29bxN+ZO3hF0jhgXK+boqt8oj4Sygl5SU="; - }; - - cargoHash = "sha256-Ai1Esw83V3jbPDDQyNh8bTNLQBYBonIDkWP3AFgN78U="; - - meta = with lib; { - description = "Print images inline in kitty"; - homepage = "https://git.sr.ht/~zethra/kitty-img"; - changelog = "https://git.sr.ht/~zethra/kitty-img/refs/${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ gaykitty ]; - mainProgram = "kitty-img"; - }; -} diff --git a/pkgs/tools/misc/kodi-cli/default.nix b/pkgs/tools/misc/kodi-cli/default.nix deleted file mode 100644 index a93a9c9c8379..000000000000 --- a/pkgs/tools/misc/kodi-cli/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, curl, bash, jq, youtube-dl, zenity }: - -stdenv.mkDerivation rec { - pname = "kodi-cli"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "nawar"; - repo = pname; - rev = version; - sha256 = "0f9wdq2fg8hlpk3qbjfkb3imprxkvdrhxfkcvr3dwfma0j2yfwam"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - mkdir -p $out/bin - cp -a kodi-cli $out/bin - wrapProgram $out/bin/kodi-cli --prefix PATH : ${lib.makeBinPath [ curl bash ]} - cp -a playlist_to_kodi $out/bin - wrapProgram $out/bin/playlist_to_kodi --prefix PATH : ${lib.makeBinPath [ curl bash zenity jq youtube-dl ]} - ''; - - meta = with lib; { - homepage = "https://github.com/nawar/kodi-cli"; - description = "Kodi/XBMC bash script to send Kodi commands using JSON RPC. It also allows sending YouTube videos to Kodi"; - license = licenses.gpl2Only; - platforms = platforms.unix; - maintainers = [ maintainers.pstn ]; - }; -} diff --git a/pkgs/tools/misc/krapslog/default.nix b/pkgs/tools/misc/krapslog/default.nix deleted file mode 100644 index 5448fa942763..000000000000 --- a/pkgs/tools/misc/krapslog/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: - -rustPlatform.buildRustPackage rec { - pname = "krapslog"; - version = "0.6.0"; - - src = fetchFromGitHub { - owner = "acj"; - repo = "krapslog-rs"; - rev = version; - sha256 = "sha256-wRziLNMwLZBCn330FNC9x6loCCyuC+31Kh51ZI/j1Cc="; - }; - - cargoHash = "sha256-5jhEcwOdzLqzxQsEBqo4d5ecsg/vhiKuVjGYIwFzihE="; - - buildInputs = lib.optional stdenv.isDarwin libiconv; - - meta = with lib; { - description = "Visualize a log file with sparklines"; - homepage = "https://github.com/acj/krapslog-rs"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ yanganto ]; - mainProgram = "krapslog"; - }; -} diff --git a/pkgs/tools/misc/kt/default.nix b/pkgs/tools/misc/kt/default.nix deleted file mode 100644 index 2e0bfbc1b102..000000000000 --- a/pkgs/tools/misc/kt/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "kt"; - version = "13.1.0"; - - src = fetchFromGitHub { - owner = "fgeller"; - repo = "kt"; - rev = "v${version}"; - sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc="; - }; - - vendorHash = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw="; - - ldflags = [ "-s" "-w" ]; - - doCheck = false; - - meta = with lib; { - description = "Kafka command line tool"; - homepage = "https://github.com/fgeller/kt"; - maintainers = with maintainers; [ utdemir ]; - platforms = with platforms; unix; - license = licenses.mit; - mainProgram = "kt"; - }; -} diff --git a/pkgs/tools/misc/latex2html/default.nix b/pkgs/tools/misc/latex2html/default.nix deleted file mode 100644 index 9f0aed7fb424..000000000000 --- a/pkgs/tools/misc/latex2html/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper -, ghostscript, netpbm, perl }: -# TODO: withTex - -stdenv.mkDerivation rec { - pname = "latex2html"; - version = "2024"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-MF+S6x+k+lkutJQ60HCxFpdR96K3AFZcP/4guK9RvsA="; - }; - - buildInputs = [ ghostscript netpbm perl ]; - - nativeBuildInputs = [ makeWrapper ]; - - configurePhase = '' - ./configure \ - --prefix="$out" \ - --without-mktexlsr \ - --with-texpath=$out/share/texmf/tex/latex/html - ''; - - postInstall = '' - for p in $out/bin/{latex2html,pstoimg}; do \ - wrapProgram $p --add-flags '--tmp="''${TMPDIR:-/tmp}"' - done - ''; - - meta = with lib; { - description = "LaTeX-to-HTML translator"; - longDescription = '' - A Perl program that translates LaTeX into HTML (HyperText Markup - Language), optionally creating separate HTML files corresponding to each - unit (e.g., section) of the document. LaTeX2HTML proceeds by interpreting - LaTeX (to the best of its abilities). It contains definitions from a wide - variety of classes and packages, and users may add further definitions by - writing Perl scripts that provide information about class/package - commands. - ''; - - homepage = "https://www.ctan.org/pkg/latex2html"; - - license = licenses.gpl2Only; - platforms = with platforms; linux ++ darwin; - maintainers = with maintainers; [ yurrriq ]; - }; -} diff --git a/pkgs/tools/misc/lavat/default.nix b/pkgs/tools/misc/lavat/default.nix deleted file mode 100644 index 6cd38f6f34a1..000000000000 --- a/pkgs/tools/misc/lavat/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, -}: -let - version = "2.1.0"; -in -stdenv.mkDerivation { - pname = "lavat"; - inherit version; - - src = fetchFromGitHub { - owner = "AngelJumbo"; - repo = "lavat"; - rev = "v${version}"; - hash = "sha256-wGtuYgZS03gXYgdNdugGu/UlROQTrQ3C1inJ/aTUBKk="; - }; - - installPhase = '' - runHook preInstall - mkdir -p $out/bin - cp lavat $out/bin - runHook postInstall - ''; - - meta = with lib; { - description = "Lava lamp simulation in the terminal"; - longDescription = '' - Lavat puts ascii metaballs in your terminal to make it look a bit like a - lava lamp. - - Lavat contains various options, including those to change the color and - speed of the metaballs. For a full list, run `lavat -h` - ''; - maintainers = [ maintainers.minion3665 ]; - license = licenses.mit; - homepage = "https://github.com/AngelJumbo/lavat"; - platforms = platforms.all; - mainProgram = "lavat"; - }; -} diff --git a/pkgs/tools/misc/lazycli/default.nix b/pkgs/tools/misc/lazycli/default.nix deleted file mode 100644 index 77596b66302f..000000000000 --- a/pkgs/tools/misc/lazycli/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "lazycli"; - version = "0.1.15"; - - src = fetchFromGitHub { - owner = "jesseduffield"; - repo = pname; - rev = "v${version}"; - sha256 = "1qq167hc7pp9l0m40ysphfljakmm8hjjnhpldvb0kbc825h0z8z5"; - }; - - cargoHash = "sha256-1BIUXepR7ppEkTLDOCZz9RBv+RazNMXnCnH1rvzVFgs="; - - checkFlags = [ - # currently broken: https://github.com/jesseduffield/lazycli/pull/20 - "--skip=command::test_run_command_fail" - ]; - - meta = with lib; { - description = "Tool to static turn CLI commands into TUIs"; - homepage = "https://github.com/jesseduffield/lazycli"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "lazycli"; - }; -} diff --git a/pkgs/tools/misc/lazydocker/default.nix b/pkgs/tools/misc/lazydocker/default.nix deleted file mode 100644 index 08ddc37ca977..000000000000 --- a/pkgs/tools/misc/lazydocker/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, lazydocker, testers }: - -buildGoModule rec { - pname = "lazydocker"; - version = "0.23.3"; - - src = fetchFromGitHub { - owner = "jesseduffield"; - repo = "lazydocker"; - rev = "v${version}"; - sha256 = "sha256-1nw0X8sZBtBsxlEUDVYMAinjMEMlIlzjJ4s+WApeE6o="; - }; - - vendorHash = null; - - postPatch = '' - rm -f pkg/config/app_config_test.go - ''; - - excludedPackages = [ "scripts" "test/printrandom" ]; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - passthru.tests.version = testers.testVersion { - package = lazydocker; - }; - - meta = with lib; { - description = "Simple terminal UI for both docker and docker-compose"; - homepage = "https://github.com/jesseduffield/lazydocker"; - license = licenses.mit; - maintainers = with maintainers; [ das-g Br1ght0ne ]; - mainProgram = "lazydocker"; - }; -} diff --git a/pkgs/tools/misc/lbdb/add-methods-to-rc.patch b/pkgs/tools/misc/lbdb/add-methods-to-rc.patch deleted file mode 100644 index d388467559a4..000000000000 --- a/pkgs/tools/misc/lbdb/add-methods-to-rc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lbdb.rc.in -+++ b/lbdb.rc.in -@@ -40,7 +40,7 @@ - # - m_vcf search a vcard (according to RFC2426) file. - # - m_khard search a CardDAV address book via khard - --METHODS="m_inmail m_passwd m_finger" -+METHODS="@MODULES@" - - - # diff --git a/pkgs/tools/misc/lbdb/default.nix b/pkgs/tools/misc/lbdb/default.nix deleted file mode 100644 index 20ea8beaaa83..000000000000 --- a/pkgs/tools/misc/lbdb/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchpatch -, perl -, bsd-finger -, withAbook ? true, abook -, withGnupg ? true, gnupg -, withGoobook ? true, goobook -, withKhard ? true, khard -, withMu ? true, mu -}: - -let - perl' = perl.withPackages (p: with p; [ - AuthenSASL - ConvertASN1 - IOSocketSSL - perlldap - ]); -in -stdenv.mkDerivation rec { - pname = "lbdb"; - version = "0.48.1"; - - src = fetchurl { - url = "https://www.spinnaker.de/lbdb/download/lbdb_${version}.tar.gz"; - sha256 = "1gr5l2fr9qbdccga8bhsrpvz6jxigvfkdxrln9wyf2xpps5cdjxh"; - }; - - buildInputs = [ perl' ] - ++ lib.optional (!stdenv.isDarwin) bsd-finger - ++ lib.optional withAbook abook - ++ lib.optional withGnupg gnupg - ++ lib.optional withGoobook goobook - ++ lib.optional withKhard khard - ++ lib.optional withMu mu; - - configureFlags = [ ] - ++ lib.optional withAbook "--with-abook" - ++ lib.optional withGnupg "--with-gpg" - ++ lib.optional withGoobook "--with-goobook" - ++ lib.optional withKhard "--with-khard" - ++ lib.optional withMu "--with-mu"; - - patches = [ - ./add-methods-to-rc.patch - # fix undefined exec_prefix. Remove with the next release - (fetchpatch { - url = "https://github.com/RolandRosenfeld/lbdb/commit/60b7bae255011f59212d96adfbded459d6a27129.patch"; - sha256 = "129zg086glmlalrg395jq8ljcp787dl3rxjf9v7apsd8mqfdkl2v"; - excludes = [ "debian/changelog" ]; - }) - ]; - - meta = with lib; { - homepage = "https://www.spinnaker.de/lbdb/"; - description = "Little Brother's Database"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ kaiha bfortz ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/lcdf-typetools/default.nix b/pkgs/tools/misc/lcdf-typetools/default.nix deleted file mode 100644 index feb2563735b4..000000000000 --- a/pkgs/tools/misc/lcdf-typetools/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook }: - -stdenv.mkDerivation rec { - pname = "lcdf-typetools"; - version = "2.110"; - - src = fetchFromGitHub { - owner = "kohler"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-hoILYYCef2R1v6aN9V+FoYnXYaKsnGN2jlpb/QFAN/w="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - configureFlags = [ "--without-kpathsea" ]; - - meta = with lib; { - description = "Utilities for manipulating OpenType, PostScript Type 1, and Multiple Master fonts"; - homepage = "https://www.lcdf.org/type"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ dtzWill ]; - }; -} diff --git a/pkgs/tools/misc/ldapvi/default.nix b/pkgs/tools/misc/ldapvi/default.nix deleted file mode 100644 index d30f8465ff37..000000000000 --- a/pkgs/tools/misc/ldapvi/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchgit, openldap, openssl, popt, glib, libxcrypt, ncurses, readline, pkg-config, cyrus_sasl, autoconf, automake }: - -stdenv.mkDerivation { - pname = "ldapvi"; - version = "unstable-2012-04-28"; - - # use latest git, it includes some important patches since 2007 release - src = fetchgit { - url = "http://www.lichteblau.com/git/ldapvi.git"; - rev = "f1d42bad66cc4623d1ff21fbd5dddbf5009d3e40"; - sha256 = "3ef3103030ecb04d7fe80180e3fd490377cf81fb2af96782323fddabc3225030"; - }; - - nativeBuildInputs = [ pkg-config autoconf automake ]; - buildInputs = [ openldap openssl popt glib libxcrypt ncurses readline cyrus_sasl ]; - - preConfigure = '' - cd ldapvi - ./autogen.sh - ''; - - meta = with lib; { - description = "Interactive LDAP client for Unix terminals"; - longDescription = '' - ldapvi is an interactive LDAP client for Unix terminals. Using it, you - can update LDAP entries with a text editor. - ''; - homepage = "http://www.lichteblau.com/ldapvi/"; - license = licenses.gpl2Plus; - maintainers = [ ]; - platforms = lib.platforms.linux; - mainProgram = "ldapvi"; - }; -} diff --git a/pkgs/tools/misc/ldmtool/default.nix b/pkgs/tools/misc/ldmtool/default.nix deleted file mode 100644 index 6a1527ea8fe2..000000000000 --- a/pkgs/tools/misc/ldmtool/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, automake, gtk-doc, pkg-config, libuuid, - libtool, readline, gobject-introspection, json-glib, lvm2, libxslt, docbook_xsl -, fetchpatch }: - -stdenv.mkDerivation rec { - pname = "ldmtool"; - version = "0.2.4"; - - src = fetchFromGitHub { - owner = "mdbooth"; - repo = "libldm"; - rev = "libldm-${version}"; - sha256 = "1fy5wbmk8kwl86lzswq0d1z2j5y023qzfm2ppm8knzv9c47kniqk"; - }; - - patches = [ - # Remove useage of deprecrated G_PARAM_PRIVATE - (fetchpatch { - url = "https://github.com/mdbooth/libldm/commit/ee1b37a034038f09d61b121cc8b3651024acc46f.patch"; - sha256 = "02y34kbcpcpffvy1n9yqngvdldmxmvdkha1v2xjqvrnclanpigcp"; - }) - ]; - - preConfigure = '' - sed -i docs/reference/ldmtool/Makefile.am \ - -e 's|-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|--nonet ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl|g' - ''; - - # glib-2.62 deprecations - env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; - - configureScript = "sh autogen.sh"; - - nativeBuildInputs = [ pkg-config autoconf automake gobject-introspection ]; - buildInputs = [ gtk-doc lvm2 libxslt.bin - libtool readline json-glib libuuid - ]; - - meta = with lib; { - description = "Tool and library for managing Microsoft Windows Dynamic Disks"; - homepage = "https://github.com/mdbooth/libldm"; - maintainers = with maintainers; [ jensbin ]; - license = licenses.gpl3; - platforms = platforms.linux; - mainProgram = "ldmtool"; - }; -} diff --git a/pkgs/tools/misc/leanify/default.nix b/pkgs/tools/misc/leanify/default.nix deleted file mode 100644 index f0006ff7f183..000000000000 --- a/pkgs/tools/misc/leanify/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, libiconv -}: - -stdenv.mkDerivation rec { - pname = "leanify"; - version = "unstable-2023-12-17"; - - src = fetchFromGitHub { - owner = "JayXon"; - repo = "Leanify"; - rev = "9daa4303cdc03f6b90b72c369e6377c6beb75c39"; - hash = "sha256-fLazKCQnOT3bN3Kz25Q80RLk54EU5U6HCf6kPLcXn9c="; - }; - - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile \ - --replace-fail "-flto" "" \ - --replace-fail "lib/LZMA/Alloc.o" "lib/LZMA/CpuArch.o lib/LZMA/Alloc.o" \ - --replace-quiet "-Werror" "" - ''; - - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; - - doCheck = true; - - checkPhase = '' - runHook preCheck - ./leanify /dev/null - runHook postCheck - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp leanify $out/bin/ - - runHook postInstall - ''; - - meta = with lib; { - description = "Lightweight lossless file minifier/optimizer"; - longDescription = '' - Leanify is a lightweight lossless file minifier/optimizer. - It removes unnecessary data (debug information, comments, metadata, etc.) and recompress the file to reduce file size. - It will not reduce image quality at all. - ''; - homepage = "https://github.com/JayXon/Leanify"; - changelog = "https://github.com/JayXon/Leanify/blob/master/CHANGELOG.md"; - license = licenses.mit; - maintainers = [ maintainers.mynacol ]; - platforms = platforms.all; - mainProgram = "leanify"; - }; -} diff --git a/pkgs/tools/misc/ledit/default.nix b/pkgs/tools/misc/ledit/default.nix deleted file mode 100644 index a9ef90a48bf3..000000000000 --- a/pkgs/tools/misc/ledit/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ocamlPackages }: - -stdenv.mkDerivation { - pname = "ledit"; - version = "2.06"; - - src = fetchFromGitHub { - owner = "chetmurthy"; - repo = "ledit"; - rev = "3dbd668d9c69aab5ccd61f6b906c14122ae3271d"; - hash = "sha256-9+isvwOw5Iw5OToztqZ5PiQPj6Pxl2ZqAC7UMF+tCM4="; - }; - - preBuild = '' - substituteInPlace Makefile --replace /bin/rm rm --replace /usr/local/ $out/ - ''; - - strictDeps = true; - - nativeBuildInputs = with ocamlPackages; [ - ocaml - findlib - camlp5 - ]; - - buildInputs = with ocamlPackages; [ - camlp5 - camlp-streams - ]; - - - meta = with lib; { - homepage = "http://pauillac.inria.fr/~ddr/ledit/"; - description = "Line editor, allowing to use shell commands with control characters like in emacs"; - license = licenses.bsd3; - maintainers = [ maintainers.delta ]; - mainProgram = "ledit"; - }; -} diff --git a/pkgs/tools/misc/lektor/default.nix b/pkgs/tools/misc/lektor/default.nix deleted file mode 100644 index 09942bac6ca8..000000000000 --- a/pkgs/tools/misc/lektor/default.nix +++ /dev/null @@ -1,105 +0,0 @@ -{ lib -, fetchFromGitHub -, fetchNpmDeps -, fetchPypi -, nodejs -, npmHooks -, python3 -}: - -let - python = python3.override { - self = python; - packageOverrides = self: super: { - mistune = super.mistune.overridePythonAttrs (old: rec { - version = "2.0.5"; - src = fetchPypi { - inherit (old) pname; - inherit version; - hash = "sha256-AkYRPLJJLbh1xr5Wl0p8iTMzvybNkokchfYxUc7gnTQ="; - }; - }); - }; - }; -in -python.pkgs.buildPythonApplication rec { - pname = "lektor"; - version = "3.4.0b12"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "lektor"; - repo = pname; - rev = "refs/tags/v${version}"; - # fix for case-insensitive filesystems - postFetch = '' - rm -f $out/tests/demo-project/content/icc-profile-test/{LICENSE,license}.txt - ''; - hash = "sha256-y0/fYuiIB/O5tsYKjzOPnCafOIZCn4Z5OITPMcnHd/M="; - }; - - npmDeps = fetchNpmDeps { - src = "${src}/${npmRoot}"; - hash = "sha256-LXe5/u4nAGig8RSu6r8Qsr3p3Od8eoMxukW8Z4HkJ44="; - }; - - npmRoot = "frontend"; - - nativeBuildInputs = [ - python.pkgs.hatch-vcs - python.pkgs.hatchling - nodejs - npmHooks.npmConfigHook - ]; - - propagatedBuildInputs = with python.pkgs; [ - babel - click - flask - inifile - jinja2 - markupsafe - marshmallow - marshmallow-dataclass - mistune - pillow - pip - python-slugify - requests - watchfiles - werkzeug - ]; - - nativeCheckInputs = with python.pkgs; [ - pytest-click - pytest-mock - pytestCheckHook - ]; - - postInstall = '' - cp -r lektor/translations "$out/${python.sitePackages}/lektor/" - ''; - - pythonImportsCheck = [ - "lektor" - ]; - - disabledTests = [ - # Tests require network access - "test_path_installed_plugin_is_none" - "test_VirtualEnv_run_pip_install" - ]; - - postCheck = '' - make test-js - ''; - - meta = { - description = "Static content management system"; - homepage = "https://www.getlektor.com/"; - changelog = "https://github.com/lektor/lektor/blob/v${version}/CHANGES.md"; - license = lib.licenses.bsd3; - mainProgram = "lektor"; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/lemmeknow/default.nix b/pkgs/tools/misc/lemmeknow/default.nix deleted file mode 100644 index 8c119a350a92..000000000000 --- a/pkgs/tools/misc/lemmeknow/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "lemmeknow"; - version = "0.8.0"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-Q82tP4xNWAooFjHeJCFmuULnWlFbgca/9Y2lm8rVXKs="; - }; - - cargoHash = "sha256-slV9RxdFCEx1El7hngWGv+5CqDSQsU2ACF2nWQLOTU0="; - - meta = with lib; { - description = "Tool to identify anything"; - homepage = "https://github.com/swanandx/lemmeknow"; - changelog = "https://github.com/swanandx/lemmeknow/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda Br1ght0ne ]; - mainProgram = "lemmeknow"; - }; -} diff --git a/pkgs/tools/misc/lemmy-help/default.nix b/pkgs/tools/misc/lemmy-help/default.nix deleted file mode 100644 index 6138d331b02f..000000000000 --- a/pkgs/tools/misc/lemmy-help/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "lemmy-help"; - version = "0.11.0"; - - src = fetchFromGitHub { - owner = "numToStr"; - repo = "lemmy-help"; - rev = "v${version}"; - sha256 = "sha256-HcIvHuuzQj4HsRJyn1A9nXiGDGAcz1nqTsC7sROt7OI="; - }; - - buildFeatures = [ "cli" ]; - - cargoHash = "sha256-BCwpiBPvnLgbpOaXgUK2EDXnT8d4jo7aqgM6uwl80eg="; - - meta = with lib; { - description = "CLI for generating vim help docs from emmylua comments"; - longDescription = '' - `lemmy-help` is an emmylua parser as well as a CLI which takes that parsed tree and converts it into vim help docs. - ''; - homepage = "https://github.com/numToStr/lemmy-help"; - changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "lemmy-help"; - }; -} diff --git a/pkgs/tools/misc/lerpn/default.nix b/pkgs/tools/misc/lerpn/default.nix deleted file mode 100644 index fcbd6e9513cd..000000000000 --- a/pkgs/tools/misc/lerpn/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ python3 -, lib -, fetchFromGitea -}: - -python3.pkgs.buildPythonApplication { - pname = "lerpn"; - version = "unstable-2023-06-09"; - - src = fetchFromGitea { - domain = "gitea.alexisvl.rocks"; - owner = "alexisvl"; - repo = "lerpn"; - rev = "b65e56cfbbb38f8200e7b0c18b3a585ae768c6e2"; - hash = "sha256-4xqBHcOWHAvQtXS9CJWTGTdE4SGHxjghZY+/KPUgX70="; - }; - - checkPhase = '' - runHook preCheck - patchShebangs test - - substituteInPlace test --replace "#raise TestFailedException()" "sys.exit(1)" - ./test - runHook postCheck - ''; - - meta = with lib; { - homepage = "https://gitea.alexisvl.rocks/alexisvl/lerpn"; - description = "Curses RPN calculator written in straight Python"; - maintainers = [ ]; - license = licenses.gpl3Plus; - mainProgram = "lerpn"; - }; -} diff --git a/pkgs/tools/misc/lesspipe/default.nix b/pkgs/tools/misc/lesspipe/default.nix deleted file mode 100644 index b2c310bc5f40..000000000000 --- a/pkgs/tools/misc/lesspipe/default.nix +++ /dev/null @@ -1,128 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, makeWrapper -, perl -, procps -, bash - -# shell referenced dependencies -, resholve -, binutils-unwrapped -, file -, gnugrep -, coreutils -, gnused -, gnutar -, iconv -, ncurses -}: - -stdenv.mkDerivation rec { - pname = "lesspipe"; - version = "2.11"; - - src = fetchFromGitHub { - owner = "wofr06"; - repo = "lesspipe"; - rev = "v${version}"; - hash = "sha256-jJrKiRdrargk0JzcPWxBZGyOpMfTIONHG8HNRecazVo="; - }; - - nativeBuildInputs = [ perl makeWrapper ]; - buildInputs = [ perl bash ]; - strictDeps = true; - - postPatch = '' - patchShebangs --build configure - substituteInPlace configure --replace '/etc/bash_completion.d' '/share/bash-completion/completions' - ''; - - configureFlags = [ "--shell=${bash}/bin/bash" "--prefix=/" ]; - configurePlatforms = [ ]; - - dontBuild = true; - - installFlags = [ "DESTDIR=$(out)" ]; - - postInstall = '' - # resholve doesn't see strings in an array definition - substituteInPlace $out/bin/lesspipe.sh --replace 'nodash strings' "nodash ${binutils-unwrapped}/bin/strings" - - ${resholve.phraseSolution "lesspipe.sh" { - scripts = [ "bin/lesspipe.sh" ]; - interpreter = "${bash}/bin/bash"; - inputs = [ - coreutils - file - gnugrep - gnused - gnutar - iconv - procps - ncurses - ]; - keep = [ "$prog" "$c1" "$c2" "$c3" "$c4" "$c5" "$cmd" "$colorizer" "$HOME" ]; - fake = { - # script guards usage behind has_cmd test function, it's safe to leave these external and optional - external = [ - "cpio" "isoinfo" "cabextract" "bsdtar" "rpm2cpio" "bsdtar" "unzip" "ar" "unrar" "rar" "7zr" "7za" "isoinfo" - "gzip" "bzip2" "lzip" "lzma" "xz" "brotli" "compress" "zstd" "lz4" - "archive_color" "bat" "batcat" "pygmentize" "source-highlight" "vimcolor" "code2color" - - "w3m" "lynx" "elinks" "html2text" "dtc" "pdftotext" "pdftohtml" "pdfinfo" "ps2ascii" "procyon" "ccze" - "mdcat" "pandoc" "docx2txt" "libreoffice" "pptx2md" "mdcat" "xlscat" "odt2txt" "wvText" "antiword" "catdoc" - "broken_catppt" "sxw2txt" "groff" "mandoc" "unrtf" "dvi2tty" "pod2text" "perldoc" "h5dump" "ncdump" "matdump" - "djvutxt" "openssl" "gpg" "plistutil" "plutil" "id3v2" "csvlook" "jq" "zlib-flate" "lessfilter" - ] ++ lib.optional (stdenv.isDarwin || stdenv.isFreeBSD) [ - # resholve only identifies this on darwin/bsd - # call site is guarded by || so it's safe to leave dynamic - "locale" - ]; - builtin = [ "setopt" ]; - }; - execer = [ - "cannot:${iconv}/bin/iconv" - ]; - }} - ${resholve.phraseSolution "lesscomplete" { - scripts = [ "bin/lesscomplete" ]; - interpreter = "${bash}/bin/bash"; - inputs = [ - coreutils - file - gnugrep - gnused - gnutar - ]; - keep = [ "$prog" "$c1" "$c2" "$c3" "$c4" "$c5" "$cmd" ]; - fake = { - # script guards usage behind has_cmd test function, it's safe to leave these external and optional - external = [ - "cpio" "isoinfo" "cabextract" "bsdtar" "rpm2cpio" "bsdtar" "unzip" "ar" "unrar" "rar" "7zr" "7za" "isoinfo" - "gzip" "bzip2" "lzip" "lzma" "xz" "brotli" "compress" "zstd" "lz4" - ]; - builtin = [ "setopt" ]; - }; - }} - ''; - - meta = with lib; { - description = "Preprocessor for less"; - longDescription = '' - Usually lesspipe.sh is called as an input filter to less. With the help - of that filter less will display the uncompressed contents of compressed - (gzip, bzip2, compress, rar, 7-zip, lzip, xz or lzma) files. For files - containing archives and directories, a table of contents will be - displayed (e.g tar, ar, rar, jar, rpm and deb formats). Other supported - formats include nroff, pdf, ps, dvi, shared library, MS word, OASIS - (e.g. Openoffice), NetCDF, html, mp3, jpg, png, iso images, MacOSX bom, - plist and archive formats, perl storable data and gpg encrypted files. - This does require additional helper programs being installed. - ''; - homepage = "https://github.com/wofr06/lesspipe"; - platforms = platforms.all; - license = licenses.gpl2Only; - maintainers = [ maintainers.martijnvermaat ]; - }; -} diff --git a/pkgs/tools/misc/libgen-cli/default.nix b/pkgs/tools/misc/libgen-cli/default.nix deleted file mode 100644 index 45192447bdca..000000000000 --- a/pkgs/tools/misc/libgen-cli/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: - -buildGoModule rec { - pname = "libgen-cli"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "ciehanski"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-EicXsxAvVe/umpcOn4dVlTexaAol1qYPg/h5MU5dysM="; - }; - - vendorHash = "sha256-q1EPjnVq382gEKVmGKWYgKRcU6Y0rm1Et5ExzOmyeo4="; - - doCheck = false; - - subPackages = [ "." ]; - - nativeBuildInputs = [ installShellFiles ]; - - ldflags = [ "-s" "-w" ]; - - postInstall = '' - installShellCompletion --cmd libgen-cli \ - --bash <($out/bin/libgen-cli completion bash) \ - --fish <($out/bin/libgen-cli completion fish) \ - --zsh <($out/bin/libgen-cli completion zsh) - ''; - - meta = with lib; { - homepage = "https://github.com/ciehanski/libgen-cli"; - description = - "A CLI tool used to access the Library Genesis dataset; written in Go"; - longDescription = '' - libgen-cli is a command line interface application which allows users to - quickly query the Library Genesis dataset and download any of its - contents. - ''; - license = licenses.asl20; - maintainers = with maintainers; [ zaninime ]; - mainProgram = "libgen-cli"; - }; -} diff --git a/pkgs/tools/misc/libpff/default.nix b/pkgs/tools/misc/libpff/default.nix deleted file mode 100644 index 62ee7c8f447c..000000000000 --- a/pkgs/tools/misc/libpff/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenv -, lib -, fetchzip -, pkg-config -, autoreconfHook -}: - -stdenv.mkDerivation rec { - pname = "libpff"; - version = "20211114"; - - src = fetchzip { - url = "https://github.com/libyal/libpff/releases/download/${version}/libpff-alpha-${version}.tar.gz"; - sha256 = "sha256-UmGRBgi78nDSuuOXi/WmODojWU5AbQGKNQwLseoh714="; - }; - - nativeBuildInputs = [ pkg-config autoreconfHook ]; - outputs = [ "bin" "dev" "out" ]; - - meta = { - description = "Library and tools to access the Personal Folder File (PFF) and the Offline Folder File (OFF) format"; - homepage = "https://github.com/libyal/libpff"; - downloadPage = "https://github.com/libyal/libpff/releases"; - changelog = "https://github.com/libyal/libpff/blob/${version}/ChangeLog"; - license = lib.licenses.lgpl3Only; - maintainers = with lib.maintainers; [ hacker1024 ]; - }; -} diff --git a/pkgs/tools/misc/librespeed-cli/default.nix b/pkgs/tools/misc/librespeed-cli/default.nix deleted file mode 100644 index 8751d9ab43d4..000000000000 --- a/pkgs/tools/misc/librespeed-cli/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "librespeed-cli"; - version = "1.0.10"; - - src = fetchFromGitHub { - owner = "librespeed"; - repo = "speedtest-cli"; - rev = "v${version}"; - sha256 = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8="; - }; - - vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ="; - - # Tests have additional requirements - doCheck = false; - - meta = with lib; { - description = "Command line client for LibreSpeed"; - homepage = "https://github.com/librespeed/speedtest-cli"; - license = with licenses; [ lgpl3Only ]; - maintainers = with maintainers; [ fab ]; - mainProgram = "speedtest-cli"; - }; -} diff --git a/pkgs/tools/misc/license-cli/default.nix b/pkgs/tools/misc/license-cli/default.nix deleted file mode 100644 index bf3de443e302..000000000000 --- a/pkgs/tools/misc/license-cli/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib -, fetchFromSourcehut -, rustPlatform -, installShellFiles -, scdoc -, makeWrapper - -# Script dependencies. -, fzf -, wl-clipboard -, xclip -}: - -rustPlatform.buildRustPackage rec { - pname = "license-cli"; - version = "3.1.0"; - - src = fetchFromSourcehut { - owner = "~zethra"; - repo = "license"; - rev = version; - hash = "sha256-OGS26mE5rjxlZOaBWhYc7C8aM3Lq2xX0f31LgckjJF8="; - }; - - cargoHash = "sha256-Zj9t/e6QhiOxU8mlVRBKEbviSTKXM4WQ3lqtoCcMbMI="; - - nativeBuildInputs = [ installShellFiles makeWrapper ]; - - preInstall = '' - ${scdoc}/bin/scdoc < doc/license.scd > license.1 - ''; - - postInstall = '' - installShellCompletion completions/license.{bash,fish} - installShellCompletion --zsh completions/_license - installManPage ./license.1 - - install -Dm0755 ./scripts/set-license -t $out/bin - wrapProgram $out/bin/set-license \ - --prefix PATH : "$out/bin" \ - --prefix PATH : ${lib.makeBinPath [ fzf ]} - - install -Dm0755 ./scripts/copy-header -t $out/bin - wrapProgram $out/bin/copy-header \ - --prefix PATH : "$out/bin" \ - --prefix PATH : ${lib.makeBinPath [ wl-clipboard xclip ]} - ''; - - meta = with lib; { - homepage = "https://git.sr.ht/~zethra/license"; - description = "Command-line tool to easily add license to your project"; - license = licenses.mpl20; - mainProgram = "license"; - maintainers = with maintainers; [ foo-dogsquared ]; - }; -} diff --git a/pkgs/tools/misc/licensor/default.nix b/pkgs/tools/misc/licensor/default.nix deleted file mode 100644 index c1716911537a..000000000000 --- a/pkgs/tools/misc/licensor/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -}: - -rustPlatform.buildRustPackage rec { - pname = "licensor"; - version = "unstable-2021-02-03"; - - src = fetchFromGitHub { - owner = "raftario"; - repo = pname; - rev = "1897882a708ec6ed65a9569ae0e07d6ea576c652"; - sha256 = "0x0lkfrj7jka0p6nx6i9syz0bnzya5z9np9cw09zm1c9njv9mm32"; - }; - - cargoHash = "sha256-gEOMOb2VRx0cFnzmfKBh9W1FoI4Nr7/PW4GQnldoxsA="; - - # https://github.com/raftario/licensor/issues/67 - postPatch = '' - sed "/Copyright (c) 2021/s/2021/$(date +%Y)/" -i tests/integration.rs - ''; - - meta = with lib; { - description = "Write licenses to stdout"; - homepage = "https://github.com/raftario/licensor"; - license = licenses.mit; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "licensor"; - }; -} diff --git a/pkgs/tools/misc/lifecycled/default.nix b/pkgs/tools/misc/lifecycled/default.nix deleted file mode 100644 index f4148b6316c2..000000000000 --- a/pkgs/tools/misc/lifecycled/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: -buildGoModule rec { - pname = "lifecycled"; - version = "3.3.0"; - - src = fetchFromGitHub { - owner = "buildkite"; - repo = "lifecycled"; - rev = "v${version}"; - sha256 = "sha256-zskN2T0+1xZPjppggeGpPFuQ8/AgPNyN77F33rDoghc="; - }; - - vendorHash = "sha256-q5wYKSLHRzL+UGn29kr8+mUupOPR1zohTscbzjMRCS0="; - - postInstall = '' - mkdir -p $out/lib/systemd/system - substitute init/systemd/lifecycled.unit $out/lib/systemd/system/lifecycled.service \ - --replace /usr/bin/lifecycled $out/bin/lifecycled - ''; - - meta = with lib; { - description = "Daemon for responding to AWS AutoScaling Lifecycle Hooks"; - homepage = "https://github.com/buildkite/lifecycled/"; - license = licenses.mit; - maintainers = with maintainers; [ cole-h grahamc ]; - }; -} - diff --git a/pkgs/tools/misc/lighthouse-steamvr/Cargo.lock b/pkgs/tools/misc/lighthouse-steamvr/Cargo.lock deleted file mode 100644 index daaa1802698f..000000000000 --- a/pkgs/tools/misc/lighthouse-steamvr/Cargo.lock +++ /dev/null @@ -1,1212 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "anstream" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" - -[[package]] -name = "anstyle-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" -dependencies = [ - "anstyle", - "windows-sys", -] - -[[package]] -name = "async-trait" -version = "0.1.73" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" - -[[package]] -name = "block" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" - -[[package]] -name = "bluez-async" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce7d4413c940e8e3cb6afc122d3f4a07096aca259d286781128683fc9f39d9b" -dependencies = [ - "async-trait", - "bitflags 2.4.0", - "bluez-generated", - "dbus", - "dbus-tokio", - "futures", - "itertools", - "log", - "serde", - "serde-xml-rs", - "thiserror", - "tokio", - "uuid", -] - -[[package]] -name = "bluez-generated" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d1c659dbc82f0b8ca75606c91a371e763589b7f6acf36858eeed0c705afe367" -dependencies = [ - "dbus", -] - -[[package]] -name = "btleplug" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ad24f1a9171b691da81fd0a0ae6859ef471979a4d68372515bafc2f4586df1" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "bluez-async", - "cocoa", - "dashmap", - "dbus", - "futures", - "jni", - "jni-utils", - "libc", - "log", - "objc", - "once_cell", - "serde", - "serde_bytes", - "static_assertions", - "thiserror", - "tokio", - "tokio-stream", - "uuid", - "windows", -] - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "cc" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] - -[[package]] -name = "cesu8" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clap" -version = "4.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c8d502cbaec4595d2e7d5f61e318f05417bd2b66fdc3809498f0d3fdf0bea27" -dependencies = [ - "clap_builder", - "clap_derive", - "once_cell", -] - -[[package]] -name = "clap-verbosity-flag" -version = "2.1.1" -source = "git+https://github.com/ShayBoxs-Forks/clap-verbosity-flag.git#5807fd33f935a71ade25e2e6d5aa1b8727c8e63f" -dependencies = [ - "clap", - "tracing", -] - -[[package]] -name = "clap_builder" -version = "4.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5891c7bc0edb3e1c2204fc5e94009affabeb1821c9e5fdc3959536c5c0bb984d" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9fd1a5729c4548118d7d70ff234a44868d00489a4b6597b0b020918a0e91a1a" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" - -[[package]] -name = "cocoa" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c" -dependencies = [ - "bitflags 1.3.2", - "block", - "cocoa-foundation", - "core-foundation", - "core-graphics", - "foreign-types 0.5.0", - "libc", - "objc", -] - -[[package]] -name = "cocoa-foundation" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "931d3837c286f56e3c58423ce4eba12d08db2374461a785c86f672b08b5650d6" -dependencies = [ - "bitflags 1.3.2", - "block", - "core-foundation", - "core-graphics-types", - "foreign-types 0.3.2", - "libc", - "objc", -] - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "combine" -version = "4.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" -dependencies = [ - "bytes", - "memchr", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "core-graphics" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "970a29baf4110c26fedbc7f82107d42c23f7e88e404c4577ed73fe99ff85a212" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "core-graphics-types", - "foreign-types 0.5.0", - "libc", -] - -[[package]] -name = "core-graphics-types" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb142d41022986c1d8ff29103a1411c8a3dfad3552f87a4f8dc50d61d4f4e33" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "libc", -] - -[[package]] -name = "dashmap" -version = "5.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" -dependencies = [ - "cfg-if", - "hashbrown", - "lock_api", - "once_cell", - "parking_lot_core", -] - -[[package]] -name = "dbus" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" -dependencies = [ - "futures-channel", - "futures-util", - "libc", - "libdbus-sys", - "winapi", -] - -[[package]] -name = "dbus-tokio" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "007688d459bc677131c063a3a77fb899526e17b7980f390b69644bdbc41fad13" -dependencies = [ - "dbus", - "libc", - "tokio", -] - -[[package]] -name = "either" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared 0.1.1", -] - -[[package]] -name = "foreign-types" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" -dependencies = [ - "foreign-types-macros", - "foreign-types-shared 0.3.1", -] - -[[package]] -name = "foreign-types-macros" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "foreign-types-shared" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" - -[[package]] -name = "futures" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "gimli" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" - -[[package]] -name = "hashbrown" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "jni" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df18c2e3db7e453d3c6ac5b3e9d5182664d28788126d39b91f2d1e22b017ec" -dependencies = [ - "cesu8", - "combine", - "jni-sys", - "log", - "thiserror", - "walkdir", -] - -[[package]] -name = "jni-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" - -[[package]] -name = "jni-utils" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "259e9f2c3ead61de911f147000660511f07ab00adeed1d84f5ac4d0386e7a6c4" -dependencies = [ - "dashmap", - "futures", - "jni", - "log", - "once_cell", - "static_assertions", - "uuid", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" - -[[package]] -name = "libdbus-sys" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" -dependencies = [ - "pkg-config", -] - -[[package]] -name = "lighthouse" -version = "1.1.1" -dependencies = [ - "btleplug", - "clap", - "clap-verbosity-flag", - "serde", - "thiserror", - "tokio", - "tracing", - "tracing-subscriber", - "uuid", -] - -[[package]] -name = "lock_api" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" - -[[package]] -name = "malloc_buf" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" -dependencies = [ - "libc", -] - -[[package]] -name = "memchr" -version = "2.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486aed0026218e61b8a01d5fbd5a0a134649abb71a0e53b7bc088529dced86e" - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" -dependencies = [ - "libc", - "wasi", - "windows-sys", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", -] - -[[package]] -name = "object" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" - -[[package]] -name = "proc-macro2" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "serde" -version = "1.0.188" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde-xml-rs" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb3aa78ecda1ebc9ec9847d5d3aba7d618823446a049ba2491940506da6e2782" -dependencies = [ - "log", - "serde", - "thiserror", - "xml-rs", -] - -[[package]] -name = "serde_bytes" -version = "0.11.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_derive" -version = "1.0.188" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" - -[[package]] -name = "socket2" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "syn" -version = "2.0.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "thiserror" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thread_local" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "tokio" -version = "1.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys", -] - -[[package]] -name = "tokio-macros" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-stream" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", - "tokio-util", -] - -[[package]] -name = "tokio-util" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" -dependencies = [ - "nu-ansi-term", - "sharded-slab", - "smallvec", - "thread_local", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "unicode-ident" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "uuid" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" -dependencies = [ - "serde", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "walkdir" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "xml-rs" -version = "0.8.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47430998a7b5d499ccee752b41567bc3afc57e1327dc855b1a2aa44ce29b5fa1" diff --git a/pkgs/tools/misc/lighthouse-steamvr/default.nix b/pkgs/tools/misc/lighthouse-steamvr/default.nix index 4ddd33ff1872..9c9f7e97fa68 100644 --- a/pkgs/tools/misc/lighthouse-steamvr/default.nix +++ b/pkgs/tools/misc/lighthouse-steamvr/default.nix @@ -1,37 +1,35 @@ -{ stdenv, fetchFromGitHub, lib, rustPlatform, pkg-config, dbus }: +{ + stdenv, + fetchFromGitHub, + lib, + rustPlatform, + pkg-config, + dbus, + AppKit, +}: rustPlatform.buildRustPackage rec { pname = "Lighthouse"; - version = "1.1.1"; + version = "1.2.0"; src = fetchFromGitHub { owner = "ShayBox"; repo = pname; rev = version; - sha256 = "0g0cs54j1vmcig5nc8sqgx30nfn2zjs40pvv30j5g9cyyszbzwkw"; + hash = "sha256-uJ8U4knNKAliHjxP0JnV1lSCEsB6OHyYSbb5aWboYV4="; }; - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "clap-verbosity-flag-2.1.1" = "1213bsb0bpvv6621j9zicjsqy05sv21gh6inrvszqwcmj6fxxc7j"; - }; - }; - - postPatch = '' - cp ${./Cargo.lock} Cargo.lock - ''; + cargoHash = "sha256-XVPrtZNLdF9mKSl56kBepkpXRQBJsu9KlZRhb6BeG/E="; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ dbus ]; + buildInputs = [ dbus ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; meta = with lib; { - broken = stdenv.isDarwin; description = "VR Lighthouse power state management"; homepage = "https://github.com/ShayBox/Lighthouse"; license = licenses.mit; - maintainers = with maintainers; [ expipiplus1 bddvlpr ]; + maintainers = with maintainers; [ bddvlpr ]; mainProgram = "lighthouse"; }; } diff --git a/pkgs/tools/misc/lilo/default.nix b/pkgs/tools/misc/lilo/default.nix deleted file mode 100644 index 0eb8d563373a..000000000000 --- a/pkgs/tools/misc/lilo/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ stdenv, lib, fetchurl, dev86, sharutils }: - -stdenv.mkDerivation rec { - pname = "lilo"; - version = "24.2"; - src = fetchurl { - url = "https://www.joonet.de/lilo/ftp/sources/lilo-${version}.tar.gz"; - hash = "sha256-4VjxneRWDJNevgUHwht5v/F2GLkjDYB2/oxf/5/b1bE="; - }; - nativeBuildInputs = [ dev86 sharutils ]; - - # Workaround build failure on -fno-common toolchains: - # ld: identify.o:(.bss+0x0): multiple definition of `identify'; - # common.o:(.bss+0x160): first defined here - env.NIX_CFLAGS_COMPILE = "-fcommon"; - - makeFlags = [ - "DESTDIR=${placeholder "out"}" - "SBIN_DIR=/bin" - "USRSBIN_DIR=/bin" - "MAN_DIR=/share/man" - ]; - - meta = with lib; { - homepage = "https://www.joonet.de/lilo/"; - description = "Linux bootloader"; - license = licenses.bsd3; - platforms = platforms.linux; - maintainers = with maintainers; [ kaction ]; - }; -} diff --git a/pkgs/tools/misc/limitcpu/default.nix b/pkgs/tools/misc/limitcpu/default.nix deleted file mode 100644 index 4d8b14229ac2..000000000000 --- a/pkgs/tools/misc/limitcpu/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{lib, stdenv, fetchurl}: - -stdenv.mkDerivation rec { - pname = "limitcpu"; - version = "3.1"; - - src = fetchurl { - url = "mirror://sourceforge/limitcpu/cpulimit-${version}.tar.gz"; - sha256 = "sha256-lGmU7GDznwMJW4m9dOZguJwUyCq6dUVmk5jjArx7I0w="; - }; - - buildFlags = with stdenv; [ ( - if isDarwin then "osx" - else if isFreeBSD then "freebsd" - else "cpulimit" - ) ]; - - installFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - homepage = "https://limitcpu.sourceforge.net/"; - description = "Tool to throttle the CPU usage of programs"; - platforms = with platforms; linux ++ freebsd; - license = licenses.gpl2Only; - maintainers = [maintainers.rycee]; - mainProgram = "cpulimit"; - }; -} diff --git a/pkgs/tools/misc/lineselect/default.nix b/pkgs/tools/misc/lineselect/default.nix deleted file mode 100644 index a99908b2e70e..000000000000 --- a/pkgs/tools/misc/lineselect/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, makeBinaryWrapper -, nodejs -}: - -buildNpmPackage rec { - pname = "lineselect"; - version = "0.1.6"; - - src = fetchFromGitHub { - owner = "chfritz"; - repo = "lineselect"; - rev = "v${version}"; - hash = "sha256-dCmLD4Wjsdlta2xsFCMj1zWQr4HWCfcWsKVmrTND4Yw="; - }; - - npmDepsHash = "sha256-wBtswfXtJTI7um0HZQk1YygpSggZ4j0/7IBcJiQpOUY="; - - nativeBuildInputs = [ - makeBinaryWrapper - ]; - - postInstall = '' - makeWrapper ${lib.getExe nodejs} $out/bin/lineselect \ - --set FORCE_COLOR 2 \ - --add-flags $out/lib/node_modules/lineselect/dist/cli.js - ''; - - meta = with lib; { - description = "Shell utility to interactively select lines from stdin"; - homepage = "https://github.com/chfritz/lineselect"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "lineselect"; - }; -} diff --git a/pkgs/tools/misc/linux-logo/default.nix b/pkgs/tools/misc/linux-logo/default.nix deleted file mode 100644 index 5b12f75b7297..000000000000 --- a/pkgs/tools/misc/linux-logo/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, gettext -, which -}: - -stdenv.mkDerivation rec { - pname = "linux_logo"; - version = "6.01"; - - src = fetchFromGitHub { - owner = "deater"; - repo = pname; - rev = "v${version}"; - hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I="; - }; - - nativeBuildInputs = [ gettext which ]; - - meta = with lib; { - description = "Prints an ASCII logo and some system info"; - mainProgram = "linux_logo"; - homepage = "http://www.deater.net/weave/vmwprod/linux_logo"; - changelog = "https://github.com/deater/linux_logo/blob/${src.rev}/CHANGES"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ azahi ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/linuxquota/default.nix b/pkgs/tools/misc/linuxquota/default.nix deleted file mode 100644 index d9aa6492b581..000000000000 --- a/pkgs/tools/misc/linuxquota/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchurl, e2fsprogs, openldap, pkg-config, binlore, linuxquota }: - -stdenv.mkDerivation rec { - version = "4.09"; - pname = "quota"; - - src = fetchurl { - url = "mirror://sourceforge/linuxquota/quota-${version}.tar.gz"; - sha256 = "sha256-nNrKFUvJKvwxF/Dl9bMgjdX4RYOvHPBhw5uqCiuxQvk="; - }; - - outputs = [ "out" "dev" "doc" "man" ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ e2fsprogs openldap ]; - - passthru.binlore.out = binlore.synthesize linuxquota '' - execer cannot bin/quota - ''; - - meta = with lib; { - description = "Tools to manage kernel-level quotas in Linux"; - homepage = "https://sourceforge.net/projects/linuxquota/"; - license = licenses.gpl2Plus; # With some files being BSD as an exception - platforms = platforms.linux; - maintainers = [ maintainers.dezgeg ]; - }; -} diff --git a/pkgs/tools/misc/lipl/Cargo.lock b/pkgs/tools/misc/lipl/Cargo.lock deleted file mode 100644 index f87ac4ead5c8..000000000000 --- a/pkgs/tools/misc/lipl/Cargo.lock +++ /dev/null @@ -1,308 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -[[package]] -name = "ansi_term" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "atty" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "autocfg" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "bitflags" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "clap" -version = "2.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "cmd_lib" -version = "0.7.8" -source = "git+https://github.com/rust-shell-script/rust_cmd_lib?rev=9f9cba4b36cdff5f7d7495d998923f1b378cb9c2#9f9cba4b36cdff5f7d7495d998923f1b378cb9c2" - -[[package]] -name = "either" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "heck" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "itertools" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "libc" -version = "0.2.65" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "linreg" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "lipl" -version = "0.1.0" -dependencies = [ - "cmd_lib 0.7.8 (git+https://github.com/rust-shell-script/rust_cmd_lib?rev=9f9cba4b36cdff5f7d7495d998923f1b378cb9c2)", - "linreg 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "structopt 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "termion 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tui 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "log" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "num-traits" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "numtoa" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "proc-macro-error" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "proc-macro2" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "quote" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "redox_syscall" -version = "0.1.56" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "redox_termios" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "structopt" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", - "structopt-derive 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "structopt-derive" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro-error 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "syn" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "termion" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", - "numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "tui" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "cassowary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "termion 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "unicode-segmentation" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "unicode-width" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "unicode-xid" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "vec_map" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "winapi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[metadata] -"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" -"checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" -"checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" -"checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -"checksum cassowary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" -"checksum cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" -"checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" -"checksum cmd_lib 0.7.8 (git+https://github.com/rust-shell-script/rust_cmd_lib?rev=9f9cba4b36cdff5f7d7495d998923f1b378cb9c2)" = "<none>" -"checksum either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" -"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" -"checksum itertools 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "87fa75c9dea7b07be3138c49abbb83fd4bea199b5cdc76f9804458edc5da0d6e" -"checksum libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)" = "1a31a0627fdf1f6a39ec0dd577e101440b7db22672c0901fe00a9a6fbb5c24e8" -"checksum linreg 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d85303c06c6c77a71a07c50c98e8fceda7ec120d6b2ee9e050876dc59e2e3dbe" -"checksum log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)" = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7" -"checksum num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c81ffc11c212fa327657cb19dd85eb7419e163b5b076bede2bdb5c974c07e4" -"checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" -"checksum proc-macro-error 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "aeccfe4d5d8ea175d5f0e4a2ad0637e0f4121d63bd99d356fb1f39ab2e7c6097" -"checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" -"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" -"checksum redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)" = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84" -"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" -"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" -"checksum structopt 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4f66a4c0ddf7aee4677995697366de0749b0139057342eccbb609b12d0affc" -"checksum structopt-derive 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8fe0c13e476b4e21ff7f5c4ace3818b6d7bdc16897c31c73862471bc1663acae" -"checksum syn 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "0e7bedb3320d0f3035594b0b723c8a28d7d336a3eda3881db79e61d676fb644c" -"checksum termion 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6a8fb22f7cde82c8220e5aeacb3258ed7ce996142c77cba193f203515e26c330" -"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -"checksum tui 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "73b422ff4986065d33272b587907654f918a3fe8702786a8110bf68dede0d8ee" -"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9" -"checksum unicode-width 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20" -"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" -"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" -"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6" -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/pkgs/tools/misc/lipl/default.nix b/pkgs/tools/misc/lipl/default.nix deleted file mode 100644 index 8d9d294f3edd..000000000000 --- a/pkgs/tools/misc/lipl/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "lipl"; - version = "0.1.3"; - - src = fetchFromGitHub { - owner = "yxdunc"; - repo = "lipl"; - rev = "v${version}"; - hash = "sha256-ZeYz9g06vMsOk3YDmy0I+8e6BtLfweXqVH5uRt+mtes="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "cmd_lib-0.7.8" = "sha256-FyJZkxhKwHyGEmeLZfcvLe1D6h7XY5tvsHbANQk+D+4="; - }; - }; - - meta = with lib; { - description = "Command line tool to analyse the output over time of custom shell commands"; - homepage = "https://github.com/yxdunc/lipl"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "lipl"; - }; -} diff --git a/pkgs/tools/misc/livedl/default.nix b/pkgs/tools/misc/livedl/default.nix deleted file mode 100644 index 6db500695933..000000000000 --- a/pkgs/tools/misc/livedl/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, stdenv }: - -buildGoModule rec { - pname = "livedl"; - version = "unstable-2021-05-16"; - - src = fetchFromGitHub { - owner = "himananiito"; - repo = pname; - rev = "a8720f1e358e5b0ade6fdeb8aacc00781e6cc504"; - sha256 = "1zax215jp6sl47m8ahssyyrbzn96dh74srq9g61jc76sq10xg329"; - }; - - modRoot = "src"; - - proxyVendor = true; - vendorHash = "sha256-C7lUusq/cWBCnA2wP9fzQglJCXvQyvFG4JY13H0cP6g="; - - meta = with lib; { - description = "Command-line tool to download nicovideo.jp livestreams"; - homepage = "https://github.com/himananiito/livedl"; - license = licenses.mit; - maintainers = with maintainers; [ wakira ]; - platforms = platforms.linux ++ platforms.darwin; - broken = stdenv.isDarwin; # build fails with go > 1.17 - mainProgram = "livedl"; - }; -} diff --git a/pkgs/tools/misc/lnav/default.nix b/pkgs/tools/misc/lnav/default.nix deleted file mode 100644 index 55148ad29b91..000000000000 --- a/pkgs/tools/misc/lnav/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, pcre2 -, sqlite -, ncurses -, readline -, zlib -, bzip2 -, autoconf -, automake -, curl -, buildPackages -}: - -stdenv.mkDerivation rec { - pname = "lnav"; - version = "0.12.2"; - - src = fetchFromGitHub { - owner = "tstack"; - repo = "lnav"; - rev = "v${version}"; - sha256 = "sha256-grEW3J50osKJzulNQFN7Gir5+wk1qFPc/YaT+EZMAqs="; - }; - - enableParallelBuilding = true; - - strictDeps = true; - depsBuildBuild = [ buildPackages.stdenv.cc ]; - nativeBuildInputs = [ - autoconf - automake - zlib - curl.dev - ]; - buildInputs = [ - bzip2 - ncurses - pcre2 - readline - sqlite - curl - ]; - - preConfigure = '' - ./autogen.sh - ''; - - meta = with lib; { - homepage = "https://github.com/tstack/lnav"; - description = "Logfile Navigator"; - longDescription = '' - The log file navigator, lnav, is an enhanced log file viewer that takes - advantage of any semantic information that can be gleaned from the files - being viewed, such as timestamps and log levels. Using this extra - semantic information, lnav can do things like interleaving messages from - different files, generate histograms of messages over time, and providing - hotkeys for navigating through the file. It is hoped that these features - will allow the user to quickly and efficiently zero in on problems. - ''; - downloadPage = "https://github.com/tstack/lnav/releases"; - license = licenses.bsd2; - maintainers = with maintainers; [ dochang ]; - platforms = platforms.unix; - mainProgram = "lnav"; - }; - -} diff --git a/pkgs/tools/misc/lnch/default.nix b/pkgs/tools/misc/lnch/default.nix deleted file mode 100644 index 30759303efbd..000000000000 --- a/pkgs/tools/misc/lnch/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "lnch"; - version = "unstable-2021-08-15"; - - src = fetchFromGitHub { - owner = "oem"; - repo = pname; - rev = "56b5e256b46c002821bef3b9c1b6f68b9dbb4207"; - sha256 = "sha256-Iro/FjPFMqulcK90MbludnOXkMEHW0QSCoQRL01/LDE"; - }; - - vendorHash = null; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - homepage = "https://github.com/oem/lnch"; - description = "Launches a process and moves it out of the process group"; - license = licenses.mit; - mainProgram = "lnch"; - }; -} diff --git a/pkgs/tools/misc/loadlibrary/default.nix b/pkgs/tools/misc/loadlibrary/default.nix deleted file mode 100644 index b07b62624f0a..000000000000 --- a/pkgs/tools/misc/loadlibrary/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, cabextract, fetchFromGitHub, readline, stdenv_32bit }: - -# stdenv_32bit is needed because the program depends upon 32-bit libraries and does not have -# support for 64-bit yet: it requires libc6-dev:i386, libreadline-dev:i386. - -stdenv_32bit.mkDerivation rec { - pname = "loadlibrary"; - version = "20170525-${lib.strings.substring 0 7 rev}"; - rev = "721b084c088d779075405b7f20c77c2578e2a961"; - src = fetchFromGitHub { - inherit rev; - owner = "taviso"; - repo = "loadlibrary"; - sha256 = "01hb7wzfh1s5b8cvmrmr1gqknpq5zpzj9prq3wrpsgg129jpsjkb"; - }; - - buildInputs = [ cabextract readline ]; - - installPhase = '' - mkdir -p $out/bin/ - cp mpclient $out/bin/ - ''; - - meta = with lib; { - homepage = "https://github.com/taviso/loadlibrary"; - description = "Porting Windows Dynamic Link Libraries to Linux"; - platforms = platforms.linux; - maintainers = [ maintainers.eleanor ]; - license = licenses.gpl2Plus; - mainProgram = "mpclient"; - }; -} diff --git a/pkgs/tools/misc/locate-dominating-file/default.nix b/pkgs/tools/misc/locate-dominating-file/default.nix deleted file mode 100644 index 6d599440a8e3..000000000000 --- a/pkgs/tools/misc/locate-dominating-file/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ bats -, bash -, fetchFromGitHub -, lib -, resholve -, coreutils -, getopt -}: -let - version = "0.0.1"; -in -resholve.mkDerivation { - pname = "locate-dominating-file"; - inherit version; - src = fetchFromGitHub { - owner = "roman"; - repo = "locate-dominating-file"; - rev = "v${version}"; - hash = "sha256-gwh6fAw7BV7VFIkQN02QIhK47uxpYheMk64UeLyp2IY="; - }; - - postPatch = '' - for file in $(find src tests -type f); do - patchShebangs "$file" - done - ''; - - buildInputs = [ getopt coreutils ]; - - checkInputs = [ (bats.withLibraries (p: [ p.bats-support p.bats-assert ])) ]; - - doCheck = true; - - checkPhase = '' - runHook preCheck - - bats -t tests - - runHook postCheck - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - cp src/locate-dominating-file.sh $out/bin/locate-dominating-file - - runHook postInstall - ''; - - solutions.default = { - scripts = [ "bin/locate-dominating-file" ]; - interpreter = "${bash}/bin/bash"; - inputs = [ - coreutils - getopt - ]; - }; - - meta = with lib; { - homepage = "https://github.com/roman/locate-dominating-file"; - description = "Program that looks up in a directory hierarchy for a given filename"; - license = licenses.mit; - maintainers = [ maintainers.roman ]; - platforms = platforms.all; - mainProgram = "locate-dominating-file"; - }; -} diff --git a/pkgs/tools/misc/lockfile-progs/default.nix b/pkgs/tools/misc/lockfile-progs/default.nix deleted file mode 100644 index 82bcf3669b66..000000000000 --- a/pkgs/tools/misc/lockfile-progs/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchurl, liblockfile }: - -stdenv.mkDerivation rec { - pname = "lockfile-progs"; - version = "0.1.19"; - - src = fetchurl { - url = "mirror://debian/pool/main/l/lockfile-progs/lockfile-progs_${version}.tar.gz"; - sha256 = "sha256-LFcEsByPR0+CkheA5Fkqknsr9qbXYWNUpsXXzVZkhX4="; - }; - - buildInputs = [ liblockfile ]; - - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU (toString [ - # Needed with GCC 12 - "-Wno-error=format-overflow" - ]); - - installPhase = '' - runHook preInstall - mkdir -p $out/bin $out/man/man1 - install bin/* $out/bin - install man/*.1 $out/man/man1 - runHook postInstall - ''; - - meta = { - description = "Programs for locking and unlocking files and mailboxes"; - homepage = "http://packages.debian.org/sid/lockfile-progs"; - license = lib.licenses.gpl2Only; - - maintainers = [ lib.maintainers.bluescreen303 ]; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/tools/misc/logtop/default.nix b/pkgs/tools/misc/logtop/default.nix deleted file mode 100644 index ff0b3cdac000..000000000000 --- a/pkgs/tools/misc/logtop/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses, uthash, pkg-config }: - -stdenv.mkDerivation rec { - pname = "logtop"; - version = "0.7"; - - src = fetchFromGitHub { - rev = "logtop-${version}"; - owner = "JulienPalard"; - repo ="logtop"; - sha256 = "1f8vk9gybldxvc0kwz38jxmwvzwangsvlfslpsx8zf04nvbkqi12"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ ncurses uthash ]; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - installFlags = [ "DESTDIR=$(out)" ]; - - postConfigure = '' - substituteInPlace Makefile --replace /usr "" - ''; - - meta = with lib; { - description = "Displays a real-time count of strings received from stdin"; - longDescription = '' - logtop displays a real-time count of strings received from stdin. - It can be useful in some cases, like getting the IP flooding your - server or the top buzzing article of your blog - ''; - license = licenses.bsd2; - homepage = "https://github.com/JulienPalard/logtop"; - platforms = platforms.unix; - maintainers = [ maintainers.starcraft66 ]; - mainProgram = "logtop"; - }; -} diff --git a/pkgs/tools/misc/lokalise2-cli/default.nix b/pkgs/tools/misc/lokalise2-cli/default.nix deleted file mode 100644 index f62edf73e407..000000000000 --- a/pkgs/tools/misc/lokalise2-cli/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "lokalise2-cli"; - version = "3.0.1"; - - src = fetchFromGitHub { - owner = "lokalise"; - repo = "lokalise-cli-2-go"; - rev = "v${version}"; - sha256 = "sha256-woRFrw51F9f+dGTkEPuN9ushGfEDwR59uqZIv78PLHE="; - }; - - vendorHash = "sha256-SDI36+35yFy7Fp+VrnQMyIDUY1kM2tylwdS3I9E2vyk="; - - doCheck = false; - - postInstall = '' - mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2 - ''; - - meta = with lib; { - description = "Translation platform for developers. Upload language files, translate, integrate via API"; - homepage = "https://lokalise.com"; - license = licenses.bsd3; - maintainers = with maintainers; [ timstott ]; - mainProgram = "lokalise2"; - }; -} diff --git a/pkgs/tools/misc/loop/default.nix b/pkgs/tools/misc/loop/default.nix deleted file mode 100644 index c8fbb1845b83..000000000000 --- a/pkgs/tools/misc/loop/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage { - pname = "loop"; - version = "unstable-2020-07-08"; - - src = fetchFromGitHub { - owner = "Miserlou"; - repo = "Loop"; - rev = "944df766ddecd7a0d67d91cc2dfda8c197179fb0"; - sha256 = "0v61kahwk1kdy8pb40rjnzcxby42nh02nyg9jqqpx3vgdrpxlnix"; - }; - - cargoHash = "sha256-sceS/2qxiV16VP8E3M39MYnGiCbq0rrnehsV/SuHZl4="; - - meta = with lib; { - description = "UNIX's missing `loop` command"; - homepage = "https://github.com/Miserlou/Loop"; - maintainers = with maintainers; [ koral ]; - license = licenses.mit; - mainProgram = "loop"; - }; -} diff --git a/pkgs/tools/misc/lorri/default.nix b/pkgs/tools/misc/lorri/default.nix index 001efe6563b8..6ba07b3d874e 100644 --- a/pkgs/tools/misc/lorri/default.nix +++ b/pkgs/tools/misc/lorri/default.nix @@ -38,7 +38,7 @@ in (rustPlatform.buildRustPackage rec { RUN_TIME_CLOSURE = pkgs.callPackage ./runtime.nix { }; nativeBuildInputs = [ rustPackages.rustfmt ]; - buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices Security ]; # copy the docs to the $man and $doc outputs postInstall = '' diff --git a/pkgs/tools/misc/lottieconverter/default.nix b/pkgs/tools/misc/lottieconverter/default.nix deleted file mode 100644 index d09088065a3b..000000000000 --- a/pkgs/tools/misc/lottieconverter/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, libpng -, rlottie -, giflib -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "lottieconverter"; - version = "0.2"; - - src = fetchFromGitHub { - owner = "sot-tech"; - repo = "lottieconverter"; - rev = "r${finalAttrs.version}"; - hash = "sha256-oCFQsOQbWzmzClaTOeuEtGo7uXoKYtaJuSLLgqAQP1M="; - }; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ libpng rlottie giflib ]; - - cmakeFlags = [ - "-DSYSTEM_RL=1" - "-DSYSTEM_GL=1" - ]; - - installPhase = '' - runHook preInstall - install -Dm755 lottieconverter "$out/bin/lottieconverter" - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/sot-tech/LottieConverter/"; - description = "Lottie converter utility"; - license = licenses.bsd3; - platforms = platforms.all; - maintainers = with maintainers; [ CRTified nickcao ]; - mainProgram = "lottieconverter"; - }; -}) diff --git a/pkgs/tools/misc/lrzsz/default.nix b/pkgs/tools/misc/lrzsz/default.nix deleted file mode 100644 index 137d27ae1bd0..000000000000 --- a/pkgs/tools/misc/lrzsz/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, gettext, fetchurl, fetchpatch }: - -stdenv.mkDerivation rec { - pname = "lrzsz"; - version = "0.12.20"; - - src = fetchurl { - url = "https://ohse.de/uwe/releases/lrzsz-${version}.tar.gz"; - sha256 = "1wcgfa9fsigf1gri74gq0pa7pyajk12m4z69x7ci9c6x9fqkd2y2"; - }; - - patches = [ - (fetchpatch { - name = "CVE-2018-10195.patch"; - url = "https://bugzilla.redhat.com/attachment.cgi?id=79507"; - sha256 = "0jlh8w0cjaz6k56f0h3a0h4wgc51axmrdn3mdspk7apjfzqcvx3c"; - }) - ]; - - makeFlags = [ "AR:=$(AR)" ]; - - nativeBuildInputs = [ gettext ]; - - hardeningDisable = [ "format" ]; - - configureFlags = [ "--program-transform-name=s/^l//" ]; - - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=implicit-int"; - - meta = with lib; { - homepage = "https://ohse.de/uwe/software/lrzsz.html"; - description = "Communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/ltunify/default.nix b/pkgs/tools/misc/ltunify/default.nix deleted file mode 100644 index b85e3da4a5c0..000000000000 --- a/pkgs/tools/misc/ltunify/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -# Although we copy in the udev rules here, you probably just want to use -# logitech-udev-rules instead of adding this to services.udev.packages on NixOS - -stdenv.mkDerivation rec { - pname = "ltunify"; - version = "0.3"; - - src = fetchFromGitHub { - owner = "Lekensteyn"; - repo = "ltunify"; - rev = "v${version}"; - sha256 = "sha256-9avri/2H0zv65tkBsIi9yVxx3eVS9oCkVCCFdjXqSgI="; - }; - - makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ]; - - meta = with lib; { - description = "Tool for working with Logitech Unifying receivers and devices"; - longDescription = '' - This tool requires either to be run with root/sudo or alternatively to have the udev rules files installed. On NixOS this can be achieved by setting `hardware.logitech.wireless.enable`. - ''; - homepage = "https://lekensteyn.nl/logitech-unifying.html"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ abbradar ]; - platforms = platforms.linux; - mainProgram = "ltunify"; - }; -} diff --git a/pkgs/tools/misc/lwc/default.nix b/pkgs/tools/misc/lwc/default.nix deleted file mode 100644 index 9d22151405df..000000000000 --- a/pkgs/tools/misc/lwc/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "lwc"; - version = "unstable-2022-07-26"; - - src = fetchFromGitHub { - owner = "timdp"; - repo = "lwc"; - rev = "3330928c9d82200837350f85335f5e6c09f0658b"; - hash = "sha256-HFuXA5Y274XtgqG9odDAg9SSCgUxprnojfGavnYW4LE="; - }; - - vendorHash = "sha256-av736cW0bPsGQV+XFL/q6p/9VhjOeDwkiK5DLRnRtUg="; - - ldflags = [ - "-s" - "-w" - "-X=main.version=${src.rev}" - ]; - - meta = with lib; { - description = "Live-updating version of the UNIX wc command"; - homepage = "https://github.com/timdp/lwc"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "lwc"; - }; -} diff --git a/pkgs/tools/misc/macchina/default.nix b/pkgs/tools/misc/macchina/default.nix deleted file mode 100644 index 036d500f6b65..000000000000 --- a/pkgs/tools/misc/macchina/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "macchina"; - version = "6.1.8"; - - src = fetchFromGitHub { - owner = "Macchina-CLI"; - repo = pname; - rev = "v${version}"; - hash = "sha256-MntHq5nphfjbO0Rx7v6WjsnabSMH5Ke3aR9/embG/rk="; - }; - - cargoHash = "sha256-w8WIpT8rUe7olB5kdpDyrId6D698AhcqzsfpOlutaHQ="; - - nativeBuildInputs = [ - installShellFiles - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.AppKit - darwin.apple_sdk.frameworks.DisplayServices - ]; - - postInstall = '' - installManPage doc/macchina.{1,7} - ''; - - meta = with lib; { - description = "Fast, minimal and customizable system information fetcher"; - homepage = "https://github.com/Macchina-CLI/macchina"; - changelog = "https://github.com/Macchina-CLI/macchina/releases/tag/v${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ _414owen figsoda ]; - mainProgram = "macchina"; - }; -} diff --git a/pkgs/tools/misc/makebootfat/default.nix b/pkgs/tools/misc/makebootfat/default.nix deleted file mode 100644 index 7fcd15c53284..000000000000 --- a/pkgs/tools/misc/makebootfat/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "makebootfat"; - version = "1.4"; - - src = fetchurl { - url = "mirror://sourceforge/advancemame/makebootfat-${version}.tar.gz"; - sha256 = "0v0g1xax0y6hmw2x10nfhchp9n7vqyvgc33gcxqax8jdq2pxm1q2"; - }; - - meta = with lib; { - description = "Create bootable USB disks using the FAT filesystem and syslinux"; - homepage = "http://advancemame.sourceforge.net/boot-readme.html"; - license = licenses.gpl2Plus; - maintainers = [ maintainers.ehmry ]; - platforms = platforms.linux; - mainProgram = "makebootfat"; - }; -} diff --git a/pkgs/tools/misc/maker-panel/default.nix b/pkgs/tools/misc/maker-panel/default.nix deleted file mode 100644 index 87aab302f216..000000000000 --- a/pkgs/tools/misc/maker-panel/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, go-md2man -, installShellFiles -}: - -rustPlatform.buildRustPackage rec { - pname = "maker-panel"; - version = "0.12.4"; - - src = fetchFromGitHub { - owner = "twitchyliquid64"; - repo = "maker-panel"; - rev = version; - sha256 = "0dlsy0c46781sb652kp80pvga7pzx6xla64axir92fcgg8k803bi"; - }; - - cargoHash = "sha256-Ygya/9keRyIQyjrO6medtcXww9LMG3ne6I/8q35lJPo="; - - cargoPatches = [ ./update-gerber-types-to-0.3.patch ]; - - nativeBuildInputs = [ go-md2man installShellFiles ]; - - postBuild = '' - go-md2man --in docs/spec-reference.md --out maker-panel.5 - ''; - - postInstall = '' - installManPage maker-panel.5 - ''; - - meta = with lib; { - description = "Make mechanical PCBs by combining shapes together"; - homepage = "https://github.com/twitchyliquid64/maker-panel"; - license = with licenses; [ mit ]; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/maker-panel/update-gerber-types-to-0.3.patch b/pkgs/tools/misc/maker-panel/update-gerber-types-to-0.3.patch deleted file mode 100644 index 60b22d7d69e1..000000000000 --- a/pkgs/tools/misc/maker-panel/update-gerber-types-to-0.3.patch +++ /dev/null @@ -1,109 +0,0 @@ -From e616648213b75f60703bd68e028f0af78199a565 Mon Sep 17 00:00:00 2001 -From: Leah Amelia Chen <hi@pluie.me> -Date: Mon, 6 May 2024 10:43:56 +0200 -Subject: [PATCH] Update gerber-types to 0.3.0 - -Required to update num-bigint to ^0.3.3, in order to compile on modern -Rust versions with a native `div_ceil` on unsigned integers. ---- - Cargo.lock | 26 ++++++++++++++++---------- - Cargo.toml | 2 +- - 2 files changed, 17 insertions(+), 11 deletions(-) - -diff --git a/Cargo.lock b/Cargo.lock -index 1b15393..41cd500 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -387,7 +387,7 @@ dependencies = [ - "log", - "memmap2", - "ttf-parser", -- "uuid", -+ "uuid 0.8.2", - ] - - [[package]] -@@ -471,15 +471,15 @@ dependencies = [ - - [[package]] - name = "gerber-types" --version = "0.2.0" -+version = "0.3.0" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "c7badd25c55b207eb6607600b73293d9627587b2dc0608031aa8de50e63810d3" -+checksum = "aecf78a269d7b4f73953f30174b18f52c1bb44f7d58f4d830a76c0ea023ad8bc" - dependencies = [ - "chrono", - "conv", - "num-rational", - "thiserror", -- "uuid", -+ "uuid 1.8.0", - ] - - [[package]] -@@ -780,9 +780,9 @@ dependencies = [ - - [[package]] - name = "num-bigint" --version = "0.3.2" -+version = "0.4.4" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "7d0a3d5e207573f948a9e5376662aa743a2ea13f7c50a554d7af443a73fbfeba" -+checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" - dependencies = [ - "autocfg", - "num-integer", -@@ -801,9 +801,9 @@ dependencies = [ - - [[package]] - name = "num-rational" --version = "0.3.2" -+version = "0.4.1" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "12ac428b1cb17fce6f731001d307d351ec70a6d202fc2e60f7d4c5e42d8f4f07" -+checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" - dependencies = [ - "autocfg", - "num-bigint", -@@ -813,9 +813,9 @@ dependencies = [ - - [[package]] - name = "num-traits" --version = "0.2.14" -+version = "0.2.19" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" -+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" - dependencies = [ - "autocfg", - ] -@@ -1379,6 +1379,12 @@ dependencies = [ - "getrandom 0.2.2", - ] - -+[[package]] -+name = "uuid" -+version = "1.8.0" -+source = "registry+https://github.com/rust-lang/crates.io-index" -+checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" -+ - [[package]] - name = "vec_map" - version = "0.8.2" -diff --git a/Cargo.toml b/Cargo.toml -index 2f9e8ea..09f0410 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -13,7 +13,7 @@ geo-booleanop = "0.3.2" - geo = "0.16" - usvg = { version = "0.12", default-features = false } - resvg = { version = "0.12", default-features = false } --gerber-types = "0.2" -+gerber-types = "0.3" - #{ git = "https://github.com/twitchyliquid64/gerber-types-rs", rev = "e927ed2ff68d9e8629dbc36d5f1e5626da472376" } - structopt = "0.3" - zip = { version = "0.5", default-features = false } --- -2.44.0 - diff --git a/pkgs/tools/misc/man-db/default.nix b/pkgs/tools/misc/man-db/default.nix deleted file mode 100644 index 9e717cad275a..000000000000 --- a/pkgs/tools/misc/man-db/default.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ buildPackages -, db -, fetchurl -, groff -, gzip -, lib -, libiconv -, libpipeline -, makeWrapper -, nixosTests -, pkg-config -, stdenv -, zstd -, autoreconfHook -}: - -stdenv.mkDerivation rec { - pname = "man-db"; - version = "2.12.1"; - - src = fetchurl { - url = "mirror://savannah/man-db/man-db-${version}.tar.xz"; - hash = "sha256-3e4kna63jPkrq3lMzQacyLV1mSJl6iDiOeiHFW6IAmU="; - }; - - outputs = [ "out" "doc" ]; - outputMan = "out"; # users will want `man man` to work - - strictDeps = true; - nativeBuildInputs = [ autoreconfHook groff makeWrapper pkg-config zstd ]; - buildInputs = [ libpipeline db groff ]; # (Yes, 'groff' is both native and build input) - nativeCheckInputs = [ libiconv /* for 'iconv' binary */ ]; - - patches = [ - ./systemwide-man-db-conf.patch - ]; - - postPatch = '' - # Remove all mandatory manpaths. Nixpkgs makes no requirements on - # these directories existing. - sed -i 's/^MANDATORY_MANPATH/# &/' src/man_db.conf.in - - # Add Nix-related manpaths - echo "MANPATH_MAP /nix/var/nix/profiles/default/bin /nix/var/nix/profiles/default/share/man" >> src/man_db.conf.in - - # Add mandb locations for the above - echo "MANDB_MAP /nix/var/nix/profiles/default/share/man /var/cache/man/nixpkgs" >> src/man_db.conf.in - ''; - - configureFlags = [ - "--disable-setuid" - "--disable-cache-owner" - "--localstatedir=/var" - "--with-config-file=${placeholder "out"}/etc/man_db.conf" - "--with-systemdtmpfilesdir=${placeholder "out"}/lib/tmpfiles.d" - "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" - "--with-pager=less" - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ - "ac_cv_func__set_invalid_parameter_handler=no" - "ac_cv_func_posix_fadvise=no" - "ac_cv_func_mempcpy=no" - ]; - - preConfigure = '' - configureFlagsArray+=("--with-sections=1 n l 8 3 0 2 5 4 9 6 7") - ''; - - postInstall = '' - # apropos/whatis uses program name to decide whether to act like apropos or whatis - # (multi-call binary). `apropos` is actually just a symlink to whatis. So we need to - # make sure that we don't wrap symlinks (since that changes argv[0] to the -wrapped name) - find "$out/bin" -type f | while read file; do - wrapProgram "$file" \ - --prefix PATH : "${lib.makeBinPath [ groff gzip zstd ]}" - done - ''; - - disallowedReferences = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ - buildPackages.groff - ]; - - enableParallelBuilding = true; - - doCheck = !stdenv.hostPlatform.isMusl /* iconv binary */; - - passthru.tests = { - nixos = nixosTests.man; - }; - - meta = with lib; { - homepage = "http://man-db.nongnu.org"; - description = "Implementation of the standard Unix documentation system accessed using the man command"; - license = licenses.gpl2Plus; - platforms = lib.platforms.unix; - mainProgram = "man"; - }; -} diff --git a/pkgs/tools/misc/man-db/systemwide-man-db-conf.patch b/pkgs/tools/misc/man-db/systemwide-man-db-conf.patch deleted file mode 100644 index 2d4477776bb1..000000000000 --- a/pkgs/tools/misc/man-db/systemwide-man-db-conf.patch +++ /dev/null @@ -1,39 +0,0 @@ -commit 9089291006a4258c39c75a920ad536b61504251a -Author: rnhmjoj <rnhmjoj@inventati.org> -Date: Fri May 1 19:32:15 2020 +0200 - - check for systemwide man_db.conf before the bundled one - -diff --git a/src/manp.c b/src/manp.c -index 5441339..0bbf566 100644 ---- a/src/manp.c -+++ b/src/manp.c -@@ -841,18 +841,24 @@ void read_config_file (bool optional) - } - - if (getenv ("MAN_TEST_DISABLE_SYSTEM_CONFIG") == NULL) { -- config_file = fopen (CONFIG_FILE, "r"); -+ const char *config_filepath; -+ if (access ("/etc/man_db.conf", F_OK) != -1) { -+ config_filepath = "/etc/man_db.conf"; -+ } else { -+ config_filepath = CONFIG_FILE; -+ } -+ config_file = fopen (config_filepath, "r"); - if (config_file == NULL) { - if (optional) - debug ("can't open %s; continuing anyway\n", -- CONFIG_FILE); -+ config_filepath); - else - error (FAIL, 0, - _("can't open the manpath " - "configuration file %s"), -- CONFIG_FILE); -+ config_filepath); - } else { -- debug ("From the config file %s:\n", CONFIG_FILE); -+ debug ("From the config file %s:\n", config_filepath); - - add_to_dirlist (config_file, 0); - fclose (config_file); diff --git a/pkgs/tools/misc/mandoc/default.nix b/pkgs/tools/misc/mandoc/default.nix deleted file mode 100644 index b61ea7f3e9f5..000000000000 --- a/pkgs/tools/misc/mandoc/default.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ lib, stdenv, fetchurl, zlib, perl, nixosTests }: - -let - # Name of an UTF-8 locale _always_ present at runtime, used for UTF-8 support - # (locale set by the user may differ). This would usually be C.UTF-8, but - # darwin has no such locale. - utf8Locale = - if stdenv.hostPlatform.isDarwin - then "en_US.UTF-8" - else "C.UTF-8"; -in - -stdenv.mkDerivation rec { - pname = "mandoc"; - version = "1.14.6"; - - src = fetchurl { - url = "https://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz"; - sha256 = "8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c"; - }; - - buildInputs = [ zlib ]; - - configureLocal = '' - MANPATH_DEFAULT="/run/current-system/sw/share/man" - MANPATH_BASE="$MANPATH_DEFAULT" - OSNAME="Nixpkgs" - PREFIX="$out" - LD_OHASH="-lutil" - # Use symlinks instead of hardlinks (more commonly used in nixpkgs) - LN="ln -sf" - # nixpkgs doesn't have sbin, install makewhatis to bin - SBINDIR="$PREFIX/bin" - CC=${stdenv.cc.targetPrefix}cc - AR=${stdenv.cc.bintools.targetPrefix}ar - # Allow makewhatis(8) to follow symlinks from a manpath to the nix store - READ_ALLOWED_PATH=${builtins.storeDir} - # Bypass the locale(1)-based check for UTF-8 support since it causes trouble: - # * We only have meaningful locale(1) implementations for glibc and macOS - # * NetBSD's locale(1) (used for macOS) depends on mandoc - # * Sandbox and locales cause all kinds of trouble - # * build and host libc (and thus locale handling) may differ - HAVE_WCHAR=1 - UTF8_LOCALE=${utf8Locale} - ''; - - preConfigure = '' - printf '%s' "$configureLocal" > configure.local - ''; - - doCheck = true; - checkTarget = "regress"; - nativeCheckInputs = [ perl ]; - preCheck = "patchShebangs --build regress/regress.pl"; - - passthru.tests = { - nixos = nixosTests.man; - }; - - meta = with lib; { - # check if we can execute binaries for the host platform on the build platform - # even though the platforms aren't the same. mandoc can't be cross compiled - # (easily) because of its configurePhase which executes compiled programs - # for gathering information about the host system. Consequently, we can only - # allow “native” cross such as pkgsLLVM and pkgsStatic. - # For a lack of a better predicate at the moment, we compare the platforms' - # system tuples. See also: - # * https://github.com/NixOS/nixpkgs/pull/140271 - # * https://github.com/NixOS/nixpkgs/issues/61414 - # We need to use broken instead of, say a top level assert, to keep splicing - # working. - broken = stdenv.buildPlatform.system != stdenv.hostPlatform.system; - - homepage = "https://mandoc.bsd.lv/"; - description = "suite of tools compiling mdoc and man"; - downloadPage = "http://mandoc.bsd.lv/snapshots/"; - license = licenses.bsd3; - platforms = platforms.all; - maintainers = with maintainers; [ ramkromberg sternenseemann ]; - mainProgram = "man"; - }; -} diff --git a/pkgs/tools/misc/mandown/default.nix b/pkgs/tools/misc/mandown/default.nix deleted file mode 100644 index ae70a319e65f..000000000000 --- a/pkgs/tools/misc/mandown/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "mandown"; - version = "0.1.4"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-8SHZR8frDHLGj2WYlnFGBWY3B6xv4jByET7CODt2TGw="; - }; - - cargoHash = "sha256-/IvPvJo5zwvLY+P5+hsdbR56/pfopfwncEz9UGUS1Oc="; - - meta = with lib; { - description = "Markdown to groff (man page) converter"; - homepage = "https://gitlab.com/kornelski/mandown"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = [ ]; - mainProgram = "mandown"; - }; -} diff --git a/pkgs/tools/misc/manga-cli/default.nix b/pkgs/tools/misc/manga-cli/default.nix deleted file mode 100644 index 65d45cf60e3c..000000000000 --- a/pkgs/tools/misc/manga-cli/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ stdenvNoCC -, lib -, fetchFromGitHub -, makeWrapper -, img2pdf -, zathura -}: - -stdenvNoCC.mkDerivation { - pname = "manga-cli"; - version = "unstable-2022-04-11"; - - src = fetchFromGitHub { - owner = "7USTIN"; - repo = "manga-cli"; - rev = "a69fe935341eaf96618a6b2064d4dcb36c8690b5"; - sha256 = "sha256-AnpOEgOBt2a9jtPNvfBnETGtc5Q1WBmSRFDvQB7uBE4="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - runHook preInstall - - install -Dm755 manga-cli $out/bin/manga-cli - - wrapProgram $out/bin/manga-cli \ - --prefix PATH : ${lib.makeBinPath [ img2pdf zathura ]} - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/7USTIN/manga-cli"; - description = "Bash script for reading mangas via the terminal by scraping manganato"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ baitinq ]; - mainProgram = "manga-cli"; - }; -} diff --git a/pkgs/tools/misc/map/default.nix b/pkgs/tools/misc/map/default.nix deleted file mode 100644 index bd70971e0b1e..000000000000 --- a/pkgs/tools/misc/map/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "map"; - version = "0.1.1"; - - src = fetchFromGitHub { - owner = "soveran"; - repo = "map"; - rev = version; - sha256 = "sha256-yGzmhZwv1qKy0JNcSzqL996APQO8OGWQ1GBkEkKTOXA="; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - postInstall = '' - mkdir -p "$out/share/doc/map" - cp README* LICENSE "$out/share/doc/map" - ''; - - doCheck = true; - - checkPhase = "./test/tests.sh"; - - meta = with lib; { - description = "Map lines from stdin to commands"; - mainProgram = "map"; - homepage = "https://github.com/soveran/map"; - license = licenses.bsd2; - maintainers = with maintainers; [ pogobanane ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/mapcidr/default.nix b/pkgs/tools/misc/mapcidr/default.nix deleted file mode 100644 index 3c955c2d336b..000000000000 --- a/pkgs/tools/misc/mapcidr/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "mapcidr"; - version = "1.1.34"; - - src = fetchFromGitHub { - owner = "projectdiscovery"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-/bZ6LimkdbR7nG7XcetNshk0KXw1FGbuaTXP+DH7hQg="; - }; - - vendorHash = "sha256-tbMCXNBND9jc0C1bA9Rmz1stYKtJPmMzTlbGc3vcmE4="; - - modRoot = "."; - subPackages = [ - "cmd/mapcidr" - ]; - - meta = with lib; { - description = "Small utility program to perform multiple operations for a given subnet/CIDR ranges"; - longDescription = '' - mapCIDR is developed to ease load distribution for mass scanning - operations, it can be used both as a library and as independent CLI tool. - ''; - homepage = "https://github.com/projectdiscovery/mapcidr"; - changelog = "https://github.com/projectdiscovery/mapcidr/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ hanemile ]; - mainProgram = "mapcidr"; - }; -} diff --git a/pkgs/tools/misc/markdown-anki-decks/default.nix b/pkgs/tools/misc/markdown-anki-decks/default.nix deleted file mode 100644 index 178e78bee6ff..000000000000 --- a/pkgs/tools/misc/markdown-anki-decks/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -python3.pkgs.buildPythonApplication rec { - pname = "markdown-anki-decks"; - version = "1.1.1"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-SvKjjE629OwxWsPo2egGf2K6GzlWAYYStarHhA4Ex0w="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail 'typer = "^0.4.0"' 'typer = "*"' - ''; - - build-system = with python3.pkgs; [ - poetry-core - ]; - - dependencies = with python3.pkgs; [ - beautifulsoup4 - genanki - markdown - python-frontmatter - typer - ]; - - # No tests available on Pypi and there is only a failing version assertion test in the repo. - doCheck = false; - - pythonImportsCheck = [ - "markdown_anki_decks" - ]; - - meta = with lib; { - description = "Tool to convert Markdown files into Anki Decks"; - homepage = "https://github.com/lukesmurray/markdown-anki-decks"; - changelog = "https://github.com/lukesmurray/markdown-anki-decks/blob/${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = [ ]; - platforms = platforms.unix; - mainProgram = "mdankideck"; - }; -} diff --git a/pkgs/tools/misc/marlin-calc/default.nix b/pkgs/tools/misc/marlin-calc/default.nix deleted file mode 100644 index dc8ff4221009..000000000000 --- a/pkgs/tools/misc/marlin-calc/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation { - pname = "marlin-calc"; - version = "2019-10-17"; - - src = fetchFromGitHub { - owner = "eyal0"; - repo = "Marlin"; - rev = "3d5a5c86bea35a2a169eb56c70128bf2d070feef"; - sha256 = "14sqajm361gnrcqv84g7kbmyqm8pppbhqsabszc4j2cn7vbwkdg5"; - }; - - postPatch = '' - # missing header for gcc >= 11 - sed -i '1i#include <limits>' Marlin/src/module/calc.cpp - ''; - - buildPhase = '' - cd Marlin/src - c++ module/planner.cpp module/calc.cpp feature/fwretract.cpp \ - -O2 -Wall -std=gnu++11 -o marlin-calc - ''; - - installPhase = '' - install -Dm0755 {,$out/bin/}marlin-calc - ''; - - meta = with lib; { - homepage = "https://github.com/eyal0/Marlin"; - description = "Marlin 3D printer timing simulator"; - license = licenses.gpl3; - maintainers = with maintainers; [ gebner ]; - platforms = platforms.unix; - broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/marlin-calc.x86_64-darwin - mainProgram = "marlin-calc"; - }; -} diff --git a/pkgs/tools/misc/massren/default.nix b/pkgs/tools/misc/massren/default.nix deleted file mode 100644 index 0c33de89eecd..000000000000 --- a/pkgs/tools/misc/massren/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: - -buildGoModule rec { - pname = "massren"; - version = "1.5.6"; - - src = fetchFromGitHub { - owner = "laurent22"; - repo = "massren"; - rev = "v${version}"; - hash = "sha256-17y+vmspvZKKRRaEwzP3Zya4r/z+2aSGG6oNZiA8D64="; - }; - - vendorHash = null; - - patches = [ - # Add Go Modules support - (fetchpatch { - url = "https://github.com/laurent22/massren/commit/83df215b6e112d1ec375b08d8c44dadc5107155d.patch"; - hash = "sha256-FMTmUrv6zGq11vexUirAuK3H6r78RtoipqyWoh+pzrs="; - }) - ]; - - ldflags = [ "-s" "-w" ]; - - checkFlags = - let - skippedTests = [ - # Possible error about github.com/mattn/go-sqlite3 - "Test_guessEditorCommand" - "Test_processFileActions" - ]; - in - [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; - - meta = with lib; { - description = "Easily rename multiple files using your text editor"; - license = licenses.mit; - homepage = "https://github.com/laurent22/massren"; - maintainers = [ ]; - mainProgram = "massren"; - }; -} diff --git a/pkgs/tools/misc/mastotool/default.nix b/pkgs/tools/misc/mastotool/default.nix deleted file mode 100644 index eb5e64573225..000000000000 --- a/pkgs/tools/misc/mastotool/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "mastotool"; - version = "0.2.4"; - - src = fetchFromGitHub { - owner = "muesli"; - repo = "mastotool"; - rev = "v${version}"; - hash = "sha256-KmYUt2WXLY6i17dZ+o5HOTyMwbQnynY7IT43LIEN3B0="; - }; - - vendorHash = "sha256-uQgLwH8Z8rBfyKHMm2JHO+H1gsHK25+c34bOnMcmquA="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Collection of command-line tools to work with your Mastodon account"; - homepage = "https://github.com/muesli/mastotool"; - changelog = "https://github.com/muesli/mastotool/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "mastotool"; - }; -} diff --git a/pkgs/tools/misc/mathpix-snipping-tool/default.nix b/pkgs/tools/misc/mathpix-snipping-tool/default.nix deleted file mode 100644 index 0f03913c87a8..000000000000 --- a/pkgs/tools/misc/mathpix-snipping-tool/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ appimageTools, lib, fetchurl }: -let - pname = "mathpix-snipping-tool"; - version = "03.00.0072"; - - src = fetchurl { - url = "https://download.mathpix.com/linux/Mathpix_Snipping_Tool-x86_64.v${version}.AppImage"; - sha256 = "1igg8wnshmg9f23qqw1gqb85h1aa3461c1n7dmgw6sn4lrrrh5ms"; - }; - - appimageContents = appimageTools.extract { inherit pname version src; }; -in appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = '' - install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications - - cp -r ${appimageContents}/usr/share/icons $out/share - ''; - - meta = with lib; { - description = "OCR tool to convert pictures to LaTeX"; - homepage = "https://mathpix.com/"; - license = licenses.unfree; - maintainers = [ maintainers.hiro98 ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "mathpix-snipping-tool"; - }; -} diff --git a/pkgs/tools/misc/mbuffer/default.nix b/pkgs/tools/misc/mbuffer/default.nix deleted file mode 100644 index 66707a492f0e..000000000000 --- a/pkgs/tools/misc/mbuffer/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, stdenv -, fetchurl -, openssl -, which -}: - -stdenv.mkDerivation rec { - pname = "mbuffer"; - version = "20240707"; - - src = fetchurl { - url = "http://www.maier-komor.de/software/mbuffer/mbuffer-${version}.tgz"; - sha256 = "sha256-fzkm6S+qgblqMkIPgCiLVfGFBIDyoDLBbtYbUyZ8rgk="; - }; - - buildInputs = [ - openssl - ]; - nativeBuildInputs = [ - which - ]; - - doCheck = true; - - meta = with lib; { - description = "Tool for buffering data streams with a large set of unique features"; - homepage = "https://www.maier-komor.de/mbuffer.html"; - license = licenses.gpl3Only; - maintainers = [ ]; - platforms = platforms.linux; # Maybe other non-darwin Unix - mainProgram = "mbuffer"; - }; -} diff --git a/pkgs/tools/misc/mcrypt/default.nix b/pkgs/tools/misc/mcrypt/default.nix deleted file mode 100644 index 5e1f6d5e37a4..000000000000 --- a/pkgs/tools/misc/mcrypt/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchurl, libmcrypt, libmhash }: - -stdenv.mkDerivation rec { - version = "2.6.8"; - pname = "mcrypt"; - - src = fetchurl { - url = "mirror://sourceforge/mcrypt/MCrypt/${version}/mcrypt-${version}.tar.gz"; - sha256 = "5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098"; - }; - - patches = [ - ./format-string_CVE-2012-4426.patch - ./overflow_CVE-2012-4409.patch - ./segv.patch - ./sprintf_CVE-2012-4527.patch - ./malloc_to_stdlib.patch - ]; - - buildInputs = [ libmcrypt libmhash ]; - - env = lib.optionalAttrs stdenv.cc.isClang { - NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration"; - }; - - meta = { - description = "Replacement for old UNIX crypt(1)"; - longDescription = '' - mcrypt, and the accompanying libmcrypt, are intended to be replacements - for the old Unix crypt, except that they are under the GPL and support an - ever-wider range of algorithms and modes. - ''; - homepage = "https://mcrypt.sourceforge.net"; - license = lib.licenses.gpl3Only; - platforms = lib.platforms.all; - maintainers = [ lib.maintainers.qknight ]; - }; -} diff --git a/pkgs/tools/misc/mcrypt/format-string_CVE-2012-4426.patch b/pkgs/tools/misc/mcrypt/format-string_CVE-2012-4426.patch deleted file mode 100644 index 322ab473811f..000000000000 --- a/pkgs/tools/misc/mcrypt/format-string_CVE-2012-4426.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- mcrypt-2.6.8/src/errors.c -+++ mcrypt-2.6.8/src/errors.c -@@ -25,24 +25,24 @@ - - void err_quit(char *errmsg) - { -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - exit(-1); - } - - void err_warn(char *errmsg) - { - if (quiet <= 1) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } - - void err_info(char *errmsg) - { - if (quiet == 0) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } - - void err_crit(char *errmsg) - { - if (quiet <= 2) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } diff --git a/pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch b/pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch deleted file mode 100755 index 6bead60dc56b..000000000000 --- a/pkgs/tools/misc/mcrypt/malloc_to_stdlib.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e295844e8ef5c13487996ab700e5f12a7fadb1a6 Mon Sep 17 00:00:00 2001 -From: Private <private@private.priv> -Date: Wed, 30 Dec 2020 16:06:46 -0800 -Subject: [PATCH] malloc.h to stdlib.h in rfc2440.c - -The malloc.h is deprecated and should not be used ---- - src/rfc2440.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/rfc2440.c b/src/rfc2440.c -index 5a1f296..4d6a5db 100644 ---- a/src/rfc2440.c -+++ b/src/rfc2440.c -@@ -23,7 +23,7 @@ - #include <zlib.h> - #endif - #include <stdio.h> --#include <malloc.h> -+#include <stdlib.h> - - #include "xmalloc.h" - #include "keys.h" --- -2.13.5 - diff --git a/pkgs/tools/misc/mcrypt/overflow_CVE-2012-4409.patch b/pkgs/tools/misc/mcrypt/overflow_CVE-2012-4409.patch deleted file mode 100644 index bf747a58266a..000000000000 --- a/pkgs/tools/misc/mcrypt/overflow_CVE-2012-4409.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 3efb40e17ce4f76717ae17a1ce1e1f747ddf59fd Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 22 Dec 2012 22:37:06 +0200 -Subject: [PATCH] cleanup: buffer overflow - ---- - mcrypt-2.6.8/src/extra.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/mcrypt-2.6.8/src/extra.c b/mcrypt-2.6.8/src/extra.c -index 3082f82..c7a1ac0 100644 ---- a/src/extra.c -+++ b/src/extra.c -@@ -241,6 +241,8 @@ int check_file_head(FILE * fstream, char *algorithm, char *mode, - if (m_getbit(6, flags) == 1) { /* if the salt bit is set */ - if (m_getbit(0, sflag) != 0) { /* if the first bit is set */ - *salt_size = m_setbit(0, sflag, 0); -+ if (*salt_size > sizeof(tmp_buf)) -+ err_quit(_("Salt is too long\n")); - if (*salt_size > 0) { - fread(tmp_buf, 1, *salt_size, - fstream); --- -1.7.8.6 diff --git a/pkgs/tools/misc/mcrypt/segv.patch b/pkgs/tools/misc/mcrypt/segv.patch deleted file mode 100644 index 6796163418f5..000000000000 --- a/pkgs/tools/misc/mcrypt/segv.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 5bee29fae8f0e936ad4c957aef6035d09532a57a Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 22 Dec 2012 22:04:27 +0200 -Subject: [PATCH] cleanup: fixup segv on buffer access - -use exact buffer size instead of guess. - -do not copy out of source buffer. - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - mcrypt-2.6.8/src/rfc2440.c | 5 +++-- - 1 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/mcrypt-2.6.8/src/rfc2440.c b/mcrypt-2.6.8/src/rfc2440.c -index 5a1f296..929b9ab 100644 ---- a/src/rfc2440.c -+++ b/src/rfc2440.c -@@ -497,7 +497,7 @@ plaintext_encode(const USTRING dat) - time_t t; - - assert(dat->len > 0); -- result = make_ustring( NULL, 2 * dat->len); /* xxx */ -+ result = make_ustring( NULL, dat->len + 12); /* xxx */ - newdat = (USTRING)dat; - result->d[pos++] = (0x80 | 0x40 | PKT_PLAINTEXT); - -@@ -810,7 +810,8 @@ encrypted_encode(const USTRING pt, const DEK *dek) - _mcrypt_encrypt(dek->hd, rndpref, dek->blocklen + 2, NULL, 0); - _mcrypt_sync(dek->hd, rndpref, dek->blocklen); - -- ct = make_ustring( rndpref, 2 * pt->len); /* xxx */ -+ ct = make_ustring( NULL, dek->blocklen + 2 + pt->len + 12); /* xxx */ -+ memcpy(ct->d, rndpref, dek->blocklen + 2); - pos = dek->blocklen + 2; - - _mcrypt_encrypt(dek->hd, ct->d + pos, pt->len, pt->d, pt->len); --- -1.7.8.6 diff --git a/pkgs/tools/misc/mcrypt/sprintf_CVE-2012-4527.patch b/pkgs/tools/misc/mcrypt/sprintf_CVE-2012-4527.patch deleted file mode 100644 index 1c9ade807778..000000000000 --- a/pkgs/tools/misc/mcrypt/sprintf_CVE-2012-4527.patch +++ /dev/null @@ -1,108 +0,0 @@ -Description: [CVE-2012-4527] Stack-based buffer overflow with long file names - . - A buffer overflow in mcrypt version 2.6.8 and earlier due to long filenames. - If a user were tricked into attempting to encrypt/decrypt specially crafted - long filename(s), this flaw would cause a stack-based buffer overflow that - could potentially lead to arbitrary code execution. - . - Note that this is caught by FORTIFY_SOURCE, which makes this a crash-only - bug on wheezy. -Author: Attila Bogar, Jean-Michel Vourgère <jmv_deb@nirgal.com> -Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-4527 -Bug: CVE-2012-4527 -Bug-Debian: http://bugs.debian.org/690924 -Forwarded: no -Last-Update: 2012-11-01 -Index: mcrypt-2.6.8/src/mcrypt.c -=================================================================== ---- mcrypt-2.6.8.orig/src/mcrypt.c -+++ mcrypt-2.6.8/src/mcrypt.c -@@ -41,4 +41,6 @@ - -+/* Temporary error message can contain one file name and 1k of text */ -+#define ERRWIDTH ((PATH_MAX)+1024) --char tmperr[128]; -+char tmperr[ERRWIDTH]; - unsigned int stream_flag = FALSE; - char *keymode = NULL; - char *mode = NULL; -@@ -482,7 +485,7 @@ - #ifdef HAVE_STAT - if (stream_flag == FALSE) { - if (is_normal_file(file[i]) == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: %s is not a regular file. Skipping...\n"), - program_name, file[i]); -@@ -501,7 +504,7 @@ - dinfile = file[i]; - if ((isatty(fileno((FILE *) (stdin))) == 1) - && (stream_flag == TRUE) && (force == 0)) { /* not a tty */ -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: Encrypted data will not be read from a terminal.\n"), - program_name); -@@ -520,7 +523,7 @@ - einfile = file[i]; - if ((isatty(fileno((FILE *) (stdout))) == 1) - && (stream_flag == TRUE) && (force == 0)) { /* not a tty */ -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: Encrypted data will not be written to a terminal.\n"), - program_name); -@@ -544,7 +547,7 @@ - strcpy(outfile, einfile); - /* if file has already the .nc ignore it */ - if (strstr(outfile, ".nc") != NULL) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: file %s has the .nc suffix... skipping...\n"), - program_name, outfile); -@@ -590,10 +593,10 @@ - - if (x == 0) { - if (stream_flag == FALSE) { -- sprintf(tmperr, _("File %s was decrypted.\n"), dinfile); -+ snprintf(tmperr, ERRWIDTH, _("File %s was decrypted.\n"), dinfile); - err_warn(tmperr); - } else { -- sprintf(tmperr, _("Stdin was decrypted.\n")); -+ snprintf(tmperr, ERRWIDTH, _("Stdin was decrypted.\n")); - err_warn(tmperr); - } - #ifdef HAVE_STAT -@@ -610,7 +613,7 @@ - - } else { - if (stream_flag == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("File %s was NOT decrypted successfully.\n"), - dinfile); -@@ -636,10 +639,10 @@ - - if (x == 0) { - if (stream_flag == FALSE) { -- sprintf(tmperr, _("File %s was encrypted.\n"), einfile); -+ snprintf(tmperr, ERRWIDTH, _("File %s was encrypted.\n"), einfile); - err_warn(tmperr); - } else { -- sprintf(tmperr, _("Stdin was encrypted.\n")); -+ snprintf(tmperr, ERRWIDTH, _("Stdin was encrypted.\n")); - err_warn(tmperr); - } - #ifdef HAVE_STAT -@@ -655,7 +658,7 @@ - - } else { - if (stream_flag == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("File %s was NOT encrypted successfully.\n"), - einfile); diff --git a/pkgs/tools/misc/mdbtools/default.nix b/pkgs/tools/misc/mdbtools/default.nix deleted file mode 100644 index c543a7720554..000000000000 --- a/pkgs/tools/misc/mdbtools/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, glib, readline -, bison, flex, pkg-config, autoreconfHook -, txt2man, which -}: - -stdenv.mkDerivation rec { - pname = "mdbtools"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "mdbtools"; - repo = "mdbtools"; - rev = "v${version}"; - sha256 = "sha256-e9rgTWu8cwuccpp/wAfas1ZeQPTpGcgE6YjLz7KRnhw="; - }; - - configureFlags = [ "--disable-scrollkeeper" ]; - - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unused-but-set-variable"; - - nativeBuildInputs = [ - pkg-config bison flex autoreconfHook txt2man which - ]; - - buildInputs = [ glib readline ]; - - enableParallelBuilding = true; - - meta = with lib; { - description = ".mdb (MS Access) format tools"; - license = with licenses; [ gpl2Plus lgpl2 ]; - maintainers = [ ]; - platforms = platforms.unix; - inherit (src.meta) homepage; - }; -} diff --git a/pkgs/tools/misc/mdr/default.nix b/pkgs/tools/misc/mdr/default.nix deleted file mode 100644 index b33c51c99ca0..000000000000 --- a/pkgs/tools/misc/mdr/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, fetchFromGitHub, buildGoModule }: - -buildGoModule rec { - pname = "mdr"; - version = "0.2.5"; - - src = fetchFromGitHub { - owner = "MichaelMure"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-ibM3303pXnseAFP9qFTOzj0G/SxRPX+UeRfbJ+MCABk="; - }; - - vendorHash = "sha256-5jzU4EybEGKoEXCFhnu7z4tFRS9fgf2wJXhkvigRM0E="; - - ldflags = [ - "-s" - "-w" - "-X main.GitCommit=${src.rev}" - "-X main.GitLastTag=${version}" - "-X main.GitExactTag=${version}" - ]; - - meta = with lib; { - description = "MarkDown Renderer for the terminal"; - homepage = "https://github.com/MichaelMure/mdr"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "mdr"; - }; -} diff --git a/pkgs/tools/misc/mdslides/default.nix b/pkgs/tools/misc/mdslides/default.nix deleted file mode 100644 index f329d02237a0..000000000000 --- a/pkgs/tools/misc/mdslides/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages }: - -python3Packages.buildPythonApplication rec { - pname = "mdslides"; - version = "unstable-2022-12-15"; - - src = fetchFromGitHub { - owner = "dadoomer"; - repo = "markdown-slides"; - rev = "fd27dd09cf90f00093a393338e08953c8d65d68e"; - sha256 = "sha256-31ALsy1P/vfI+H6Onmg4TXLeKbVAQ1FlnFs4k6ZOgHQ="; - }; - - doCheck = false; - - meta = with lib; { - longDescription = "Using markdown, write simple but beautiful presentations with math, animations and media, which can be visualized in a web browser or exported to PDF."; - homepage = "https://github.com/dadoomer/markdown-slides"; - license = licenses.mit; - maintainers = [ maintainers.qjoly ]; - mainProgram = "mdslides"; - }; -} diff --git a/pkgs/tools/misc/me_cleaner/default.nix b/pkgs/tools/misc/me_cleaner/default.nix deleted file mode 100644 index cd9ebe5816e4..000000000000 --- a/pkgs/tools/misc/me_cleaner/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, python3, fetchFromGitHub }: - -python3.pkgs.buildPythonPackage rec { - pname = "me_cleaner"; - version = "1.2"; - - src = fetchFromGitHub { - owner = "corna"; - repo = pname; - rev = "v${version}"; - sha256 = "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4"; - }; - - meta = with lib; { - inherit (src.meta) homepage; - description = "Tool for partial deblobbing of Intel ME/TXE firmware images"; - longDescription = '' - me_cleaner is a Python script able to modify an Intel ME firmware image - with the final purpose of reducing its ability to interact with the system. - ''; - license = licenses.gpl3; - maintainers = [ ]; - mainProgram = "me_cleaner.py"; - }; -} diff --git a/pkgs/tools/misc/megacli/default.nix b/pkgs/tools/misc/megacli/default.nix deleted file mode 100644 index b198b030f3ea..000000000000 --- a/pkgs/tools/misc/megacli/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, stdenv, rpmextract, ncurses5, patchelf, fetchurl, unzip }: - -stdenv.mkDerivation rec { - pname = "megacli"; - version = "8.07.14"; - - src = fetchurl { - url = "https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${builtins.replaceStrings ["."] ["-"] version}_MegaCLI.zip"; - sha256 = "1sdn58fbmd3fj4nzbajq3gcyw71ilgdh45r5p4sa6xmb7np55cfr"; - }; - - nativeBuildInputs = [ unzip ]; - buildInputs = [rpmextract ncurses5]; - libPath = - lib.makeLibraryPath - [ stdenv.cc.cc stdenv.cc.libc ncurses5 ]; - - buildCommand = '' - unzip ${src} - rpmextract Linux/MegaCli-${version}-1.noarch.rpm - - mkdir -p $out/{bin,share/MegaRAID/MegaCli} - cp -r opt $out - cp ${version}_MegaCLI.txt $out/share/MegaRAID/MegaCli - - ${patchelf}/bin/patchelf \ - --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib64:${stdenv.cc.cc.lib}/lib \ - $out/opt/MegaRAID/MegaCli/MegaCli64 - - ln -s $out/opt/MegaRAID/MegaCli/MegaCli64 $out/bin/MegaCli64 - eval fixupPhase - ''; - - meta = { - description = "CLI program for LSI MegaRAID cards, which also works with some Dell PERC RAID cards"; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - license = lib.licenses.unfree; - platforms = [ "x86_64-linux" ]; - mainProgram = "MegaCli64"; - }; -} diff --git a/pkgs/tools/misc/melody/default.nix b/pkgs/tools/misc/melody/default.nix deleted file mode 100644 index 89316b183fdd..000000000000 --- a/pkgs/tools/misc/melody/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, rustPlatform, fetchCrate }: - -rustPlatform.buildRustPackage rec { - pname = "melody"; - version = "0.19.0"; - - src = fetchCrate { - pname = "melody_cli"; - inherit version; - hash = "sha256-sJVZ4dRP6mAx9g7iqwI3L2cMa5x4qQuzKWPXvOOq6q8="; - }; - - cargoHash = "sha256-8UWz+gYUxf2UNWZCnhQlGiSX6kPsHPlYcdl7wD3Rchs="; - - meta = with lib; { - description = "Language that compiles to regular expressions"; - homepage = "https://github.com/yoav-lavi/melody"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "melody"; - }; -} diff --git a/pkgs/tools/misc/memtest86+/default.nix b/pkgs/tools/misc/memtest86+/default.nix deleted file mode 100644 index 72b74039f780..000000000000 --- a/pkgs/tools/misc/memtest86+/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation (finalAttrs: { - pname = "memtest86+"; - version = "7.00"; - - src = fetchFromGitHub { - owner = "memtest86plus"; - repo = "memtest86plus"; - rev = "v${finalAttrs.version}"; - hash = "sha256-DVYiE9yi20IR2AZs8bya1h9vK4si7nKdg9Nqef4WTrw="; - }; - - # Binaries are booted directly by BIOS/UEFI or bootloader - # and should not be patched/stripped - dontPatchELF = true; - dontStrip = true; - - passthru.efi = "${finalAttrs.finalPackage}/memtest.efi"; - - preBuild = '' - cd ${if stdenv.isi686 then "build32" else "build64"} - ''; - - installPhase = '' - install -Dm0444 -t $out/ memtest.bin memtest.efi - ''; - - meta = { - homepage = "https://www.memtest.org/"; - description = "Tool to detect memory errors"; - license = lib.licenses.gpl2Only; - platforms = [ "x86_64-linux" "i686-linux" ]; - maintainers = [ lib.maintainers.LunNova ]; - }; -}) diff --git a/pkgs/tools/misc/memtest86-efi/default.nix b/pkgs/tools/misc/memtest86-efi/default.nix deleted file mode 100644 index ead250feee6a..000000000000 --- a/pkgs/tools/misc/memtest86-efi/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ stdenv -, lib -, fetchzip -, util-linux -, jq -, mtools -}: - -stdenv.mkDerivation rec { - pname = "memtest86-efi"; - version = "9.3.1000"; - - src = fetchzip { - # We're using the Internet Archive Wayback Machine because the company developing MemTest86 has stopped providing a versioned download link for the latest version: - # https://forums.passmark.com/memtest86/44494-version-8-1-distribution-file-is-not-versioned - url = "https://web.archive.org/web/20211111004725/https://www.memtest86.com/downloads/memtest86-usb.zip"; - sha256 = "sha256-GJdZCUFw1uX4HcaaAy5QqDGNqHTFtrqla13wF7xCAaM="; - stripRoot = false; - }; - - nativeBuildInputs = [ - util-linux - jq - mtools - ]; - - installPhase = '' - runHook preInstall - - # memtest86 is distributed as a bootable USB image. It contains the actual - # memtest86 EFI app. - # - # The following uses sfdisk to calculate the offset of the FAT EFI System - # Partition in the disk image, and mcopy to extract the actual EFI app from - # the filesystem so that it can be installed directly on the hard drive. - IMG=$src/memtest86-usb.img - ESP_OFFSET=$(sfdisk --json $IMG | jq -r ' - # Partition type GUID identifying EFI System Partitions - def ESP_GUID: "C12A7328-F81F-11D2-BA4B-00A0C93EC93B"; - .partitiontable | - .sectorsize * (.partitions[] | select(.type == ESP_GUID) | .start) - ') - mkdir $out - mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/ - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://www.memtest86.com/"; - downloadPage = "https://www.memtest86.com/download.htm"; - changelog = "https://www.memtest86.com/whats-new.html"; - description = "Tool to detect memory errors, to be run from a bootloader"; - longDescription = '' - A UEFI app that is able to detect errors in RAM. It can be run from a - bootloader. Released under a proprietary freeware license. - ''; - # MemTest86 Free Edition is free to download with no restrictions on usage. However, the source code is not available. - # https://www.memtest86.com/tech_license-information.html - license = licenses.unfreeRedistributable; - maintainers = with maintainers; [ cdepillabout ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/mermaid-filter/default.nix b/pkgs/tools/misc/mermaid-filter/default.nix deleted file mode 100644 index 3ed315784569..000000000000 --- a/pkgs/tools/misc/mermaid-filter/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, makeWrapper -, chromium -}: - -buildNpmPackage rec { - pname = "mermaid-filter"; - version = "1.4.7"; - - src = fetchFromGitHub { - owner = "raghur"; - repo = "mermaid-filter"; - rev = "v${version}"; - hash = "sha256-GG2RWr5nVe6PCcTEJLmPyKL2j7ggSyNnHZAffNvPukg="; - }; - - npmDepsHash = "sha256-Hj4h8xTch2Z3ByUhxzPhbCTSXNOXuTXC6XUrBkRvQ/U="; - - nativeBuildInputs = [ makeWrapper ]; - - env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD = 1; - - dontNpmBuild = true; - - postInstall = '' - wrapProgram $out/bin/mermaid-filter \ - --set PUPPETEER_EXECUTABLE_PATH ${chromium}/bin/chromium - ''; - - meta = with lib; { - description = "Pandoc filter for creating diagrams in mermaid syntax blocks in markdown docs"; - homepage = "https://github.com/raghur/mermaid-filter"; - license = licenses.bsd2; - maintainers = with maintainers; [ ners ]; - platforms = chromium.meta.platforms; - mainProgram = "mermaid-filter"; - }; -} diff --git a/pkgs/tools/misc/microplane/default.nix b/pkgs/tools/misc/microplane/default.nix deleted file mode 100644 index 5fb431d38741..000000000000 --- a/pkgs/tools/misc/microplane/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "microplane"; - version = "0.0.34"; - - src = fetchFromGitHub { - owner = "Clever"; - repo = "microplane"; - rev = "v${version}"; - sha256 = "sha256-ZrBkVXRGZp8yGFIBo7sLGvJ8pMQq7Cq0xJiko57z164="; - }; - - vendorHash = "sha256-PqSjSFTVrIsQ065blIxZ9H/ARku6BEcnjboH+0K0G14="; - - ldflags = [ - "-s" "-w" "-X main.version=${version}" - ]; - - postInstall = '' - ln -s $out/bin/microplane $out/bin/mp - ''; - - meta = with lib; { - description = "CLI tool to make git changes across many repos"; - homepage = "https://github.com/Clever/microplane"; - license = licenses.asl20; - maintainers = with maintainers; [ dbirks ]; - }; -} diff --git a/pkgs/tools/misc/mimeo/default.nix b/pkgs/tools/misc/mimeo/default.nix deleted file mode 100644 index 49a86807017f..000000000000 --- a/pkgs/tools/misc/mimeo/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, fetchurl, desktop-file-utils, file, python3Packages }: - -let version = "2023"; -in python3Packages.buildPythonApplication { - pname = "mimeo"; - inherit version; - - src = fetchurl { - url = "https://xyne.dev/projects/mimeo/src/mimeo-${version}.tar.xz"; - hash = "sha256-CahvSypwR1aHVDHTdtty1ZfaKBWPolxc73uZ5OyeqZA="; - }; - - buildInputs = [ file desktop-file-utils ]; - - propagatedBuildInputs = [ python3Packages.pyxdg ]; - - preConfigure = '' - substituteInPlace Mimeo.py \ - --replace "EXE_UPDATE_DESKTOP_DATABASE = 'update-desktop-database'" \ - "EXE_UPDATE_DESKTOP_DATABASE = '${desktop-file-utils}/bin/update-desktop-database'" \ - --replace "EXE_FILE = 'file'" \ - "EXE_FILE = '${file}/bin/file'" - ''; - - installPhase = "install -Dm755 Mimeo.py $out/bin/mimeo"; - - doInstallCheck = true; - installCheckPhase = '' - $out/bin/mimeo --help > /dev/null - ''; - - meta = with lib; { - description = "Open files by MIME-type or file name using regular expressions"; - homepage = "https://xyne.dev/projects/mimeo/"; - license = [ licenses.gpl2Only ]; - maintainers = [ maintainers.rycee ]; - platforms = platforms.unix; - mainProgram = "mimeo"; - }; -} diff --git a/pkgs/tools/misc/minicom/default.nix b/pkgs/tools/misc/minicom/default.nix index 50043a132b14..89653c26d6a0 100644 --- a/pkgs/tools/misc/minicom/default.nix +++ b/pkgs/tools/misc/minicom/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-+fKvHrApDXm94LItXv+xSDIE5zD7rTY5IeNSuzQglpg="; }; - buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ libiconv IOKit ]; + buildInputs = [ ncurses ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv IOKit ]; nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; diff --git a/pkgs/tools/misc/minipro/default.nix b/pkgs/tools/misc/minipro/default.nix deleted file mode 100644 index b60e886f47c5..000000000000 --- a/pkgs/tools/misc/minipro/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, stdenv -, fetchFromGitLab -, pkg-config -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "minipro"; - version = "0.7"; - - src = fetchFromGitLab { - owner = "DavidGriffith"; - repo = "minipro"; - rev = version; - hash = "sha256-suMGR1vgM2tXsPHInZ6HEDKhDSPlC1ss+wCgbION/rE="; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libusb1 ]; - makeFlags = [ - "VERSION=${version}" - "PREFIX=$(out)" - "UDEV_DIR=$(out)/lib/udev" - "COMPLETIONS_DIR=$(out)/share/bash-completion/completions" - "PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config" - "CC=${stdenv.cc.targetPrefix}cc" - "CFLAGS=-O2" - ]; - - meta = with lib; { - homepage = "https://gitlab.com/DavidGriffith/minipro"; - description = "Open source program for controlling the MiniPRO TL866xx series of chip programmers"; - license = licenses.gpl3Plus; - maintainers = [ maintainers.bmwalters ]; - mainProgram = "minipro"; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/miniserve/default.nix b/pkgs/tools/misc/miniserve/default.nix deleted file mode 100644 index 745d18715ba3..000000000000 --- a/pkgs/tools/misc/miniserve/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -, curl -}: - -rustPlatform.buildRustPackage rec { - pname = "miniserve"; - version = "0.28.0"; - - src = fetchFromGitHub { - owner = "svenstaro"; - repo = "miniserve"; - rev = "v${version}"; - hash = "sha256-jrQnmIYap5eHVWPqoRsXVroB0VWLKxesi3rB/WylR0U="; - }; - - cargoHash = "sha256-/BBue4YfpFk/tId2GV9sstEdgNuy3QnieINGnx45ydU="; - - nativeBuildInputs = [ - installShellFiles - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - darwin.apple_sdk.frameworks.SystemConfiguration - ]; - - nativeCheckInputs = [ - curl - ]; - - checkFlags = [ - "--skip=bind_ipv4_ipv6::case_2" - "--skip=qrcode_hidden_in_tty_when_disabled" - "--skip=qrcode_shown_in_tty_when_enabled" - "--skip=show_root_readme_contents" - "--skip=validate_printed_urls" - ]; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - $out/bin/miniserve --print-manpage >miniserve.1 - installManPage miniserve.1 - - installShellCompletion --cmd miniserve \ - --bash <($out/bin/miniserve --print-completions bash) \ - --fish <($out/bin/miniserve --print-completions fish) \ - --zsh <($out/bin/miniserve --print-completions zsh) - ''; - - __darwinAllowLocalNetworking = true; - - meta = with lib; { - description = "CLI tool to serve files and directories over HTTP"; - homepage = "https://github.com/svenstaro/miniserve"; - changelog = "https://github.com/svenstaro/miniserve/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "miniserve"; - }; -} diff --git a/pkgs/tools/misc/ministat/default.nix b/pkgs/tools/misc/ministat/default.nix deleted file mode 100644 index d0f88e5d1b1c..000000000000 --- a/pkgs/tools/misc/ministat/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchgit }: - -stdenv.mkDerivation rec { - pname = "ministat"; - version = "20150715-1"; - - src = fetchgit { - url = "https://git.decadent.org.uk/git/ministat.git"; - rev = "refs/tags/debian/${version}"; - sha256 = "1p4g0yqgsy4hiqhr8gqp8d38zxzrss5qz70s0bw3i2pg4w668k6f"; - }; - - postPatch = '' - patch -p1 < debian/patches/fix-ctype-usage.patch - patch -p1 < debian/patches/not-bsd - ''; - - installPhase = '' - mkdir -p $out/bin $out/share/man/man1 - cp ministat $out/bin - cp ministat.1 $out/share/man/man1/ - ''; - - meta = with lib; { - description = "Simple tool for statistical comparison of data sets"; - homepage = "https://git.decadent.org.uk/gitweb/?p=ministat.git"; - license = licenses.beerware; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.all; - mainProgram = "ministat"; - }; -} diff --git a/pkgs/tools/misc/mise/default.nix b/pkgs/tools/misc/mise/default.nix deleted file mode 100644 index 473d7a308f23..000000000000 --- a/pkgs/tools/misc/mise/default.nix +++ /dev/null @@ -1,92 +0,0 @@ -{ lib -, nix-update-script -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, coreutils -, bash -, pkg-config -, openssl -, direnv -, Security -, SystemConfiguration -, mise -, testers -}: - -rustPlatform.buildRustPackage rec { - pname = "mise"; - version = "2024.9.0"; - - src = fetchFromGitHub { - owner = "jdx"; - repo = "mise"; - rev = "v${version}"; - hash = "sha256-q515JEpws1UnZm1b8zgGxPvudH846XV+Ct4qKN2mNMQ="; - - # registry is not needed for compilation nor for tests. - # contains files with the same name but different case, which cause problems with hash on darwin - postFetch = '' - rm -rf $out/registry - ''; - }; - - cargoHash = "sha256-jGqaGbue+AEK0YjhHMlm84XBgA20p8Um03TjctjXVz0="; - - nativeBuildInputs = [ installShellFiles pkg-config ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; - - postPatch = '' - patchShebangs --build \ - ./test/data/plugins/**/bin/* \ - ./src/fake_asdf.rs \ - ./src/cli/generate/git_pre_commit.rs \ - ./src/cli/generate/snapshots/*.snap \ - ./src/cli/reshim.rs \ - ./test/cwd/.mise/tasks/filetask - - substituteInPlace ./src/test.rs \ - --replace-fail '/usr/bin/env bash' '${bash}/bin/bash' - - substituteInPlace ./src/env_diff.rs \ - --replace-fail '"bash"' '"${bash}/bin/bash"' - - substituteInPlace ./src/cli/direnv/exec.rs \ - --replace-fail '"env"' '"${coreutils}/bin/env"' \ - --replace-fail 'cmd!("direnv"' 'cmd!("${direnv}/bin/direnv"' - ''; - - checkFlags = [ - # Requires .git directory to be present - "--skip=cli::plugins::ls::tests::test_plugin_list_urls" - "--skip=cli::generate::git_pre_commit::tests::test_git_pre_commit" - "--skip=cli::generate::github_action::tests::test_github_action" - ]; - cargoTestFlags = [ "--all-features" ]; - # some tests access the same folders, don't test in parallel to avoid race conditions - dontUseCargoParallelTests = true; - - postInstall = '' - installManPage ./man/man1/mise.1 - - installShellCompletion \ - --bash ./completions/mise.bash \ - --fish ./completions/mise.fish \ - --zsh ./completions/_mise - ''; - - passthru = { - updateScript = nix-update-script { }; - tests.version = testers.testVersion { package = mise; }; - }; - - meta = { - homepage = "https://mise.jdx.dev"; - description = "Front-end to your dev env"; - changelog = "https://github.com/jdx/mise/releases/tag/v${version}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ konradmalik ]; - mainProgram = "mise"; - }; -} diff --git a/pkgs/tools/misc/mktorrent/default.nix b/pkgs/tools/misc/mktorrent/default.nix deleted file mode 100644 index 74f449969a66..000000000000 --- a/pkgs/tools/misc/mktorrent/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, openssl }: - -stdenv.mkDerivation rec { - pname = "mktorrent"; - version = "1.1"; - - src = fetchFromGitHub { - owner = "pobrn"; - repo = "mktorrent"; - rev = "v${version}"; - sha256 = "17pdc5mandl739f8q26n5is8ga56s83aqcrwhlnnplbxwx2inidr"; - }; - - makeFlags = [ "USE_PTHREADS=1" "USE_OPENSSL=1" "USE_LONG_OPTIONS=1" ] - ++ lib.optional stdenv.isi686 "USE_LARGE_FILES=1" - ++ lib.optional stdenv.isLinux "CFLAGS=-lgcc_s"; - - installFlags = [ "PREFIX=${placeholder "out"}" ]; - - buildInputs = [ openssl ]; - - meta = with lib; { - description = "Command line utility to create BitTorrent metainfo files"; - homepage = "https://github.com/pobrn/mktorrent/wiki"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ Profpatsch winter ]; - platforms = platforms.all; - mainProgram = "mktorrent"; - }; -} diff --git a/pkgs/tools/misc/mloader/default.nix b/pkgs/tools/misc/mloader/default.nix deleted file mode 100644 index c4fa48203216..000000000000 --- a/pkgs/tools/misc/mloader/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "mloader"; - version = "1.1.12"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-0o4FvhuFudNSEL6fwBVqxldaNePbbidY9utDqXiLRNc="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace "protobuf~=3.6" "protobuf" - ''; - - propagatedBuildInputs = with python3Packages; [ - click - protobuf - requests - ]; - - # No tests in repository - doCheck = false; - - pythonImportsCheck = [ "mloader" ]; - - meta = with lib; { - description = "Command-line tool to download manga from mangaplus"; - homepage = "https://github.com/hurlenko/mloader"; - license = licenses.gpl3Only; - maintainers = [ ]; - mainProgram = "mloader"; - }; -} diff --git a/pkgs/tools/misc/mlocate/default.nix b/pkgs/tools/misc/mlocate/default.nix deleted file mode 100644 index 4ae61095fff5..000000000000 --- a/pkgs/tools/misc/mlocate/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "mlocate"; - version = "0.26"; - - src = fetchurl { - url = "https://releases.pagure.org/mlocate/mlocate-${version}.tar.xz"; - sha256 = "0gi6y52gkakhhlnzy0p6izc36nqhyfx5830qirhvk3qrzrwxyqrh"; - }; - - makeFlags = [ - "dbfile=/var/cache/locatedb" - ]; - - meta = with lib; { - description = "Merging locate is an utility to index and quickly search for files"; - homepage = "https://pagure.io/mlocate"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/mlxbf-bootctl/default.nix b/pkgs/tools/misc/mlxbf-bootctl/default.nix deleted file mode 100644 index 531956dd4b1c..000000000000 --- a/pkgs/tools/misc/mlxbf-bootctl/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ stdenv -, fetchFromGitHub -, lib -}: - -stdenv.mkDerivation rec { - pname = "mlxbf-bootctl"; - version = "1.1-6"; - - src = fetchFromGitHub { - owner = "Mellanox"; - repo = pname; - rev = "${pname}-${version}"; - hash = "sha256-F49ZZtty+NARXA/doAFLhsQn4XkPW6GWLXGy4waIaM0="; - }; - - installPhase = '' - install -D mlxbf-bootctl $out/bin/mlxbf-bootctl - ''; - - meta = with lib; { - description = "Control BlueField boot partitions"; - homepage = "https://github.com/Mellanox/mlxbf-bootctl"; - license = licenses.bsd2; - changelog = "https://github.com/Mellanox/mlxbf-bootctl/releases/tag/${pname}-${version}"; - # This package is supposed to only run on a BlueField. Thus aarch64-linux - # is the only relevant platform. - platforms = [ "aarch64-linux" ]; - maintainers = with maintainers; [ nikstur ]; - }; -} diff --git a/pkgs/tools/misc/mmake/default.nix b/pkgs/tools/misc/mmake/default.nix deleted file mode 100644 index b0aff161ecea..000000000000 --- a/pkgs/tools/misc/mmake/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "mmake"; - version = "1.4.0"; - - src = fetchFromGitHub { - owner = "tj"; - repo = "mmake"; - rev = "v${version}"; - sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8="; - }; - - vendorHash = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU="; - - ldflags = [ "-s" "-w" ]; - - # Almost all tests require non-local networking, trying to resolve githubusercontent.com. - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/tj/mmake"; - description = "Small program which wraps make to provide additional functionality"; - longDescription = '' - Mmake is a small program which wraps make to provide additional - functionality, such as user-friendly help output, remote - includes, and eventually more. It otherwise acts as a - pass-through to standard make. - ''; - license = licenses.mit; - maintainers = [ maintainers.gabesoft ]; - mainProgram = "mmake"; - }; -} diff --git a/pkgs/tools/misc/mmctl/default.nix b/pkgs/tools/misc/mmctl/default.nix deleted file mode 100644 index 956a12f598bd..000000000000 --- a/pkgs/tools/misc/mmctl/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ mattermost -}: - -mattermost.overrideAttrs (o: { - pname = "mmctl"; - subPackages = [ "cmd/mmctl" ]; - - meta = o.meta // { - description = "Remote CLI tool for Mattermost"; - mainProgram = "mmctl"; - }; -}) diff --git a/pkgs/tools/misc/mmv-go/default.nix b/pkgs/tools/misc/mmv-go/default.nix deleted file mode 100644 index 2a4c74ddea01..000000000000 --- a/pkgs/tools/misc/mmv-go/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "mmv-go"; - version = "0.1.6"; - - src = fetchFromGitHub { - owner = "itchyny"; - repo = "mmv"; - rev = "v${version}"; - sha256 = "sha256-DNLiW0QX7WrBslwVCbvydLnE6JAcfcRALYqwsK/J5x0="; - }; - - vendorHash = "sha256-HHGiMSBu3nrIChSYaEu9i22nwhLKgVQkPvbTMHBWwAE="; - - ldflags = [ "-s" "-w" "-X main.revision=${src.rev}" ]; - - meta = with lib; { - homepage = "https://github.com/itchyny/mmv"; - description = "Rename multiple files using your $EDITOR"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "mmv"; - }; -} diff --git a/pkgs/tools/misc/mmv/default.nix b/pkgs/tools/misc/mmv/default.nix deleted file mode 100644 index e681d1fd8879..000000000000 --- a/pkgs/tools/misc/mmv/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, gengetopt, m4, gnupg -, git, perl, autoconf, automake, help2man }: - -stdenv.mkDerivation rec { - pname = "mmv"; - version = "2.7"; - - src = fetchFromGitHub { - owner = "rrthomas"; - repo = "mmv"; - rev = "v${version}"; - hash = "sha256-uiRKdkBLr3ZSovIqso/F85cfoSrymZpyzGa63wp5XnY="; - fetchSubmodules = true; - }; - - preConfigure = '' - ./bootstrap - ''; - - nativeBuildInputs = [ gengetopt m4 git gnupg perl autoconf automake help2man pkg-config ]; - - enableParallelBuilding = true; - - env = lib.optionalAttrs stdenv.cc.isClang { - NIX_CFLAGS_COMPILE = toString [ - "-Wno-error=implicit-function-declaration" - "-Wno-error=implicit-int" - "-Wno-error=int-conversion" - ]; - }; - - meta = { - homepage = "https://github.com/rrthomas/mmv"; - description = "Utility for wildcard renaming, copying, etc"; - license = lib.licenses.gpl3Plus; - platforms = lib.platforms.all; - maintainers = with lib.maintainers; [ siraben ]; - }; -} diff --git a/pkgs/tools/misc/mnc/default.nix b/pkgs/tools/misc/mnc/default.nix deleted file mode 100644 index b4b033c94f65..000000000000 --- a/pkgs/tools/misc/mnc/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, buildGoModule -, fetchFromSourcehut -}: - -buildGoModule rec { - pname = "mnc"; - version = "0.4"; - - vendorHash = "sha256-H0KmGTWyjZOZLIEWophCwRYPeKLxBC050RI7cMXNbPs="; - - src = fetchFromSourcehut { - owner = "~anjan"; - repo = "mnc"; - rev = version; - sha256 = "sha256-S7MBIxuYI+cc8OMQULt7VS7ouPqhq0Jk+rz6E5GyKac="; - }; - - meta = with lib; { - description = "Opens the user's crontab and echos the time when the next cronjob will be ran"; - homepage = "https://git.sr.ht/~anjan/mnc"; - license = licenses.unlicense; - platforms = platforms.linux; - maintainers = with maintainers; [ wentam ]; - mainProgram = "mnc"; - }; -} diff --git a/pkgs/tools/misc/moar/default.nix b/pkgs/tools/misc/moar/default.nix deleted file mode 100644 index ee5505215f20..000000000000 --- a/pkgs/tools/misc/moar/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: - -buildGoModule rec { - pname = "moar"; - version = "1.27.2"; - - src = fetchFromGitHub { - owner = "walles"; - repo = pname; - rev = "v${version}"; - hash = "sha256-ZWAQrf4Y/Qse02T5Yt7byGXZheH1y7RvBsPP2xiF5Kw="; - }; - - vendorHash = "sha256-Orgh0X/HPfaKvliUvTllhk72LkQ/O3Eh9N/38Cj4Rew="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installManPage ./moar.1 - ''; - - ldflags = [ - "-s" "-w" - "-X" "main.versionString=v${version}" - ]; - - meta = with lib; { - description = "Nice-to-use pager for humans"; - homepage = "https://github.com/walles/moar"; - license = licenses.bsd2WithViews; - mainProgram = "moar"; - maintainers = with maintainers; [ foo-dogsquared ]; - }; -} diff --git a/pkgs/tools/misc/mongodb-tools/default.nix b/pkgs/tools/misc/mongodb-tools/default.nix deleted file mode 100644 index 2a56d72480f5..000000000000 --- a/pkgs/tools/misc/mongodb-tools/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, openssl, pkg-config, libpcap }: - -buildGoModule rec { - pname = "mongo-tools"; - version = "100.10.0"; - - src = fetchFromGitHub { - owner = "mongodb"; - repo = "mongo-tools"; - rev = version; - sha256 = "sha256-9DUfPD6wrv65PLVtxAF21BZ/joWFVFk+cItt9m/1Nx8="; - }; - - vendorHash = null; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl libpcap ]; - - # Mongodb incorrectly names all of their binaries main - # Let's work around this with our own installer - buildPhase = - let - tools = [ - "bsondump" - "mongodump" - "mongoexport" - "mongofiles" - "mongoimport" - "mongorestore" - "mongostat" - "mongotop" - ]; in - '' - # move vendored codes so nixpkgs go builder could find it - runHook preBuild - - ${lib.concatMapStrings (t: '' - go build -o "$out/bin/${t}" -tags ssl -ldflags "-s -w" ./${t}/main - '') tools} - - runHook postBuild - ''; - - meta = { - homepage = "https://github.com/mongodb/mongo-tools"; - description = "Tools for the MongoDB"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ bryanasdev000 ]; - }; -} diff --git a/pkgs/tools/misc/mons/default.nix b/pkgs/tools/misc/mons/default.nix deleted file mode 100644 index d386c901e7c0..000000000000 --- a/pkgs/tools/misc/mons/default.nix +++ /dev/null @@ -1,96 +0,0 @@ -{ lib -, bash -, coreutils -, fetchFromGitHub -, gawk -, gnugrep -, gnused -, help2man -, resholve -, xrandr -}: - -resholve.mkDerivation rec { - pname = "mons"; - version = "unstable-2020-03-20"; - - src = fetchFromGitHub { - owner = "Ventto"; - repo = pname; - rev = "375bbba3aa700c8b3b33645a7fb70605c8b0ff0c"; - sha256 = "19r5y721yrxhd9jp99s29jjvm0p87vl6xfjlcj38bljq903f21cl"; - fetchSubmodules = true; - }; - - /* - Remove reference to `%LIBDIR%/liblist.sh`. This would be linked to the - non-resholved of the library in the final derivation. - - Patching out the library check; it's bad on multiple levels: - 1. The check literally breaks if it fails. - See https://github.com/Ventto/mons/pull/49 - 2. It doesn't need to do this; source would fail with a - sensible message if the script was missing. - 3. resholve can't wrestle with test/[] (at least until - https://github.com/abathur/resholve/issues/78) - */ - postPatch = '' - substituteInPlace mons.sh \ - --replace "lib='%LIBDIR%/liblist.sh'" "" \ - --replace '[ ! -r "$lib" ] && { "$lib: library not found."; exit 1; }' "" - ''; - - solutions = { - mons = { - scripts = [ "bin/mons" "lib/libshlist/liblist.sh" ]; - interpreter = "${bash}/bin/sh"; - inputs = [ - bash - coreutils - gawk - gnugrep - gnused - xrandr - ]; - fix = { - "$lib" = [ "lib/libshlist/liblist.sh" ]; - "$XRANDR" = [ "xrandr" ]; - }; - keep = { - /* - has a whole slate of *flag variables that it sets to either - the true or false builtin and then executes... - */ - "$aFlag" = true; - "$dFlag" = true; - "$eFlag" = true; - "$mFlag" = true; - "$nFlag" = true; - "$oFlag" = true; - "$sFlag" = true; - "$OFlag" = true; - "$SFlag" = true; - "$pFlag" = true; - "$iFlag" = true; - "$xFlag" = true; - "$is_flag" = true; - }; - }; - }; - - nativeBuildInputs = [ help2man ]; - - makeFlags = [ - "DESTDIR=$(out)" - "PREFIX=" - ]; - - meta = with lib; { - description = "POSIX Shell script to quickly manage 2-monitors display"; - homepage = "https://github.com/Ventto/mons.git"; - license = licenses.mit; - maintainers = with maintainers; [ thiagokokada ]; - platforms = platforms.unix; - mainProgram = "mons"; - }; -} diff --git a/pkgs/tools/misc/moon-phases/default.nix b/pkgs/tools/misc/moon-phases/default.nix deleted file mode 100644 index e1c41556827c..000000000000 --- a/pkgs/tools/misc/moon-phases/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, fetchCrate, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "moon-phases"; - version = "0.3.3"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-8ZdtM246aqc49Q3ygMGk51LIzRA8RIdlaistbKUj3yY="; - }; - - cargoHash = "sha256-5JKM+GnigkpuX4qeGQAjDz/X48ZxXtCfYVwGco13YRM="; - - meta = with lib; { - description = "Command-line/WM bar tool to display the moon phase at a certain date"; - homepage = "https://github.com/mirrorwitch/moon-phases"; - license = licenses.acsl14; - maintainers = with maintainers; [ mirrorwitch ]; - mainProgram = "moon-phases"; - }; -} diff --git a/pkgs/tools/misc/moreutils/default.nix b/pkgs/tools/misc/moreutils/default.nix index 694e9ac93ee1..e557a05f3062 100644 --- a/pkgs/tools/misc/moreutils/default.nix +++ b/pkgs/tools/misc/moreutils/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; buildInputs = [ (perl.withPackages (p: [ p.IPCRun p.TimeDate p.TimeDuration ])) - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools ]; diff --git a/pkgs/tools/misc/moserial/default.nix b/pkgs/tools/misc/moserial/default.nix deleted file mode 100644 index 0a708681b409..000000000000 --- a/pkgs/tools/misc/moserial/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, stdenv -, fetchFromGitLab -, autoreconfHook -, intltool -, itstool -, pkg-config -, vala -, glib -, graphviz -, yelp-tools -, gtk3 -, lrzsz -}: - -stdenv.mkDerivation rec { - pname = "moserial"; - version = "3.0.21"; - - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "GNOME"; - repo = pname; - rev = "moserial_${lib.replaceStrings [ "." ] [ "_" ] version}"; - sha256 = "sha256-wfdI51ECqVNcUrIVjYBijf/yqpiwSQeMiKaVJSSma3k="; - }; - - nativeBuildInputs = [ - autoreconfHook - intltool - itstool - pkg-config - vala - ]; - - buildInputs = [ - glib - graphviz - yelp-tools - gtk3 - ]; - - preFixup = '' - gappsWrapperArgs+=( - --prefix PATH : ${lib.makeBinPath [ lrzsz ]} - ) - ''; - - meta = with lib; { - description = "Clean, friendly gtk-based serial terminal for the gnome desktop"; - homepage = "https://gitlab.gnome.org/GNOME/moserial"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ linsui ]; - platforms = platforms.linux; - mainProgram = "moserial"; - }; -} diff --git a/pkgs/tools/misc/most/default.nix b/pkgs/tools/misc/most/default.nix deleted file mode 100644 index 91af6a2d02a5..000000000000 --- a/pkgs/tools/misc/most/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchurl, slang, ncurses }: - -stdenv.mkDerivation rec { - pname = "most"; - version = "5.2.0"; - - src = fetchurl { - url = "https://www.jedsoft.org/releases/most/most-${version}.tar.gz"; - hash = "sha256-lFWuuPgm+oOFyFDcIr8PIs+QabPDQj+6S/LG9iJtmQM="; - }; - - outputs = [ "out" "doc" ]; - - makeFlags = [ - "DOC_DIR=${placeholder "doc"}/share/doc/most" - ]; - - preConfigure = '' - sed -i -e "s|-ltermcap|-lncurses|" configure - sed -i autoconf/Makefile.in src/Makefile.in \ - -e "s|/bin/cp|cp|" \ - -e "s|/bin/rm|rm|" - ''; - - configureFlags = [ "--with-slang=${slang.dev}" ]; - - buildInputs = [ slang ncurses ]; - - enableParallelBuilding = true; - - meta = with lib; { - description = "Terminal pager similar to 'more' and 'less'"; - longDescription = '' - MOST is a powerful paging program for Unix, VMS, MSDOS, and win32 - systems. Unlike other well-known paging programs most supports multiple - windows and can scroll left and right. Why settle for less? - ''; - homepage = "https://www.jedsoft.org/most/index.html"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - mainProgram = "most"; - }; -} diff --git a/pkgs/tools/misc/mpdscribble/default.nix b/pkgs/tools/misc/mpdscribble/default.nix deleted file mode 100644 index e7baa6641ccf..000000000000 --- a/pkgs/tools/misc/mpdscribble/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchpatch -, pkg-config -, meson -, ninja -, boost -, curl -, libgcrypt -, libmpdclient -, systemd -}: - -stdenv.mkDerivation rec { - pname = "mpdscribble"; - version = "0.24"; - - src = fetchurl { - url = "https://www.musicpd.org/download/mpdscribble/${version}/mpdscribble-${version}.tar.xz"; - sha256 = "sha256-9rTLp0izuH5wUnC0kjyOI+lMLgD+3VC+sUaNvi+yqOc="; - }; - - # Fix build issue on darwin; to be removed after the next release - patches = [(fetchpatch { - name = "remove-empty-static-lib.patch"; - url = "https://github.com/MusicPlayerDaemon/mpdscribble/commit/0dbcea25c81f3fdc608f71ef71a9784679fee17f.patch"; - sha256 = "sha256-3wLfQvbwx+OFrCl5vMV7Zps4e4iEYFhqPiVCo5hDqgw="; - })]; - - postPatch = '' - sed '1i#include <ctime>' -i src/Log.cxx # gcc12 - ''; - - nativeBuildInputs = [ pkg-config meson ninja ]; - buildInputs = [ - libmpdclient - curl - boost - libgcrypt - ] ++ lib.optional stdenv.isLinux systemd; - - meta = with lib; { - description = "MPD client which submits info about tracks being played to a scrobbler"; - homepage = "https://www.musicpd.org/clients/mpdscribble/"; - license = licenses.gpl2Plus; - maintainers = [ maintainers.sohalt ]; - platforms = platforms.unix; - mainProgram = "mpdscribble"; - }; -} diff --git a/pkgs/tools/misc/mpremote/default.nix b/pkgs/tools/misc/mpremote/default.nix index b55efaa3b0a0..1765b864dcb6 100644 --- a/pkgs/tools/misc/mpremote/default.nix +++ b/pkgs/tools/misc/mpremote/default.nix @@ -9,13 +9,13 @@ }: buildPythonApplication rec { pname = "mpremote"; - version = "1.23.0"; + version = "1.24.0"; src = fetchFromGitHub { owner = "micropython"; repo = "micropython"; rev = "refs/tags/v${version}"; - hash = "sha256-TEW9aDXodPYWlm7xxodaG/2sXOCPpDUKtYVzYZgAzf4="; + hash = "sha256-nBz4m5YxD6MV5SyyzvJcwBTttV8uJGdcCUY6HYxZ4nY="; }; sourceRoot = "${src.name}/tools/mpremote"; format = "pyproject"; diff --git a/pkgs/tools/misc/mprime/default.nix b/pkgs/tools/misc/mprime/default.nix deleted file mode 100644 index e55f8ca50fe0..000000000000 --- a/pkgs/tools/misc/mprime/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ stdenv, lib, fetchurl, unzip, boost, curl, hwloc, gmp }: - -let - throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}"; - - srcDir = { - x86_64-linux = "linux64"; - i686-linux = "linux"; - x86_64-darwin = "macosx64"; - }."${stdenv.hostPlatform.system}" or throwSystem; - - gwnum = { - x86_64-linux = "make64"; - i686-linux = "makefile"; - x86_64-darwin = "makemac"; - }."${stdenv.hostPlatform.system}" or throwSystem; -in - -stdenv.mkDerivation rec { - pname = "mprime"; - version = "30.8b15"; - - src = fetchurl { - url = "https://www.mersenne.org/ftp_root/gimps/p95v${lib.replaceStrings ["."] [""] version}.source.zip"; - hash = "sha256-CNYorZStHV0aESGX9LfLZ4oD5PFR2UOFLN1MiLaKw58="; - }; - - postPatch = '' - sed -i ${srcDir}/makefile \ - -e 's/^LFLAGS =.*//' - substituteInPlace ${srcDir}/makefile \ - --replace '-Wl,-Bstatic' "" \ - --replace '-Wl,-Bdynamic' "" - ''; - - sourceRoot = "."; - - nativeBuildInputs = [ unzip ]; - - buildInputs = [ boost curl hwloc gmp ]; - - enableParallelBuilding = true; - - buildPhase = '' - make -C gwnum -f ${gwnum} - make -C ${srcDir} - ''; - - installPhase = '' - install -Dm555 -t $out/bin ${srcDir}/mprime - ''; - - meta = with lib; { - description = "Mersenne prime search / System stability tester"; - longDescription = '' - MPrime is the Linux command-line interface version of Prime95, to be run - in a text terminal or in a terminal emulator window as a remote shell - client. It is identical to Prime95 in functionality, except it lacks a - graphical user interface. - ''; - homepage = "https://www.mersenne.org/"; - # Unfree, because of a license requirement to share prize money if you find - # a suitable prime. http://www.mersenne.org/legal/#EULA - license = licenses.unfree; - # Untested on linux-32 and osx. Works in theory. - platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin"]; - mainProgram = "mprime"; - }; -} diff --git a/pkgs/tools/misc/mprocs/default.nix b/pkgs/tools/misc/mprocs/default.nix deleted file mode 100644 index d7b9a44290fa..000000000000 --- a/pkgs/tools/misc/mprocs/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, nix-update-script, testers, mprocs }: - -rustPlatform.buildRustPackage rec { - pname = "mprocs"; - version = "0.7.1"; - - src = fetchFromGitHub { - owner = "pvolok"; - repo = "mprocs"; - rev = "refs/tags/v${version}"; - sha256 = "sha256-gK2kgc0Y0s1xys+pUadi8BhGeYxtyKRhNycCoqftmDI="; - }; - - cargoHash = "sha256-lcs+x2devOEZg5YwAzlZKJl6VpCJXzVqNUr6N5pCei8="; - - passthru = { - updateScript = nix-update-script { }; - tests.version = testers.testVersion { package = mprocs; }; - }; - - meta = { - description = "TUI tool to run multiple commands in parallel and show the output of each command separately"; - homepage = "https://github.com/pvolok/mprocs"; - changelog = "https://github.com/pvolok/mprocs/releases/tag/v${version}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ GaetanLepage pyrox0 ]; - platforms = lib.platforms.unix; - mainProgram = "mprocs"; - }; -} diff --git a/pkgs/tools/misc/mpy-utils/default.nix b/pkgs/tools/misc/mpy-utils/default.nix index 0ee7701b730b..342b6875c204 100644 --- a/pkgs/tools/misc/mpy-utils/default.nix +++ b/pkgs/tools/misc/mpy-utils/default.nix @@ -16,6 +16,6 @@ buildPythonApplication rec { homepage = "https://github.com/nickzoic/mpy-utils"; license = licenses.mit; maintainers = with maintainers; [ aciceri ]; - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; }; } diff --git a/pkgs/tools/misc/mrtg/default.nix b/pkgs/tools/misc/mrtg/default.nix deleted file mode 100644 index 69219010ac20..000000000000 --- a/pkgs/tools/misc/mrtg/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, perl, gd, rrdtool }: - -let - perlWithPkgs = perl.withPackages (pp: with pp;[ - Socket6 - IOSocketINET6 - ]); -in -stdenv.mkDerivation rec { - pname = "mrtg"; - version = "2.17.10"; - - src = fetchurl { - url = "https://oss.oetiker.ch/mrtg/pub/mrtg-${version}.tar.gz"; - sha256 = "sha256-x/EcteIXpQDYfuO10mxYqGUu28DTKRaIu3krAQ+uQ6w="; - }; - - buildInputs = [ - # add support for ipv6 snmp: - # https://github.com/oetiker/mrtg/blob/433ebfa5fc043971b46a5cd975fb642c76e3e49d/src/bin/mrtg#L331-L341 - perlWithPkgs - gd - rrdtool - ]; - - meta = with lib; { - description = "Multi Router Traffic Grapher"; - homepage = "https://oss.oetiker.ch/mrtg/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ robberer ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/ms-sys/default.nix b/pkgs/tools/misc/ms-sys/default.nix deleted file mode 100644 index 203654f3e6b7..000000000000 --- a/pkgs/tools/misc/ms-sys/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl, gettext }: - -stdenv.mkDerivation rec { - pname = "ms-sys"; - version = "2.6.0"; - - src = fetchurl { - url = "mirror://sourceforge/ms-sys/ms-sys-${version}.tar.gz"; - sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz"; - }; - # TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/ - patches = [ ./manpages-without-build-timestamps.patch ]; - - nativeBuildInputs = [ gettext ]; - - enableParallelBuilding = true; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Program for writing Microsoft-compatible boot records"; - homepage = "https://ms-sys.sourceforge.net/"; - license = licenses.gpl2Plus; - platforms = with platforms; linux; - mainProgram = "ms-sys"; - }; -} diff --git a/pkgs/tools/misc/ms-sys/manpages-without-build-timestamps.patch b/pkgs/tools/misc/ms-sys/manpages-without-build-timestamps.patch deleted file mode 100644 index 7b031cb34f1a..000000000000 --- a/pkgs/tools/misc/ms-sys/manpages-without-build-timestamps.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u ms-sys-2.6.0/Makefile ms-sys-2.6.0-fixed/Makefile ---- ms-sys-2.6.0/Makefile 2015-09-27 20:39:45.000000000 +0200 -+++ ms-sys-2.6.0-fixed/Makefile2020-01-06 16:43:55.181477511 +0100 -@@ -121,7 +121,7 @@ - - $(DESTDIR)$(MANDIR)/%: $(MAN)/$(dir $(*D))/$(*F) - install -D -m 644 $(MAN)/$(dir $(*D))$(*F) $@ -- gzip -f $@ -+ gzip -n -f $@ - - #$(DESTDIR)$(MANDIR)/%: $(MAN)/$(*F) - # echo t: $< diff --git a/pkgs/tools/misc/mslink/default.nix b/pkgs/tools/misc/mslink/default.nix deleted file mode 100644 index 82c60ab926f0..000000000000 --- a/pkgs/tools/misc/mslink/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ gccStdenv -, lib -, fetchurl -}: - -gccStdenv.mkDerivation rec { - pname = "mslink"; - version = "1.3"; - - src = fetchurl { - url = "http://www.mamachine.org/mslink/mslink_v${version}.tar.gz"; - sha256 = "1qiwqa6w2in6gk4sxiy37c2wwpakin6l2ad2cf5s7ij96z2ijgqg"; - }; - - preBuild = '' - rm mslink # clean up shipped executable - ''; - - installPhase = '' - if [[ "$(uname)" == "Darwin" ]]; then - mv mslink.exe mslink - fi - install -D mslink $out/bin/mslink - ''; - - meta = with lib; { - description = "Create Windows Shortcut Files (.LNK) without using Windows"; - homepage = "http://www.mamachine.org/mslink/index.en.html"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ mkg20001 ]; - platforms = platforms.unix; - mainProgram = "mslink"; - }; -} diff --git a/pkgs/tools/misc/mstflint/default.nix b/pkgs/tools/misc/mstflint/default.nix deleted file mode 100644 index 5ab999792f56..000000000000 --- a/pkgs/tools/misc/mstflint/default.nix +++ /dev/null @@ -1,120 +0,0 @@ -{ lib -, stdenv -, fetchurl -, rdma-core -, openssl -, zlib -, xz -, expat -, boost -, curl -, pkg-config -, libxml2 -, pciutils -, busybox -, python3 -, automake -, autoconf -, libtool -, git -# use this to shrink the package's footprint if necessary (e.g. for hardened appliances) -, onlyFirmwareUpdater ? false -# contains binary-only libraries -, enableDPA ? true -}: - -stdenv.mkDerivation rec { - pname = "mstflint"; - - # if you update the version of this package, also update the input hash in mstflint_access! - version = "4.29.0-1"; - - src = fetchurl { - url = "https://github.com/Mellanox/mstflint/releases/download/v${version}/mstflint-${version}.tar.gz"; - hash = "sha256-G9BIFG8f4Ek9R3CyRLAuMpgbScrtBo/ZaiJwAQMiBlQ="; - }; - - nativeBuildInputs = [ - autoconf - automake - libtool - pkg-config - libxml2 - git - ]; - - buildInputs = [ - rdma-core - zlib - libxml2 - openssl - ] ++ lib.optionals (!onlyFirmwareUpdater) [ - boost - curl - expat - xz - python3 - ]; - - preConfigure = '' - export CPPFLAGS="-I$(pwd)/tools_layouts -isystem ${libxml2.dev}/include/libxml2" - export INSTALL_BASEDIR=$out - ./autogen.sh - ''; - - # Cannot use wrapProgram since the python script's logic depends on the - # filename and will get messed up if the executable is named ".xyz-wrapped". - # That is why the python executable and runtime dependencies are injected - # this way. - # - # Remove host_cpu replacement again (see https://github.com/Mellanox/mstflint/pull/865), - # needs to hit master or a release. master_devel may be rebased. - # - # Remove patch for regex check, after https://github.com/Mellanox/mstflint/pull/871 - # got merged. - prePatch = [ - '' - patchShebangs eval_git_sha.sh - substituteInPlace configure.ac \ - --replace "build_cpu" "host_cpu" - substituteInPlace common/compatibility.h \ - --replace "#define ROOT_PATH \"/\"" "#define ROOT_PATH \"$out/\"" - substituteInPlace configure.ac \ - --replace 'Whether to use GNU C regex])' 'Whether to use GNU C regex])],[AC_MSG_RESULT([yes])' - '' - (lib.optionals (!onlyFirmwareUpdater) '' - substituteInPlace common/python_wrapper.sh \ - --replace \ - 'exec $PYTHON_EXEC $SCRIPT_PATH "$@"' \ - 'export PATH=$PATH:${lib.makeBinPath [ (placeholder "out") pciutils busybox]}; exec ${python3}/bin/python3 $SCRIPT_PATH "$@"' - '') - ]; - - configureFlags = [ - "--enable-xml2" - "--datarootdir=${placeholder "out"}/share" - ] ++ lib.optionals (!onlyFirmwareUpdater) [ - "--enable-adb-generic-tools" - "--enable-cs" - "--enable-dc" - "--enable-fw-mgr" - "--enable-inband" - "--enable-rdmem" - ] ++ lib.optionals enableDPA [ - "--enable-dpa" - ]; - - enableParallelBuilding = true; - - hardeningDisable = [ "format" ]; - - dontDisableStatic = true; # the build fails without this. should probably be reported upstream - - meta = with lib; { - description = "Open source version of Mellanox Firmware Tools (MFT)"; - homepage = "https://github.com/Mellanox/mstflint"; - license = with licenses; [ gpl2Only bsd2 ]; - maintainers = with maintainers; [ thillux ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/mtm/default.nix b/pkgs/tools/misc/mtm/default.nix deleted file mode 100644 index 8ecbc087894b..000000000000 --- a/pkgs/tools/misc/mtm/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses }: - -stdenv.mkDerivation rec { - pname = "mtm"; - version = "1.2.1"; - - outputs = [ "out" "terminfo" ]; - - src = fetchFromGitHub { - owner = "deadpixi"; - repo = pname; - rev = version; - sha256 = "0gibrvah059z37jvn1qs4b6kvd4ivk2mfihmcpgx1vz6yg70zghv"; - }; - - buildInputs = [ ncurses ]; - - makeFlags = [ "DESTDIR=${placeholder "out"}" "MANDIR=${placeholder "out"}/share/man/man1" ]; - - preInstall = '' - mkdir -p $out/bin/ $out/share/man/man1 - ''; - - postInstall = '' - mkdir -p $terminfo/share/terminfo $out/nix-support - tic -x -o $terminfo/share/terminfo mtm.ti - echo "$terminfo" >> $out/nix-support/propagated-user-env-packages - ''; - - meta = with lib; { - description = "Perhaps the smallest useful terminal multiplexer in the world"; - homepage = "https://github.com/deadpixi/mtm"; - license = licenses.gpl3Plus; - platforms = platforms.unix; - maintainers = [ ]; - mainProgram = "mtm"; - }; -} diff --git a/pkgs/tools/misc/multitail/default.nix b/pkgs/tools/misc/multitail/default.nix deleted file mode 100644 index 80875dec8f71..000000000000 --- a/pkgs/tools/misc/multitail/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config, cmake }: - -stdenv.mkDerivation rec { - version = "7.1.3"; - pname = "multitail"; - - src = fetchFromGitHub { - owner = "folkertvanheusden"; - repo = pname; - rev = version; - sha256 = "sha256-4iAFxDAS3gthYPECzyFj0AKzIGwZ9hTJ96fCnQGLbXU="; - }; - - nativeBuildInputs = [ pkg-config cmake ]; - - buildInputs = [ ncurses ]; - - installPhase = '' - mkdir -p $out/bin - cp bin/multitail $out/bin - ''; - - hardeningDisable = [ "format" ]; - - meta = { - homepage = "https://github.com/folkertvanheusden/multitail"; - description = "tail on Steroids"; - maintainers = with lib.maintainers; [ matthiasbeyer ]; - platforms = lib.platforms.unix; - license = lib.licenses.asl20; - mainProgram = "multitail"; - }; -} diff --git a/pkgs/tools/misc/multitime/default.nix b/pkgs/tools/misc/multitime/default.nix deleted file mode 100644 index 189a49ad348e..000000000000 --- a/pkgs/tools/misc/multitime/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook }: - -stdenv.mkDerivation rec { - pname = "multitime"; - version = "1.4"; - - src = fetchFromGitHub { - owner = "ltratt"; - repo = "multitime"; - rev = "multitime-${version}"; - sha256 = "1p6m4gyy6dw7nxnpsk32qiijagmiq9vwch0fbc25qvmybwqp8qc0"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - meta = { - description = "Time command execution over multiple executions"; - - longDescription = '' - Unix's `time` utility is a simple and often effective way of measuring - how long a command takes to run. Unfortunately, running a command once - can give misleading timings: the process may create a cache on its first - execution, running faster subsequently; other processes may cause the - command to be starved of CPU or IO time; etc. It is common to see people - run `time` several times and take whichever values they feel most - comfortable with. Inevitably, this causes problems. - - `multitime` is, in essence, a simple extension to time which runs a - command multiple times and prints the timing means (with confidence - intervals), standard deviations, minimums, medians, and maximums having - done so. This can give a much better understanding of the command's - performance. - ''; - - license = lib.licenses.mit; - homepage = "https://tratt.net/laurie/src/multitime/"; - platforms = lib.platforms.unix; - mainProgram = "multitime"; - }; -} diff --git a/pkgs/tools/misc/mutagen-compose/default.nix b/pkgs/tools/misc/mutagen-compose/default.nix deleted file mode 100644 index 33358017f24a..000000000000 --- a/pkgs/tools/misc/mutagen-compose/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "mutagen-compose"; - version = "0.17.6"; - - src = fetchFromGitHub { - owner = "mutagen-io"; - repo = pname; - rev = "v${version}"; - hash = "sha256-ZcfwpEfdoSMCGtw5Icj1hXbk5CRYS4LBtdaiX62E4I0="; - }; - - vendorHash = "sha256-XyWi06siSHOKZca0w4WLIFGM63wnF//2rRP4aH5rFAo="; - - doCheck = false; - - subPackages = [ "cmd/mutagen-compose" ]; - - tags = [ "mutagencompose" ]; - - meta = with lib; { - description = "Compose with Mutagen integration"; - homepage = "https://mutagen.io/"; - changelog = "https://github.com/mutagen-io/mutagen-compose/releases/tag/v${version}"; - maintainers = [ maintainers.matthewpi ]; - license = licenses.mit; - mainProgram = "mutagen-compose"; - }; -} diff --git a/pkgs/tools/misc/mutagen/default.nix b/pkgs/tools/misc/mutagen/default.nix deleted file mode 100644 index d3ffa387d9f2..000000000000 --- a/pkgs/tools/misc/mutagen/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }: - -buildGoModule rec { - pname = "mutagen"; - version = "0.17.1"; - - src = fetchFromGitHub { - owner = "mutagen-io"; - repo = pname; - rev = "v${version}"; - hash = "sha256-M7h8qlqqGK4Nl4yXL7ZhGTq/CL+LdDpI/nv90koyu3Y="; - }; - - vendorHash = "sha256-kfzT+230KY2TJVc0qKMi4TysmltZSgF/OvL5nPLPcbM="; - - agents = fetchzip { - name = "mutagen-agents-${version}"; - # The package architecture does not matter since all packages contain identical mutagen-agents.tar.gz. - url = "https://github.com/mutagen-io/mutagen/releases/download/v${version}/mutagen_linux_amd64_v${version}.tar.gz"; - stripRoot = false; - postFetch = '' - rm $out/mutagen # Keep only mutagen-agents.tar.gz. - ''; - hash = "sha256-RFB1/gzLjs9w8mebEd4M9Ldv3BrLIj2RsN/QAIJi45E="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - doCheck = false; - - subPackages = [ "cmd/mutagen" "cmd/mutagen-agent" ]; - - tags = [ "mutagencli" "mutagenagent" ]; - - postInstall = '' - install -d $out/libexec - ln -s ${agents}/mutagen-agents.tar.gz $out/libexec/ - - $out/bin/mutagen generate \ - --bash-completion-script mutagen.bash \ - --fish-completion-script mutagen.fish \ - --zsh-completion-script mutagen.zsh - - installShellCompletion \ - --cmd mutagen \ - --bash mutagen.bash \ - --fish mutagen.fish \ - --zsh mutagen.zsh - ''; - - meta = with lib; { - description = "Make remote development work with your local tools"; - homepage = "https://mutagen.io/"; - changelog = "https://github.com/mutagen-io/mutagen/releases/tag/v${version}"; - maintainers = [ ]; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.mit; - }; -} diff --git a/pkgs/tools/misc/mutt-wizard/default.nix b/pkgs/tools/misc/mutt-wizard/default.nix deleted file mode 100644 index 98c160768d98..000000000000 --- a/pkgs/tools/misc/mutt-wizard/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -}: - -stdenvNoCC.mkDerivation rec { - pname = "mutt-wizard"; - version = "3.3.1"; - - src = fetchFromGitHub { - owner = "LukeSmithxyz"; - repo = "mutt-wizard"; - rev = "v${version}"; - sha256 = "sha256-1/+awwoAqD8Xm3hULcbpeTaLOHVuYRA4PPr3cq5Gy20="; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "System for automatically configuring mutt and isync"; - homepage = "https://github.com/LukeSmithxyz/mutt-wizard"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ shamilton ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/mvebu64boot/default.nix b/pkgs/tools/misc/mvebu64boot/default.nix deleted file mode 100644 index 0c682cebd5e6..000000000000 --- a/pkgs/tools/misc/mvebu64boot/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ fetchFromGitHub -, stdenv -, lib -, ncurses -}: - -stdenv.mkDerivation rec { - pname = "mvebu64boot"; - version = "unstable-2022-10-20"; - - src = fetchFromGitHub { - owner = "pali"; - repo = "mvebu64boot"; - rev = "e7ca70eff2dc278607cc07f6654bbddacb2e4ff6"; - hash = "sha256-Y2yVr/BuOah5yMvF5EvM7frEUY8r+Hf4bNIKVkHgvQs="; - }; - - buildInputs = [ - ncurses - ]; - - installPhase = '' - runHook preInstall - install -D mvebu64boot $out/bin/mvebu64boot - runHook postInstall - ''; - - meta = with lib; { - description = "Boot 64-bit Marvell EBU SoC over UART"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ lukegb ]; - platforms = platforms.all; - mainProgram = "mvebu64boot"; - }; -} diff --git a/pkgs/tools/misc/mynewt-newtmgr/default.nix b/pkgs/tools/misc/mynewt-newtmgr/default.nix deleted file mode 100644 index 1ad1bb7ac1bb..000000000000 --- a/pkgs/tools/misc/mynewt-newtmgr/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, stdenv -, testers -, mynewt-newtmgr -}: - -buildGoModule rec { - pname = "mynewt-newtmgr"; - version = "1.10.0"; - - src = fetchFromGitHub { - owner = "apache"; - repo = "mynewt-newtmgr"; - rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag"; - sha256 = "sha256-fobaMkYLLK5qclogtClGdOjgTbmuse/72T3APNssYa4="; - }; - - vendorHash = "sha256-+vOZoueoMqlGnopLKc6pCgTmcgI34pxaMNbr6Y+JCfQ="; - - passthru.tests.version = testers.testVersion { - package = mynewt-newtmgr; - command = "newtmgr version"; - }; - - meta = with lib; { - homepage = "https://mynewt.apache.org/"; - description = "Tool to communicate with devices running Mynewt OS"; - longDescription = '' - Newt Manager (newtmgr) an application that enables a user to communicate - with and manage remote devices running the Mynewt OS - ''; - license = licenses.asl20; - maintainers = with maintainers; [ bezmuth ]; - # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin; - }; -} diff --git a/pkgs/tools/misc/mysql2pgsql/default.nix b/pkgs/tools/misc/mysql2pgsql/default.nix deleted file mode 100644 index d3e24c559849..000000000000 --- a/pkgs/tools/misc/mysql2pgsql/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl, perl }: - -# The homepage says this script is mature.. -stdenv.mkDerivation rec { - pname = "mysql2pgsql"; - version = "0.0.1a"; - - src = fetchurl { - url = "http://ftp.plusline.de/ftp.postgresql.org/projects/gborg/mysql2psql/devel/mysql2psql-${version}.tgz"; - sha256 = "0dpbxf3kdvpihz9cisx6wi3zzd0cnifaqvjxavrbwm4k4sz1qamp"; - }; - - buildInputs = [ perl ]; - - installPhase = '' - mkdir -p $out/bin - mv {,$out/bin/}mysql2psql - ''; - - meta = { - description = "Convert MySQL dump files to PostgreSQL-loadable files"; - homepage = "https://pgfoundry.org/projects/mysql2pgsql/"; - license = lib.licenses.bsdOriginal; - mainProgram = "mysql2psql"; - platforms = lib.platforms.unix; - }; -} diff --git a/pkgs/tools/misc/mysqltuner/default.nix b/pkgs/tools/misc/mysqltuner/default.nix deleted file mode 100644 index f13b455e523b..000000000000 --- a/pkgs/tools/misc/mysqltuner/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, perl }: - -stdenv.mkDerivation rec { - pname = "mysqltuner"; - version = "1.8.3"; - - src = fetchFromGitHub { - owner = "major"; - repo = "MySQLTuner-perl"; - rev = version; - sha256 = "sha256-ezF0zjQB/KWD5rUcbXx2uwiNLsIJ7ZKMoqkclP7oc98="; - }; - - postPatch = '' - substituteInPlace mysqltuner.pl \ - --replace '/usr/share' "$out/share" - ''; - - buildInputs = [ perl ]; - - installPhase = '' - runHook preInstall - - install -Dm0555 mysqltuner.pl $out/bin/mysqltuner - install -Dm0444 -t $out/share/mysqltuner basic_passwords.txt vulnerabilities.csv - - runHook postInstall - ''; - - meta = with lib; { - description = "Make recommendations for increased performance and stability of MariaDB/MySQL"; - homepage = "https://github.com/major/MySQLTuner-perl"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ peterhoeg shamilton ]; - mainProgram = "mysqltuner"; - }; -} diff --git a/pkgs/tools/misc/natls/default.nix b/pkgs/tools/misc/natls/default.nix deleted file mode 100644 index 195ef7994216..000000000000 --- a/pkgs/tools/misc/natls/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "natls"; - version = "2.1.14"; - - src = fetchFromGitHub { - owner = "willdoescode"; - repo = "nat"; - rev = "v${version}"; - sha256 = "sha256-4x92r6V9AvEO88gFofPTUt+mS7ZhmptDn/8O4pizSRg="; - }; - - cargoHash = "sha256-Am4HmfmhskKxcp1iWod5z3caHwsdo31qCaVi0UxTXAg="; - - meta = with lib; { - description = "'ls' replacement you never knew you needed"; - homepage = "https://github.com/willdoescode/nat"; - license = licenses.mit; - maintainers = with maintainers; [ cafkafk ]; - mainProgram = "natls"; - }; -} diff --git a/pkgs/tools/misc/nautilus-open-any-terminal/default.nix b/pkgs/tools/misc/nautilus-open-any-terminal/default.nix deleted file mode 100644 index 67f45c2eb6f2..000000000000 --- a/pkgs/tools/misc/nautilus-open-any-terminal/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, pkg-config -, dbus -, dconf -, fetchFromGitHub -, glib -, nautilus -, nautilus-python -, gobject-introspection -, gsettings-desktop-schemas -, gtk3 -, python3 -, wrapGAppsHook3 -}: - -python3.pkgs.buildPythonPackage rec { - pname = "nautilus-open-any-terminal"; - version = "0.6.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "Stunkymonkey"; - repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-jKPqgd0sSt/qKPqbYbvdeGuo78R5gp1R5tSTPAzz+IU="; - }; - - patches = [ ./hardcode-gsettings.patch ]; - - nativeBuildInputs = [ - glib - gobject-introspection - pkg-config - wrapGAppsHook3 - python3.pkgs.setuptools-scm - ]; - - buildInputs = [ - dbus - dconf - nautilus - nautilus-python - gsettings-desktop-schemas - gtk3 - python3.pkgs.pygobject3 - ]; - - postPatch = '' - substituteInPlace nautilus_open_any_terminal/nautilus_open_any_terminal.py \ - --subst-var-by gsettings_path ${glib.makeSchemaPath "$out" "$name"} - ''; - - postInstall = '' - glib-compile-schemas "$out/share/glib-2.0/schemas" - ''; - - meta = with lib; { - description = "Extension for nautilus, which adds an context-entry for opening other terminal-emulators then `gnome-terminal`"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ stunkymonkey ]; - homepage = "https://github.com/Stunkymonkey/nautilus-open-any-terminal"; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/nautilus-open-any-terminal/hardcode-gsettings.patch b/pkgs/tools/misc/nautilus-open-any-terminal/hardcode-gsettings.patch deleted file mode 100644 index 7546c5561974..000000000000 --- a/pkgs/tools/misc/nautilus-open-any-terminal/hardcode-gsettings.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/nautilus_open_any_terminal/nautilus_open_any_terminal.py b/nautilus_open_any_terminal/nautilus_open_any_terminal.py -index 05b6514..b5541dc 100644 ---- a/nautilus_open_any_terminal/nautilus_open_any_terminal.py -+++ b/nautilus_open_any_terminal/nautilus_open_any_terminal.py -@@ -413,9 +413,10 @@ if API_VERSION in ("3.0", "2.0"): - """Provide keyboard shortcuts for opening terminals in Nautilus.""" - - def __init__(self): -- gsettings_source = Gio.SettingsSchemaSource.get_default() -- if gsettings_source.lookup(GSETTINGS_PATH, True): -- self._gsettings = Gio.Settings.new(GSETTINGS_PATH) -+ gsettings_source = Gio.SettingsSchemaSource.new_from_directory("@gsettings_path@", Gio.SettingsSchemaSource.get_default(), True) -+ if True: -+ _schema = gsettings_source.lookup(GSETTINGS_PATH, False) -+ self._gsettings = Gio.Settings.new_full(_schema, None, None); - self._gsettings.connect("changed", self._bind_shortcut) - self._create_accel_group() - self._window = None -@@ -452,9 +453,10 @@ class OpenAnyTerminalExtension(GObject.GObject, FileManager.MenuProvider): - """Provide context menu items for opening terminals in Nautilus.""" - - def __init__(self): -- gsettings_source = Gio.SettingsSchemaSource.get_default() -- if gsettings_source.lookup(GSETTINGS_PATH, True): -- self._gsettings = Gio.Settings.new(GSETTINGS_PATH) -+ gsettings_source = Gio.SettingsSchemaSource.new_from_directory("@gsettings_path@", Gio.SettingsSchemaSource.get_default(), True) -+ if True: -+ _schema = gsettings_source.lookup(GSETTINGS_PATH, False) -+ self._gsettings = Gio.Settings.new_full(_schema, None, None); - - def _get_terminal_name(self): - if self._gsettings.get_boolean(GSETTINGS_USE_GENERIC_TERMINAL_NAME): -@@ -512,8 +514,9 @@ class OpenAnyTerminalExtension(GObject.GObject, FileManager.MenuProvider): - ) - - --source = Gio.SettingsSchemaSource.get_default() --if source is not None and source.lookup(GSETTINGS_PATH, True): -- _gsettings = Gio.Settings.new(GSETTINGS_PATH) -+source = Gio.SettingsSchemaSource.new_from_directory("@gsettings_path@", Gio.SettingsSchemaSource.get_default(), True) -+if True: -+ _schema = source.lookup(GSETTINGS_PATH, False) -+ _gsettings = Gio.Settings.new_full(_schema, None, None); - _gsettings.connect("changed", set_terminal_args) - set_terminal_args() diff --git a/pkgs/tools/misc/nb/default.nix b/pkgs/tools/misc/nb/default.nix deleted file mode 100644 index 4cc68426ce7e..000000000000 --- a/pkgs/tools/misc/nb/default.nix +++ /dev/null @@ -1,68 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, installShellFiles }: - -stdenv.mkDerivation rec { - pname = "nb"; - version = "7.12.1"; - - src = fetchFromGitHub { - owner = "xwmx"; - repo = "nb"; - rev = version; - sha256 = "sha256-vy2WrFh4ukc6f0YFVaHvw0k1Wm9mdhh9p2MKLc/566U="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - dontBuild = true; - - installPhase = '' - mkdir -p $out/bin/ - mv nb $out/bin/ - runHook postInstall - ''; - - postInstall = '' - installShellCompletion --cmd nb etc/nb-completion.{bash,zsh,fish} - ''; - - meta = with lib; { - description = "Command line note-taking, bookmarking, archiving, and knowledge base application"; - longDescription = '' - `nb` creates notes in text-based formats like Markdown, Emacs Org mode, - and LaTeX, can work with files in any format, can import and export notes - to many document formats, and can create private, password-protected - encrypted notes and bookmarks. With `nb`, you can write notes using Vim, - Emacs, VS Code, Sublime Text, and any other text editor you like. `nb` - works in any standard Linux / Unix environment, including macOS and - Windows via WSL. Optional dependencies can be installed to enhance - functionality, but `nb` works great without them. - - `nb` is also a powerful text-based CLI bookmarking system. Page - information is automatically downloaded, compiled, and saved into normal - Markdown documents made for humans, so bookmarks are easy to edit just - like any other note. - - `nb` uses Git in the background to automatically record changes and sync - notebooks with remote repositories. `nb` can also be configured to sync - notebooks using a general purpose syncing utility like Dropbox so notes - can be edited in other apps on any device. - - `nb` is designed to be portable, future-focused, and vendor independent, - providing a full-featured and intuitive experience within a highly - composable user-centric text interface. The entire program is a single - well-tested shell script that can be installed, copied, or curled almost - anywhere and just work, using progressive enhancement for various - experience improvements in more capable environments. `nb` works great - whether you have one notebook with just a few notes or dozens of - notebooks containing thousands of notes, bookmarks, and other items. `nb` - makes it easy to incorporate other tools, writing apps, and workflows. - `nb` can be used a little, a lot, once in a while, or for just a subset - of features. `nb` is flexible. - ''; - homepage = "https://xwmx.github.io/nb/"; - license = licenses.agpl3Plus; - maintainers = [ maintainers.toonn ]; - platforms = platforms.all; - mainProgram = "nb"; - }; -} diff --git a/pkgs/tools/misc/nbench/default.nix b/pkgs/tools/misc/nbench/default.nix deleted file mode 100644 index 44beea57fbb3..000000000000 --- a/pkgs/tools/misc/nbench/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "nbench-byte"; - version = "2.2.3"; - - src = fetchurl { - url = "http://www.math.utah.edu/~mayer/linux/nbench-byte-${version}.tar.gz"; - sha256 = "1b01j7nmm3wd92ngvsmn2sbw43sl9fpx4xxmkrink68fz1rx0gbj"; - }; - - prePatch = '' - substituteInPlace nbench1.h --replace '"NNET.DAT"' "\"$out/NNET.DAT\"" - substituteInPlace sysspec.h --replace "malloc.h" "stdlib.h" - '' + lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile --replace "-static" "" - ''; - - buildInputs = lib.optionals stdenv.hostPlatform.isGnu [ - stdenv.cc.libc.static - ]; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - installPhase = '' - mkdir -p $out/bin - cp nbench $out/bin - cp NNET.DAT $out - ''; - - meta = with lib; { - homepage = "https://www.math.utah.edu/~mayer/linux/bmark.html"; - description = "Synthetic computing benchmark program"; - platforms = platforms.unix; - maintainers = with lib.maintainers; [ bennofs ]; - mainProgram = "nbench"; - }; -} diff --git a/pkgs/tools/misc/ncdu/default.nix b/pkgs/tools/misc/ncdu/default.nix index 5209522d2529..d3b5ad2e4a43 100644 --- a/pkgs/tools/misc/ncdu/default.nix +++ b/pkgs/tools/misc/ncdu/default.nix @@ -2,28 +2,32 @@ , stdenv , fetchurl , ncurses +, pkg-config , zig +, zstd , installShellFiles , testers -, pie ? stdenv.isDarwin +, pie ? stdenv.hostPlatform.isDarwin }: stdenv.mkDerivation (finalAttrs: { pname = "ncdu"; - version = "2.5"; + version = "2.6"; src = fetchurl { url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz"; - hash = "sha256-f0neJQJKurGvH/IrO4VCwNFY4Bj+DpYHT9lLDh5tMaU="; + hash = "sha256-P0cevTi1bmDauAwn468dgmZmlX8C2ehBmxSdqvet5QU="; }; nativeBuildInputs = [ zig.hook installShellFiles + pkg-config ]; buildInputs = [ ncurses + zstd ]; zigBuildFlags = lib.optional pie "-Dpie=true"; diff --git a/pkgs/tools/misc/near-cli/default.nix b/pkgs/tools/misc/near-cli/default.nix deleted file mode 100644 index 8741f694782c..000000000000 --- a/pkgs/tools/misc/near-cli/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, mkYarnPackage -, fetchFromGitHub -, fetchYarnDeps -}: - -mkYarnPackage rec { - pname = "near-cli"; - version = "3.4.2"; - - src = fetchFromGitHub { - owner = "near"; - repo = "near-cli"; - rev = "v${version}"; - hash = "sha256-C+viNYk+6BA11cdi5GqARU3QTTONTR2B2VEZf/SeeSQ="; - }; - - packageJSON = ./package.json; - - offlineCache = fetchYarnDeps { - yarnLock = "${src}/yarn.lock"; - hash = "sha256-G/Y8xGGOlXH37Bup7mKhEaNh05GTP5CC9e/Xw4TBNMU="; - }; - - doDist = false; - - installPhase = '' - runHook preInstall - - mkdir -p "$out/lib/node_modules" - mv deps/near-cli "$out/lib/node_modules" - rm "$out/lib/node_modules/near-cli/node_modules" - mv node_modules "$out/lib/node_modules/near-cli" - - mkdir -p "$out/bin" - ln -s "$out/lib/node_modules/near-cli/bin/near" "$out/bin" - - runHook postInstall - ''; - - meta = { - changelog = "https://github.com/near/near-cli/blob/${src.rev}/CHANGELOG.md"; - description = "General purpose command line tools for interacting with NEAR Protocol"; - homepage = "https://github.com/near/near-cli"; - license = with lib.licenses; [ asl20 mit ]; - mainProgram = "near"; - maintainers = with lib.maintainers; [ ekleog ]; - }; -} diff --git a/pkgs/tools/misc/near-cli/package.json b/pkgs/tools/misc/near-cli/package.json deleted file mode 100644 index a6b794a99115..000000000000 --- a/pkgs/tools/misc/near-cli/package.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "near-cli", - "version": "3.4.2", - "description": "General purpose command line tools for interacting with NEAR Protocol", - "engines": { - "node": ">= 12" - }, - "main": "index.js", - "scripts": { - "pretest": "rm -rf tmp-project", - "test": "npm run test:unit && npm run test:integration", - "test:unit": "jest", - "test:integration": "bash ./test/index.sh", - "lint": "eslint .", - "fix": "eslint . --fix" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/near/near-cli.git" - }, - "author": "Jane Degtiareva", - "license": "(MIT AND Apache-2.0)", - "bugs": { - "url": "https://github.com/near/near-cli/issues" - }, - "homepage": "https://github.com/near/near-cli#readme", - "bin": { - "near": "bin/near" - }, - "devDependencies": { - "danger": "^10.6.6", - "lodash": "^4.17.21", - "eslint": "^7.0.0", - "jest": "^26.1.0", - "strip-ansi": "^7.0.0", - "strip-ansi-cli": "^3.0.0", - "ts-node": "^10.4.0", - "typescript": "^4.5.4" - }, - "dependencies": { - "analytics-node": "^6.1.0", - "ascii-table": "0.0.9", - "bn.js": "^5.1.1", - "bs58": "^4.0.1", - "chalk": "^4.0.0", - "flagged-respawn": "^1.0.1", - "is-ci": "^2.0.0", - "jest-environment-node": "^27.0.6", - "ncp": "^2.0.0", - "near-api-js": "^0.44.2", - "near-seed-phrase": "^0.2.0", - "open": "^8.0.7", - "rimraf": "^3.0.0", - "stoppable": "^1.1.0", - "tcp-port-used": "^1.0.1", - "update-notifier": "^5.0.0", - "uuid": "^8.0.0", - "v8flags": "^3.1.3", - "yargs": "^16.0.3" - }, - "optionalDependencies": { - "@ledgerhq/hw-transport-node-hid": "^6.1.0", - "near-ledger-js": "^0.2.0" - }, - "keywords": [ - "blockchain", - "crypto", - "dapps", - "distributed", - "applications", - "distributed applications" - ], - "files": [ - "bin", - "commands", - "middleware", - "utils", - "config.js", - "get-config.js", - "test_environment.js", - "context" - ] -} diff --git a/pkgs/tools/misc/neo-cowsay/default.nix b/pkgs/tools/misc/neo-cowsay/default.nix deleted file mode 100644 index 2682658ab38d..000000000000 --- a/pkgs/tools/misc/neo-cowsay/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "neo-cowsay"; - version = "2.0.4"; - - src = fetchFromGitHub { - owner = "Code-Hex"; - repo = "Neo-cowsay"; - rev = "v${version}"; - hash = "sha256-DmIjqBTIzwkQ8aJ6xCgIwjDtczlTH5AKbPKFUGx3qQ8="; - }; - - vendorHash = "sha256-gBURmodXkod4fukw6LWEY+MBxPcf4vn/f6K78UR77n0="; - - modRoot = "./cmd"; - - doCheck = false; - - subPackages = [ "cowsay" "cowthink" ]; - - meta = with lib; { - description = "Cowsay reborn, written in Go"; - homepage = "https://github.com/Code-Hex/Neo-cowsay"; - license = with licenses; [ artistic1 /* or */ gpl3 ]; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "cowsay"; - }; -} diff --git a/pkgs/tools/misc/neofetch/default.nix b/pkgs/tools/misc/neofetch/default.nix deleted file mode 100644 index d035fe312091..000000000000 --- a/pkgs/tools/misc/neofetch/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, bash, makeWrapper, pciutils -, x11Support ? true, ueberzug, fetchpatch -}: - -stdenvNoCC.mkDerivation rec { - pname = "neofetch"; - version = "unstable-2021-12-10"; - - src = fetchFromGitHub { - owner = "dylanaraps"; - repo = "neofetch"; - rev = "ccd5d9f52609bbdcd5d8fa78c4fdb0f12954125f"; - sha256 = "sha256-9MoX6ykqvd2iB0VrZCfhSyhtztMpBTukeKejfAWYW1w="; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/413c32e55dc16f0360f8e84af2b59fe45505f81b.patch"; - sha256 = "1fapdg9z79f0j3vw7fgi72b54aw4brn42bjsj48brbvg3ixsciph"; - name = "avoid_overwriting_gio_extra_modules_env_var.patch"; - }) - # https://github.com/dylanaraps/neofetch/pull/2114 - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/c4eb4ec7783bb94cca0dbdc96db45a4d965956d2.patch"; - sha256 = "sha256-F6Q4dUtfmR28VxLbITiLFJ44FjG4T1Cvuz3a0nLisMs="; - name = "update_old_nixos_logo.patch"; - }) - # https://github.com/dylanaraps/neofetch/pull/2157 - (fetchpatch { - url = "https://github.com/dylanaraps/neofetch/commit/de253afcf41bab441dc58d34cae654040cab7451.patch"; - sha256 = "sha256-3i7WnCWNfsRjbenTULmKHft5o/o176imzforNmuoJwo="; - name = "improve_detect_nixos_version.patch"; - }) - ]; - - outputs = [ "out" "man" ]; - - strictDeps = true; - buildInputs = [ bash ]; - nativeBuildInputs = [ makeWrapper ]; - postPatch = '' - patchShebangs --host neofetch - ''; - - postInstall = '' - wrapProgram $out/bin/neofetch \ - --prefix PATH : ${lib.makeBinPath ([ pciutils ] ++ lib.optional x11Support ueberzug) } - ''; - - makeFlags = [ - "PREFIX=${placeholder "out"}" - "SYSCONFDIR=${placeholder "out"}/etc" - ]; - - meta = with lib; { - description = "Fast, highly customizable system info script"; - homepage = "https://github.com/dylanaraps/neofetch"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ alibabzo konimex ]; - mainProgram = "neofetch"; - }; -} diff --git a/pkgs/tools/misc/netbootxyz-efi/default.nix b/pkgs/tools/misc/netbootxyz-efi/default.nix deleted file mode 100644 index f09a86fd76a3..000000000000 --- a/pkgs/tools/misc/netbootxyz-efi/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib -, fetchurl -}: - -let - pname = "netboot.xyz-efi"; - version = "2.0.75"; -in fetchurl { - name = "${pname}-${version}"; - - url = "https://github.com/netbootxyz/netboot.xyz/releases/download/${version}/netboot.xyz.efi"; - sha256 = "sha256-VaTUwX3S5Bj5eUZAspXNaVm8Y51hURL3xBb1tRdj6Zw="; - - meta = with lib; { - homepage = "https://netboot.xyz/"; - description = "Tool to boot OS installers and utilities over the network, to be run from a bootloader"; - license = licenses.asl20; - maintainers = [ ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/nginx-config-formatter/default.nix b/pkgs/tools/misc/nginx-config-formatter/default.nix deleted file mode 100644 index edfe912f3983..000000000000 --- a/pkgs/tools/misc/nginx-config-formatter/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3 }: - -stdenv.mkDerivation rec { - version = "1.2.2"; - pname = "nginx-config-formatter"; - - src = fetchFromGitHub { - owner = "slomkowski"; - repo = "nginx-config-formatter"; - rev = "v${version}"; - sha256 = "sha256-EUoOfkoVsNpIAwDaQ4NH8MkRIJZI8qeuuHUDE6LuLiI="; - }; - - buildInputs = [ python3 ]; - - doCheck = true; - checkPhase = '' - python3 $src/test_nginxfmt.py - ''; - - installPhase = '' - mkdir -p $out/bin - install -m 0755 $src/nginxfmt.py $out/bin/nginxfmt - ''; - - meta = with lib; { - description = "nginx config file formatter"; - maintainers = with maintainers; [ Baughn ]; - license = licenses.asl20; - homepage = "https://github.com/slomkowski/nginx-config-formatter"; - mainProgram = "nginxfmt"; - }; -} diff --git a/pkgs/tools/misc/nms/default.nix b/pkgs/tools/misc/nms/default.nix deleted file mode 100644 index cf890dc44956..000000000000 --- a/pkgs/tools/misc/nms/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "nms"; - version = "1.0.1"; - - src = fetchFromGitHub { - owner = "bartobri"; - repo = "no-more-secrets"; - rev = "v${version}"; - sha256 = "sha256-QVCEpplsZCSQ+Fq1LBtCuPBvnzgLsmLcSrxR+e4nA5I="; - }; - - buildFlags = [ "nms" "sneakers" ]; - installFlags = [ "prefix=$(out)" ]; - - meta = with lib; { - homepage = "https://github.com/bartobri/no-more-secrets"; - description = '' - A command line tool that recreates the famous data decryption - effect seen in the 1992 movie Sneakers. - ''; - license = licenses.gpl3; - maintainers = [ ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/node-glob/default.nix b/pkgs/tools/misc/node-glob/default.nix deleted file mode 100644 index 74013b27b305..000000000000 --- a/pkgs/tools/misc/node-glob/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -}: - -buildNpmPackage rec { - pname = "glob"; - version = "10.3.3"; - - src = fetchFromGitHub { - owner = "isaacs"; - repo = "node-glob"; - rev = "v${version}"; - hash = "sha256-oLlNhQOnu/hlKjNWa5vjqslz1EarZJOpUEXUB+vGQvc="; - }; - - npmDepsHash = "sha256-78oODw+CBCk5JRJbDqLqVmzTVImP7Z7o6jRIimDxZDQ="; - - dontNpmBuild = true; - - meta = { - changelog = "https://github.com/isaacs/node-glob/blob/${src.rev}/changelog.md"; - description = "Little globber for Node.js"; - homepage = "https://github.com/isaacs/node-glob"; - license = lib.licenses.isc; - mainProgram = "glob"; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/nomino/default.nix b/pkgs/tools/misc/nomino/default.nix deleted file mode 100644 index ab4d1d0fbd23..000000000000 --- a/pkgs/tools/misc/nomino/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "nomino"; - version = "1.3.5"; - - src = fetchFromGitHub { - owner = "yaa110"; - repo = pname; - rev = version; - hash = "sha256-qznue5C/6Y+54/gV1lLgJPCezW0zF2Fe2ZlMvU57+Q0="; - }; - - cargoHash = "sha256-28QXDhpcrW1flnU5WesAdbJSMrZAhIuFv2LSJHTk74Y="; - - meta = with lib; { - description = "Batch rename utility for developers"; - homepage = "https://github.com/yaa110/nomino"; - changelog = "https://github.com/yaa110/nomino/releases/tag/${src.rev}"; - license = with licenses; [ mit /* or */ asl20 ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "nomino"; - }; -} diff --git a/pkgs/tools/misc/noteshrink/default.nix b/pkgs/tools/misc/noteshrink/default.nix deleted file mode 100644 index 4c76c332645f..000000000000 --- a/pkgs/tools/misc/noteshrink/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, fetchFromGitHub, python3, imagemagick }: - -with python3.pkgs; - -buildPythonApplication rec { - pname = "noteshrink"; - version = "0.1.1"; - - src = fetchFromGitHub { - owner = "mzucker"; - repo = "noteshrink"; - rev = version; - sha256 = "0xhrvg3d8ffnbbizsrfppcd2y98znvkgxjdmvbvin458m2rwccka"; - }; - - propagatedBuildInputs = [ numpy scipy imagemagick pillow ]; - - meta = with lib; { - description = "Convert scans of handwritten notes to beautiful, compact PDFs"; - homepage = "https://mzucker.github.io/2016/09/20/noteshrink.html"; - license = licenses.mit; - maintainers = with maintainers; [ rnhmjoj ]; - mainProgram = "noteshrink"; - }; -} diff --git a/pkgs/tools/misc/noti/default.nix b/pkgs/tools/misc/noti/default.nix index 3401f74de937..1c33f4ff73d3 100644 --- a/pkgs/tools/misc/noti/default.nix +++ b/pkgs/tools/misc/noti/default.nix @@ -21,7 +21,7 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optional stdenv.isDarwin Cocoa; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin Cocoa; ldflags = [ "-s" diff --git a/pkgs/tools/misc/notify-desktop/default.nix b/pkgs/tools/misc/notify-desktop/default.nix deleted file mode 100644 index e1118022edff..000000000000 --- a/pkgs/tools/misc/notify-desktop/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, dbus, pkg-config }: - -stdenv.mkDerivation { - pname = "notify-desktop"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "nowrep"; - repo = "notify-desktop"; - rev = "9863919fb4ce7820810ac14a09a46ee73c3d56cc"; - sha256 = "1brcvl2fx0yzxj9mc8hzfl32zdka1f1bxpzsclcsjplyakyinr1a"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ dbus ]; - - installPhase = '' - mkdir -p $out/bin - install -m 755 bin/notify-desktop $out/bin/notify-desktop - ''; - - meta = with lib; { - description = "Little application that lets you send desktop notifications with one command"; - longDescription = '' - It's basically clone of notify-send from libnotify, - but it supports reusing notifications on screen by passing its ID. - It also does not use any external dependencies (except from libdbus of course). - ''; - homepage = "https://github.com/nowrep/notify-desktop"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ ylwghst ]; - mainProgram = "notify-desktop"; - }; -} diff --git a/pkgs/tools/misc/notify/default.nix b/pkgs/tools/misc/notify/default.nix deleted file mode 100644 index efbbd7ce6eb3..000000000000 --- a/pkgs/tools/misc/notify/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, nix-update-script -}: - -buildGoModule rec { - pname = "notify"; - version = "1.0.6"; - - src = fetchFromGitHub { - owner = "projectdiscovery"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-9oakHqDhOZyqzlVqHPjTsG2f780DABt0+JRckmkWW64="; - }; - - vendorHash = "sha256-/FJECY1x9nMqOIzqdN6T+vdi9qjjY0YAoqvVNf0kN3s="; - - modRoot = "."; - subPackages = [ - "cmd/notify/" - ]; - - # Test files are not part of the release tarball - doCheck = false; - - passthru = { - updateScript = nix-update-script { }; - }; - - meta = with lib; { - description = "Notify allows sending the output from any tool to Slack, Discord and Telegram"; - longDescription = '' - Notify is a helper utility written in Go that allows you to post the output from any tool - to Slack, Discord, and Telegram. - ''; - homepage = "https://github.com/projectdiscovery/notify"; - license = licenses.mit; - maintainers = with maintainers; [ hanemile ]; - mainProgram = "notify"; - }; -} diff --git a/pkgs/tools/misc/ntfy/default.nix b/pkgs/tools/misc/ntfy/default.nix index 54e232eafd9c..d28688c63399 100644 --- a/pkgs/tools/misc/ntfy/default.nix +++ b/pkgs/tools/misc/ntfy/default.nix @@ -3,12 +3,12 @@ , python39 , fetchFromGitHub , fetchpatch -, withXmpp ? !stdenv.isDarwin +, withXmpp ? !stdenv.hostPlatform.isDarwin , withMatrix ? true , withSlack ? true , withEmoji ? true , withPid ? true -, withDbus ? stdenv.isLinux +, withDbus ? stdenv.hostPlatform.isLinux }: let diff --git a/pkgs/tools/misc/nurl/Cargo.lock b/pkgs/tools/misc/nurl/Cargo.lock deleted file mode 100644 index 2d89af7cda1b..000000000000 --- a/pkgs/tools/misc/nurl/Cargo.lock +++ /dev/null @@ -1,1559 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "anstream" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is-terminal", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" - -[[package]] -name = "anstyle-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "anstyle-wincon" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" -dependencies = [ - "anstyle", - "windows-sys 0.48.0", -] - -[[package]] -name = "anyhow" -version = "1.0.72" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" - -[[package]] -name = "assert_cmd" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88903cb14723e4d4003335bb7f8a14f27691649105346a0f0957466c096adfe6" -dependencies = [ - "anstyle", - "bstr", - "doc-comment", - "predicates", - "predicates-core", - "predicates-tree", - "wait-timeout", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "base64" -version = "0.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bstr" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" -dependencies = [ - "memchr", - "regex-automata", - "serde", -] - -[[package]] -name = "bumpalo" -version = "3.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clap" -version = "4.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b6396aa128fe4149d2af114f746eb048b5667e2844cc51ae90830f45de7ccb" -dependencies = [ - "clap_builder", - "clap_derive", - "once_cell", -] - -[[package]] -name = "clap_builder" -version = "4.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d011140df54d9c4c592974ccd7d694dd4ab5b92ea0436435fa900a211d6b0f6" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "once_cell", - "strsim", - "terminal_size", - "unicase", - "unicode-width", -] - -[[package]] -name = "clap_complete" -version = "4.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc443334c81a804575546c5a8a79b4913b50e28d69232903604cada1de817ce" -dependencies = [ - "clap", -] - -[[package]] -name = "clap_derive" -version = "4.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" - -[[package]] -name = "clap_mangen" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f2e32b579dae093c2424a8b7e2bea09c89da01e1ce5065eb2f0a6f1cc15cc1f" -dependencies = [ - "clap", - "roff", -] - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "content_inspector" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38" -dependencies = [ - "memchr", -] - -[[package]] -name = "cpufeatures" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" -dependencies = [ - "cfg-if", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" -dependencies = [ - "autocfg", - "cfg-if", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "data-encoding" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "doc-comment" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" - -[[package]] -name = "dunce" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" - -[[package]] -name = "either" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" - -[[package]] -name = "enum_dispatch" -version = "0.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" -dependencies = [ - "once_cell", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "fastrand" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" - -[[package]] -name = "filetime" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.2.16", - "windows-sys 0.48.0", -] - -[[package]] -name = "flate2" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "form_urlencoded" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "gix-features" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f708dc9875d1b3e05c1cbadfd22e5b543c733c511191798587ec479115664221" -dependencies = [ - "gix-hash", - "gix-trace", - "libc", -] - -[[package]] -name = "gix-hash" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0dd58cdbe7ffa4032fc111864c80d5f8cecd9a2c9736c97ae7e5be834188272" -dependencies = [ - "hex", - "thiserror", -] - -[[package]] -name = "gix-path" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfca182d2575ded2ed38280f1ebf75cd5d3790b77e0872de07854cf085821fbe" -dependencies = [ - "bstr", - "gix-trace", - "home", - "once_cell", - "thiserror", -] - -[[package]] -name = "gix-trace" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "103eac621617be3ebe0605c9065ca51a223279a23218aaf67d10daa6e452f663" - -[[package]] -name = "gix-url" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092d3f8f4040ee1b82830224e9002fff69248348af27dfdbcc8536db80283945" -dependencies = [ - "bstr", - "gix-features", - "gix-path", - "home", - "thiserror", - "url", -] - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "hashbrown" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "home" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "humantime-serde" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" -dependencies = [ - "humantime", - "serde", -] - -[[package]] -name = "idna" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "indexmap" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.2", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "is-terminal" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi 0.3.2", - "rustix 0.38.4", - "windows-sys 0.48.0", -] - -[[package]] -name = "is_ci" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb" - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" - -[[package]] -name = "js-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "libc" -version = "0.2.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" - -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" - -[[package]] -name = "log" -version = "0.4.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "nix-compat" -version = "0.1.0" -source = "git+https://code.tvl.fyi/depot.git:/tvix/nix-compat.git#3ec277c76c43ebe7be6f1fc43b7aad310e58df8b" -dependencies = [ - "anyhow", - "data-encoding", - "glob", - "serde", - "serde_json", - "sha2", - "thiserror", -] - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "nu-glob" -version = "0.82.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a73aed5e2a80f2021866adbd3a4b3013ace1ca06809459b3b208e791eb7729d9" - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi 0.3.2", - "libc", -] - -[[package]] -name = "nurl" -version = "0.3.13" -dependencies = [ - "anyhow", - "assert_cmd", - "bstr", - "clap", - "clap_complete", - "clap_mangen", - "data-encoding", - "enum_dispatch", - "gix-url", - "is-terminal", - "itertools 0.11.0", - "nix-compat", - "nu-glob", - "once_cell", - "owo-colors", - "rustc-hash", - "serde", - "serde_json", - "trycmd", - "ureq", -] - -[[package]] -name = "once_cell" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" - -[[package]] -name = "os_pipe" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ae859aa07428ca9a929b936690f8b12dc5f11dd8c6992a18ca93919f28bc177" -dependencies = [ - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "owo-colors" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" -dependencies = [ - "supports-color", -] - -[[package]] -name = "percent-encoding" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" - -[[package]] -name = "predicates" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09963355b9f467184c04017ced4a2ba2d75cbcb4e7462690d388233253d4b1a9" -dependencies = [ - "anstyle", - "difflib", - "itertools 0.10.5", - "predicates-core", -] - -[[package]] -name = "predicates-core" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" - -[[package]] -name = "predicates-tree" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "proc-macro2" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rayon" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "num_cpus", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "regex-automata" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "roff" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustix" -version = "0.37.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" -dependencies = [ - "bitflags 2.3.3", - "errno", - "libc", - "linux-raw-sys 0.4.3", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustls" -version = "0.21.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79ea77c539259495ce8ca47f53e66ae0330a8819f67e23ac96ca02f50e7b7d36" -dependencies = [ - "log", - "ring", - "rustls-webpki 0.101.1", - "sct", -] - -[[package]] -name = "rustls-webpki" -version = "0.100.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f36a6828982f422756984e47912a7a51dcbc2a197aa791158f8ca61cd8204e" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "ryu" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "sct" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "serde" -version = "1.0.174" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b88756493a5bd5e5395d53baa70b194b05764ab85b59e43e4b8f4e1192fa9b1" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.174" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e5c3a298c7f978e53536f95a63bdc4c4a64550582f31a0359a9afda6aede62e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_spanned" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" -dependencies = [ - "serde", -] - -[[package]] -name = "sha2" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - -[[package]] -name = "similar" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf" - -[[package]] -name = "snapbox" -version = "0.4.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6bccd62078347f89a914e3004d94582e13824d4e3d8a816317862884c423835" -dependencies = [ - "anstream", - "anstyle", - "content_inspector", - "dunce", - "filetime", - "libc", - "normalize-line-endings", - "os_pipe", - "similar", - "snapbox-macros", - "tempfile", - "wait-timeout", - "walkdir", - "windows-sys 0.45.0", -] - -[[package]] -name = "snapbox-macros" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaaf09df9f0eeae82be96290918520214530e738a7fe5a351b0f24cf77c0ca31" -dependencies = [ - "anstream", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "supports-color" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba6faf2ca7ee42fdd458f4347ae0a9bd6bcc445ad7cb57ad82b383f18870d6f" -dependencies = [ - "atty", - "is_ci", -] - -[[package]] -name = "syn" -version = "2.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b60f673f44a8255b9c8c657daf66a596d435f2da81a555b06dc644d080ba45e0" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tempfile" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall 0.3.5", - "rustix 0.38.4", - "windows-sys 0.48.0", -] - -[[package]] -name = "terminal_size" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" -dependencies = [ - "rustix 0.37.23", - "windows-sys 0.48.0", -] - -[[package]] -name = "termtree" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" - -[[package]] -name = "thiserror" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "toml_datetime" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8123f27e969974a3dfba720fdb560be359f57b44302d280ba72e76a74480e8a" -dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "trycmd" -version = "0.14.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2925e71868a12b173c1eb166018c2d2f9dfaedfcaec747bdb6ea2246785d258e" -dependencies = [ - "glob", - "humantime", - "humantime-serde", - "rayon", - "serde", - "shlex", - "snapbox", - "toml_edit", -] - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" - -[[package]] -name = "unicode-ident" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "ureq" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b11c96ac7ee530603dcdf68ed1557050f374ce55a5a07193ebf8cbc9f8927e9" -dependencies = [ - "base64", - "flate2", - "log", - "once_cell", - "rustls", - "rustls-webpki 0.100.1", - "serde", - "serde_json", - "url", - "webpki-roots", -] - -[[package]] -name = "url" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - -[[package]] -name = "walkdir" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasm-bindgen" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" - -[[package]] -name = "web-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki-roots" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" -dependencies = [ - "rustls-webpki 0.100.1", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.1", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "winnow" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fac9742fd1ad1bd9643b991319f72dd031016d44b77039a26977eb667141e7" -dependencies = [ - "memchr", -] diff --git a/pkgs/tools/misc/nurl/default.nix b/pkgs/tools/misc/nurl/default.nix deleted file mode 100644 index e0af2ff638dd..000000000000 --- a/pkgs/tools/misc/nurl/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, makeBinaryWrapper -, stdenv -, darwin -, gitMinimal -, mercurial -, nix -}: - -rustPlatform.buildRustPackage rec { - pname = "nurl"; - version = "0.3.13"; - - src = fetchFromGitHub { - owner = "nix-community"; - repo = "nurl"; - rev = "v${version}"; - hash = "sha256-rVqF+16esE27G7GS55RT91tD4x/GAzfVlIR0AgSknz0="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "nix-compat-0.1.0" = "sha256-xHwBlmTggcZBFSh4EOY888AbmGQxhwvheJSStgpAj48="; - }; - }; - - nativeBuildInputs = [ - installShellFiles - makeBinaryWrapper - ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - # tests require internet access - doCheck = false; - - postInstall = '' - wrapProgram $out/bin/nurl \ - --prefix PATH : ${lib.makeBinPath [ gitMinimal mercurial nix ]} - installManPage artifacts/nurl.1 - installShellCompletion artifacts/nurl.{bash,fish} --zsh artifacts/_nurl - ''; - - env = { - GEN_ARTIFACTS = "artifacts"; - }; - - meta = with lib; { - description = "Command-line tool to generate Nix fetcher calls from repository URLs"; - homepage = "https://github.com/nix-community/nurl"; - changelog = "https://github.com/nix-community/nurl/blob/v${version}/CHANGELOG.md"; - license = licenses.mpl20; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "nurl"; - }; -} diff --git a/pkgs/tools/misc/nux/default.nix b/pkgs/tools/misc/nux/default.nix deleted file mode 100644 index 45bb18362605..000000000000 --- a/pkgs/tools/misc/nux/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, asciidoctor -, installShellFiles -}: - -let - pname = "nux"; - version = "0.1.4"; -in -rustPlatform.buildRustPackage { - inherit pname version; - - src = fetchFromGitHub { - owner = "NuxPackage"; - repo = pname; - rev = version; - hash = "sha256-k3HRaWN8/MTZRGWBxI8RRK0tcSYBbSLs3vHkUdLGTc8"; - }; - - cargoHash = "sha256-wfUr3dcdALMEgJ6CaXhK4Gqk6xflCnov9tELA63drV4="; - - nativeBuildInputs = [ asciidoctor installShellFiles ]; - - postInstall = '' - installManPage $releaseDir/build/nux-*/out/nux.1 - installShellCompletion $releaseDir/build/nux-*/out/nux.{bash,fish} - installShellCompletion $releaseDir/build/nux-*/out/_nux - ''; - - meta = { - homepage = "https://github.com/NuxPackage/nux"; - description = "Wrapper over the nix cli"; - license = with lib.licenses; [ gpl3Plus ]; - maintainers = [ ]; - mainProgram = "nux"; - }; -} diff --git a/pkgs/tools/misc/nvimpager/default.nix b/pkgs/tools/misc/nvimpager/default.nix deleted file mode 100644 index 80900bf30ae8..000000000000 --- a/pkgs/tools/misc/nvimpager/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ fetchFromGitHub -, lib, stdenv -, ncurses, neovim, procps -, scdoc, lua51Packages, util-linux -}: - -stdenv.mkDerivation rec { - pname = "nvimpager"; - version = "0.13.0"; - - src = fetchFromGitHub { - owner = "lucc"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-Au9rRZMZfU4qHi/ng6JO8FnMpySKDbKzr75SBPY3QiA="; - }; - - buildInputs = [ - ncurses # for tput - procps # for nvim_get_proc() which uses ps(1) - ]; - nativeBuildInputs = [ scdoc ]; - - makeFlags = [ "PREFIX=$(out)" ]; - buildFlags = [ "nvimpager.configured" "nvimpager.1" ]; - preBuild = '' - patchShebangs nvimpager - substituteInPlace nvimpager --replace-fail ':-nvim' ':-${lib.getExe neovim}' - ''; - - doCheck = true; - nativeCheckInputs = [ lua51Packages.busted util-linux neovim ]; - # filter out one test that fails in the sandbox of nix or with neovim v0.10 - # or on macOS - preCheck = '' - checkFlagsArray+=('BUSTED=busted --output TAP --exclude-tags=${"nix,v10" + lib.optionalString stdenv.isDarwin ",mac"}') - ''; - - meta = with lib; { - description = "Use neovim as pager"; - longDescription = '' - Use neovim as a pager to view manpages, diffs, etc with nvim's syntax - highlighting. Includes a cat mode to print highlighted files to stdout - and a ansi esc mode to highlight ansi escape sequences in neovim. - ''; - homepage = "https://github.com/lucc/nvimpager"; - license = licenses.bsd2; - platforms = platforms.unix; - maintainers = [ maintainers.lucc ]; - mainProgram = "nvimpager"; - }; -} diff --git a/pkgs/tools/misc/nyancat/default.nix b/pkgs/tools/misc/nyancat/default.nix deleted file mode 100644 index 89acccd66fc1..000000000000 --- a/pkgs/tools/misc/nyancat/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "nyancat"; - version = "1.5.2"; - - src = fetchFromGitHub { - owner = "klange"; - repo = "nyancat"; - rev = version; - sha256 = "1mg8nm5xzcq1xr8cvx24ym2vmafkw53rijllwcdm9miiz0p5ky9k"; - }; - - postPatch = '' - substituteInPlace Makefile \ - --replace /usr/bin "$out/bin" \ - --replace /usr/share "$out/share" - ''; - - preInstall = '' - mkdir -p $out/bin - mkdir -p $out/share/man/man1 - ''; - - meta = with lib; { - description = "Nyancat in your terminal, rendered through ANSI escape sequences"; - homepage = "https://nyancat.dakko.us"; - license = licenses.ncsa; - maintainers = with maintainers; [ midchildan ]; - platforms = platforms.unix; - mainProgram = "nyancat"; - }; -} diff --git a/pkgs/tools/misc/octofetch/default.nix b/pkgs/tools/misc/octofetch/default.nix index f254e77ebdea..1218cb1f7b0f 100644 --- a/pkgs/tools/misc/octofetch/default.nix +++ b/pkgs/tools/misc/octofetch/default.nix @@ -22,8 +22,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = lib.optionals stdenv.isLinux [ openssl ] - ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; meta = with lib; { homepage = "https://github.com/azur1s/octofetch"; diff --git a/pkgs/tools/misc/odroid-xu3-bootloader/default.nix b/pkgs/tools/misc/odroid-xu3-bootloader/default.nix deleted file mode 100644 index 2dbffe3384ce..000000000000 --- a/pkgs/tools/misc/odroid-xu3-bootloader/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, coreutils, ubootOdroidXU3, runtimeShell }: - -stdenv.mkDerivation { - pname = "odroid-xu3-bootloader"; - version = "unstable-2015-12-04"; - - src = fetchFromGitHub { - owner = "hardkernel"; - repo = "u-boot"; - rev = "fe2f831fd44a4071f58a42f260164544697aa666"; - sha256 = "1h5yvawzla0vqhkk98gxcwc824bhc936bh6j77qkyspvqcw761fr"; - }; - - buildCommand = '' - install -Dm644 -t $out/lib/sd_fuse-xu3 $src/sd_fuse/hardkernel_1mb_uboot/{bl2,tzsw}.* - install -Dm644 -t $out/lib/sd_fuse-xu3 $src/sd_fuse/hardkernel/bl1.* - ln -sf ${ubootOdroidXU3}/u-boot-dtb.bin $out/lib/sd_fuse-xu3/u-boot-dtb.bin - - install -Dm755 $src/sd_fuse/hardkernel_1mb_uboot/sd_fusing.1M.sh $out/bin/sd_fuse-xu3 - sed -i \ - -e '1i#!${runtimeShell}' \ - -e '1iPATH=${lib.makeBinPath [ coreutils ]}:$PATH' \ - -e '/set -x/d' \ - -e 's,.\/sd_fusing\.sh,sd_fuse-xu3,g' \ - -e "s,\./,$out/lib/sd_fuse-xu3/,g" \ - $out/bin/sd_fuse-xu3 - ''; - - meta = with lib; { - platforms = platforms.linux; - license = licenses.unfreeRedistributableFirmware; - description = "Secure boot enabled boot loader for ODROID-XU{3,4}"; - maintainers = with maintainers; [ abbradar ]; - }; -} diff --git a/pkgs/tools/misc/odyssey/default.nix b/pkgs/tools/misc/odyssey/default.nix deleted file mode 100644 index 726b12182ebb..000000000000 --- a/pkgs/tools/misc/odyssey/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, openssl, postgresql, zstd, fetchpatch }: - -stdenv.mkDerivation rec { - pname = "odyssey"; - version = "1.3"; - - src = fetchFromGitHub { - owner = "yandex"; - repo = pname; - rev = version; - sha256 = "sha256-1ALTKRjpKmmFcAuhmgpcbJBkNuUlTyau8xWDRHh7gf0="; - }; - - patches = [ - # Fix compression build. Remove with the next release. https://github.com/yandex/odyssey/pull/441 - (fetchpatch { - url = "https://github.com/yandex/odyssey/commit/01ca5b345c4483add7425785c9c33dfa2c135d63.patch"; - sha256 = "sha256-8UPkZkiI08ZZL6GShhug/5/kOVrmdqYlsD1bcqfxg/w="; - }) - ]; - - nativeBuildInputs = [ cmake ]; - buildInputs = [ openssl postgresql zstd ]; - cmakeFlags = [ "-DPQ_LIBRARY=${postgresql.lib}/lib" "-DBUILD_COMPRESSION=ON" ]; - - installPhase = '' - install -Dm755 -t $out/bin sources/odyssey - ''; - - meta = with lib; { - description = "Scalable PostgreSQL connection pooler"; - homepage = "https://github.com/yandex/odyssey"; - license = licenses.bsd3; - maintainers = [ ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "odyssey"; - }; -} diff --git a/pkgs/tools/misc/oggvideotools/default.nix b/pkgs/tools/misc/oggvideotools/default.nix deleted file mode 100644 index 13c13f086a29..000000000000 --- a/pkgs/tools/misc/oggvideotools/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, cmake, pkg-config, boost, gd, libogg, libtheora, libvorbis }: - -stdenv.mkDerivation rec { - pname = "oggvideotools"; - version = "0.9.1"; - - src = fetchurl { - url = "mirror://sourceforge/oggvideotools/oggvideotools/oggvideotools-${version}/oggvideotools-${version}.tar.bz2"; - sha256 = "sha256-2dv3iXt86phhIgnYC5EnRzyX1u5ssNzPwrOP4+jilSM="; - }; - - patches = [ - # Fix pending upstream inclusion for missing includes: - # https://sourceforge.net/p/oggvideotools/bugs/12/ - (fetchpatch { - name = "gcc-10.patch"; - url = "https://sourceforge.net/p/oggvideotools/bugs/12/attachment/fix-compile.patch"; - sha256 = "sha256-mJttoC3jCLM3vmPhlyqh+W0ryp2RjJGIBXd6sJfLJA4="; - }) - - # Fix pending upstream inclusion for build failure on gcc-12: - # https://sourceforge.net/p/oggvideotools/bugs/13/ - (fetchpatch { - name = "gcc-12.patch"; - url = "https://sourceforge.net/p/oggvideotools/bugs/13/attachment/fix-gcc-12.patch"; - sha256 = "sha256-zuDXe86djWkR8SgYZHkuAJJ7Lf2VYsVRBrlEaODtMKE="; - # svn patch, rely on prefix added by fetchpatch: - extraPrefix = ""; - }) - ]; - - postPatch = '' - # Don't disable optimisations - substituteInPlace CMakeLists.txt --replace " -O0 " "" - ''; - - nativeBuildInputs = [ cmake pkg-config ]; - - buildInputs = [ boost gd libogg libtheora libvorbis ]; - - meta = with lib; { - description = "Toolbox for manipulating and creating Ogg video files"; - homepage = "http://www.streamnik.de/oggvideotools.html"; - license = licenses.gpl2Only; - maintainers = [ ]; - # Compilation error on Darwin: - # error: invalid argument '--std=c++0x' not allowed with 'C' - # make[2]: *** [src/libresample/CMakeFiles/resample.dir/build.make:76: src/libresample/CMakeFiles/resample.dir/filterkit.c.o] Error 1 - broken = stdenv.isDarwin; - }; -} diff --git a/pkgs/tools/misc/ondir/default.nix b/pkgs/tools/misc/ondir/default.nix deleted file mode 100644 index 0bcffd5ade71..000000000000 --- a/pkgs/tools/misc/ondir/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, -}: - -stdenv.mkDerivation { - pname = "ondir"; - version = "0.2.3"; - - src = fetchFromGitHub { - owner = "alecthomas"; - repo = "ondir"; - rev = "cb2f9f8b21e336165fc0a310d677fda75c8e8513"; - hash = "sha256-XTZKFIzJ3xL8ae3zG8nsMhGWvpvRUAQ2b6q/Q1QvGd0="; - }; - - installPhase = '' - runHook preInstall - - make DESTDIR="$out" PREFIX= install - cp scripts.* $out - - runHook postInstall - ''; - - meta = with lib; { - description = "Small program to automate tasks specific to certain directories"; - longDescription = '' - It works by executing scripts in directories when you enter and leave them. - This is done by overriding the shell builtins cd, pushd, and popd, - which is a manual action. - The user is required to add a snippet to their shell initialisation file like .bashrc or .profile. - - Which commands are executed on directory entry and leave is done - in predefined locations with a .ondirrc file. - - See man ondir for more information - ''; - homepage = "https://github.com/alecthomas/ondir/"; - license = licenses.gpl2Only; - maintainers = [ maintainers.michaelCTS ]; - mainProgram = "ondir"; - }; -} diff --git a/pkgs/tools/misc/onefetch/default.nix b/pkgs/tools/misc/onefetch/default.nix index 2436b68da434..2beca6a81501 100644 --- a/pkgs/tools/misc/onefetch/default.nix +++ b/pkgs/tools/misc/onefetch/default.nix @@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ cmake installShellFiles pkg-config ]; buildInputs = [ zstd ] - ++ lib.optionals stdenv.isDarwin [ CoreFoundation libresolv Security ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation libresolv Security ]; nativeCheckInputs = [ git diff --git a/pkgs/tools/misc/open-pdf-sign/default.nix b/pkgs/tools/misc/open-pdf-sign/default.nix deleted file mode 100644 index 1b87ca87728e..000000000000 --- a/pkgs/tools/misc/open-pdf-sign/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ fetchurl -, jre -, lib -, makeBinaryWrapper -, nix-update-script -, stdenv -}: - -stdenv.mkDerivation (finalAttrs: { - version = "0.2.1"; - pname = "open-pdf-sign"; - - src = fetchurl { - url = "https://github.com/open-pdf-sign/open-pdf-sign/releases/download/v${finalAttrs.version}/open-pdf-sign.jar"; - hash = "sha256-jtaEystCiZUK93HkVPuWzAUISO4RMMxjMmFbooWZJGU="; - }; - - nativeBuildInputs = [ - makeBinaryWrapper - ]; - - buildCommand = '' - install -Dm644 $src $out/lib/open-pdf-sign.jar - - mkdir -p $out/bin - makeWrapper ${lib.getExe jre} $out/bin/open-pdf-sign \ - --add-flags "-jar $out/lib/open-pdf-sign.jar" - ''; - - passthru = { - updateScript = nix-update-script { }; - }; - - meta = { - description = "Digitally sign PDF files from your commandline"; - homepage = "https://github.com/open-pdf-sign/open-pdf-sign"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ drupol ]; - platforms = lib.platforms.unix; - sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; - mainProgram = "open-pdf-sign"; - }; -}) diff --git a/pkgs/tools/misc/opencbm/default.nix b/pkgs/tools/misc/opencbm/default.nix deleted file mode 100644 index 434b3d421de2..000000000000 --- a/pkgs/tools/misc/opencbm/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cc65 -, ncurses -, pkg-config -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "opencbm"; - version = "0.4.99.104"; - - src = fetchFromGitHub { - owner = "OpenCBM"; - repo = "OpenCBM"; - rev = "v${version}"; - sha256 = "sha256-5lj5F79Gbhrvi9dxKGobdyDyBLGcptAtxx9SANhLrKw="; - }; - - makefile = "LINUX/Makefile"; - makeFlags = [ - "PREFIX=${placeholder "out"}" - "ETCDIR=${placeholder "out"}/etc" - "UDEVRULESDIR=${placeholder "out"}/etc/udev/rules.d/" - "LDCONFIG=true" - ]; - installTargets = "install-all"; - - nativeBuildInputs = [ - cc65 - pkg-config - ]; - buildInputs = [ - libusb1 - ncurses - ]; - - meta = with lib; { - description = "Kernel driver and development library to control serial CBM devices"; - longDescription = '' - Win 7/8/10, and Linux/i386/AMD64 kernel driver and development library to - control serial CBM devices, such as the Commodore 1541 disk drive, - connected to the PC's parallel port via a XM1541 or XA1541 cable. Fast - disk copier included. Successor of cbm4linux. Also supports the XU1541 - and the XUM1541 devices (a.k.a. "ZoomFloppy"). - ''; - homepage = "https://spiro.trikaliotis.net/opencbm"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = [ maintainers.sander ]; - }; -} diff --git a/pkgs/tools/misc/opencorsairlink/default.nix b/pkgs/tools/misc/opencorsairlink/default.nix deleted file mode 100644 index c7e92770b7d6..000000000000 --- a/pkgs/tools/misc/opencorsairlink/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, pkg-config }: - -stdenv.mkDerivation rec { - pname = "OpenCorsairLink"; - version = "unstable-2019-12-23"; - - buildInputs = [ libusb1 ]; - nativeBuildInputs = [ pkg-config ]; - - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - src = fetchFromGitHub { - owner = "audiohacked"; - repo = "OpenCorsairLink"; - rev = "46dbf206e19a40d6de6bd73142ed93bdb26c5c1a"; - sha256 = "1nizicl0mc9pslc6065mnrs0fnn8sh7ca8iiw7w9ix57zrhabpld"; - }; - - patches = [ - # Pull upstream fix for -fno-common toolchain - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/audiohacked/OpenCorsairLink/commit/d600c7ff032a3911d30b039844a31f0b3acfe26a.patch"; - sha256 = "030rwka5bvf79x6ir18vqb09izhz1crp94x5gqjxwv3b20vvv4kx"; - }) - ]; - - meta = with lib; { - description = "Linux and Mac OS support for the CorsairLink Devices"; - homepage = "https://github.com/audiohacked/OpenCorsairLink"; - license = licenses.gpl2Plus; - platforms = platforms.all; - maintainers = [ lib.maintainers.expipiplus1 ]; - mainProgram = "OpenCorsairLink.elf"; - }; -} diff --git a/pkgs/tools/misc/opentelemetry-collector/contrib.nix b/pkgs/tools/misc/opentelemetry-collector/contrib.nix index 017fd1a015d7..49904bff0c17 100644 --- a/pkgs/tools/misc/opentelemetry-collector/contrib.nix +++ b/pkgs/tools/misc/opentelemetry-collector/contrib.nix @@ -8,18 +8,18 @@ buildGoModule rec { pname = "opentelemetry-collector-contrib"; - version = "0.109.0"; + version = "0.112.0"; src = fetchFromGitHub { owner = "open-telemetry"; repo = "opentelemetry-collector-contrib"; rev = "v${version}"; - hash = "sha256-ROAapCGIRD5kdA3k1LjSxdfICLRgBcQORe6wW1bszNI="; + hash = "sha256-EWmSN9PfbNxEyRCz07pVQa1b0eQ9eq7LsrF2euWmz7E="; }; # proxy vendor to avoid hash mismatches between linux and macOS proxyVendor = true; - vendorHash = "sha256-4MRXwp428d9oJPHrgOaGCaIFpRAIOpL/AYc/fLPAVBk="; + vendorHash = null; # there is a nested go.mod sourceRoot = "${src.name}/cmd/otelcontribcol"; @@ -30,7 +30,7 @@ buildGoModule rec { CGO_ENABLED = 0; # journalctl is required in-$PATH for the journald receiver tests. - nativeCheckInputs = lib.optionals stdenv.isLinux [ systemdMinimal ]; + nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ systemdMinimal ]; # We don't inject the package into propagatedBuildInputs unless # asked to avoid hard-requiring a large package. For the journald diff --git a/pkgs/tools/misc/opentsdb/default.nix b/pkgs/tools/misc/opentsdb/default.nix deleted file mode 100644 index abce03cae02f..000000000000 --- a/pkgs/tools/misc/opentsdb/default.nix +++ /dev/null @@ -1,352 +0,0 @@ -{ lib -, stdenv -, autoconf -, automake -, curl -, fetchFromGitHub -, fetchMavenArtifact -, fetchpatch -, git -, jdk8 -, makeWrapper -, nettools -, python3 -}: - -let - jdk = jdk8; - jre = jdk8.jre; - artifacts = { - apache = [ - (fetchMavenArtifact { - groupId = "org.apache.commons"; - artifactId = "commons-math3"; - version = "3.6.1"; - hash = "sha256-HlbXsFjSi2Wr0la4RY44hbZ0wdWI+kPNfRy7nH7yswg="; - }) - ]; - guava = [ - (fetchMavenArtifact { - groupId = "com.google.guava"; - artifactId = "guava"; - version = "18.0"; - hash = "sha256-1mT7/APS5c6cqypE+wHx0L+d/r7MwaRzsfnqMfefb5k="; - }) - ]; - gwt = [ - (fetchMavenArtifact { - groupId = "com.google.gwt"; - artifactId = "gwt-dev"; - version = "2.6.1"; - hash = "sha256-iS8VpnMPuxE9L9hkTJVtW5Tqgw2TIYei47zRvkdoK0o="; - }) - (fetchMavenArtifact { - groupId = "com.google.gwt"; - artifactId = "gwt-user"; - version = "2.6.1"; - hash = "sha256-3IlJ+b6C0Gmuh7aAFg9+ldgvZCdfJmTB8qcdC4HZC9g="; - }) - (fetchMavenArtifact { - groupId = "net.opentsdb"; - artifactId = "opentsdb-gwt-theme"; - version = "1.0.0"; - hash = "sha256-JJsjcRlQmIrwpOtMweH12e/Ut5NG8R50VPiOAMMGEdc="; - }) - ]; - hamcrest = [ - (fetchMavenArtifact { - url = "https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"; - groupId = "org.hamcrest"; - artifactId = "hamcrest-core"; - version = "1.3"; - hash = "sha256-Zv3vkelzk0jfeglqo4SlaF9Oh1WEzOiThqekclHE2Ok="; - }) - ]; - hbase = [ - (fetchMavenArtifact { - groupId = "org.hbase"; - artifactId = "asynchbase"; - version = "1.8.2"; - hash = "sha256-D7mKprHMW23dE0SzdNsagv3Hp2G5HUN7sKfs1nVzQF4="; - }) - ]; - jackson = [ - (fetchMavenArtifact { - groupId = "com.fasterxml.jackson.core"; - artifactId = "jackson-annotations"; - version = "2.14.1"; - hash = "sha256-0lW0uGP/jscUqPlvpVw0Yh1D27grgtP1dHZJakwJ4ec="; - }) - (fetchMavenArtifact { - groupId = "com.fasterxml.jackson.core"; - artifactId = "jackson-core"; - version = "2.14.1"; - hash = "sha256-ARQYfilrNMkxwb+eWoQVK2K/q30YL1Yj85gtwto15SY="; - }) - (fetchMavenArtifact { - groupId = "com.fasterxml.jackson.core"; - artifactId = "jackson-databind"; - version = "2.14.1"; - hash = "sha256-QjoMgG3ks/petKKGmDBeOjd3xzHhvPobLzo3YMe253M="; - }) - ]; - javacc = [ - (fetchMavenArtifact { - groupId = "net.java.dev.javacc"; - artifactId = "javacc"; - version = "6.1.2"; - hash = "sha256-7Qxclglhz+tDE4LPAVKCewEVZ0fbN5LRv5PoHjLCBKs="; - }) - ]; - javassist = [ - (fetchMavenArtifact { - groupId = "org.javassist"; - artifactId = "javassist"; - version = "3.21.0-GA"; - hash = "sha256-eqWeAx+UGYSvB9rMbKhebcm9OkhemqJJTLwDTvoSJdA="; - }) - ]; - jexl = [ - (fetchMavenArtifact { - groupId = "commons-logging"; - artifactId = "commons-logging"; - version = "1.2"; - hash = "sha256-2t3qHqC+D1aXirMAa4rJKDSv7vvZt+TmMW/KV98PpjY="; - }) - (fetchMavenArtifact { - groupId = "org.apache.commons"; - artifactId = "commons-jexl"; - version = "2.1.1"; - hash = "sha256-A8mp+uXaeM5SwL8kRnzDc1W34jGW3/SDniwP8BigEwY="; - }) - ]; - jgrapht = [ - (fetchMavenArtifact { - groupId = "org.jgrapht"; - artifactId = "jgrapht-core"; - version = "0.9.1"; - hash = "sha256-5u8cEVaJ7aCBQrhtUkYg2mQ7bp8BNAUletB/QtxcaXg="; - }) - ]; - junit = [ - (fetchMavenArtifact { - groupId = "junit"; - artifactId = "junit"; - version = "4.11"; - hash = "sha256-kKjhYD7spI5+h586+8lWBxUyKYXzmidPb2BwtD+dBv4="; - }) - ]; - kryo = [ - (fetchMavenArtifact { - groupId = "org.ow2.asm"; - artifactId = "asm"; - version = "4.0"; - hash = "sha256-+y3ekCCke7AkxD2d4KlOc6vveTvwjwE1TMl8stLiqVc="; - }) - (fetchMavenArtifact { - groupId = "com.esotericsoftware.kryo"; - artifactId = "kryo"; - version = "2.21.1"; - hash = "sha256-adEG73euU3sZBp9WUQNLZBN6Y3UAZXTAxjsuvDuy7q4="; - }) - (fetchMavenArtifact { - groupId = "com.esotericsoftware.minlog"; - artifactId = "minlog"; - version = "1.2"; - hash = "sha256-pnjLGqj10D2QHJksdXQYQdmKm8PVXa0C6E1lMVxOYPI="; - }) - (fetchMavenArtifact { - groupId = "com.esotericsoftware.reflectasm"; - artifactId = "reflectasm"; - version = "1.07"; - classifier = "shaded"; - hash = "sha256-CKcOrbSydO2u/BGUwfdXBiGlGwqaoDaqFdzbe5J+fHY="; - }) - ]; - logback = [ - (fetchMavenArtifact { - groupId = "ch.qos.logback"; - artifactId = "logback-classic"; - version = "1.3.4"; - hash = "sha256-uGal2myLeOFVxn/M11YoYNC1/Hdric2WjC8/Ljf8OgI="; - }) - (fetchMavenArtifact { - groupId = "ch.qos.logback"; - artifactId = "logback-core"; - version = "1.3.4"; - hash = "sha256-R0CgmLtEOnRFVN093wYsaCKHspQGZ1TikuE0bIv1zt0="; - }) - ]; - mockito = [ - (fetchMavenArtifact { - groupId = "org.mockito"; - artifactId = "mockito-core"; - version = "1.9.5"; - hash = "sha256-+XSDuglEufoTOqKWOHZN2+rbUew9vAIHTFj6LK7NB/o="; - }) - ]; - netty = [ - (fetchMavenArtifact { - groupId = "io.netty"; - artifactId = "netty"; - version = "3.10.6.Final"; - hash = "sha256-h2ilD749k6iNjmAA6l1o4w9Q3JFbN2TDxYcPcMT7O0k="; - }) - ]; - objenesis = [ - (fetchMavenArtifact { - groupId = "org.objenesis"; - artifactId = "objenesis"; - version = "1.3"; - hash = "sha256-3U7z0wkQY6T+xXjLsrvmwfkhwACRuimT3Nmv0l/5REo="; - }) - ]; - powermock = [ - (fetchMavenArtifact { - groupId = "org.powermock"; - artifactId = "powermock-mockito-release-full"; - version = "1.5.4"; - classifier = "full"; - hash = "sha256-GWXaFG/ZtPlc7uKrghQHNAPzEu2k5VGYCYTXIlbylb4="; - }) - ]; - protobuf = [ - (fetchMavenArtifact { - groupId = "com.google.protobuf"; - artifactId = "protobuf-java"; - version = "2.5.0"; - hash = "sha256-4MHGRXXABWAXJefGoCzr+eEoXoiPdWsqHXP/qNclzHQ="; - }) - ]; - slf4j = [ - (fetchMavenArtifact { - groupId = "org.slf4j"; - artifactId = "log4j-over-slf4j"; - version = "2.0.6"; - hash = "sha256-QHMpiJioL0KeHr2iNaMUc7G0jDR94ShnNbtnkiUm6uQ="; - }) - (fetchMavenArtifact { - groupId = "org.slf4j"; - artifactId = "slf4j-api"; - version = "2.0.6"; - hash = "sha256-LyqS1BCyaBOdfWO3XtJeIZlc/kEAwZvyNXfP28gHe9o="; - }) - ]; - suasync = [ - (fetchMavenArtifact { - groupId = "com.stumbleupon"; - artifactId = "async"; - version = "1.4.0"; - hash = "sha256-FJ1HH68JOkjNtkShjLTJ8K4NO/A/qu88ap7J7SEndrM="; - }) - ]; - validation-api = [ - (fetchMavenArtifact { - groupId = "javax.validation"; - artifactId = "validation-api"; - version = "1.0.0.GA"; - hash = "sha256-5FnzE+vG2ySD+M6q05rwcIY2G0dPqS5A9ELo3l2Yldw="; - }) - (fetchMavenArtifact { - groupId = "javax.validation"; - artifactId = "validation-api"; - version = "1.0.0.GA"; - classifier = "sources"; - hash = "sha256-o5TVKpt/4rsU8HGNKzyDCP/o836RGVYBI5jVXJ+fm1Q="; - }) - ]; - zookeeper = [ - (fetchMavenArtifact { - groupId = "org.apache.zookeeper"; - artifactId = "zookeeper"; - version = "3.4.6"; - hash = "sha256-ijdaHvmMvA4fbp39DZbZFLdNN60AtL+Bvrd/qPNNM64="; - }) - ]; - }; -in stdenv.mkDerivation rec { - pname = "opentsdb"; - version = "2.4.1"; - - src = fetchFromGitHub { - owner = "OpenTSDB"; - repo = "opentsdb"; - rev = "refs/tags/v${version}"; - hash = "sha256-899m1H0UCLsI/bnSrNFnnny4MxSw3XBzf7rgDuEajDs="; - }; - - patches = [ - (fetchpatch { - name = "bump-deps.0.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/2f4bbfba2f9a32f9295123e8b90adba022c11ece.patch"; - hash = "sha256-4LpR4O8mNiJZQ7PUmAzFdkZAaF8i9/ZM5NhQ+8AJgSw="; - }) - (fetchpatch { - name = "bump-deps.1.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/8c6a86ddbc367c7e4e2877973b70f77c105c6158.patch"; - hash = "sha256-LZHqDOhwO/Gfgu870hJ6/uxnmigv7RP8OFe2a7Ug5SM="; - }) - (fetchpatch { - name = "bump-deps.2.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/9b62442ba5c006376f57ef250fb7debe1047c3bf.patch"; - hash = "sha256-2VjI9EkirKj4h7xhUtWdnKxJG0Noz3Hk5njm3pYEU1g="; - }) - (fetchpatch { - name = "CVE-2023-25826.prerequisite.0.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/a82a4f85f0fc1af554a104f28cc495451b26b1f6.patch"; - hash = "sha256-GgoRZUGdKthK+ZwMpgSQQ4V2oHyqi8SwWGZT571gltQ="; - }) - (fetchpatch { - name = "CVE-2023-25826.prerequisite.1.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/22b27ea30a859a6dbdcd65fcdf61190d46e1b677.patch"; - hash = "sha256-pXo6U7d4iy2squAiFvV2iDAQcNDdrl0pIOQEXfkJ3a8="; - }) - (fetchpatch { - name = "CVE-2023-25826.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9.patch"; - hash = "sha256-88gIOhAhLCQC/UesIdYtjf0UgKNfnO0W2icyoMmiC3U="; - }) - (fetchpatch { - name = "CVE-2023-25827.patch"; - url = "https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba.patch"; - hash = "sha256-FJHUiEmGhBIHoyOwNZtUWA36ENbrqDkUT8HfccmMSe8="; - }) - ]; - - nativeBuildInputs = [ - autoconf - automake - makeWrapper - ]; - - buildInputs = [ curl jdk nettools python3 git ]; - - preConfigure = '' - chmod +x build-aux/fetchdep.sh.in - patchShebangs ./build-aux/ - ./bootstrap - ''; - - preBuild = lib.concatStrings (lib.mapAttrsToList (dir: lib.concatMapStrings (artifact: '' - cp ${artifact}/share/java/* third_party/${dir} - '')) artifacts); - - postInstall = '' - wrapProgram $out/bin/tsdb \ - --set JAVA_HOME "${jre}" \ - --set JAVA "${jre}/bin/java" - ''; - - meta = with lib; { - description = "Time series database with millisecond precision"; - homepage = "http://opentsdb.net"; - license = licenses.lgpl21Plus; - platforms = lib.platforms.linux; - sourceProvenance = with sourceTypes; [ - fromSource - binaryBytecode # maven dependencies - ]; - maintainers = [ ]; - mainProgram = "tsdb"; - }; -} diff --git a/pkgs/tools/misc/oppai-ng/default.nix b/pkgs/tools/misc/oppai-ng/default.nix deleted file mode 100644 index 54b9e11b7475..000000000000 --- a/pkgs/tools/misc/oppai-ng/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "oppai-ng"; - version = "4.1.0"; - - src = fetchFromGitHub { - owner = "Francesco149"; - repo = pname; - rev = version; - sha256 = "sha256-L9eraLOWm1tMImS8bLB9T4Md4VdTSxqI9Bt4r8eqxqs="; - }; - - buildPhase = '' - ./build - ./libbuild - ''; - - installPhase = '' - install -D oppai $out/bin/oppai - install -D oppai.c $out/include/oppai.c - install -D liboppai.so $out/lib/liboppai.so - ''; - - meta = with lib; { - description = "Difficulty and pp calculator for osu!"; - homepage = "https://github.com/Francesco149/oppai-ng"; - license = licenses.unlicense; - maintainers = [ ]; - mainProgram = "oppai"; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/org-stats/default.nix b/pkgs/tools/misc/org-stats/default.nix deleted file mode 100644 index 211a1bded75c..000000000000 --- a/pkgs/tools/misc/org-stats/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, substituteAll -, installShellFiles -, testers -, org-stats -}: - -buildGoModule rec { - pname = "org-stats"; - version = "1.12.2"; - - src = fetchFromGitHub { - owner = "caarlos0"; - repo = "org-stats"; - rev = "v${version}"; - hash = "sha256-QTjJ+4Qu5u+5ZCoIAQBxqdhjNI2CXUB8r2Zx8xfIiGw="; - }; - - vendorHash = "sha256-0biuv94wGXiME181nlkvozhB+x4waGMgwXD9ColQWPw="; - - patches = [ - # patch in version information - # since `debug.ReadBuildInfo` does not work with `go build - (substituteAll { - src = ./version.patch; - inherit version; - }) - ]; - - nativeBuildInputs = [ - installShellFiles - ]; - - ldflags = [ "-s" "-w" ]; - - postInstall = '' - $out/bin/org-stats man > org-stats.1 - installManPage org-stats.1 - - installShellCompletion --cmd org-stats \ - --bash <($out/bin/org-stats completion bash) \ - --fish <($out/bin/org-stats completion fish) \ - --zsh <($out/bin/org-stats completion zsh) - ''; - - passthru.tests = { - version = testers.testVersion { - package = org-stats; - command = "org-stats version"; - }; - }; - - meta = with lib; { - description = "Get the contributor stats summary from all repos of any given organization"; - homepage = "https://github.com/caarlos0/org-stats"; - changelog = "https://github.com/caarlos0/org-stats/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "org-stats"; - }; -} diff --git a/pkgs/tools/misc/org-stats/version.patch b/pkgs/tools/misc/org-stats/version.patch deleted file mode 100644 index 8cf625fc396c..000000000000 --- a/pkgs/tools/misc/org-stats/version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/cmd/version.go -+++ b/cmd/version.go -@@ -16,7 +16,7 @@ var versionCmd = &cobra.Command{ - if sum == "" { - sum = "none" - } -- fmt.Printf("https://%s %s @ %s\n", info.Main.Path, info.Main.Version, sum) -+ fmt.Printf("https://%s %s @ %s\n", info.Main.Path, "@version@", sum) - } else { - fmt.Println("unknown") - } diff --git a/pkgs/tools/misc/os-prober/default.nix b/pkgs/tools/misc/os-prober/default.nix deleted file mode 100644 index f48aae8e6df5..000000000000 --- a/pkgs/tools/misc/os-prober/default.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ lib, stdenv, fetchFromGitLab, makeWrapper, nixosTests, -# optional dependencies, the command(s) they provide -coreutils, # mktemp -grub2, # grub-mount and grub-probe -cryptsetup, # cryptsetup -libuuid, # blkid and blockdev -systemd, # udevadm -ntfs3g, # ntfs3g -dmraid, # dmraid -lvm2 # lvs -}: - -stdenv.mkDerivation rec { - version = "1.81"; - pname = "os-prober"; - src = fetchFromGitLab { - domain = "salsa.debian.org"; - owner = "installer-team"; - repo = pname; - rev = version; - sha256 = "sha256-3FXfGadIcmKp4qn6ZDcOSQHYsUNP2ObL1cJesNle+8A="; - }; - - nativeBuildInputs = [ makeWrapper ]; - installPhase = '' - # executables - install -Dt $out/bin os-prober linux-boot-prober - install -Dt $out/lib newns - install -Dt $out/share common.sh - - # probes - case "${stdenv.hostPlatform.system}" in - i686*|x86_64*) ARCH=x86;; - powerpc*) ARCH=powerpc;; - arm*) ARCH=arm;; - *) ARCH=other;; - esac; - for probes in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do - install -Dt $out/lib/$probes $probes/common/*; - if [ -e "$probes/$ARCH" ]; then - mkdir -p $out/lib/$probes - cp -r $probes/$ARCH/* $out/lib/$probes; - fi; - done - if [ $ARCH = "x86" ]; then - cp -r os-probes/mounted/powerpc/20macosx $out/lib/os-probes/mounted; - fi; - ''; - postFixup = '' - for file in $(find $out -type f ! -name newns) ; do - substituteInPlace $file \ - --replace /usr/share/os-prober/ $out/share/ \ - --replace /usr/lib/os-probes/ $out/lib/os-probes/ \ - --replace /usr/lib/linux-boot-probes/ $out/lib/linux-boot-probes/ \ - --replace /usr/lib/os-prober/ $out/lib/ - done; - for file in $out/bin/*; do - wrapProgram $file \ - --suffix PATH : ${lib.makeBinPath [ grub2 systemd coreutils cryptsetup libuuid ntfs3g lvm2 dmraid ]} \ - --run "[ -d /var/lib/os-prober ] || mkdir /var/lib/os-prober" - done; - ''; - - passthru.tests = { - os-prober = nixosTests.os-prober; - }; - meta = with lib; { - description = "Utility to detect other OSs on a set of drives"; - homepage = "http://packages.debian.org/source/sid/os-prober"; - license = licenses.gpl2Plus; - mainProgram = "os-prober"; - maintainers = with maintainers; [ symphorien ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/oscclip/default.nix b/pkgs/tools/misc/oscclip/default.nix deleted file mode 100644 index 2b4e6aa7d1f7..000000000000 --- a/pkgs/tools/misc/oscclip/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -}: - -python3Packages.buildPythonApplication rec { - pname = "oscclip"; - version = "0.4.1"; - - format = "pyproject"; - - src = fetchFromGitHub { - owner = "rumpelsepp"; - repo = "oscclip"; - rev = "v${version}"; - sha256 = "sha256-WQvZn+SWamEqEXPutIZVDZTIczybtHUG9QsN8XxUeg8="; - }; - - nativeBuildInputs = with python3Packages; [ poetry-core ]; - - meta = with lib; { - description = "Program that allows to copy/paste from a terminal using osc-52 control sequences"; - longDescription = '' - oscclip provides two commands: osc-copy and osc-paste. These commands allow to interact with the clipboard through the terminal directly. - This means that they work through ssh sessions for example (given that the terminal supports osc-52 sequences). - ''; - homepage = "https://github.com/rumpelsepp/oscclip"; - - license = licenses.gpl3Only; - maintainers = with maintainers; [ rumpelsepp traxys ]; - }; -} diff --git a/pkgs/tools/misc/osinfo-db-tools/default.nix b/pkgs/tools/misc/osinfo-db-tools/default.nix deleted file mode 100644 index 55abe8e35657..000000000000 --- a/pkgs/tools/misc/osinfo-db-tools/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchpatch -, pkg-config -, meson -, ninja -, gettext -, glib -, libxml2 -, perl -, python3 -, libxslt -, libarchive -, bzip2 -, xz -, json-glib -, libsoup_3 -}: - -stdenv.mkDerivation rec { - pname = "osinfo-db-tools"; - version = "1.11.0"; - - src = fetchurl { - url = "https://releases.pagure.org/libosinfo/osinfo-db-tools-${version}.tar.xz"; - sha256 = "sha256-i6bTG7XvBwVuOIeeBwZxr7z+wOtBqH+ZUEULu4MbCh0="; - }; - - patches = [ - # Fix build with libxml 2.12 - (fetchpatch { - url = "https://gitlab.com/libosinfo/osinfo-db-tools/-/commit/019487cbc79925e49988789bf533c78dab7e1842.patch"; - hash = "sha256-skuspjHDRilwym+hFInrSvIZ+rrzBOoI7WeFj2SrGkc="; - }) - (fetchpatch { - url = "https://gitlab.com/libosinfo/osinfo-db-tools/-/commit/34378a4ac257f2f5fcf364786d1634a8c36b304f.patch"; - hash = "sha256-I9vRRbnotqRi8+7q1eZLJwQLaT9J4G3h+3rKxlaCME4="; - }) - ]; - - nativeBuildInputs = [ - meson - ninja - pkg-config - gettext - perl - python3 - ]; - - buildInputs = [ - glib - json-glib - libxml2 - libxslt - libarchive - bzip2 - xz - libsoup_3 - ]; - - meta = with lib; { - description = "Tools for managing the osinfo database"; - homepage = "https://libosinfo.org/"; - changelog = "https://gitlab.com/libosinfo/osinfo-db-tools/-/blob/v${version}/NEWS"; - license = licenses.lgpl2Plus; - platforms = platforms.unix; - maintainers = [ maintainers.bjornfor ]; - }; -} diff --git a/pkgs/tools/misc/ostree-rs-ext/Cargo.lock b/pkgs/tools/misc/ostree-rs-ext/Cargo.lock deleted file mode 100644 index fb9855780fa5..000000000000 --- a/pkgs/tools/misc/ostree-rs-ext/Cargo.lock +++ /dev/null @@ -1,2303 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aho-corasick" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04" -dependencies = [ - "memchr", -] - -[[package]] -name = "ambient-authority" -version = "0.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9d4ee0d472d1cd2e28c97dfa124b3d8d992e10eb0a035f33f5d12e3a177ba3b" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "anyhow" -version = "1.0.71" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8" - -[[package]] -name = "async-compression" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a" -dependencies = [ - "flate2", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "base64" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea22880d78093b0cbe17c89f64a7d457941e65759157ec6cb31a31d652b05e5" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "bumpalo" -version = "3.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "camino" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2" - -[[package]] -name = "cap-primitives" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42068f579028e856717d61423645c85d2d216dde8eff62c9b30140e725c79177" -dependencies = [ - "ambient-authority", - "fs-set-times", - "io-extras", - "io-lifetimes", - "ipnet", - "maybe-owned", - "rustix 0.37.19", - "windows-sys 0.48.0", - "winx", -] - -[[package]] -name = "cap-std" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "559ad6fab5fedcc9bd5877160e1433fcd481f8af615068d6ca49472b1201cc6c" -dependencies = [ - "cap-primitives", - "io-extras", - "io-lifetimes", - "rustix 0.37.19", -] - -[[package]] -name = "cap-std-ext" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8031eb6e1061d0bdabe0c14eb6c37f02e2ee3621976782881eb0f666ab4673ce" -dependencies = [ - "cap-tempfile", - "rustix 0.36.13", -] - -[[package]] -name = "cap-tempfile" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92372a5de78a858f20c22a8dbe3ea55e1cc2daeb82016a3150dab8cf51ea3235" -dependencies = [ - "cap-std", - "rand", - "rustix 0.37.19", - "uuid 1.3.3", -] - -[[package]] -name = "capctl" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbdc32a78afc325d71a48d13084f1c3ddf67cc5dc06c6e5439a8630b14612cad" -dependencies = [ - "bitflags", - "cfg-if", - "libc", -] - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" - -[[package]] -name = "cfg-expr" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8790cf1286da485c72cf5fc7aeba308438800036ec67d89425924c4807268c9" -dependencies = [ - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chrono" -version = "0.4.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" -dependencies = [ - "iana-time-zone", - "js-sys", - "num-integer", - "num-traits", - "time", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "clap" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" -dependencies = [ - "atty", - "bitflags", - "clap_derive", - "clap_lex", - "indexmap", - "once_cell", - "strsim", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap_derive" -version = "3.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "clap_mangen" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "105180c05a72388d5f5e4e4f6c79eecb92497bda749fa8f963a16647c5d5377f" -dependencies = [ - "clap", - "roff", -] - -[[package]] -name = "console" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys 0.42.0", -] - -[[package]] -name = "containers-image-proxy" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc8ef9cc4d183f3bfd3c232f304286b91cff5c9aa35665ea2e89499e1e0d021" -dependencies = [ - "anyhow", - "cap-std-ext", - "cap-tempfile", - "capctl", - "fn-error-context", - "futures-util", - "libc", - "nix 0.26.2", - "oci-spec", - "once_cell", - "semver", - "serde", - "serde_json", - "tokio", - "tracing", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "cpufeatures" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "darling" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.14.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" -dependencies = [ - "darling_core", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive_builder" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3" -dependencies = [ - "derive_builder_macro", -] - -[[package]] -name = "derive_builder_core" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "derive_builder_macro" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68" -dependencies = [ - "derive_builder_core", - "syn 1.0.109", -] - -[[package]] -name = "digest" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer", - "crypto-common", - "subtle", -] - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "filetime" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.2.16", - "windows-sys 0.48.0", -] - -[[package]] -name = "flate2" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - -[[package]] -name = "fn-error-context" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cd66269887534af4b0c3e3337404591daa8dc8b9b2b3db71f9523beb4bafb41" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "fs-set-times" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7833d0f115a013d51c55950a3b09d30e4b057be9961b709acb9b5b17a1108861" -dependencies = [ - "io-lifetimes", - "rustix 0.37.19", - "windows-sys 0.48.0", -] - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-core", - "futures-macro", - "futures-task", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "getrandom" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getset" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e45727250e75cc04ff2846a66397da8ef2b3db8e40e0cef4df67950a07621eb9" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "gio" -version = "0.16.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a1c84b4534a290a29160ef5c6eff2a9c95833111472e824fc5cb78b513dd092" -dependencies = [ - "bitflags", - "futures-channel", - "futures-core", - "futures-io", - "futures-util", - "gio-sys", - "glib", - "libc", - "once_cell", - "pin-project-lite", - "smallvec", - "thiserror", -] - -[[package]] -name = "gio-sys" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9b693b8e39d042a95547fc258a7b07349b1f0b48f4b2fa3108ba3c51c0b5229" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", - "winapi", -] - -[[package]] -name = "glib" -version = "0.16.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd4df61a866ed7259d6189b8bcb1464989a77f1d85d25d002279bbe9dd38b2f" -dependencies = [ - "bitflags", - "futures-channel", - "futures-core", - "futures-executor", - "futures-task", - "futures-util", - "gio-sys", - "glib-macros", - "glib-sys", - "gobject-sys", - "libc", - "once_cell", - "smallvec", - "thiserror", -] - -[[package]] -name = "glib-macros" -version = "0.16.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb1a9325847aa46f1e96ffea37611b9d51fc4827e67f79e7de502a297560a67b" -dependencies = [ - "anyhow", - "heck", - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "glib-sys" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61a4f46316d06bfa33a7ac22df6f0524c8be58e3db2d9ca99ccb1f357b62a65" -dependencies = [ - "libc", - "system-deps", -] - -[[package]] -name = "gobject-sys" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3520bb9c07ae2a12c7f2fbb24d4efc11231c8146a86956413fb1a79bb760a0f1" -dependencies = [ - "glib-sys", - "libc", - "system-deps", -] - -[[package]] -name = "gvariant" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7a982b6b38ff2380ea1b1b480cb7f5b51dac917aceff2e16af0c207781e13a" -dependencies = [ - "gvariant-macro", - "memchr", - "ref-cast", -] - -[[package]] -name = "gvariant-macro" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9915719ccd7435a28103eea8dba78bcf35a25d5637c70273b47dbb49c6d2eb6d" -dependencies = [ - "syn 1.0.109", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "indicatif" -version = "0.17.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cef509aa9bc73864d6756f0d34d35504af3cf0844373afe9b8669a5b8005a729" -dependencies = [ - "console", - "number_prefix", - "portable-atomic 0.3.20", - "unicode-width", -] - -[[package]] -name = "indoc" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa799dd5ed20a7e349f3b4639aa80d74549c81716d9ec4f994c9b5815598306" - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "io-extras" -version = "0.17.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde93d48f0d9277f977a333eca8313695ddd5301dc96f7e02aeddcb0dd99096f" -dependencies = [ - "io-lifetimes", - "windows-sys 0.48.0", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" -dependencies = [ - "hermit-abi 0.3.1", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "ipnet" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" - -[[package]] -name = "itoa" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" - -[[package]] -name = "js-sys" -version = "0.3.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.144" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" - -[[package]] -name = "libsystemd" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8144587c71c16756b1055d3dcb0c75cb605a10ecd6523cc33702d5f90902bf6d" -dependencies = [ - "hmac", - "libc", - "log", - "nix 0.23.2", - "nom", - "once_cell", - "serde", - "sha2", - "thiserror", - "uuid 0.8.2", -] - -[[package]] -name = "libz-sys" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - -[[package]] -name = "linux-raw-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "maybe-owned" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.45.0", -] - -[[package]] -name = "nix" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" -dependencies = [ - "bitflags", - "cc", - "cfg-if", - "libc", - "memoffset 0.6.5", -] - -[[package]] -name = "nix" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" -dependencies = [ - "bitflags", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", - "static_assertions", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] - -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - -[[package]] -name = "oci-spec" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98135224dd4faeb24c05a2fac911ed53ea6b09ecb09d7cada1cb79963ab2ee34" -dependencies = [ - "derive_builder", - "getset", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "olpc-cjson" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d637c9c15b639ccff597da8f4fa968300651ad2f1e968aefc3b4927a6fb2027a" -dependencies = [ - "serde", - "serde_json", - "unicode-normalization", -] - -[[package]] -name = "once_cell" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" - -[[package]] -name = "openssl" -version = "0.10.52" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" -dependencies = [ - "bitflags", - "cfg-if", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "openssl-sys" -version = "0.9.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "os_str_bytes" -version = "6.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" - -[[package]] -name = "ostree" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f9c3da362376d17ac2e2d5759fe544cdc7471b66e98c324be5efd2c7995672d" -dependencies = [ - "base64", - "bitflags", - "cap-std", - "gio", - "glib", - "hex", - "io-lifetimes", - "libc", - "once_cell", - "ostree-sys", - "thiserror", -] - -[[package]] -name = "ostree-ext" -version = "0.10.6" -dependencies = [ - "anyhow", - "async-compression", - "bitflags", - "camino", - "cap-std-ext", - "cap-tempfile", - "chrono", - "clap", - "clap_mangen", - "containers-image-proxy", - "flate2", - "fn-error-context", - "futures-util", - "gvariant", - "hex", - "indicatif", - "indoc", - "io-lifetimes", - "libc", - "libsystemd", - "oci-spec", - "olpc-cjson", - "once_cell", - "openssl", - "ostree", - "ostree-ext", - "pin-project", - "quickcheck", - "regex", - "serde", - "serde_json", - "sh-inline", - "tar", - "tempfile", - "term_size", - "tokio", - "tokio-stream", - "tokio-util", - "tracing", -] - -[[package]] -name = "ostree-ext-cli" -version = "0.1.4" -dependencies = [ - "anyhow", - "clap", - "libc", - "log", - "ostree-ext", - "tokio", - "tracing", - "tracing-subscriber", -] - -[[package]] -name = "ostree-sys" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe57dcbabc3b1ef80f97eb614453d90dc81a39c8f26eb540bd8e68bcae4d0e2f" -dependencies = [ - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "pin-project" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" - -[[package]] -name = "portable-atomic" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e30165d31df606f5726b090ec7592c308a0eaf61721ff64c9a3018e344a8753e" -dependencies = [ - "portable-atomic 1.3.2", -] - -[[package]] -name = "portable-atomic" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc59d1bcc64fc5d021d67521f818db868368028108d37f0e98d74e33f68297b5" - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4ec6d5fe0b140acb27c9a0444118cf55bfbb4e0b259739429abb4521dd67c16" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quickcheck" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" -dependencies = [ - "env_logger", - "log", - "rand", -] - -[[package]] -name = "quote" -version = "1.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags", -] - -[[package]] -name = "ref-cast" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43faa91b1c8b36841ee70e97188a869d37ae21759da6846d4be66de5bf7b12c" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "regex" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.7.1", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" - -[[package]] -name = "roff" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" - -[[package]] -name = "rustix" -version = "0.36.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a38f9520be93aba504e8ca974197f46158de5dcaa9fa04b57c57cd6a679d658" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "itoa", - "libc", - "linux-raw-sys 0.1.4", - "once_cell", - "windows-sys 0.45.0", -] - -[[package]] -name = "rustix" -version = "0.37.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "itoa", - "libc", - "linux-raw-sys 0.3.7", - "once_cell", - "windows-sys 0.48.0", -] - -[[package]] -name = "ryu" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" - -[[package]] -name = "semver" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" - -[[package]] -name = "serde" -version = "1.0.163" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.163" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "serde_json" -version = "1.0.96" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_spanned" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4" -dependencies = [ - "serde", -] - -[[package]] -name = "sh-inline" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea42106b6078e775caeda9d0c8dbd022526f9f9369fe8faa71eb736d36f84360" -dependencies = [ - "cap-std-ext", - "shlex", - "tempfile", -] - -[[package]] -name = "sha2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shlex" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2" - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "system-deps" -version = "6.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fa6fb9ee296c0dc2df41a656ca7948546d061958115ddb0bcaae43ad0d17d2" -dependencies = [ - "cfg-expr", - "heck", - "pkg-config", - "toml", - "version-compare", -] - -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - -[[package]] -name = "target-lexicon" -version = "0.12.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5" - -[[package]] -name = "tempfile" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall 0.3.5", - "rustix 0.37.19", - "windows-sys 0.45.0", -] - -[[package]] -name = "term_size" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "thread_local" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105" -dependencies = [ - "autocfg", - "bytes", - "libc", - "mio", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.48.0", -] - -[[package]] -name = "tokio-macros" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "tokio-stream" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", - "tokio-util", -] - -[[package]] -name = "tokio-util" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "toml" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit", -] - -[[package]] -name = "toml_datetime" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" -dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", -] - -[[package]] -name = "tracing-core" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" -dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "unicode-ident" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "uuid" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7" -dependencies = [ - "serde", -] - -[[package]] -name = "uuid" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" -dependencies = [ - "getrandom", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version-compare" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.16", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.16", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "winnow" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699" -dependencies = [ - "memchr", -] - -[[package]] -name = "winx" -version = "0.35.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c52a121f0fbf9320d5f2a9a5d82f6cb7557eda5e8b47fc3e7f359ec866ae960" -dependencies = [ - "bitflags", - "io-lifetimes", - "windows-sys 0.48.0", -] - -[[package]] -name = "xattr" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" -dependencies = [ - "libc", -] diff --git a/pkgs/tools/misc/ostree-rs-ext/default.nix b/pkgs/tools/misc/ostree-rs-ext/default.nix deleted file mode 100644 index d7b09b65f7ae..000000000000 --- a/pkgs/tools/misc/ostree-rs-ext/default.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, makeWrapper -, glib -, openssl -, zlib -, ostree -, stdenv -, darwin -, util-linux -, skopeo -, gnutar -, ima-evm-utils -}: - -rustPlatform.buildRustPackage rec { - pname = "ostree-rs-ext"; - version = "0.10.6"; - - src = fetchFromGitHub { - owner = "ostreedev"; - repo = "ostree-rs-ext"; - rev = "ostree-ext-v${version}"; - hash = "sha256-kk/icUevzKMpAQ6IoruUxuKwTxXHlKLrr63Hch1w7po="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - }; - - postPatch = '' - ln -s ${./Cargo.lock} Cargo.lock - ''; - - nativeBuildInputs = [ - pkg-config - makeWrapper - ]; - - buildInputs = [ - glib - openssl - zlib - ostree - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.CoreFoundation - darwin.apple_sdk.frameworks.Security - ]; - - checkFlags = [ - # these tests expects /var/tmp to be available - "--skip=test_cli_fns" - "--skip=test_container_chunked" - "--skip=test_container_import_export_v1" - "--skip=test_container_var_content" - "--skip=test_container_write_derive" - "--skip=test_container_write_derive_sysroot_hardlink" - "--skip=test_diff" - "--skip=test_tar_export_reproducible" - "--skip=test_tar_export_structure" - "--skip=test_tar_import_empty" - "--skip=test_tar_import_export" - "--skip=test_tar_import_signed" - "--skip=test_tar_write" - "--skip=test_tar_write_tar_layer" - ]; - - postInstall = '' - wrapProgram "$out/bin/${meta.mainProgram}" --prefix PATH : ${lib.makeBinPath [ util-linux skopeo gnutar ostree ima-evm-utils ]} - ''; - - meta = with lib; { - description = "Rust library with higher level APIs on top of the core ostree API"; - homepage = "https://github.com/ostreedev/ostree-rs-ext"; - license = with licenses; [ asl20 mit ]; - maintainers = with maintainers; [ nickcao ]; - mainProgram = "ostree-ext-cli"; - }; -} diff --git a/pkgs/tools/misc/ostree/default.nix b/pkgs/tools/misc/ostree/default.nix deleted file mode 100644 index 7b9d9ac51e12..000000000000 --- a/pkgs/tools/misc/ostree/default.nix +++ /dev/null @@ -1,154 +0,0 @@ -{ stdenv -, lib -, fetchurl -, fetchpatch -, pkg-config -, gtk-doc -, gobject-introspection -, gjs -, nixosTests -, pkgsCross -, curl -, glib -, systemd -, xz -, e2fsprogs -, libsoup -, glib-networking -, wrapGAppsNoGuiHook -, gpgme -, which -, makeWrapper -, autoconf -, automake -, libtool -, fuse3 -, util-linuxMinimal -, libselinux -, libsodium -, libarchive -, libcap -, bzip2 -, bison -, libxslt -, docbook-xsl-nons -, docbook_xml_dtd_42 -, python3 -}: - -let - testPython = python3.withPackages (p: with p; [ - pyyaml - ]); -in stdenv.mkDerivation rec { - pname = "ostree"; - version = "2024.4"; - - outputs = [ "out" "dev" "man" "installedTests" ]; - - src = fetchurl { - url = "https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz"; - sha256 = "sha256-Y8kZCCEzOsc3Pg2SPkwnZrJevc/fTvtEy1koxlidn8s="; - }; - - patches = lib.optionals stdenv.hostPlatform.isMusl [ - # > I guess my inclination here is to recommend that musl users - # > carry a downstream patch to revert the commits in #3175 until - # > such time as they can update to the new musl. - # https://github.com/ostreedev/ostree/issues/3200#issuecomment-1974819192 - (fetchpatch { - name = "revert-statx.diff"; - url = "https://github.com/ostreedev/ostree/commit/f46cc0cd85b564e40e03c7438a41c8e57f6b836c.diff"; - excludes = [ "ci/*" ]; - revert = true; - hash = "sha256-LsXbRYh4hfjNdt1S384IPlSvtC5f2rgSTZEkIIBkT0g="; - }) - ]; - - nativeBuildInputs = [ - autoconf - automake - libtool - pkg-config - gtk-doc - gobject-introspection - which - makeWrapper - bison - libxslt - docbook-xsl-nons - docbook_xml_dtd_42 - wrapGAppsNoGuiHook - ]; - - buildInputs = [ - curl - glib - systemd - e2fsprogs - libsoup - glib-networking - gpgme - fuse3 - libselinux - libsodium - libcap - libarchive - bzip2 - xz - util-linuxMinimal # for libmount - - # for installed tests - testPython - gjs - ]; - - enableParallelBuilding = true; - - configureFlags = [ - "--with-curl" - "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" - "--with-systemdsystemgeneratordir=${placeholder "out"}/lib/systemd/system-generators" - "--enable-installed-tests" - "--with-ed25519-libsodium" - ]; - - makeFlags = [ - "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/libostree" - "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/libostree" - # Setting this flag was required as workaround for a clang bug, but seems not relevant anymore. - # https://github.com/ostreedev/ostree/commit/fd8795f3874d623db7a82bec56904648fe2c1eb7 - # See also Makefile-libostree.am - "INTROSPECTION_SCANNER_ENV=" - ]; - - preConfigure = '' - env NOCONFIGURE=1 ./autogen.sh - ''; - - postFixup = let - typelibPath = lib.makeSearchPath "/lib/girepository-1.0" [ - (placeholder "out") - gobject-introspection - ]; - in '' - for test in $installedTests/libexec/installed-tests/libostree/*.js; do - wrapProgram "$test" --prefix GI_TYPELIB_PATH : "${typelibPath}" - done - ''; - - passthru = { - tests = { - musl = pkgsCross.musl64.ostree; - installedTests = nixosTests.installed-tests.ostree; - }; - }; - - meta = with lib; { - description = "Git for operating system binaries"; - homepage = "https://ostreedev.github.io/ostree/"; - license = licenses.lgpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ copumpkin ]; - }; -} diff --git a/pkgs/tools/misc/otel-cli/default.nix b/pkgs/tools/misc/otel-cli/default.nix deleted file mode 100644 index 09c248178244..000000000000 --- a/pkgs/tools/misc/otel-cli/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, getent, coreutils, nix-update-script, stdenv }: - -buildGoModule rec { - pname = "otel-cli"; - version = "0.4.5"; - - src = fetchFromGitHub { - owner = "equinix-labs"; - repo = pname; - rev = "v${version}"; - hash = "sha256-JYi9CbP4mUhX0zNjhi6QlBzLKcj2zdPwlyBSIYKp6vk="; - }; - - vendorHash = "sha256-fWQz7ZrU8gulhpOHSN8Prn4EMC0KXy942FZD/PMsLxc="; - - preCheck = '' - ln -s $GOPATH/bin/otel-cli . - '' + lib.optionalString (!stdenv.isDarwin) '' - substituteInPlace main_test.go \ - --replace-fail 'const minimumPath = `/bin:/usr/bin`' 'const minimumPath = `${lib.makeBinPath [ getent coreutils ]}`' - ''; - - patches = [ ./patches/bin-echo-patch.patch ]; - - passthru.updateScript = nix-update-script {}; - - meta = with lib; { - homepage = "https://github.com/equinix-labs/otel-cli"; - description = "Command-line tool for sending OpenTelemetry traces"; - changelog = "https://github.com/equinix-labs/otel-cli/releases/tag/v${version}"; - license = licenses.asl20; - maintainers = with lib.maintainers; [ emattiza urandom ]; - mainProgram = "otel-cli"; - }; -} diff --git a/pkgs/tools/misc/otel-cli/patches/bin-echo-patch.patch b/pkgs/tools/misc/otel-cli/patches/bin-echo-patch.patch deleted file mode 100644 index 236672860585..000000000000 --- a/pkgs/tools/misc/otel-cli/patches/bin-echo-patch.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/data_for_test.go b/data_for_test.go -index c0b8980..691e270 100644 ---- a/data_for_test.go -+++ b/data_for_test.go -@@ -555,14 +555,14 @@ var suites = []FixtureSuite{ - "--endpoint", "{{endpoint}}", - "--verbose", "--fail", - "--attrs", "zy=ab", // ensure CLI args still propagate -- "--", "/bin/echo", "a", "z", -+ "--", "echo", "a", "z", - }, - }, - Expect: Results{ - SpanCount: 1, - CliOutput: "a z\n", - SpanData: map[string]string{ -- "attributes": "/^process.command=/bin/echo,process.command_args=/bin/echo,a,z,process.owner=\\w+,process.parent_pid=\\d+,process.pid=\\d+,zy=ab/", -+ "attributes": "/^process.command=echo,process.command_args=echo,a,z,process.owner=\\w+,process.parent_pid=\\d+,process.pid=\\d+,zy=ab/", - }, - }, - }, diff --git a/pkgs/tools/misc/otfcc/default.nix b/pkgs/tools/misc/otfcc/default.nix deleted file mode 100644 index aa0d86253d77..000000000000 --- a/pkgs/tools/misc/otfcc/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, premake5 }: - -stdenv.mkDerivation rec { - pname = "otfcc"; - version = "0.10.4"; - - src = fetchFromGitHub { - owner = "caryll"; - repo = "otfcc"; - rev = "v${version}"; - sha256 = "1nrkzpqklfpqsccji4ans40rj88l80cv7dpxwx4g577xrvk13a0f"; - }; - - nativeBuildInputs = [ premake5 ]; - - patches = [ - ./fix-aarch64.patch - ./move-makefiles.patch - ]; - - buildFlags = lib.optionals stdenv.isAarch64 [ "config=release_arm" ]; - - installPhase = '' - mkdir -p $out/bin - cp bin/release-*/otfcc* $out/bin/ - ''; - - enableParallelBuilding = true; - - meta = with lib; { - description = "Optimized OpenType builder and inspector"; - homepage = "https://github.com/caryll/otfcc"; - license = licenses.asl20; - platforms = platforms.unix; - maintainers = with maintainers; [ ttuegel ]; - }; - -} diff --git a/pkgs/tools/misc/otfcc/fix-aarch64.patch b/pkgs/tools/misc/otfcc/fix-aarch64.patch deleted file mode 100644 index 80fcb625658f..000000000000 --- a/pkgs/tools/misc/otfcc/fix-aarch64.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/premake5.lua b/premake5.lua -index 997fd79..54a20a0 100644 ---- a/premake5.lua -+++ b/premake5.lua -@@ -49,7 +49,7 @@ end - workspace "otfcc" - configurations { "release", "debug" } - -- platforms { "x64", "x86" } -+ platforms { "x64", "x86", "arm" } - filter "action:xcode4" - platforms { "x64" } - filter {} -@@ -67,6 +67,8 @@ workspace "otfcc" - architecture "x86" - filter "platforms:x64" - architecture "x64" -+ filter "platforms:arm" -+ architecture "arm" - filter {} - - filter "action:vs2017" diff --git a/pkgs/tools/misc/otfcc/move-makefiles.patch b/pkgs/tools/misc/otfcc/move-makefiles.patch deleted file mode 100644 index 961c47b3b45a..000000000000 --- a/pkgs/tools/misc/otfcc/move-makefiles.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/premake5.lua b/premake5.lua -index 997fd79..54a20a0 100644 ---- a/premake5.lua -+++ b/premake5.lua -@@ -88,7 +90,7 @@ workspace "otfcc" - flags { "StaticRuntime" } - includedirs { "dep/polyfill-msvc" } - filter "action:gmake" -- location "build/gmake" -+ location "." - filter "action:xcode4" - location "build/xcode" - filter {} diff --git a/pkgs/tools/misc/owofetch/default.nix b/pkgs/tools/misc/owofetch/default.nix index 22bbc4ba72fb..20d9cc160d7a 100644 --- a/pkgs/tools/misc/owofetch/default.nix +++ b/pkgs/tools/misc/owofetch/default.nix @@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-rfN4QERs1H1G7ZZim//78vlxbYfU4Cx7SYYUz/QLKeU="; - buildInputs = lib.optionals stdenvNoCC.isDarwin [ + buildInputs = lib.optionals stdenvNoCC.hostPlatform.isDarwin [ Foundation DiskArbitration ]; diff --git a/pkgs/tools/misc/page/default.nix b/pkgs/tools/misc/page/default.nix deleted file mode 100644 index 889baff28b25..000000000000 --- a/pkgs/tools/misc/page/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, fetchpatch, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "page"; - version = "4.6.3"; - - src = fetchFromGitHub { - owner = "I60R"; - repo = pname; - rev = "v${version}"; - hash = "sha256-uNdtgx9/9+KOfQvHiKNrT8NFWtR2tfJuI2bMwywBC/4="; - }; - - cargoHash = "sha256-ctYQMBAdSUfEek2vcCa3gnI9N6ZG9b+VvtAzT20jlXY="; - - cargoPatches = [ - # Cargo.lock is outdated. - # https://github.com/I60R/page/pull/45. - (fetchpatch { - url = "https://github.com/I60R/page/commit/83f936b64620ba74043c1db31207b4366c0f7e3d.patch"; - hash = "sha256-qA5oP4K/6eG0A+syVNb1izl+bnYll5V6sWM3LVFTb4o="; - }) - ]; - - nativeBuildInputs = [ installShellFiles ]; - postInstall = '' - completions_dir=$(find "target" -name "assets" -type d -printf "%T+\t%p\n" | sort | awk 'NR==1{print $2}') - installShellCompletion --bash $completions_dir/page.bash - installShellCompletion --fish $completions_dir/page.fish - installShellCompletion --zsh $completions_dir/_page - ''; - - meta = with lib; { - description = "Use neovim as pager"; - homepage = "https://github.com/I60R/page"; - license = licenses.mit; - mainProgram = "page"; - maintainers = [ maintainers.s1341 ]; - }; -} diff --git a/pkgs/tools/misc/pal/default.nix b/pkgs/tools/misc/pal/default.nix deleted file mode 100644 index 69d8bde9a7d4..000000000000 --- a/pkgs/tools/misc/pal/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{lib, stdenv, fetchurl, glib, gettext, readline, pkg-config }: - -stdenv.mkDerivation rec { - pname = "pal"; - version = "0.4.3"; - src = fetchurl { - url = "mirror://sourceforge/palcal/pal-${version}.tgz"; - sha256 = "072mahxvd7lcvrayl32y589w4v3vh7bmlcnhiksjylknpsvhqiyf"; - }; - - patchPhase = '' - sed -i -e 's/-o root//' -e 's,ESTDIR}/etc,ESTDIR}'$out/etc, src/Makefile - sed -i -e 's,/etc/pal\.conf,'$out/etc/pal.conf, src/input.c - ''; - - makeFlags = [ "prefix=$(out)" ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ glib gettext readline ]; - - hardeningDisable = [ "format" ]; - - meta = { - homepage = "https://palcal.sourceforge.net/"; - description = "Command-line calendar program that can keep track of events"; - license = lib.licenses.gpl2Plus; - maintainers = [ ]; - platforms = with lib.platforms; linux; - }; -} diff --git a/pkgs/tools/misc/pandoc-katex/default.nix b/pkgs/tools/misc/pandoc-katex/default.nix deleted file mode 100644 index d2b9f03e51a4..000000000000 --- a/pkgs/tools/misc/pandoc-katex/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "pandoc-katex"; - version = "0.1.11"; - - src = fetchFromGitHub { - owner = "xu-cheng"; - repo = pname; - rev = version; - hash = "sha256-2a3WJTNIMqWnTlHB+2U/6ifuoecbOlTP6e7YjD/UvPM="; - }; - - cargoHash = "sha256-Qf+QYOIBmSgax7p5K32SkaDT0MoKUY4TkxLbf/ZbM+U="; - - meta = with lib; { - description = "Pandoc filter to render math equations using KaTeX"; - homepage = "https://github.com/xu-cheng/pandoc-katex"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ minijackson pacien ]; - mainProgram = "pandoc-katex"; - }; -} diff --git a/pkgs/tools/misc/pandoc-lua-filters/default.nix b/pkgs/tools/misc/pandoc-lua-filters/default.nix deleted file mode 100644 index d779cbb7fa40..000000000000 --- a/pkgs/tools/misc/pandoc-lua-filters/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -}: - -stdenv.mkDerivation rec { - pname = "pandoc-lua-filters"; - version = "2021-11-05"; - - src = fetchFromGitHub { - owner = "pandoc"; - repo = "lua-filters"; - rev = "v${version}"; - sha256 = "sha256-Y962kdwg2bS3ZoPfsktv4Fy34HUTRhIIuSxPi5ODwWg="; - }; - - dontBuild = true; - - installPhase = '' - runHook preInstall - - install -Dt $out/share/pandoc/filters **/*.lua - - runHook postInstall - ''; - - meta = with lib; { - description = "Collection of lua filters for pandoc"; - homepage = "https://github.com/pandoc/lua-filters"; - license = licenses.mit; - maintainers = with maintainers; [ jtojnar ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/panicparse/default.nix b/pkgs/tools/misc/panicparse/default.nix deleted file mode 100644 index 7059864791b8..000000000000 --- a/pkgs/tools/misc/panicparse/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "panicparse"; - version = "2.3.1"; - - src = fetchFromGitHub { - owner = "maruel"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-KjWUubrHPJUJWvoa13EGEwTd5uNC0nrHAF8hzdnxEmY="; - }; - - vendorHash = "sha256-udkh/6Bu+7djxugMIuVsZvZ3JN2JooihsmcS2wJT0Wo="; - - subPackages = [ "." ]; - - meta = with lib; { - description = "Crash your app in style (Golang)"; - homepage = "https://github.com/maruel/panicparse"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "panicparse"; - }; -} diff --git a/pkgs/tools/misc/panoply/default.nix b/pkgs/tools/misc/panoply/default.nix deleted file mode 100644 index af1cdd3d7218..000000000000 --- a/pkgs/tools/misc/panoply/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenvNoCC, fetchurl, makeWrapper, jre } : - -stdenvNoCC.mkDerivation rec { - pname = "panoply"; - version = "5.5.1"; - - src = fetchurl { - url = "https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${version}.tgz"; - sha256 = "sha256-FBlr4t2Dch5HXfoLIwhZueECv9zGIRlTbs7L+Ny7u5Y="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - runHook preInstall - - jarbase=$out/share/panoply - mkdir -p $out/bin $jarbase/jars - - sed -i "s:^SCRIPTDIR.*:SCRIPTDIR=$jarbase:" panoply.sh - - cp panoply.sh $out/bin/panoply - cp -r jars $jarbase - - wrapProgram "$out/bin/panoply" --prefix PATH : "${jre}/bin" - - runHook postInstall - ''; - - meta = with lib; { - description = "netCDF, HDF and GRIB Data Viewer"; - homepage = "https://www.giss.nasa.gov/tools/panoply"; - platforms = platforms.linux; - maintainers = [ maintainers.markuskowa ]; - license = licenses.unfree; # Package does not state a license - mainProgram = "panoply"; - }; -} diff --git a/pkgs/tools/misc/paperlike-go/default.nix b/pkgs/tools/misc/paperlike-go/default.nix deleted file mode 100644 index ad2782bfaf00..000000000000 --- a/pkgs/tools/misc/paperlike-go/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule { - pname = "paperlike-go"; - version = "unstable-2021-03-26"; - - src = fetchFromGitHub { - owner = "leoluk"; - repo = "paperlike-go"; - rev = "bd658d88ea9a3b21e1b301b96253abab7cf56d79"; - hash = "sha256-UuFzBkhIKStVitMYf0Re4dSyYqwLGocRyMPewosVFsA="; - }; - - vendorHash = "sha256-OfTeJd3VS/WoUpyPY7XfQZWLrvS+vqPPgeL2Hd0HtgI="; - - subPackages = [ "cmd/paperlike-cli" ]; - - meta = { - description = "Linux Go library and CLI utility to control a Dasung Paperlike display via I2C DDC"; - homepage = "https://github.com/leoluk/paperlike-go"; - license = lib.licenses.asl20; - maintainers = [ lib.maintainers.adisbladis ]; - platforms = lib.platforms.linux; - mainProgram = "paperlike-cli"; - }; -} diff --git a/pkgs/tools/misc/paps/default.nix b/pkgs/tools/misc/paps/default.nix deleted file mode 100644 index 964f08ac2775..000000000000 --- a/pkgs/tools/misc/paps/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub -, autoconf, automake, pkg-config, intltool, pango }: - -stdenv.mkDerivation rec { - pname = "paps"; - version = "0.7.1"; - - src = fetchFromGitHub { - owner = "dov"; - repo = pname; - rev = "v${version}"; - sha256 = "129wpm2ayxs6qfh2761d4x9c034ivb2bcmmcnl56qs4448qb9495"; - }; - - nativeBuildInputs = [ autoconf automake pkg-config intltool ]; - buildInputs = [ pango ]; - - preConfigure = '' - ./autogen.sh - ''; - - meta = with lib; { - description = "Pango to PostScript converter"; - homepage = "https://github.com/dov/paps"; - license = licenses.lgpl2; - maintainers = [ ]; - platforms = platforms.linux; - mainProgram = "paps"; - }; -} diff --git a/pkgs/tools/misc/parallel/default.nix b/pkgs/tools/misc/parallel/default.nix index 6c7a371124ed..a5c49ca7c082 100644 --- a/pkgs/tools/misc/parallel/default.nix +++ b/pkgs/tools/misc/parallel/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "parallel"; - version = "20240722"; + version = "20240922"; src = fetchurl { url = "mirror://gnu/parallel/parallel-${version}.tar.bz2"; - hash = "sha256-xzNUcfd2ryi+qUZK2FpQ8u0SD3j7916tZkeu6o4OU/A="; + hash = "sha256-YyEHFei3xeEp4JjzM8183V/HovMl6OD7ntbtup8ay8Q="; }; outputs = [ "out" "man" "doc" ]; @@ -32,23 +32,23 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Shell tool for executing jobs in parallel"; - longDescription = - '' GNU Parallel is a shell tool for executing jobs in parallel. A job - is typically a single command or a small script that has to be run - for each of the lines in the input. The typical input is a list of - files, a list of hosts, a list of users, or a list of tables. - - If you use xargs today you will find GNU Parallel very easy to use. - If you write loops in shell, you will find GNU Parallel may be able - to replace most of the loops and make them run faster by running - jobs in parallel. If you use ppss or pexec you will find GNU - Parallel will often make the command easier to read. - - GNU Parallel makes sure output from the commands is the same output - as you would get had you run the commands sequentially. This makes - it possible to use output from GNU Parallel as input for other - programs. - ''; + longDescription = '' + GNU Parallel is a shell tool for executing jobs in parallel. A job + is typically a single command or a small script that has to be run + for each of the lines in the input. The typical input is a list of + files, a list of hosts, a list of users, or a list of tables. + + If you use xargs today you will find GNU Parallel very easy to use. + If you write loops in shell, you will find GNU Parallel may be able + to replace most of the loops and make them run faster by running + jobs in parallel. If you use ppss or pexec you will find GNU + Parallel will often make the command easier to read. + + GNU Parallel makes sure output from the commands is the same output + as you would get had you run the commands sequentially. This makes + it possible to use output from GNU Parallel as input for other + programs. + ''; homepage = "https://www.gnu.org/software/parallel/"; license = licenses.gpl3Plus; platforms = platforms.all; diff --git a/pkgs/tools/misc/parquet-tools/default.nix b/pkgs/tools/misc/parquet-tools/default.nix deleted file mode 100644 index 4775be223afa..000000000000 --- a/pkgs/tools/misc/parquet-tools/default.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ lib -, fetchFromGitHub -, python3Packages -}: - -with python3Packages; - -buildPythonApplication rec { - pname = "parquet-tools"; - version = "0.2.16"; - - format = "pyproject"; - - src = fetchFromGitHub { - owner = "ktrueda"; - repo = "parquet-tools"; - rev = "refs/tags/${version}"; - hash = "sha256-mV66R5ejfzH1IasmoyAWAH5vzrnLVVhOqKBMfWKIVY0="; - }; - - patches = [ - # support Moto 5.x - # https://github.com/ktrueda/parquet-tools/pull/55 - ./moto5.patch - ]; - - postPatch = '' - substituteInPlace tests/test_inspect.py \ - --replace "parquet-cpp-arrow version 5.0.0" "parquet-cpp-arrow version ${pyarrow.version}" \ - --replace "serialized_size: 2222" "serialized_size: 2221" \ - --replace "format_version: 1.0" "format_version: 2.6" - ''; - - pythonRelaxDeps = [ - "halo" - "tabulate" - "thrift" - ]; - - nativeBuildInputs = [ - poetry-core - ]; - - propagatedBuildInputs = [ - boto3 - colorama - halo - pandas - pyarrow - tabulate - thrift - ]; - - # TestGetMetaData.test_inspect shells out to `parquet-tools` CLI entrypoint - preCheck = '' - export PATH=$out/bin:$PATH - ''; - - nativeCheckInputs = [ - moto - pytest-mock - pytestCheckHook - ]; - - disabledTests = [ - # test file is 2 bytes bigger than expected - "test_excute_simple" - ]; - - pythonImportsCheck = [ - "parquet_tools" - ]; - - meta = with lib; { - description = "CLI tool for parquet files"; - homepage = "https://github.com/ktrueda/parquet-tools"; - changelog = "https://github.com/ktrueda/parquet-tools/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ cpcloud ]; - mainProgram = "parquet-tools"; - }; -} diff --git a/pkgs/tools/misc/parquet-tools/moto5.patch b/pkgs/tools/misc/parquet-tools/moto5.patch deleted file mode 100644 index 5e79c1a204fc..000000000000 --- a/pkgs/tools/misc/parquet-tools/moto5.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/tests/fixtures/aws.py b/tests/fixtures/aws.py -index 7eea4bd..9fb3345 100644 ---- a/tests/fixtures/aws.py -+++ b/tests/fixtures/aws.py -@@ -1,15 +1,17 @@ - import boto3 --from moto import mock_s3 - import pytest - -+try: -+ # Moto 4.x -+ from moto import mock_s3 -+except ImportError: -+ # Moto 5.x -+ from moto import mock_aws as mock_s3 - - @pytest.fixture - def aws_session(): -- mock_s3_server = mock_s3() -- mock_s3_server.start() -- yield boto3.Session() -- mock_s3_server.stop() -- -+ with mock_s3(): -+ yield boto3.Session() - - @pytest.fixture - def aws_s3_bucket(aws_session): diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix deleted file mode 100644 index f1ed977e9a60..000000000000 --- a/pkgs/tools/misc/parted/default.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ lib, stdenv -, fetchurl -, lvm2 -, libuuid -, gettext -, readline -, dosfstools -, e2fsprogs -, perl -, python3 -, util-linux -, check -, enableStatic ? stdenv.hostPlatform.isStatic -}: - -stdenv.mkDerivation rec { - pname = "parted"; - version = "3.6"; - - src = fetchurl { - url = "mirror://gnu/parted/parted-${version}.tar.xz"; - sha256 = "sha256-O0Pb4zzKD5oYYB66tWt4UrEo7Bo986mzDM3l5zNZ5hI="; - }; - - outputs = [ "out" "dev" "man" "info" ]; - - postPatch = '' - patchShebangs tests - ''; - - buildInputs = [ libuuid ] - ++ lib.optional (readline != null) readline - ++ lib.optional (gettext != null) gettext - ++ lib.optional (lvm2 != null) lvm2; - - configureFlags = - (if (readline != null) - then [ "--with-readline" ] - else [ "--without-readline" ]) - ++ lib.optional (lvm2 == null) "--disable-device-mapper" - ++ lib.optional enableStatic "--enable-static"; - - # Tests were previously failing due to Hydra running builds as uid 0. - # That should hopefully be fixed now. - doCheck = !stdenv.hostPlatform.isMusl; /* translation test */ - nativeCheckInputs = [ check dosfstools e2fsprogs perl python3 util-linux ]; - - meta = { - description = "Create, destroy, resize, check, and copy partitions"; - - longDescription = '' - GNU Parted is an industrial-strength package for creating, destroying, - resizing, checking and copying partitions, and the file systems on - them. This is useful for creating space for new operating systems, - reorganising disk usage, copying data on hard disks and disk imaging. - - It contains a library, libparted, and a command-line frontend, parted, - which also serves as a sample implementation and script backend. - ''; - - homepage = "https://www.gnu.org/software/parted/"; - license = lib.licenses.gpl3Plus; - - maintainers = [ - # Add your name here! - ]; - - # GNU Parted requires libuuid, which is part of util-linux-ng. - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/past-time/default.nix b/pkgs/tools/misc/past-time/default.nix deleted file mode 100644 index 4bdcff8c1935..000000000000 --- a/pkgs/tools/misc/past-time/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "past-time"; - version = "0.3.1"; - pyproject = true; - - src = fetchFromGitHub { - owner = "fabaff"; - repo = "past-time"; - rev = "refs/tags/${version}"; - hash = "sha256-NSuU33vuHbgJ+cG0FrGYLizIrG7jSz+veptt3D4UegY="; - }; - - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; - - propagatedBuildInputs = with python3.pkgs; [ - click - tqdm - ]; - - nativeCheckInputs = with python3.pkgs; [ - freezegun - pytestCheckHook - ]; - - pythonImportsCheck = [ - "past_time" - ]; - - meta = with lib; { - description = "Tool to visualize the progress of the year based on the past days"; - homepage = "https://github.com/fabaff/past-time"; - changelog = "https://github.com/fabaff/past-time/releases/tag/${version}"; - license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ fab ]; - mainProgram = "past-time"; - }; -} diff --git a/pkgs/tools/misc/pastebinit/default.nix b/pkgs/tools/misc/pastebinit/default.nix deleted file mode 100644 index 27735d615573..000000000000 --- a/pkgs/tools/misc/pastebinit/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, python3 -, libxslt -, docbook_xsl -, installShellFiles -, callPackage -}: -stdenv.mkDerivation rec { - version = "1.6.2"; - pname = "pastebinit"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = version; - hash = "sha256-vuAWkHlQM6QTWarThpSbY0qrxzej0GvLU0jT2JOS/qc="; - }; - - patches = [ - ./use-drv-etc.patch - ]; - - nativeBuildInputs = [ - libxslt - installShellFiles - ]; - - buildInputs = [ - (python3.withPackages (p: [ p.distro ])) - ]; - - buildPhase = '' - xsltproc --nonet ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl pastebinit.xml - ''; - - installPhase = '' - mkdir -p $out/bin - mkdir -p $out/etc - cp -a pastebinit $out/bin - cp -a utils/* $out/bin - cp -a pastebin.d $out/etc - substituteInPlace $out/bin/pastebinit --subst-var-by "etc" "$out/etc" - installManPage pastebinit.1 - ''; - - meta = with lib; { - homepage = "https://stgraber.org/category/pastebinit/"; - description = "Software that lets you send anything you want directly to a pastebin from the command line"; - maintainers = with maintainers; [ raboof samuel-martineau ]; - license = licenses.gpl2Plus; - platforms = platforms.linux ++ lib.platforms.darwin; - }; -} diff --git a/pkgs/tools/misc/pastebinit/use-drv-etc.patch b/pkgs/tools/misc/pastebinit/use-drv-etc.patch deleted file mode 100644 index 6ccd7897ddf2..000000000000 --- a/pkgs/tools/misc/pastebinit/use-drv-etc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/pastebinit b/pastebinit -index 4e5f9ce..fe06bd3 100755 ---- a/pastebinit -+++ b/pastebinit -@@ -91,7 +91,7 @@ try: - # Files found later override files found earlier. - pastebind = {} - confdirs = [] -- for confdir in ['/usr/share', '/usr/local/share'] \ -+ for confdir in ['@etc@', '/usr/share', '/usr/local/share'] \ - + list(reversed(os.environ.get('XDG_DATA_DIRS', '').split(':'))) \ - + list(reversed(os.environ.get('XDG_CONFIG_DIRS', '').split(':'))) \ - + ['/etc', '/usr/local/etc', diff --git a/pkgs/tools/misc/pazi/default.nix b/pkgs/tools/misc/pazi/default.nix deleted file mode 100644 index de771e9e86a5..000000000000 --- a/pkgs/tools/misc/pazi/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "pazi"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "euank"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-PDgk6VQ/J9vkFJ0N+BH9LqHOXRYM+a+WhRz8QeLZGiM="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; - - cargoHash = "sha256-7ChHYcyzRPFkZ+zh9lBOHcOizDvJf2cp9ULoI7Ofmqk="; - - postInstall = '' - installManPage packaging/man/pazi.1 - ''; - - meta = with lib; { - description = "Autojump \"zap to directory\" helper"; - homepage = "https://github.com/euank/pazi"; - license = licenses.gpl3; - maintainers = [ ]; - mainProgram = "pazi"; - }; -} diff --git a/pkgs/tools/misc/pb/default.nix b/pkgs/tools/misc/pb/default.nix deleted file mode 100644 index 7e427b1b4e33..000000000000 --- a/pkgs/tools/misc/pb/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, pb }: - -buildGoModule rec { - pname = "pb"; - version = "0.5.2"; - - src = fetchFromGitHub { - owner = "parseablehq"; - repo = pname; - rev = "v${version}"; - hash = "sha256-KedO/ngAlabuf3/NPKhutnzLphz6/VxJ+XJvADIP3PQ="; - }; - - vendorHash = "sha256-RAb2OvN3DF54fsVI5tRtNp1BYwB2qfYome7tj8zxxCY="; - - ldflags = [ - "-s" - "-w" - "-X main.Version=${version}" - ]; - - tags = [ "kqueue" ]; - - passthru.tests.version = testers.testVersion { - package = pb; - command = "pb version"; - }; - - meta = with lib; { - homepage = "https://github.com/parseablehq/pb"; - changelog = "https://github.com/parseablehq/pb/releases/tag/v${version}"; - description = "CLI client for Parseable server"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ aaronjheng ]; - mainProgram = "pb"; - }; -} diff --git a/pkgs/tools/misc/pb_cli/default.nix b/pkgs/tools/misc/pb_cli/default.nix deleted file mode 100644 index ac9b7b6f22c2..000000000000 --- a/pkgs/tools/misc/pb_cli/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ screenshots ? true, video ? false, clipboard ? true -, lib, stdenv, jq, curl, fetchFromGitHub, makeWrapper, maim ? null, xclip ? null, capture ? null }: - -assert screenshots -> maim != null; -assert video -> capture != null; -assert clipboard -> xclip != null; - -stdenv.mkDerivation rec { - pname = "pb_cli-unstable"; - version = "2019-03-10"; - - src = fetchFromGitHub { - owner = "ptpb"; - repo = "pb_cli"; - rev = "6b9ce1ee45fe651d06d7c479a20026a173dd328b"; - sha256 = "0w6a789zffvz4ixsb92q45n5s4xyx7s2l2f07972i3dajaaai8z7"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - liveDeps = [ jq curl ] ++ lib.optional screenshots maim - ++ lib.optional video capture - ++ lib.optional clipboard xclip; - - installPhase = '' - install -Dm755 src/pb.sh $out/bin/pb - - patchShebangs $out/bin/pb - wrapProgram $out/bin/pb \ - --prefix PATH : '${lib.makeBinPath liveDeps}' - ''; - - meta = with lib; { - description = "No bullshit 0x0.st client"; - homepage = "https://github.com/ptpb/pb_cli"; - maintainers = [ maintainers.ar1a ]; - license = licenses.gpl3Plus; - mainProgram = "pb"; - }; -} diff --git a/pkgs/tools/misc/pc/default.nix b/pkgs/tools/misc/pc/default.nix deleted file mode 100644 index 6e9c23ee6d8a..000000000000 --- a/pkgs/tools/misc/pc/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, stdenv -, byacc -, fetchFromSourcehut -, gitUpdater -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "pc"; - version = "0.4"; - - src = fetchFromSourcehut { - owner = "~ft"; - repo = "pc"; - rev = finalAttrs.version; - hash = "sha256-fzEDI20o5ROY9n/QRzCW66iCKYaBbI++Taur6EoA0wA="; - }; - - nativeBuildInputs = [ byacc ]; - makeFlags = [ "PREFIX=$(out)" ]; - - strictDeps = true; - - enableParallelBuilding = true; - - passthru.updateScript = gitUpdater { }; - - meta = { - description = "Programmer's calculator"; - homepage = "https://git.sr.ht/~ft/pc"; - license = with lib.licenses; [ mit ]; - maintainers = with lib.maintainers; [ moody ]; - platforms = lib.platforms.unix; - mainProgram = "pc"; - }; -}) diff --git a/pkgs/tools/misc/pcb2gcode/default.nix b/pkgs/tools/misc/pcb2gcode/default.nix deleted file mode 100644 index 1ba4a8aea5e4..000000000000 --- a/pkgs/tools/misc/pcb2gcode/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, autoreconfHook -, pkg-config -, boost -, glibmm -, gtkmm2 -, gerbv -, librsvg -}: - -stdenv.mkDerivation rec { - pname = "pcb2gcode"; - version = "2.5.0"; - - src = fetchFromGitHub { - owner = "pcb2gcode"; - repo = "pcb2gcode"; - rev = "v${version}"; - hash = "sha256-c5YabBqZn6ilIkF3lifTsYyLZMsZN21jDj1hNu0PRAc="; - }; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - - buildInputs = [ boost glibmm gtkmm2 gerbv librsvg ]; - - postPatch = '' - substituteInPlace ./Makefile.am \ - --replace '`git describe --dirty --always --tags`' '${version}' - ''; - - meta = with lib; { - description = "Command-line tool for isolation, routing and drilling of PCBs"; - longDescription = '' - pcb2gcode is a command-line software for the isolation, routing and drilling of PCBs. - It takes Gerber files as input and it outputs gcode files, suitable for the milling of PCBs. - It also includes an Autoleveller, useful for the automatic dynamic calibration of the milling depth. - ''; - homepage = "https://github.com/pcb2gcode/pcb2gcode"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ kritnich ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/pcp/default.nix b/pkgs/tools/misc/pcp/default.nix deleted file mode 100644 index e9d245c8129d..000000000000 --- a/pkgs/tools/misc/pcp/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "pcp"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "dennis-tra"; - repo = "pcp"; - rev = "v${version}"; - sha256 = "sha256-aZO8VuOiYhOPctFKZ6a2psJB0lKHlPc+NLy2RWDU4JI="; - }; - - vendorHash = "sha256-3bkzBQ950Phg4A9p+IjeUx7Xw7eVmUbeYnQViNjghFk="; - - meta = with lib; { - description = "Command line peer-to-peer data transfer tool based on libp2p"; - homepage = "https://github.com/dennis-tra/pcp"; - license = licenses.asl20; - maintainers = with maintainers; [ matthewcroughan ]; - platforms = platforms.linux; - mainProgram = "pcp"; - }; -} diff --git a/pkgs/tools/misc/pdf-parser/default.nix b/pkgs/tools/misc/pdf-parser/default.nix deleted file mode 100644 index b083ebd3e4ed..000000000000 --- a/pkgs/tools/misc/pdf-parser/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ - lib, - python3Packages, - fetchzip, - writeScript, -}: - -python3Packages.buildPythonApplication rec { - pname = "pdf-parser"; - version = "0.7.9"; - pyproject = false; - - src = fetchzip { - url = "https://didierstevens.com/files/software/pdf-parser_V${ - lib.replaceStrings [ "." ] [ "_" ] version - }.zip"; - hash = "sha256-1mFThtTe1LKkM/MML44RgskGv3FZborNVBsTqSKanks="; - }; - - postPatch = '' - # quote regular expressions correctly - substituteInPlace pdf-parser.py \ - --replace-fail \ - "re.sub('" \ - "re.sub(r'" \ - --replace-fail \ - "re.match('" \ - "re.match(r'" - ''; - - installPhase = '' - install -Dm555 pdf-parser.py $out/bin/pdf-parser.py - ''; - - preFixup = '' - substituteInPlace $out/bin/pdf-parser.py \ - --replace-fail '/usr/bin/python' '${python3Packages.python}/bin/python' - ''; - - passthru.updateScript = writeScript "update-pdf-parser" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p common-updater-scripts curl pcre2 - - set -eu -o pipefail - - version="$(curl -s https://blog.didierstevens.com/programs/pdf-tools/ | - pcre2grep -O '$1.$2.$3' '\bpdf-parser_V(\d+)_(\d+)_(\d+)\.zip\b.*')" - - update-source-version "$UPDATE_NIX_ATTR_PATH" "$version" - ''; - - meta = { - description = "Parse a PDF document"; - longDescription = '' - This tool will parse a PDF document to identify the fundamental elements used in the analyzed file. - It will not render a PDF document. - ''; - homepage = "https://blog.didierstevens.com/programs/pdf-tools/"; - license = lib.licenses.publicDomain; - maintainers = [ lib.maintainers.lightdiscord ]; - platforms = lib.platforms.all; - mainProgram = "pdf-parser.py"; - }; -} diff --git a/pkgs/tools/misc/peep/default.nix b/pkgs/tools/misc/peep/default.nix deleted file mode 100644 index 071bab99ae92..000000000000 --- a/pkgs/tools/misc/peep/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "peep"; - version = "0.1.6"; - - src = fetchFromGitHub { - owner = "ryochack"; - repo = "peep"; - rev = "v${version}"; - hash = "sha256-6Y7ZI0kIPE7uMMOkXgm75JMEec090xZPBJFJr9DaswA="; - }; - - cargoHash = "sha256-CDWa03H8vWfhx2dwZU5rAV3fSwAGqCIPcvl+lTG4npE="; - - meta = with lib; { - description = "CLI text viewer tool that works like less command on small pane within the terminal window"; - homepage = "https://github.com/ryochack/peep"; - changelog = "https://github.com/ryochack/peep/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "peep"; - }; -} diff --git a/pkgs/tools/misc/perccli/default.nix b/pkgs/tools/misc/perccli/default.nix deleted file mode 100644 index eacc0c26de33..000000000000 --- a/pkgs/tools/misc/perccli/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, stdenvNoCC -, fetchzip -, rpmextract -}: - -stdenvNoCC.mkDerivation rec { - pname = "perccli"; - - # On a new release, update version, URL, hash, and meta.homepage - version = "7.2313.00"; - - src = fetchzip { - # On pkg update: manually adjust the version in the URL because of the different format. - url = "https://dl.dell.com/FOLDER09770976M/1/PERCCLI_7.2313.0_A14_Linux.tar.gz"; - hash = "sha256-IhclHVkdihRx5CzyO2dlOEhCon+0/HB3Fkue7MWsWnw="; - - # Dell seems to block "uncommon" user-agents, such as Nixpkgs's custom one. - # 403 otherwise - curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; - }; - - nativeBuildInputs = [ rpmextract ]; - - unpackPhase = '' - rpmextract $src/perccli-00${version}00.0000-1.noarch.rpm - ''; - - dontPatch = true; - dontConfigure = true; - dontBuild = true; - - installPhase = let - inherit (stdenvNoCC.hostPlatform) system; - platforms = { - x86_64-linux = '' - install -D ./opt/MegaRAID/perccli/perccli64 $out/bin/perccli64 - ln -s perccli64 $out/bin/perccli - ''; - }; - in platforms.${system} or (throw "unsupported system: ${system}"); - - # Not needed because the binary is statically linked - dontFixup = true; - - meta = with lib; { - description = "Perccli Support for PERC RAID controllers"; - - # Must be updated with every release - homepage = "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=tdghn"; - - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ panicgh ]; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/tools/misc/pferd/default.nix b/pkgs/tools/misc/pferd/default.nix deleted file mode 100644 index 260ba3de5650..000000000000 --- a/pkgs/tools/misc/pferd/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -}: - -python3Packages.buildPythonApplication rec { - pname = "pferd"; - version = "3.5.2"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "Garmelon"; - repo = "PFERD"; - rev = "refs/tags/v${version}"; - sha256 = "sha256-qN4GtQhiQpXZIagtphcn+oSYXroA9kk7E34IKoKMu7c="; - }; - - nativeBuildInputs = with python3Packages; [ - setuptools - ]; - - propagatedBuildInputs = with python3Packages; [ - aiohttp - beautifulsoup4 - rich - keyring - certifi - ]; - - meta = with lib; { - homepage = "https://github.com/Garmelon/PFERD"; - description = "Tool for downloading course-related files from ILIAS"; - license = licenses.mit; - maintainers = with maintainers; [ _0xbe7a ]; - mainProgram = "pferd"; - }; -} diff --git a/pkgs/tools/misc/pfetch-rs/default.nix b/pkgs/tools/misc/pfetch-rs/default.nix deleted file mode 100644 index 0a2e3c9ec38d..000000000000 --- a/pkgs/tools/misc/pfetch-rs/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }: - -rustPlatform.buildRustPackage rec { - pname = "pfetch-rs"; - version = "2.11.0"; - - src = fetchFromGitHub { - owner = "Gobidev"; - repo = pname; - rev = "v${version}"; - hash = "sha256-1Br/mO7hisTFxiPJs5vOC+idENYMqfzJEmPBXOFGc58="; - }; - - cargoHash = "sha256-/gYL32kUA4gKTGogMrOghQ3XYFjw3GsDhzynUC/OyXY="; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.AppKit - darwin.apple_sdk.frameworks.DisplayServices - ]; - - - meta = with lib; { - description = "Rewrite of the pfetch system information tool in Rust"; - homepage = "https://github.com/Gobidev/pfetch-rs"; - changelog = "https://github.com/Gobidev/pfetch-rs/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ gobidev ]; - mainProgram = "pfetch"; - }; -} diff --git a/pkgs/tools/misc/pfetch/default.nix b/pkgs/tools/misc/pfetch/default.nix deleted file mode 100644 index 732f68002889..000000000000 --- a/pkgs/tools/misc/pfetch/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ stdenvNoCC, lib, fetchFromGitHub }: - -stdenvNoCC.mkDerivation rec { - pname = "pfetch"; - version = "0.6.0"; - - src = fetchFromGitHub { - owner = "dylanaraps"; - repo = "pfetch"; - rev = version; - sha256 = "06z0k1naw3k052p2z7241lx92rp5m07zlr0alx8pdm6mkc3c4v8f"; - }; - - dontBuild = true; - - installPhase = '' - install -Dm755 -t $out/bin pfetch - ''; - - meta = with lib; { - description = "Pretty system information tool written in POSIX sh"; - homepage = "https://github.com/dylanaraps/pfetch"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ equirosa ]; - mainProgram = "pfetch"; - }; -} diff --git a/pkgs/tools/misc/pfsshell/default.nix b/pkgs/tools/misc/pfsshell/default.nix deleted file mode 100644 index 24eb379adf5c..000000000000 --- a/pkgs/tools/misc/pfsshell/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, meson, ninja }: - -stdenv.mkDerivation rec { - version = "1.1.1"; - pname = "pfsshell"; - - src = fetchFromGitHub { - owner = "uyjulian"; - repo = "pfsshell"; - rev = "v${version}"; - sha256 = "0cr91al3knsbfim75rzl7rxdsglcc144x0nizn7q4jx5cad3zbn8"; - }; - - nativeBuildInputs = [ meson ninja ]; - - # Build errors since 1.1.1 when format hardening is enabled: - # cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security] - hardeningDisable = [ "format" ]; - - meta = with lib; { - inherit (src.meta) homepage; - description = "PFS (PlayStation File System) shell for POSIX-based systems"; - platforms = platforms.unix; - license = with licenses; [ - gpl2Only # the pfsshell software itself - afl20 # APA, PFS, and iomanX libraries which are compiled together with this package - ]; - maintainers = with maintainers; [ makefu ]; - mainProgram = "pfsshell"; - }; -} diff --git a/pkgs/tools/misc/pg_flame/default.nix b/pkgs/tools/misc/pg_flame/default.nix deleted file mode 100644 index da9cc6c77d59..000000000000 --- a/pkgs/tools/misc/pg_flame/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "pg_flame"; - version = "1.2"; - - src = fetchFromGitHub { - owner = "mgartner"; - repo = pname; - rev = "v${version}"; - hash = "sha256-glvIv9GHIbp6IZUvZo9fyvkJ6QR03nMlrAOpZ3HfA6g="; - }; - - vendorHash = "sha256-ReVaetR3zkLLLc3d0EQkBAyUrxwBn3iq8MZAGzkQfeY="; - - meta = with lib; { - description = "Flamegraph generator for Postgres EXPLAIN ANALYZE output"; - homepage = "https://github.com/mgartner/pg_flame"; - license = licenses.asl20; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "pg_flame"; - }; -} diff --git a/pkgs/tools/misc/pg_top/default.nix b/pkgs/tools/misc/pg_top/default.nix deleted file mode 100644 index c8a35e9fb178..000000000000 --- a/pkgs/tools/misc/pg_top/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchurl, ncurses, postgresql }: - -stdenv.mkDerivation rec { - pname = "pg_top"; - version = "3.7.0"; - - src = fetchurl { - url = "https://pgfoundry.org/frs/download.php/1781/pg_top-${version}.tar.gz"; - sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2"; - }; - - buildInputs = [ ncurses postgresql ]; - - meta = with lib; { - description = "'top' like tool for PostgreSQL"; - longDescription = '' - pg_top allows you to: - * View currently running SQL statement of a process. - * View query plan of a currently running SQL statement. - * View locks held by a process. - * View user table statistics. - * View user index statistics. - ''; - - homepage = "http://ptop.projects.postgresql.org/"; - platforms = platforms.linux; - license = licenses.free; # see commands.c - mainProgram = "pg_top"; - }; -} diff --git a/pkgs/tools/misc/pgbadger/default.nix b/pkgs/tools/misc/pgbadger/default.nix index 27c532e8144c..d25b4db9068f 100644 --- a/pkgs/tools/misc/pgbadger/default.nix +++ b/pkgs/tools/misc/pgbadger/default.nix @@ -32,7 +32,7 @@ buildPerlPackage rec { # pgbadger has too many `-Idir` flags on its shebang line on Darwin, # causing the build to fail when trying to generate the documentation. # Rewrite the -I flags in `use lib` form. - preBuild = lib.optionalString stdenv.isDarwin '' + preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' shortenPerlShebang ./pgbadger ''; @@ -46,7 +46,7 @@ buildPerlPackage rec { TextCSV_XS ]; - nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; + nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ shortenPerlShebang ]; nativeCheckInputs = [ bzip2 diff --git a/pkgs/tools/misc/pgcenter/default.nix b/pkgs/tools/misc/pgcenter/default.nix deleted file mode 100644 index 0b3dde03b4c6..000000000000 --- a/pkgs/tools/misc/pgcenter/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "pgcenter"; - version = "0.9.2"; - - src = fetchFromGitHub { - owner = "lesovsky"; - repo = "pgcenter"; - rev = "v${version}"; - sha256 = "sha256-xaY01T12/5Peww9scRgfc5yHj7QA8BEwOK5l6OedziY="; - }; - - vendorHash = "sha256-9hYiyZ34atmSL7JvuXyiGU7HR4E6qN7bGZlyU+hP+FU="; - - subPackages = [ "cmd" ]; - - ldflags = [ "-w" "-s" "-X main.gitTag=${src.rev}" "-X main.gitCommit=${src.rev}" "-X main.gitBranch=master" ]; - - postInstall = '' - mv $out/bin/cmd $out/bin/pgcenter - ''; - - doCheck = false; - - meta = with lib; { - homepage = "https://pgcenter.org/"; - changelog = "https://github.com/lesovsky/pgcenter/raw/v${version}/doc/Changelog"; - description = "Command-line admin tool for observing and troubleshooting PostgreSQL"; - license = licenses.bsd3; - maintainers = [ ]; - mainProgram = "pgcenter"; - }; -} diff --git a/pkgs/tools/misc/pgmetrics/default.nix b/pkgs/tools/misc/pgmetrics/default.nix deleted file mode 100644 index bc5ac22b4f65..000000000000 --- a/pkgs/tools/misc/pgmetrics/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "pgmetrics"; - version = "1.17.0"; - - src = fetchFromGitHub { - owner = "rapidloop"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-P0IUMYALCy1upd+JLnNqDlNKMAEccfwjc3s8Rn7xI4k="; - }; - - vendorHash = "sha256-GOKgGONoM2q4doMoQwCLnHQjnB2QpPS3cxNnwzzz9ZU="; - - doCheck = false; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - meta = with lib; { - homepage = "https://pgmetrics.io/"; - description = "Collect and display information and stats from a running PostgreSQL server"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "pgmetrics"; - }; -} diff --git a/pkgs/tools/misc/phoronix-test-suite/default.nix b/pkgs/tools/misc/phoronix-test-suite/default.nix deleted file mode 100644 index 8c7453a4fcea..000000000000 --- a/pkgs/tools/misc/phoronix-test-suite/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchurl, php, which, makeWrapper, gnumake, gcc, callPackage }: - -stdenv.mkDerivation rec { - pname = "phoronix-test-suite"; - version = "10.8.4"; - - src = fetchurl { - url = "https://phoronix-test-suite.com/releases/phoronix-test-suite-${version}.tar.gz"; - sha256 = "sha256-HyCS1TbAoxk+/FPkpQ887mXA7xp40x5UBPHGY//3t/Q="; - }; - - buildInputs = [ php ]; - nativeBuildInputs = [ which makeWrapper ]; - - installPhase = '' - runHook preInstall - - ./install-sh $out - wrapProgram $out/bin/phoronix-test-suite \ - --set PHP_BIN ${php}/bin/php \ - --prefix PATH : ${lib.makeBinPath [ gnumake gcc ]} - - runHook postInstall - ''; - - passthru.tests = { - simple-execution = callPackage ./tests.nix { }; - }; - - meta = with lib; { - description = "Open-Source, Automated Benchmarking"; - homepage = "https://www.phoronix-test-suite.com/"; - maintainers = with maintainers; [ davidak ]; - license = licenses.gpl3; - platforms = with platforms; unix; - mainProgram = "phoronix-test-suite"; - }; -} diff --git a/pkgs/tools/misc/phoronix-test-suite/tests.nix b/pkgs/tools/misc/phoronix-test-suite/tests.nix deleted file mode 100644 index 85249c1242ff..000000000000 --- a/pkgs/tools/misc/phoronix-test-suite/tests.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ runCommand, phoronix-test-suite }: - -let - inherit (phoronix-test-suite) pname version; -in - -runCommand "${pname}-tests" { meta.timeout = 60; } - '' - # automatic initial setup to prevent interactive questions - ${phoronix-test-suite}/bin/phoronix-test-suite enterprise-setup >/dev/null - # get version of installed program and compare with package version - if [[ `${phoronix-test-suite}/bin/phoronix-test-suite version` != *"${version}"* ]]; then - echo "Error: program version does not match package version" - exit 1 - fi - # run dummy command - ${phoronix-test-suite}/bin/phoronix-test-suite dummy_module.dummy-command >/dev/null - # needed for Nix to register the command as successful - touch $out - '' diff --git a/pkgs/tools/misc/phrase-cli/default.nix b/pkgs/tools/misc/phrase-cli/default.nix deleted file mode 100644 index ef2afbd44d03..000000000000 --- a/pkgs/tools/misc/phrase-cli/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "phrase-cli"; - version = "2.31.2"; - - src = fetchFromGitHub { - owner = "phrase"; - repo = "phrase-cli"; - rev = version; - sha256 = "sha256-8aoljsX2BSwnApDDPSPjuU2BgAY1vf+JrrYlfo6jJqY="; - }; - - vendorHash = "sha256-2KGYEcKRX1G2L38ECkjDOBSSO9+pAxF3t5NN3ggvSac="; - - ldflags = [ "-X=github.com/phrase/phrase-cli/cmd.PHRASE_CLIENT_VERSION=${version}" ]; - - postInstall = '' - ln -s $out/bin/phrase-cli $out/bin/phrase - ''; - - meta = with lib; { - homepage = "http://docs.phraseapp.com"; - description = "PhraseApp API v2 Command Line Client"; - changelog = "https://github.com/phrase/phrase-cli/blob/${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ juboba ]; - }; -} diff --git a/pkgs/tools/misc/pick/default.nix b/pkgs/tools/misc/pick/default.nix deleted file mode 100644 index cee77d3a1588..000000000000 --- a/pkgs/tools/misc/pick/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses }: - -stdenv.mkDerivation rec { - pname = "pick"; - version = "4.0.0"; - - src = fetchFromGitHub { - owner = "mptre"; - repo = "pick"; - rev = "v${version}"; - sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584="; - }; - - buildInputs = [ ncurses ]; - - PREFIX = placeholder "out"; - - meta = with lib; { - inherit (src.meta) homepage; - description = "Fuzzy text selection utility"; - license = licenses.mit; - maintainers = [ maintainers.womfoo ]; - platforms = platforms.linux ++ platforms.darwin; - mainProgram = "pick"; - }; - -} diff --git a/pkgs/tools/misc/pinsel/default.nix b/pkgs/tools/misc/pinsel/default.nix deleted file mode 100644 index de6cc3700838..000000000000 --- a/pkgs/tools/misc/pinsel/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, lua, glib }: - -stdenv.mkDerivation rec { - pname = "pinsel"; - version = "unstable-2021-09-13"; - - src = fetchFromGitHub { - owner = "Nooo37"; - repo = pname; - rev = "24b0205ca041511b3efb2a75ef296539442f9f54"; - sha256 = "sha256-w+jiKypZODsmZq3uWGNd8PZhe1SowHj0thcQTX8WHfQ="; - }; - - strictDeps = true; - - nativeBuildInputs = [ pkg-config glib ]; - - buildInputs = [ lua gtk3 ]; - - makeFlags = [ "INSTALLDIR=${placeholder "out"}/bin" ]; - - preInstall = '' - mkdir -p $out/bin - ''; - - meta = with lib; { - description = "Minimal screenshot annotation tool with lua config"; - homepage = "https://github.com/Nooo37/pinsel"; - # no license - license = licenses.unfree; - maintainers = with maintainers; [ lom ]; - mainProgram = "pinsel"; - }; -} diff --git a/pkgs/tools/misc/pipe-rename/default.nix b/pkgs/tools/misc/pipe-rename/default.nix deleted file mode 100644 index dc8e545a7d8e..000000000000 --- a/pkgs/tools/misc/pipe-rename/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, rustPlatform, fetchCrate, python3 }: - -rustPlatform.buildRustPackage rec { - pname = "pipe-rename"; - version = "1.6.5"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-av/ig76O7t3dB4Irfi3yqyL30nkJJCzs5EayWRbpOI0="; - }; - - cargoHash = "sha256-3p6Bf9UfCb5uc5rp/yuXixcDkuXfTiboLl8TI0O52hE="; - - nativeCheckInputs = [ python3 ]; - - checkFlags = [ - # tests are failing upstream - "--skip=test_dot" - "--skip=test_dotdot" - ]; - - preCheck = '' - patchShebangs tests/editors/env-editor.py - ''; - - meta = with lib; { - description = "Rename your files using your favorite text editor"; - homepage = "https://github.com/marcusbuffett/pipe-rename"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "renamer"; - }; -} diff --git a/pkgs/tools/misc/pipectl/default.nix b/pkgs/tools/misc/pipectl/default.nix deleted file mode 100644 index 6612826be2d6..000000000000 --- a/pkgs/tools/misc/pipectl/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, cmake -, scdoc -}: - -stdenv.mkDerivation rec { - pname = "pipectl"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "Ferdi265"; - repo = pname; - rev = "v${version}"; - hash = "sha256-uBKHGR4kv62EMOIT/K+WbvFtdJ0V5IbsxjwQvhUu9f8="; - }; - - nativeBuildInputs = [ cmake scdoc ]; - - cmakeFlags = [ - "-DINSTALL_DOCUMENTATION=ON" - ]; - - meta = with lib; { - homepage = "https://github.com/Ferdi265/pipectl"; - license = licenses.gpl3; - description = "Simple named pipe management utility"; - maintainers = with maintainers; [ synthetica ]; - mainProgram = "pipectl"; - }; -} diff --git a/pkgs/tools/misc/pipreqs/default.nix b/pkgs/tools/misc/pipreqs/default.nix deleted file mode 100644 index 49062b3a5cb8..000000000000 --- a/pkgs/tools/misc/pipreqs/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, python3, fetchPypi }: - -with python3.pkgs; - -buildPythonApplication rec { - pname = "pipreqs"; - version = "0.4.13"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-oX8WeIC2khvjdTPOTIHdxuIrRlwQeq1VfbQ7Gt1WqZs="; - }; - - propagatedBuildInputs = [ yarg docopt ]; - - # Tests requires network access. Works fine without sandboxing - doCheck = false; - - meta = with lib; { - description = "Generate requirements.txt file for any project based on imports"; - homepage = "https://github.com/bndr/pipreqs"; - license = licenses.asl20; - maintainers = with maintainers; [ psyanticy ]; - mainProgram = "pipreqs"; - }; -} diff --git a/pkgs/tools/misc/pistol/default.nix b/pkgs/tools/misc/pistol/default.nix deleted file mode 100644 index c1b01697988d..000000000000 --- a/pkgs/tools/misc/pistol/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, file -, installShellFiles -, asciidoctor -}: - -buildGoModule rec { - pname = "pistol"; - version = "0.5.2"; - - src = fetchFromGitHub { - owner = "doronbehar"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-/w2BenBIzhD0KHtELlFy7YGv0lykHrjrROZeW75gHis="; - }; - - vendorHash = "sha256-+Q72DUKLqahgbLCaXOTAYZaMvNfv3XF+SpyqHyB065g="; - - doCheck = false; - - subPackages = [ "cmd/pistol" ]; - - buildInputs = [ - file - ]; - nativeBuildInputs = [ - installShellFiles - asciidoctor - ]; - postInstall = '' - asciidoctor -b manpage -d manpage README.adoc - installManPage pistol.1 - ''; - - ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; - - meta = with lib; { - description = "General purpose file previewer designed for Ranger, Lf to make scope.sh redundant"; - homepage = "https://github.com/doronbehar/pistol"; - license = licenses.mit; - maintainers = with maintainers; [ doronbehar ]; - mainProgram = "pistol"; - }; -} diff --git a/pkgs/tools/misc/piston-cli/default.nix b/pkgs/tools/misc/piston-cli/default.nix deleted file mode 100644 index 68519f2eb643..000000000000 --- a/pkgs/tools/misc/piston-cli/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ stdenv, lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "piston-cli"; - version = "1.4.3"; - format = "pyproject"; - - src = fetchPypi { - inherit pname version; - sha256 = "qvDGVJcaMXUajdUQWl4W1dost8k0PsS9XX/o8uQrtfY="; - }; - - propagatedBuildInputs = with python3Packages; [ rich prompt-toolkit requests pygments pyyaml more-itertools ]; - - checkPhase = '' - $out/bin/piston --help > /dev/null - ''; - - nativeBuildInputs = with python3Packages; [ - poetry-core - ]; - - pythonRelaxDeps = [ - "rich" - "more-itertools" - "PyYAML" - ]; - - meta = with lib; { - broken = stdenv.isDarwin; - description = "Piston api tool"; - homepage = "https://github.com/Shivansh-007/piston-cli"; - license = licenses.mit; - maintainers = with maintainers; [ ethancedwards8 ]; - mainProgram = "piston"; - }; -} diff --git a/pkgs/tools/misc/pixd/default.nix b/pkgs/tools/misc/pixd/default.nix deleted file mode 100644 index 84ad2c92e207..000000000000 --- a/pkgs/tools/misc/pixd/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "pixd"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "FireyFly"; - repo = "pixd"; - rev = "v${version}"; - sha256 = "1vmkbs39mg5vwmkzfcrxqm6p8zr9sj4qdwng9icmyf5k34c34xdg"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Colourful visualization tool for binary files"; - homepage = "https://github.com/FireyFly/pixd"; - maintainers = [ maintainers.FireyFly ]; - license = licenses.mit; - platforms = platforms.unix; - mainProgram = "pixd"; - }; -} diff --git a/pkgs/tools/misc/pk2cmd/default.nix b/pkgs/tools/misc/pk2cmd/default.nix deleted file mode 100644 index 9b04a668dadb..000000000000 --- a/pkgs/tools/misc/pk2cmd/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{lib, stdenv, fetchurl, libusb-compat-0_1, makeWrapper}: - -stdenv.mkDerivation rec { - pname = "pk2cmd"; - version = "1.20"; - src = fetchurl { - url = "https://ww1.microchip.com/downloads/en/DeviceDoc/pk2cmdv${version}LinuxMacSource.tar.gz"; - sha256 = "1yjpi2qshnqfpan4w3ggakkr3znfrx5cxkny92ka7v9na3g2fc4h"; - }; - - makeFlags = [ "LIBUSB=${libusb-compat-0_1.dev}" "linux" ]; - - installPhase = '' - mkdir -p $out/bin $out/share/pk2 - cp pk2cmd $out/bin - cp PK2DeviceFile.dat $out/share/pk2 - wrapProgram $out/bin/pk2cmd --prefix PATH : $out/share/pk2 - ''; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ libusb-compat-0_1 ]; - - meta = { - homepage = "https://www.microchip.com/pickit2"; - license = lib.licenses.unfree; #MicroChip-PK2 - description = "Microchip PIC programming software for the PICKit2 programmer"; - mainProgram = "pk2cmd"; - }; -} diff --git a/pkgs/tools/misc/pkgdiff/default.nix b/pkgs/tools/misc/pkgdiff/default.nix deleted file mode 100644 index 139c0f8e2d56..000000000000 --- a/pkgs/tools/misc/pkgdiff/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, wdiff }: - -stdenv.mkDerivation rec { - version = "1.7.2"; - pname = "pkgdiff"; - - src = fetchFromGitHub { - owner = "lvc"; - repo = "pkgdiff"; - rev = version; - sha256 = "1ahknyx0s54frbd3gqh070lkv3j1b344jrs6m6p1s1lgwbd70vnb"; - }; - - buildInputs = [ perl ]; - nativeBuildInputs = [ makeWrapper ]; - - dontBuild = true; - - makeFlags = [ "prefix=$(out)" ]; - - postInstall = '' - wrapProgram $out/bin/pkgdiff --prefix PATH : ${lib.makeBinPath [ wdiff ]} - ''; - - meta = with lib; { - description = "Tool for visualizing changes in Linux software packages"; - homepage = "https://lvc.github.io/pkgdiff/"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ sweber ]; - platforms = platforms.unix; - mainProgram = "pkgdiff"; - }; -} diff --git a/pkgs/tools/misc/pkgtop/default.nix b/pkgs/tools/misc/pkgtop/default.nix deleted file mode 100644 index acb56dd47d4b..000000000000 --- a/pkgs/tools/misc/pkgtop/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "pkgtop"; - version = "2.5.1"; - - src = fetchFromGitHub { - owner = "orhun"; - repo = "pkgtop"; - rev = version; - hash = "sha256-NY8nx4BKAUq1nGBlzRzm2OH1k01TV6qs2IcoErhuxTc="; - }; - - vendorHash = "sha256-dlDbNym7CNn5088znMNgGAr2wBM3+nYv3q362353aLs="; - - postInstall = '' - mv $out/bin/{cmd,pkgtop} - ''; - - meta = with lib; { - description = "Interactive package manager and resource monitor designed for the GNU/Linux"; - homepage = "https://github.com/orhun/pkgtop"; - changelog = "https://github.com/orhun/pkgtop/releases/tag/${version}"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "pkgtop"; - }; -} diff --git a/pkgs/tools/misc/plocate/default.nix b/pkgs/tools/misc/plocate/default.nix deleted file mode 100644 index b44cb0b14860..000000000000 --- a/pkgs/tools/misc/plocate/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ stdenv -, lib -, fetchgit -, pkg-config -, meson -, ninja -, systemd -, liburing -, zstd -}: -stdenv.mkDerivation rec { - pname = "plocate"; - version = "1.1.22"; - - src = fetchgit { - url = "https://git.sesse.net/plocate"; - rev = version; - sha256 = "sha256-ejv1IsjbImnvI1oorvMoIvTBu3HuVy7VtgHNTIkqqro="; - }; - - postPatch = '' - sed -i meson.build \ - -e '/mkdir\.sh/d' - ''; - - nativeBuildInputs = [ meson ninja pkg-config ]; - - buildInputs = [ systemd liburing zstd ]; - - mesonFlags = [ - "-Dsystemunitdir=${placeholder "out"}/etc/systemd/system" - "-Dsharedstatedir=/var/cache" - "-Ddbpath=locatedb" - ]; - - meta = with lib; { - description = "Much faster locate"; - homepage = "https://plocate.sesse.net/"; - license = licenses.mit; - maintainers = with maintainers; [ peterhoeg SuperSandro2000 ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/plotinus/default.nix b/pkgs/tools/misc/plotinus/default.nix deleted file mode 100644 index f8b50d55cdf4..000000000000 --- a/pkgs/tools/misc/plotinus/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, gettext -, libxml2 -, pkg-config -, gtk3 -, cmake -, ninja -, vala -, nixosTests -, wrapGAppsHook3 }: - -stdenv.mkDerivation rec { - pname = "plotinus"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "p-e-w"; - repo = "plotinus"; - rev = "v${version}"; - sha256 = "19k6f6ivg4ab57m62g6fkg85q9sv049snmzq1fyqnqijggwshxfz"; - }; - - nativeBuildInputs = [ - pkg-config - wrapGAppsHook3 - vala - cmake - ninja - gettext - libxml2 - ]; - buildInputs = [ - gtk3 - ]; - - passthru.tests = { inherit (nixosTests) plotinus; }; - - meta = with lib; { - description = "Searchable command palette in every modern GTK application"; - homepage = "https://github.com/p-e-w/plotinus"; - maintainers = with maintainers; [ samdroid-apps ]; - platforms = platforms.linux; - # No COPYING file, but headers in the source code - license = licenses.gpl3; - }; -} diff --git a/pkgs/tools/misc/plowshare/default.nix b/pkgs/tools/misc/plowshare/default.nix deleted file mode 100644 index 361516427674..000000000000 --- a/pkgs/tools/misc/plowshare/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, curl, recode, spidermonkey_115 }: - -stdenv.mkDerivation rec { - - pname = "plowshare"; - version = "2.1.7"; - - src = fetchFromGitHub { - owner = "mcrapet"; - repo = "plowshare"; - rev = "v${version}"; - sha256 = "1p8s60dlzaldp006yj710s371aan915asyjhd99188vrj4jj1x79"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontBuild = true; - - installPhase = '' - make PREFIX="$out" install - - for fn in plow{del,down,list,mod,probe,up}; do - wrapProgram "$out/bin/$fn" --prefix PATH : "${lib.makeBinPath [ curl recode spidermonkey_115 ]}" - done - ''; - - meta = { - description = '' - A command-line download/upload tool for popular file sharing websites - ''; - license = lib.licenses.gpl3; - maintainers = with lib.maintainers; [ aforemny ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/pod2mdoc/default.nix b/pkgs/tools/misc/pod2mdoc/default.nix deleted file mode 100644 index 6b3792bf500e..000000000000 --- a/pkgs/tools/misc/pod2mdoc/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "pod2mdoc"; - version = "0.0.10"; - - src = fetchurl { - url = "http://mdocml.bsd.lv/pod2mdoc/snapshots/pod2mdoc-${version}.tgz"; - sha256 = "0nwa9zv9gmfi5ysz1wfm60kahc7nv0133n3dfc2vh2y3gj8mxr4f"; - }; - - installPhase = '' - mkdir -p $out/bin - mkdir -p $out/share/man/man1 - install -m 0755 pod2mdoc $out/bin - install -m 0444 pod2mdoc.1 $out/share/man/man1 - ''; - - meta = with lib; { - homepage = "http://mdocml.bsd.lv/"; - description = "converter from POD into mdoc"; - license = licenses.isc; - platforms = platforms.all; - maintainers = with maintainers; [ ramkromberg ]; - mainProgram = "pod2mdoc"; - }; -} diff --git a/pkgs/tools/misc/pokeget-rs/default.nix b/pkgs/tools/misc/pokeget-rs/default.nix deleted file mode 100644 index 08f84c9a78c9..000000000000 --- a/pkgs/tools/misc/pokeget-rs/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "pokeget-rs"; - version = "1.6.3"; - - src = fetchFromGitHub { - owner = "talwat"; - repo = "pokeget-rs"; - rev = version; - hash = "sha256-0dss+ZJ1hhQGpWySWhyF+T1T+G3BlnKfSosgCJa8MPE="; - fetchSubmodules = true; - }; - - cargoHash = "sha256-VYF2uhgxUFH/VAy/ttQOULRFFiPRf0D+0WfGlQyYDGc="; - - meta = with lib; { - description = "Better rust version of pokeget"; - homepage = "https://github.com/talwat/pokeget-rs"; - license = licenses.mit; - mainProgram = "pokeget"; - maintainers = with maintainers; [ aleksana ]; - }; -} diff --git a/pkgs/tools/misc/pokemonsay/default.nix b/pkgs/tools/misc/pokemonsay/default.nix deleted file mode 100644 index 669fa6a49413..000000000000 --- a/pkgs/tools/misc/pokemonsay/default.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, fetchpatch -, cowsay -, coreutils -, findutils -}: - -stdenvNoCC.mkDerivation rec { - pname = "pokemonsay"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "HRKings"; - repo = "pokemonsay-newgenerations"; - rev = "v${version}"; - hash = "sha256-IDTAZmOzkUg0kLUM0oWuVbi8EwE4sEpLWrNAtq/he+g="; - }; - - patches = [ - (fetchpatch { # https://github.com/HRKings/pokemonsay-newgenerations/pull/5 - name = "word-wrap-fix.patch"; - url = "https://github.com/pbsds/pokemonsay-newgenerations/commit/7056d7ba689479a8e6c14ec000be1dfcd83afeb0.patch"; - hash = "sha256-aqUJkyJDWArLjChxLZ4BbC6XAB53LAqARzTvEAxrFCI="; - }) - ]; - - postPatch = '' - substituteInPlace pokemonsay.sh \ - --replace-fail \ - 'INSTALL_PATH=''${HOME}/.bin/pokemonsay' \ - "" \ - --replace-fail \ - 'POKEMON_PATH=''${INSTALL_PATH}/pokemons' \ - 'POKEMON_PATH=${placeholder "out"}/share/pokemonsay' \ - --replace-fail \ - '$(find ' \ - '$(${findutils}/bin/find ' \ - --replace-fail \ - '$(basename ' \ - '$(${coreutils}/bin/basename ' \ - --replace-fail \ - 'cowsay -f ' \ - '${cowsay}/bin/cowsay -f ' \ - --replace-fail \ - 'cowthink -f ' \ - '${cowsay}/bin/cowthink -f ' - - substituteInPlace pokemonthink.sh \ - --replace-fail \ - './pokemonsay.sh' \ - "${placeholder "out"}/bin/pokemonsay" - ''; - - installPhase = '' - mkdir -p $out/{bin,share/pokemonsay} - cp pokemonsay.sh $out/bin/pokemonsay - cp pokemonthink.sh $out/bin/pokemonthink - cp pokemons/*.cow $out/share/pokemonsay - ''; - - doInstallCheck = true; - installCheckPhase = '' - (set -x - test "$($out/bin/pokemonsay --list | wc -l)" -ge 891 - ) - ''; - - meta = with lib; { - description = "Print pokemon in the CLI! An adaptation of the classic cowsay"; - homepage = "https://github.com/HRKings/pokemonsay-newgenerations"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ pbsds ]; - }; -} diff --git a/pkgs/tools/misc/ponysay/default.nix b/pkgs/tools/misc/ponysay/default.nix deleted file mode 100644 index 0b374e1efba1..000000000000 --- a/pkgs/tools/misc/ponysay/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3, texinfo, makeWrapper }: - -stdenv.mkDerivation rec { - pname = "ponysay"; - version = "unstable-2021-03-27"; - - src = fetchFromGitHub { - owner = "erkin"; - repo = "ponysay"; - rev = "8a2c71416e70e4e7b0931917ebfd6479f51ddf9a"; - sha256 = "sha256-LNc83E+7NFYYILORElNlYC7arQKGUJHv6phu+vM5xpQ="; - }; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ python3 texinfo ]; - - inherit python3; - - installPhase = '' - runHook preInstall - - find -type f -name "*.py" | xargs sed -i "s@/usr/bin/env python3@$python3/bin/python3@g" - substituteInPlace setup.py --replace \ - "fileout.write(('#!/usr/bin/env %s\n' % env).encode('utf-8'))" \ - "fileout.write(('#!%s/bin/%s\n' % (os.environ['python3'], env)).encode('utf-8'))" - python3 setup.py --prefix=$out --freedom=partial install \ - --with-shared-cache=$out/share/ponysay \ - --with-bash - - runHook postInstall - ''; - - meta = with lib; { - description = "Cowsay reimplemention for ponies"; - homepage = "https://github.com/erkin/ponysay"; - license = licenses.gpl3; - maintainers = with maintainers; [ bodil ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/poop/default.nix b/pkgs/tools/misc/poop/default.nix deleted file mode 100644 index d3b444d9472f..000000000000 --- a/pkgs/tools/misc/poop/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, zig_0_11 -}: - -stdenv.mkDerivation rec { - pname = "poop"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "andrewrk"; - repo = "poop"; - rev = version; - hash = "sha256-ekZpulQ1NpEOCG9KU2I4O0NL8mD+CC7bKF0tZbl7vHo="; - }; - - # fix compilation with zig 0.11 - patches = [ - # https://github.com/andrewrk/poop/pull/41 - (fetchpatch { - name = "update-to-zig-0-11-0.patch"; - url = "https://github.com/andrewrk/poop/commit/15c794d9dea91570485104cda26346f2ae5c9365.patch"; - hash = "sha256-iv3IuYIDPzs98wiTXcO0igngaRRdQnASvzA4bYET54c="; - }) - # https://github.com/andrewrk/poop/pull/36 - (fetchpatch { - name = "update-zig-to-latest-0-11-0-dev-3883-7166407d8.patch"; - url = "https://github.com/andrewrk/poop/commit/b1ca37c0cf637e9bbbf24cd243bafaedf02fa8c7.patch"; - hash = "sha256-/j2zqi0Q2Pl7ZL+4GflwD/MnqcKScT/1SdYJAQ3o4bU="; - }) - ]; - - nativeBuildInputs = [ - zig_0_11.hook - ]; - - meta = with lib; { - description = "Compare the performance of multiple commands with a colorful terminal user interface"; - homepage = "https://github.com/andrewrk/poop"; - changelog = "https://github.com/andrewrk/poop/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - platforms = platforms.linux; - mainProgram = "poop"; - }; -} diff --git a/pkgs/tools/misc/popsicle/Cargo.lock b/pkgs/tools/misc/popsicle/Cargo.lock deleted file mode 100644 index 5e91d597cc6a..000000000000 --- a/pkgs/tools/misc/popsicle/Cargo.lock +++ /dev/null @@ -1,2782 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aho-corasick" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" -dependencies = [ - "memchr", -] - -[[package]] -name = "anstream" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d664a92ecae85fd0a7392615844904654d1d5f5514837f471ddef4a057aba1b6" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" - -[[package]] -name = "anstyle-parse" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" -dependencies = [ - "anstyle", - "windows-sys 0.52.0", -] - -[[package]] -name = "anyhow" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" - -[[package]] -name = "arc-swap" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" - -[[package]] -name = "as-result" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3702cac3c1601410cd655ae41650c4c87f7c3183dca6d1cd9acc4220ed56a8b7" - -[[package]] -name = "async-channel" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -dependencies = [ - "concurrent-queue", - "event-listener 2.5.3", - "futures-core", -] - -[[package]] -name = "async-channel" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" -dependencies = [ - "concurrent-queue", - "event-listener 4.0.2", - "event-listener-strategy", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-executor" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" -dependencies = [ - "async-lock 3.2.0", - "async-task", - "concurrent-queue", - "fastrand 2.0.1", - "futures-lite 2.1.0", - "slab", -] - -[[package]] -name = "async-global-executor" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" -dependencies = [ - "async-channel 2.1.1", - "async-executor", - "async-io 2.2.2", - "async-lock 3.2.0", - "blocking", - "futures-lite 2.1.0", - "once_cell", -] - -[[package]] -name = "async-io" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" -dependencies = [ - "async-lock 2.8.0", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite 1.13.0", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" -dependencies = [ - "async-lock 3.2.0", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite 2.1.0", - "parking", - "polling 3.3.1", - "rustix 0.38.28", - "slab", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "async-lock" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -dependencies = [ - "event-listener 2.5.3", -] - -[[package]] -name = "async-lock" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" -dependencies = [ - "event-listener 4.0.2", - "event-listener-strategy", - "pin-project-lite", -] - -[[package]] -name = "async-std" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d" -dependencies = [ - "async-channel 1.9.0", - "async-global-executor", - "async-io 1.13.0", - "async-lock 2.8.0", - "crossbeam-utils", - "futures-channel", - "futures-core", - "futures-io", - "futures-lite 1.13.0", - "gloo-timers", - "kv-log-macro", - "log", - "memchr", - "once_cell", - "pin-project-lite", - "pin-utils", - "slab", - "wasm-bindgen-futures", -] - -[[package]] -name = "async-task" -version = "4.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" - -[[package]] -name = "atk" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba16453d10c712284061a05f6510f75abeb92b56ba88dfeb48c74775020cc22" -dependencies = [ - "atk-sys", - "bitflags 1.3.2", - "glib", - "libc", -] - -[[package]] -name = "atk-sys" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf0a7ca572fbd5762fd8f8cd65a581e06767bc1234913fe1f43e370cff6e90" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "atomic" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d818003e740b63afc82337e3160717f4f63078720a810b7b903e70a5d1d2994" -dependencies = [ - "bytemuck", -] - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" -dependencies = [ - "addr2line", - "cc", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.21.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" - -[[package]] -name = "better-panic" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fa9e1d11a268684cbd90ed36370d7577afb6c62d912ddff5c15fc34343e5036" -dependencies = [ - "backtrace", - "console", -] - -[[package]] -name = "bindgen" -version = "0.63.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885" -dependencies = [ - "bitflags 1.3.2", - "cexpr", - "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", - "syn 1.0.109", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" -dependencies = [ - "serde", -] - -[[package]] -name = "block" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "blocking" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" -dependencies = [ - "async-channel 2.1.1", - "async-lock 3.2.0", - "async-task", - "fastrand 2.0.1", - "futures-io", - "futures-lite 2.1.0", - "piper", - "tracing", -] - -[[package]] -name = "bumpalo" -version = "3.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" - -[[package]] -name = "bytemuck" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" - -[[package]] -name = "bytes" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" - -[[package]] -name = "bytesize" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" - -[[package]] -name = "cairo-rs" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3603c4028a5e368d09b51c8b624b9a46edcd7c3778284077a6125af73c9f0a" -dependencies = [ - "bitflags 1.3.2", - "cairo-sys-rs", - "glib", - "libc", - "once_cell", - "thiserror", -] - -[[package]] -name = "cairo-sys-rs" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "691d0c66b1fb4881be80a760cb8fe76ea97218312f9dfe2c9cc0f496ca279cb1" -dependencies = [ - "glib-sys", - "libc", - "system-deps", -] - -[[package]] -name = "cascade" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d499b43edbf784dd81e16f0395f5b4350a35b477da8a074251087adefc11cb52" - -[[package]] -name = "cc" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] - -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-expr" -version = "0.15.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a" -dependencies = [ - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clang-sys" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "4.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52bdc885e4cacc7f7c9eedc1ef6da641603180c783c41a15c264944deeaab642" -dependencies = [ - "clap_builder", -] - -[[package]] -name = "clap_builder" -version = "4.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_lex" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "concurrent-queue" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "console" -version = "0.15.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "windows-sys 0.45.0", -] - -[[package]] -name = "cpufeatures" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" -dependencies = [ - "libc", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a9b73a36529d9c47029b9fb3a6f0ea3cc916a261195352ba19e770fc1748b2" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "dashmap" -version = "5.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" -dependencies = [ - "cfg-if", - "hashbrown", - "lock_api", - "once_cell", - "parking_lot_core", -] - -[[package]] -name = "dbus" -version = "0.9.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb21987b9fb1613058ba3843121dd18b163b254d8a6e797e144cbac14d96d1b" -dependencies = [ - "libc", - "libdbus-sys", - "winapi", -] - -[[package]] -name = "dbus-udisks2" -version = "0.3.0" -source = "git+https://github.com/pop-os/dbus-udisks2#15c4e70f029c6546e96f8c5b2fb78c9504cf9f28" -dependencies = [ - "dbus", - "num_enum", -] - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "derive-new" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d150dea618e920167e5973d70ae6ece4385b7164e0d799fe7c122dd0a5d912ad" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "displaydoc" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - -[[package]] -name = "errno" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "event-listener" -version = "4.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "218a870470cce1469024e9fb66b901aa983929d81304a1cdb299f28118e550d5" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" -dependencies = [ - "event-listener 4.0.2", - "pin-project-lite", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "fastrand" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" - -[[package]] -name = "field-offset" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f" -dependencies = [ - "memoffset", - "rustc_version", -] - -[[package]] -name = "find-crate" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59a98bbaacea1c0eb6a0876280051b892eb73594fd90cf3b20e9c817029c57d2" -dependencies = [ - "toml 0.5.11", -] - -[[package]] -name = "fluent" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61f69378194459db76abd2ce3952b790db103ceb003008d3d50d97c41ff847a7" -dependencies = [ - "fluent-bundle", - "unic-langid", -] - -[[package]] -name = "fluent-bundle" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e242c601dec9711505f6d5bbff5bedd4b61b2469f2e8bb8e57ee7c9747a87ffd" -dependencies = [ - "fluent-langneg", - "fluent-syntax", - "intl-memoizer", - "intl_pluralrules", - "rustc-hash", - "self_cell 0.10.3", - "smallvec", - "unic-langid", -] - -[[package]] -name = "fluent-langneg" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94" -dependencies = [ - "unic-langid", -] - -[[package]] -name = "fluent-syntax" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0abed97648395c902868fee9026de96483933faa54ea3b40d652f7dfe61ca78" -dependencies = [ - "thiserror", -] - -[[package]] -name = "fomat-macros" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f722aa875298d34a0ebb6004699f6f4ea830d36dec8ac2effdbbc840248a096" - -[[package]] -name = "futures" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-executor" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "futures-lite" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" -dependencies = [ - "fastrand 1.9.0", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite", - "waker-fn", -] - -[[package]] -name = "futures-lite" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" -dependencies = [ - "fastrand 2.0.1", - "futures-core", - "futures-io", - "parking", - "pin-project-lite", -] - -[[package]] -name = "futures-macro" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "futures-sink" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" - -[[package]] -name = "futures-task" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" - -[[package]] -name = "futures-util" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "futures_codec" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce54d63f8b0c75023ed920d46fd71d0cbbb830b0ee012726b5b4f506fb6dea5b" -dependencies = [ - "bytes", - "futures", - "memchr", - "pin-project", -] - -[[package]] -name = "gdk" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be1df5ea52cccd7e3a0897338b5564968274b52f5fd12601e0afa44f454c74d3" -dependencies = [ - "bitflags 1.3.2", - "cairo-rs", - "gdk-pixbuf", - "gdk-sys", - "gio", - "glib", - "libc", - "pango", -] - -[[package]] -name = "gdk-pixbuf" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "695d6bc846438c5708b07007537b9274d883373dd30858ca881d7d71b5540717" -dependencies = [ - "bitflags 1.3.2", - "gdk-pixbuf-sys", - "gio", - "glib", - "libc", - "once_cell", -] - -[[package]] -name = "gdk-pixbuf-sys" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9285ec3c113c66d7d0ab5676599176f1f42f4944ca1b581852215bf5694870cb" -dependencies = [ - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "gdk-sys" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2152de9d38bc67a17b3fe49dc0823af5bf874df59ea088c5f28f31cf103de703" -dependencies = [ - "cairo-sys-rs", - "gdk-pixbuf-sys", - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "pango-sys", - "pkg-config", - "system-deps", -] - -[[package]] -name = "genawaiter" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1236259ce812baf9e1d1e316724e0fec341ce788f038aa543f813dfe78e12d32" -dependencies = [ - "futures-core", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "gimli" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" - -[[package]] -name = "gio" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6973e92937cf98689b6a054a9e56c657ed4ff76de925e36fc331a15f0c5d30a" -dependencies = [ - "bitflags 1.3.2", - "futures-channel", - "futures-core", - "futures-io", - "futures-util", - "gio-sys", - "glib", - "libc", - "once_cell", - "pin-project-lite", - "smallvec", - "thiserror", -] - -[[package]] -name = "gio-sys" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ccf87c30a12c469b6d958950f6a9c09f2be20b7773f7e70d20b867fdf2628c3" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", - "winapi", -] - -[[package]] -name = "glib" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fad45ba8d4d2cea612b432717e834f48031cd8853c8aaf43b2c79fec8d144b" -dependencies = [ - "bitflags 1.3.2", - "futures-channel", - "futures-core", - "futures-executor", - "futures-task", - "futures-util", - "gio-sys", - "glib-macros", - "glib-sys", - "gobject-sys", - "libc", - "memchr", - "once_cell", - "smallvec", - "thiserror", -] - -[[package]] -name = "glib-macros" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca5c79337338391f1ab8058d6698125034ce8ef31b72a442437fa6c8580de26" -dependencies = [ - "anyhow", - "heck", - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "glib-sys" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d80aa6ea7bba0baac79222204aa786a6293078c210abe69ef1336911d4bdc4f0" -dependencies = [ - "libc", - "system-deps", -] - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "gobject-sys" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd34c3317740a6358ec04572c1bcfd3ac0b5b6529275fae255b237b314bb8062" -dependencies = [ - "glib-sys", - "libc", - "system-deps", -] - -[[package]] -name = "gtk" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c4222ab92b08d4d0bab90ddb6185b4e575ceeea8b8cdf00b938d7b6661d966" -dependencies = [ - "atk", - "bitflags 1.3.2", - "cairo-rs", - "field-offset", - "futures-channel", - "gdk", - "gdk-pixbuf", - "gio", - "glib", - "gtk-sys", - "gtk3-macros", - "libc", - "once_cell", - "pango", - "pkg-config", -] - -[[package]] -name = "gtk-sys" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d8eb6a4b93e5a7e6980f7348d08c1cd93d31fae07cf97f20678c5ec41de3d7e" -dependencies = [ - "atk-sys", - "cairo-sys-rs", - "gdk-pixbuf-sys", - "gdk-sys", - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "pango-sys", - "system-deps", -] - -[[package]] -name = "gtk3-macros" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3efb84d682c9a39c10bd9f24f5a4b9c15cc8c7edc45c19cb2ca2c4fc38b2d95e" -dependencies = [ - "anyhow", - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "hashbrown" -version = "0.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" - -[[package]] -name = "hex-view" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494e16c9fe4dd02a88f3fe9ec0f27e38045691ea0ceb11603670f220ff5ca97f" - -[[package]] -name = "i18n-config" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9ce3c48cbc21fd5b22b9331f32b5b51f6ad85d969b99e793427332e76e7640" -dependencies = [ - "log", - "serde", - "serde_derive", - "thiserror", - "toml 0.8.8", - "unic-langid", -] - -[[package]] -name = "i18n-embed" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94205d95764f5bb9db9ea98fa77f89653365ca748e27161f5bbea2ffd50e459c" -dependencies = [ - "arc-swap", - "fluent", - "fluent-langneg", - "fluent-syntax", - "i18n-embed-impl", - "intl-memoizer", - "lazy_static", - "locale_config", - "log", - "parking_lot", - "rust-embed", - "thiserror", - "unic-langid", - "walkdir", -] - -[[package]] -name = "i18n-embed-fl" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc1f8715195dffc4caddcf1cf3128da15fe5d8a137606ea8856c9300047d5a2" -dependencies = [ - "dashmap", - "find-crate", - "fluent", - "fluent-syntax", - "i18n-config", - "i18n-embed", - "lazy_static", - "proc-macro-error", - "proc-macro2", - "quote", - "strsim", - "syn 2.0.48", - "unic-langid", -] - -[[package]] -name = "i18n-embed-impl" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81093c4701672f59416582fe3145676126fd23ba5db910acad0793c1108aaa58" -dependencies = [ - "find-crate", - "i18n-config", - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "indexmap" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "intl-memoizer" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c310433e4a310918d6ed9243542a6b83ec1183df95dff8f23f87bb88a264a66f" -dependencies = [ - "type-map", - "unic-langid", -] - -[[package]] -name = "intl_pluralrules" -version = "7.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "078ea7b7c29a2b4df841a7f6ac8775ff6074020c6776d48491ce2268e068f972" -dependencies = [ - "unic-langid", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.3", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "iso9660" -version = "0.1.1" -source = "git+https://github.com/ids1024/iso9660-rs#1fbe255a9dc036686ed3b129ed4c6e230fa134b7" -dependencies = [ - "bitflags 2.4.1", - "nom", - "time", -] - -[[package]] -name = "js-sys" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "kv-log-macro" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" -dependencies = [ - "log", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "libc" -version = "0.2.151" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" - -[[package]] -name = "libdbus-sys" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72" -dependencies = [ - "pkg-config", -] - -[[package]] -name = "libloading" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c571b676ddfc9a8c12f1f3d3085a7b163966a8fd8098a90640953ce5f6170161" -dependencies = [ - "cfg-if", - "windows-sys 0.48.0", -] - -[[package]] -name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" - -[[package]] -name = "locale_config" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d2c35b16f4483f6c26f0e4e9550717a2f6575bcd6f12a53ff0c490a94a6934" -dependencies = [ - "lazy_static", - "objc", - "objc-foundation", - "regex", - "winapi", -] - -[[package]] -name = "lock_api" -version = "0.4.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -dependencies = [ - "value-bag", -] - -[[package]] -name = "loopdev-erikh" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac18afc683a3326b4ba3a7c783ae6613095c8ce49e0d7bce41a2bd58da319b8d" -dependencies = [ - "bindgen", - "errno 0.2.8", - "libc", -] - -[[package]] -name = "malloc_buf" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" -dependencies = [ - "libc", -] - -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest", -] - -[[package]] -name = "memchr" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" - -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mnt" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1587ebb20a5b04738f16cffa7e2526f1b8496b84f92920facd518362ff1559eb" -dependencies = [ - "libc", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "num_enum" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9" -dependencies = [ - "num_enum_derive", -] - -[[package]] -name = "num_enum_derive" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", -] - -[[package]] -name = "objc-foundation" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" -dependencies = [ - "block", - "objc", - "objc_id", -] - -[[package]] -name = "objc_id" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" -dependencies = [ - "objc", -] - -[[package]] -name = "object" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[package]] -name = "pango" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35be456fc620e61f62dff7ff70fbd54dcbaf0a4b920c0f16de1107c47d921d48" -dependencies = [ - "bitflags 1.3.2", - "gio", - "glib", - "libc", - "once_cell", - "pango-sys", -] - -[[package]] -name = "pango-sys" -version = "0.17.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da69f9f3850b0d8990d462f8c709561975e95f689c1cdf0fecdebde78b35195" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "parking" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets 0.48.5", -] - -[[package]] -name = "pbr" -version = "1.1.1" -source = "git+https://github.com/ids1024/pb?branch=write#225bf70cdaf86193c4a6e65079ebccc1b2196c57" -dependencies = [ - "crossbeam-channel", - "libc", - "winapi", -] - -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - -[[package]] -name = "pin-project" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ef0f924a5ee7ea9cbcea77529dba45f8a9ba9f622419fe3386ca581a3ae9d5a" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "0.4.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "851c8d0ce9bebe43790dedfc86614c23494ac9f423dd618d3a61fc693eafe61e" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" -dependencies = [ - "atomic-waker", - "fastrand 2.0.1", - "futures-io", -] - -[[package]] -name = "pkg-config" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" - -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - -[[package]] -name = "polling" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" -dependencies = [ - "cfg-if", - "concurrent-queue", - "pin-project-lite", - "rustix 0.38.28", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "popsicle" -version = "1.3.3" -dependencies = [ - "anyhow", - "as-result", - "async-std", - "derive-new", - "futures", - "futures_codec", - "libc", - "memchr", - "mnt", - "ron", - "serde", - "srmw", - "thiserror", - "usb-disk-probe", -] - -[[package]] -name = "popsicle_cli" -version = "1.3.3" -dependencies = [ - "anyhow", - "async-std", - "atty", - "better-panic", - "cascade", - "clap", - "derive-new", - "fomat-macros", - "futures", - "i18n-embed", - "i18n-embed-fl", - "libc", - "once_cell", - "pbr", - "popsicle", - "rust-embed", -] - -[[package]] -name = "popsicle_gtk" -version = "1.3.3" -dependencies = [ - "anyhow", - "async-std", - "atomic", - "bytemuck", - "bytesize", - "cascade", - "crossbeam-channel", - "dbus", - "dbus-udisks2", - "digest", - "futures", - "gdk", - "gdk-pixbuf", - "gio", - "glib", - "gtk", - "hex-view", - "i18n-embed", - "i18n-embed-fl", - "iso9660", - "libc", - "md-5", - "once_cell", - "pango", - "popsicle", - "pwd", - "rust-embed", - "sha-1", - "sha2", - "sys-mount", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "proc-macro-crate" -version = "1.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" -dependencies = [ - "once_cell", - "toml_edit 0.19.15", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.75" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907a61bd0f64c2f29cd1cf1dc34d05176426a3f504a78010f08416ddb7b13708" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "pwd" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c71c0c79b9701efe4e1e4b563b2016dd4ee789eb99badcb09d61ac4b92e4a2" -dependencies = [ - "libc", - "thiserror", -] - -[[package]] -name = "quote" -version = "1.0.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "regex" -version = "1.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" - -[[package]] -name = "ron" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" -dependencies = [ - "base64", - "bitflags 2.4.1", - "serde", - "serde_derive", -] - -[[package]] -name = "rust-embed" -version = "8.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82c0bbc10308ed323529fd3c1dce8badda635aa319a5ff0e6466f33b8101e3f" -dependencies = [ - "rust-embed-impl", - "rust-embed-utils", - "walkdir", -] - -[[package]] -name = "rust-embed-impl" -version = "8.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6227c01b1783cdfee1bcf844eb44594cd16ec71c35305bf1c9fb5aade2735e16" -dependencies = [ - "proc-macro2", - "quote", - "rust-embed-utils", - "syn 2.0.48", - "walkdir", -] - -[[package]] -name = "rust-embed-utils" -version = "8.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cb0a25bfbb2d4b4402179c2cf030387d9990857ce08a32592c6238db9fa8665" -dependencies = [ - "sha2", - "walkdir", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.37.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" -dependencies = [ - "bitflags 1.3.2", - "errno 0.3.8", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" -dependencies = [ - "bitflags 2.4.1", - "errno 0.3.8", - "libc", - "linux-raw-sys 0.4.12", - "windows-sys 0.52.0", -] - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "self_cell" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14e4d63b804dc0c7ec4a1e52bcb63f02c7ac94476755aa579edac21e01f915d" -dependencies = [ - "self_cell 1.0.3", -] - -[[package]] -name = "self_cell" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba" - -[[package]] -name = "semver" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" - -[[package]] -name = "serde" -version = "1.0.194" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.194" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "serde_spanned" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" -dependencies = [ - "serde", -] - -[[package]] -name = "sha-1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", - "sha1-asm", -] - -[[package]] -name = "sha1-asm" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ba6947745e7f86be3b8af00b7355857085dbdf8901393c89514510eb61f4e21" -dependencies = [ - "cc", -] - -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "shlex" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "1.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" - -[[package]] -name = "smart-default" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eb01866308440fc64d6c44d9e86c5cc17adfe33c4d6eed55da9145044d0ffc1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "srmw" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f554d8c36d9555945af2065c967bce4e307484f436045ab7d6463075cb757ac2" -dependencies = [ - "async-std", - "futures", - "genawaiter", - "slab", - "thiserror", -] - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.48" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sys-mount" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65a290d26aaf4d91fc55cf2afde5079c14e5e4ebffebe8f847234b0dc0df8742" -dependencies = [ - "bitflags 2.4.1", - "libc", - "loopdev-erikh", - "smart-default", - "thiserror", - "tracing", -] - -[[package]] -name = "system-deps" -version = "6.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2d580ff6a20c55dfb86be5f9c238f67835d0e81cbdea8bf5680e0897320331" -dependencies = [ - "cfg-expr", - "heck", - "pkg-config", - "toml 0.8.8", - "version-compare", -] - -[[package]] -name = "target-lexicon" -version = "0.12.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" - -[[package]] -name = "thiserror" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "time" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" -dependencies = [ - "deranged", - "powerfmt", - "serde", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "tinystr" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c02bf3c538ab32ba913408224323915f4ef9a6d61c0e85d493f355921c0ece" -dependencies = [ - "displaydoc", -] - -[[package]] -name = "tokio" -version = "1.35.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" -dependencies = [ - "backtrace", - "pin-project-lite", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - -[[package]] -name = "toml" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.21.0", -] - -[[package]] -name = "toml_datetime" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.19.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" -dependencies = [ - "indexmap", - "toml_datetime", - "winnow", -] - -[[package]] -name = "toml_edit" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" -dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", -] - -[[package]] -name = "type-map" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6d3364c5e96cb2ad1603037ab253ddd34d7fb72a58bdddf4b7350760fc69a46" -dependencies = [ - "rustc-hash", -] - -[[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - -[[package]] -name = "unic-langid" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "238722e6d794ed130f91f4ea33e01fcff4f188d92337a21297892521c72df516" -dependencies = [ - "unic-langid-impl", -] - -[[package]] -name = "unic-langid-impl" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd55a2063fdea4ef1f8633243a7b0524cbeef1905ae04c31a1c9b9775c55bc6" -dependencies = [ - "serde", - "tinystr", -] - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "usb-disk-probe" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf22ef5fa3663ec0ceaa44d9b36c9c1336f5639ed18d72a617cdcbaaad18a276" -dependencies = [ - "futures", - "thiserror", - "tokio", -] - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "value-bag" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ce5bb364b23e66b528d03168df78b38c0f7b6fe17386928f29d5ab2e7cb2f7" - -[[package]] -name = "version-compare" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "waker-fn" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" - -[[package]] -name = "walkdir" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasm-bindgen" -version = "0.2.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" -dependencies = [ - "cfg-if", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.39" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" -dependencies = [ - "cfg-if", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.48", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" - -[[package]] -name = "web-sys" -version = "0.3.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" -dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" - -[[package]] -name = "winnow" -version = "0.5.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8434aeec7b290e8da5c3f0d628cb0eac6cabcb31d14bb74f779a08109a5914d6" -dependencies = [ - "memchr", -] diff --git a/pkgs/tools/misc/popsicle/default.nix b/pkgs/tools/misc/popsicle/default.nix deleted file mode 100644 index 2a62a0aa922d..000000000000 --- a/pkgs/tools/misc/popsicle/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, cargo -, glib -, pkg-config -, rustc -, wrapGAppsHook3 -, gdk-pixbuf -, gtk3 -}: - -stdenv.mkDerivation rec { - pname = "popsicle"; - version = "1.3.3"; - - src = fetchFromGitHub { - owner = "pop-os"; - repo = "popsicle"; - rev = version; - hash = "sha256-sWQNav7odvX+peDglLHd7Jrmvhm5ddFBLBla0WK7wcE="; - }; - - cargoDeps = rustPlatform.importCargoLock { - lockFile = ./Cargo.lock; - outputHashes = { - "dbus-udisks2-0.3.0" = "sha256-VtwUUXVPyqvcOtphBH42CkRmW5jI+br9oDJ9wY40hsE="; - "iso9660-0.1.1" = "sha256-CXgvQvNbUWuNDpw92djkK1PZ2GbGj5KSNzkjAsNEDrU="; - "pbr-1.1.1" = "sha256-KfzPhDiFj6jm1GASXnSoppkHrzoHst7v7cSNTDC/2FM="; - }; - }; - - nativeBuildInputs = [ - cargo - glib - pkg-config - rustPlatform.bindgenHook - rustPlatform.cargoSetupHook - rustc - wrapGAppsHook3 - ]; - - buildInputs = [ - gdk-pixbuf - gtk3 - ]; - - makeFlags = [ - "prefix=$(out)" - ]; - - meta = with lib; { - description = "Multiple USB File Flasher"; - homepage = "https://github.com/pop-os/popsicle"; - changelog = "https://github.com/pop-os/popsicle/releases/tag/${version}"; - maintainers = with maintainers; [ _13r0ck figsoda ]; - license = licenses.mit; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/portal/default.nix b/pkgs/tools/misc/portal/default.nix deleted file mode 100644 index 221526b7f342..000000000000 --- a/pkgs/tools/misc/portal/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "portal"; - version = "1.2.3"; - - src = fetchFromGitHub { - owner = "SpatiumPortae"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-hGB82a2WirUL1Tph6EuoITOQGYA0Lo4zOeKPC46B5Qk="; - }; - - vendorHash = "sha256-SbNFi5DE3zhTUw0rsX6n+dpYcdDsaDh+zVUrfxgo/4g="; - subPackages = [ "cmd/portal/" ]; - - ldflags = [ "-s -X main.version=${version}" ]; # from: https://github.com/SpatiumPortae/portal/blob/master/Makefile#L3 - - meta = with lib; { - description = "Quick and easy command-line file transfer utility from any computer to another"; - homepage = "https://github.com/SpatiumPortae/portal"; - changelog = "https://github.com/SpatiumPortae/portal/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ tennox ]; - mainProgram = "portal"; - }; -} diff --git a/pkgs/tools/misc/pouf/default.nix b/pkgs/tools/misc/pouf/default.nix deleted file mode 100644 index 0754ca0c09f1..000000000000 --- a/pkgs/tools/misc/pouf/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "pouf"; - version = "0.6.3"; - - src = fetchFromGitHub { - owner = "mothsart"; - repo = pname; - rev = version; - hash = "sha256-tW86b9a7u1jyfmHjwjs+5DaUujRZH+VhGQsj0CBj0yk="; - }; - - cargoHash = "sha256-rVJAaeg27SdM8cTx12rKLIGEYtXUhLHXUYpT78oVNlo="; - - postInstall = "make PREFIX=$out copy-data"; - - meta = with lib; { - description = "CLI program for produce fake datas"; - homepage = "https://github.com/mothsart/pouf"; - changelog = "https://github.com/mothsart/pouf/releases/tag/${version}"; - maintainers = with maintainers; [ mothsart ]; - license = with licenses; [ mit ]; - mainProgram = "pouf"; - }; -} diff --git a/pkgs/tools/misc/poweralertd/default.nix b/pkgs/tools/misc/poweralertd/default.nix deleted file mode 100644 index c61f5af1b41d..000000000000 --- a/pkgs/tools/misc/poweralertd/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib, stdenv, fetchFromSourcehut, meson, ninja, pkg-config, scdoc, systemd }: - -stdenv.mkDerivation rec { - pname = "poweralertd"; - version = "0.3.0"; - - outputs = [ "out" "man" ]; - - src = fetchFromSourcehut { - owner = "~kennylevinsen"; - repo = "poweralertd"; - rev = version; - hash = "sha256-WzqThv3Vu8R+g6Bn8EfesRk18rchCvw/UMPwbn9YC80="; - }; - - postPatch = '' - substituteInPlace meson.build --replace-fail "systemd.get_pkgconfig_variable('systemduserunitdir')" "'${placeholder "out"}/lib/systemd/user'" - ''; - - buildInputs = [ - systemd - ]; - - nativeBuildInputs = [ - meson - ninja - pkg-config - ]; - - depsBuildBuild = [ - scdoc - pkg-config - ]; - - meta = with lib; { - description = "UPower-powered power alerter"; - homepage = "https://git.sr.ht/~kennylevinsen/poweralertd"; - license = licenses.gpl3Only; - platforms = platforms.linux; - maintainers = with maintainers; [ thibautmarty ]; - mainProgram = "poweralertd"; - }; -} diff --git a/pkgs/tools/misc/powerline-go/default.nix b/pkgs/tools/misc/powerline-go/default.nix deleted file mode 100644 index 2fe2ee034e3c..000000000000 --- a/pkgs/tools/misc/powerline-go/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "powerline-go"; - version = "1.24"; - - src = fetchFromGitHub { - owner = "justjanne"; - repo = pname; - rev = "v${version}"; - hash = "sha256-3IeyxAc+FRcVsL9AiVr6Jku5f5y3MTT9SXwVQW9MkNo="; - }; - - vendorHash = "sha256-W7Lf9s689oJy4U5sQlkLt3INJwtvzU2pot3EFimp7Jw="; - - meta = with lib; { - description = "Powerline like prompt for Bash, ZSH and Fish"; - homepage = "https://github.com/justjanne/powerline-go"; - changelog = "https://github.com/justjanne/powerline-go/releases/tag/v${version}"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ sifmelcara ]; - mainProgram = "powerline-go"; - }; -} diff --git a/pkgs/tools/misc/powerline-rs/default.nix b/pkgs/tools/misc/powerline-rs/default.nix index 53077c58848a..77506e95ba0a 100644 --- a/pkgs/tools/misc/powerline-rs/default.nix +++ b/pkgs/tools/misc/powerline-rs/default.nix @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-NAhLTrTshCm1QKGaOdD/YaqD6c3oYZwVBst8fvTlScQ="; nativeBuildInputs = [ pkg-config file perl cmake curl ]; - buildInputs = [ openssl libssh2 libgit2 libzip ] ++ lib.optional stdenv.isDarwin Security; + buildInputs = [ openssl libssh2 libgit2 libzip ] ++ lib.optional stdenv.hostPlatform.isDarwin Security; COMPLETION_OUT = "out"; postInstall = '' diff --git a/pkgs/tools/misc/pre-commit-hook-ensure-sops/default.nix b/pkgs/tools/misc/pre-commit-hook-ensure-sops/default.nix deleted file mode 100644 index 3b0fcacd4892..000000000000 --- a/pkgs/tools/misc/pre-commit-hook-ensure-sops/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -, fetchpatch -}: - -python3Packages.buildPythonApplication rec { - pname = "pre-commit-hook-ensure-sops"; - version = "1.1"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "yuvipanda"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-8sMmHNzmYwOmHYSWoZ4rKb/2lKziFmT6ux+s+chd/Do="; - }; - - patches = [ - # Add the command-line entrypoint to pyproject.toml - # Can be removed after v1.2 release that includes changes - (fetchpatch { - url = - "https://github.com/yuvipanda/pre-commit-hook-ensure-sops/commit/ed88126afa253df6009af7cbe5aa2369f963be1c.patch"; - hash = "sha256-mMxAoC3WEciO799Rq8gZ2PJ6FT/GbeSpxlr1EPj7r4s="; - }) - ]; - - propagatedBuildInputs = [ - python3Packages.ruamel-yaml - ]; - - pythonImportsCheck = [ - "pre_commit_hook_ensure_sops" - ]; - - # Test entrypoint - checkPhase = '' - runHook preCheck - $out/bin/pre-commit-hook-ensure-sops --help - runHook postCheck - ''; - - meta = with lib; { - description = "pre-commit hook to ensure that files that should be encrypted with sops are"; - homepage = "https://github.com/yuvipanda/pre-commit-hook-ensure-sops"; - maintainers = with maintainers; [ nialov ]; - license = licenses.bsd3; - mainProgram = "pre-commit-hook-ensure-sops"; - }; -} diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix deleted file mode 100644 index 0afa9180a47d..000000000000 --- a/pkgs/tools/misc/pre-commit/default.nix +++ /dev/null @@ -1,192 +0,0 @@ -{ lib -, fetchFromGitHub -, python3Packages -, libiconv -, cargo -, coursier -, dotnet-sdk -, git -, glibcLocales -, go -, nodejs -, perl -, cabal-install -, testers -, pre-commit -}: - -with python3Packages; -buildPythonApplication rec { - pname = "pre-commit"; - version = "3.7.1"; - format = "setuptools"; - - disabled = pythonOlder "3.9"; - - src = fetchFromGitHub { - owner = "pre-commit"; - repo = "pre-commit"; - rev = "refs/tags/v${version}"; - hash = "sha256-+9NNXM4i6saxktF1pl93dmkrqjsErqMB6kEK3IPQTNQ="; - }; - - patches = [ - ./languages-use-the-hardcoded-path-to-python-binaries.patch - ./hook-tmpl.patch - ./pygrep-pythonpath.patch - ]; - - propagatedBuildInputs = [ - cfgv - identify - nodeenv - pyyaml - toml - virtualenv - ]; - - nativeCheckInputs = [ - cargo - coursier - dotnet-sdk - git - glibcLocales - go - libiconv # For rust tests on Darwin - nodejs - perl - pytest-env - pytest-forked - pytest-xdist - pytestCheckHook - re-assert - cabal-install - ]; - - # i686-linux: dotnet-sdk not available - doCheck = stdenv.buildPlatform.system != "i686-linux"; - - postPatch = '' - substituteInPlace pre_commit/resources/hook-tmpl \ - --subst-var-by pre-commit $out - substituteInPlace pre_commit/languages/python.py \ - --subst-var-by virtualenv ${virtualenv} - substituteInPlace pre_commit/languages/node.py \ - --subst-var-by nodeenv ${nodeenv} - - patchShebangs pre_commit/resources/hook-tmpl - ''; - - pytestFlagsArray = [ - "--forked" - ]; - - preCheck = lib.optionalString (!(stdenv.isLinux && stdenv.isAarch64)) '' - # Disable outline atomics for rust tests on aarch64-linux. - export RUSTFLAGS="-Ctarget-feature=-outline-atomics" - '' + '' - export GIT_AUTHOR_NAME=test GIT_COMMITTER_NAME=test \ - GIT_AUTHOR_EMAIL=test@example.com GIT_COMMITTER_EMAIL=test@example.com \ - VIRTUALENV_NO_DOWNLOAD=1 PRE_COMMIT_NO_CONCURRENCY=1 LANG=en_US.UTF-8 - - # Resolve `.NET location: Not found` errors for dotnet tests - export DOTNET_ROOT="${dotnet-sdk}" - - export HOME=$(mktemp -d) - - git init -b master - - python -m venv --system-site-packages venv - source "$PWD/venv/bin/activate" - ''; - - postCheck = '' - deactivate - ''; - - # Propagating dependencies leaks them through $PYTHONPATH which causes issues - # when used in nix-shell. - postFixup = '' - rm $out/nix-support/propagated-build-inputs - ''; - - disabledTests = [ - # ERROR: The install method you used for conda--probably either `pip install conda` - # or `easy_install conda`--is not compatible with using conda as an application. - "test_conda_" - "test_local_conda_" - - # /build/pytest-of-nixbld/pytest-0/test_install_ruby_with_version0/rbenv-2.7.2/libexec/rbenv-init: - # /usr/bin/env: bad interpreter: No such file or directory - "test_ruby_" - - # network - "test_additional_dependencies_roll_forward" - "test_additional_golang_dependencies_installed" - "test_additional_node_dependencies_installed" - "test_additional_rust_cli_dependencies_installed" - "test_additional_rust_lib_dependencies_installed" - "test_coursier_hook" - "test_coursier_hook_additional_dependencies" - "test_dart" - "test_dart_additional_deps" - "test_dart_additional_deps_versioned" - "test_during_commit_all" - "test_golang_default_version" - "test_golang_hook" - "test_golang_hook_still_works_when_gobin_is_set" - "test_golang_infer_go_version_default" - "test_golang_system" - "test_golang_versioned" - "test_language_version_with_rustup" - "test_installs_rust_missing_rustup" - "test_installs_without_links_outside_env" - "test_local_golang_additional_deps" - "test_lua" - "test_lua_additional_dependencies" - "test_node_additional_deps" - "test_node_hook_versions" - "test_perl_additional_dependencies" - "test_r_hook" - "test_r_inline" - "test_r_inline_hook" - "test_r_local_with_additional_dependencies_hook" - "test_r_with_additional_dependencies_hook" - "test_run_a_node_hook_default_version" - "test_run_lib_additional_dependencies" - "test_run_versioned_node_hook" - "test_rust_cli_additional_dependencies" - "test_swift_language" - "test_run_example_executable" - "test_run_dep" - - # i don't know why these fail - "test_install_existing_hooks_no_overwrite" - "test_installed_from_venv" - "test_uninstall_restores_legacy_hooks" - "test_dotnet_" - - # Expects `git commit` to fail when `pre-commit` is not in the `$PATH`, - # but we use an absolute path so it's not an issue. - "test_environment_not_sourced" - - # Docker required - "test_docker_" - ]; - - pythonImportsCheck = [ - "pre_commit" - ]; - - passthru.tests.version = testers.testVersion { - package = pre-commit; - }; - - meta = with lib; { - description = "Framework for managing and maintaining multi-language pre-commit hooks"; - homepage = "https://pre-commit.com/"; - license = licenses.mit; - maintainers = with maintainers; [ borisbabic ]; - mainProgram = "pre-commit"; - }; -} diff --git a/pkgs/tools/misc/pre-commit/hook-tmpl.patch b/pkgs/tools/misc/pre-commit/hook-tmpl.patch deleted file mode 100644 index 56aa59ef4832..000000000000 --- a/pkgs/tools/misc/pre-commit/hook-tmpl.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/pre_commit/resources/hook-tmpl b/pre_commit/resources/hook-tmpl -index 53d29f9..9b5dc2c 100755 ---- a/pre_commit/resources/hook-tmpl -+++ b/pre_commit/resources/hook-tmpl -@@ -10,11 +10,4 @@ ARGS=(hook-impl) - HERE="$(cd "$(dirname "$0")" && pwd)" - ARGS+=(--hook-dir "$HERE" -- "$@") - --if [ -x "$INSTALL_PYTHON" ]; then -- exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}" --elif command -v pre-commit > /dev/null; then -- exec pre-commit "${ARGS[@]}" --else -- echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2 -- exit 1 --fi -+exec @pre-commit@/bin/pre-commit "${ARGS[@]}" diff --git a/pkgs/tools/misc/pre-commit/languages-use-the-hardcoded-path-to-python-binaries.patch b/pkgs/tools/misc/pre-commit/languages-use-the-hardcoded-path-to-python-binaries.patch deleted file mode 100644 index c3469c95b268..000000000000 --- a/pkgs/tools/misc/pre-commit/languages-use-the-hardcoded-path-to-python-binaries.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/pre_commit/languages/node.py b/pre_commit/languages/node.py -index 66d6136..e3f1bac 100644 ---- a/pre_commit/languages/node.py -+++ b/pre_commit/languages/node.py -@@ -83,7 +83,7 @@ def install_environment( - # https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx?f=255&MSPPError=-2147217396#maxpath - if sys.platform == 'win32': # pragma: no cover - envdir = fr'\\?\{os.path.normpath(envdir)}' -- cmd = [sys.executable, '-mnodeenv', '--prebuilt', '--clean-src', envdir] -+ cmd = ['@nodeenv@/bin/nodeenv', '--prebuilt', '--clean-src', envdir] - if version != C.DEFAULT: - cmd.extend(['-n', version]) - cmd_output_b(*cmd) -diff --git a/pre_commit/languages/python.py b/pre_commit/languages/python.py -index 976674e..485fe2d 100644 ---- a/pre_commit/languages/python.py -+++ b/pre_commit/languages/python.py -@@ -203,7 +203,7 @@ def install_environment( - additional_dependencies: Sequence[str], - ) -> None: - envdir = lang_base.environment_dir(prefix, ENVIRONMENT_DIR, version) -- venv_cmd = [sys.executable, '-mvirtualenv', envdir] -+ venv_cmd = ['@virtualenv@/bin/virtualenv', envdir] - python = norm_version(version) - if python is not None: - venv_cmd.extend(('-p', python)) diff --git a/pkgs/tools/misc/pre-commit/pygrep-pythonpath.patch b/pkgs/tools/misc/pre-commit/pygrep-pythonpath.patch deleted file mode 100644 index 722b436169be..000000000000 --- a/pkgs/tools/misc/pre-commit/pygrep-pythonpath.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/pre_commit/languages/pygrep.py b/pre_commit/languages/pygrep.py -index ec55560..44e08a1 100644 ---- a/pre_commit/languages/pygrep.py -+++ b/pre_commit/languages/pygrep.py -@@ -98,7 +98,7 @@ def run_hook( - color: bool, - ) -> tuple[int, bytes]: - cmd = (sys.executable, '-m', __name__, *args, entry) -- return xargs(cmd, file_args, color=color) -+ return xargs(cmd, file_args, color=color, env={ "PYTHONPATH": ':'.join(sys.path) }) - - - def main(argv: Sequence[str] | None = None) -> int: diff --git a/pkgs/tools/misc/precice-config-visualizer/default.nix b/pkgs/tools/misc/precice-config-visualizer/default.nix deleted file mode 100644 index 743d107ee534..000000000000 --- a/pkgs/tools/misc/precice-config-visualizer/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -}: - -python3Packages.buildPythonApplication rec { - pname = "config-visualizer"; - version = "unstable-2022-02-23"; - - src = fetchFromGitHub { - owner = "precice"; - repo = pname; - rev = "60f2165f25352c8261f370dc4ceb64a8b422d4ec"; - hash = "sha256-2dnpkec9hN4oAqwu+1WmDJrfeu+JbfqZ6guv3bC4H1c="; - }; - - propagatedBuildInputs = with python3Packages; [ lxml pydot ]; - - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/precice/config-visualizer"; - description = "Small python tool for visualizing the preCICE xml configuration"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ Scriptkiddi ]; - mainProgram = "precice-config-visualizer"; - }; -} diff --git a/pkgs/tools/misc/present-cli/default.nix b/pkgs/tools/misc/present-cli/default.nix deleted file mode 100644 index 0f425accb699..000000000000 --- a/pkgs/tools/misc/present-cli/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -}: - -rustPlatform.buildRustPackage rec { - pname = "present"; - version = "0.2.2"; - - src = fetchFromGitHub { - owner = "terror"; - repo = pname; - rev = version; - sha256 = "+kCHe84ikdCLd7j5YwP2j3xz+XTzzo/kLy+b9YUFDnI="; - }; - - cargoHash = "sha256-VKY/FQUrFWtLxKoK6LP6qPMqNN4absZvnAbH9mha1fI="; - - # required for tests - postPatch = '' - patchShebangs bin/get_version - ''; - - doCheck = true; - - meta = with lib; { - description = "Script interpolation engine for markdown documents"; - homepage = "https://github.com/terror/present/"; - license = licenses.cc0; - maintainers = with maintainers; [ cameronfyfe ]; - mainProgram = "present"; - }; -} diff --git a/pkgs/tools/misc/pridecat/default.nix b/pkgs/tools/misc/pridecat/default.nix deleted file mode 100644 index 4d4ed57fc235..000000000000 --- a/pkgs/tools/misc/pridecat/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation { - pname = "pridecat"; - version = "unstable-2020-06-19"; - - src = fetchFromGitHub { - owner = "lunasorcery"; - repo = "pridecat"; - rev = "92396b11459e7a4b5e8ff511e99d18d7a1589c96"; - sha256 = "sha256-PyGLbbsh9lFXhzB1Xn8VQ9zilivycGFEIc7i8KXOxj8="; - }; - - # fixes the install path in the Makefile - patches = [ ./fix_install.patch ]; - - meta = with lib; { - description = "Like cat, but more colorful"; - homepage = "https://github.com/lunasorcery/pridecat"; - license = licenses.cc-by-nc-sa-40; - maintainers = with maintainers; [ lunarequest ]; - mainProgram = "pridecat"; - }; -} diff --git a/pkgs/tools/misc/pridecat/fix_install.patch b/pkgs/tools/misc/pridecat/fix_install.patch deleted file mode 100644 index 3d05721ccab8..000000000000 --- a/pkgs/tools/misc/pridecat/fix_install.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/Makefile b/Makefile -index 815c27e..1556807 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,4 +1,5 @@ - CXX ?= clang -+out ?= /usr/local - - all: pridecat - -@@ -6,7 +7,8 @@ pridecat: main.cpp - $(CXX) main.cpp -o pridecat -std=c++11 -lstdc++ -Wall -Wextra -O3 - - install: pridecat -- cp pridecat /usr/local/bin/pridecat -+ mkdir -p ${out}/bin -+ cp pridecat ${out}/bin/pridecat - - uninstall: - rm -f /usr/local/bin/pridecat diff --git a/pkgs/tools/misc/pridefetch/default.nix b/pkgs/tools/misc/pridefetch/default.nix deleted file mode 100644 index dedd3b336d78..000000000000 --- a/pkgs/tools/misc/pridefetch/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -, stdenv -, strip-nondeterminism -, zip -}: - -let - version = "1.1.0"; - sha256 = "sha256-563xOz63vto19yuaHtReV1dSw6BgNf+CLtS3lrPnaoc="; - - pname = "pridefetch"; - src = fetchFromGitHub { - owner = "SpyHoodle"; - repo = pname; - rev = "v" + version; - inherit sha256; - }; -in - -stdenv.mkDerivation { - inherit pname version src; - - nativeBuildInputs = [ - strip-nondeterminism - zip - ]; - - buildInputs = [ - (python3.withPackages (pythonPackages: with pythonPackages; [ - distro - ])) - ]; - - buildPhase = '' - runHook preBuild - pushd src - zip -r ../pridefetch.zip ./* - strip-nondeterminism ../pridefetch.zip - popd - echo '#!/usr/bin/env python' | cat - pridefetch.zip > pridefetch - rm pridefetch.zip - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/bin - mv pridefetch $out/bin/pridefetch - chmod +x $out/bin/pridefetch - runHook postInstall - ''; - - meta = with lib; { - description = "Print out system statistics with pride flags"; - longDescription = '' - Pridefetch prints your system statistics (similarly to neofetch, screenfetch or pfetch) along with a pride flag. - The flag which is printed is configurable, as well as the width of the output. - ''; - homepage = "https://github.com/SpyHoodle/pridefetch"; - license = licenses.mit; - maintainers = [ - maintainers.minion3665 - ]; - platforms = platforms.all; - mainProgram = "pridefetch"; - }; -} diff --git a/pkgs/tools/misc/procyon/default.nix b/pkgs/tools/misc/procyon/default.nix deleted file mode 100644 index 984459f2a4f6..000000000000 --- a/pkgs/tools/misc/procyon/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, runtimeShell, jre_headless }: - -stdenv.mkDerivation rec { - pname = "procyon"; - version = "0.6.0"; - - src = fetchurl { - url = "https://github.com/mstrobel/procyon/releases/download/v${version}/procyon-decompiler-${version}.jar"; - sha256 = "sha256-gh2pYBL8aSRPoeopjJBFXuTgIUNLx5bTuVRqskYBt3k="; - }; - - dontUnpack = true; - - installPhase = '' - mkdir -p $out/bin $out/share/procyon - cp $src $out/share/procyon/procyon-decompiler.jar - - cat << EOF > $out/bin/procyon - #!${runtimeShell} - exec ${jre_headless}/bin/java -jar $out/share/procyon/procyon-decompiler.jar "\$@" - EOF - chmod +x $out/bin/procyon - ''; - - meta = with lib; { - description = "Procyon is a suite of Java metaprogramming tools including a Java decompiler"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - homepage = "https://github.com/mstrobel/procyon/"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "procyon"; - }; -} diff --git a/pkgs/tools/misc/profetch/default.nix b/pkgs/tools/misc/profetch/default.nix deleted file mode 100644 index fc5f3cea4a0f..000000000000 --- a/pkgs/tools/misc/profetch/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, gprolog }: - -stdenv.mkDerivation rec { - pname = "profetch"; - version = "0.1.7"; - - src = fetchFromGitHub { - owner = "RustemB"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-JsjpPUXMN0jytRS4yzSjrseqHiEQ+YinklG+tIIy+Zo="; - }; - - nativeBuildInputs = [ gprolog ]; - - buildPhase = '' - runHook preBuild - gplc profetch.pl --no-top-level --no-debugger \ - --no-fd-lib --no-fd-lib-warn \ - --min-size -o profetch - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - install -Dm755 -t $out/bin profetch - runHook postInstall - ''; - - meta = with lib; { - description = "System Information Fetcher Written in GNU/Prolog"; - homepage = "https://github.com/RustemB/profetch"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = [ maintainers.vel ]; - mainProgram = "profetch"; - }; -} diff --git a/pkgs/tools/misc/profile-cleaner/default.nix b/pkgs/tools/misc/profile-cleaner/default.nix deleted file mode 100644 index 8e5d8325d059..000000000000 --- a/pkgs/tools/misc/profile-cleaner/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, parallel, sqlite, bc, file }: - -stdenv.mkDerivation rec { - version = "2.45"; - pname = "profile-cleaner"; - - src = fetchFromGitHub { - owner = "graysky2"; - repo = "profile-cleaner"; - rev = "v${version}"; - sha256 = "sha256-10e1S+li7SXKJX2lETSdx84GavWqQYQqyLoBIVToTBI="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - PREFIX=\"\" DESTDIR=$out make install - wrapProgram $out/bin/profile-cleaner \ - --prefix PATH : "${lib.makeBinPath [ parallel sqlite bc file ]}" - ''; - - meta = { - description = "Reduces browser profile sizes by cleaning their sqlite databases"; - longDescription = '' - Use profile-cleaner to reduce the size of browser profiles by organizing - their sqlite databases using sqlite3's vacuum and reindex functions. The - term "browser" is used loosely since profile-cleaner happily works on - some email clients and newsreaders too. - ''; - homepage = "https://github.com/graysky2/profile-cleaner"; - license = lib.licenses.mit; - platforms = lib.platforms.all; - maintainers = [ lib.maintainers.devhell ]; - mainProgram = "profile-cleaner"; - }; -} diff --git a/pkgs/tools/misc/profile-sync-daemon/default.nix b/pkgs/tools/misc/profile-sync-daemon/default.nix deleted file mode 100644 index 20b6c1aed366..000000000000 --- a/pkgs/tools/misc/profile-sync-daemon/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, util-linux, coreutils }: - -stdenv.mkDerivation rec { - pname = "profile-sync-daemon"; - version = "6.50"; - - src = fetchFromGitHub { - owner = "graysky2"; - repo = "profile-sync-daemon"; - rev = "v${version}"; - hash = "sha256-Wb9YLxuu9i9s/Y6trz5NZDU9WRywe3138cp5Q2gWbxM="; - }; - - installPhase = '' - PREFIX=\"\" DESTDIR=$out make install - substituteInPlace $out/bin/profile-sync-daemon \ - --replace "/usr/" "$out/" \ - --replace "sudo " "/run/wrappers/bin/sudo " - # $HOME detection fails (and is unnecessary) - sed -i '/^HOME/d' $out/bin/profile-sync-daemon - substituteInPlace $out/bin/psd-overlay-helper \ - --replace "PATH=/usr/bin:/bin" "PATH=${util-linux.bin}/bin:${coreutils}/bin" \ - --replace "sudo " "/run/wrappers/bin/sudo " - ''; - - meta = with lib; { - description = "Syncs browser profile dirs to RAM"; - longDescription = '' - Profile-sync-daemon (psd) is a tiny pseudo-daemon designed to manage your - browser's profile in tmpfs and to periodically sync it back to your - physical disc (HDD/SSD). This is accomplished via a symlinking step and - an innovative use of rsync to maintain back-up and synchronization - between the two. One of the major design goals of psd is a completely - transparent user experience. - ''; - homepage = "https://github.com/graysky2/profile-sync-daemon"; - downloadPage = "https://github.com/graysky2/profile-sync-daemon/releases"; - license = licenses.mit; - maintainers = [ maintainers.prikhi ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/progress/default.nix b/pkgs/tools/misc/progress/default.nix deleted file mode 100644 index 063d4d122acb..000000000000 --- a/pkgs/tools/misc/progress/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, ncurses, which }: - -stdenv.mkDerivation rec { - pname = "progress"; - version = "0.17"; - - src = fetchFromGitHub { - owner = "Xfennec"; - repo = "progress"; - rev = "v${version}"; - sha256 = "sha256-riewkageSZIlwDNMjYep9Pb2q1GJ+WMXazokJGbb4bE="; - }; - - nativeBuildInputs = [ pkg-config which ]; - buildInputs = [ ncurses ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - homepage = "https://github.com/Xfennec/progress"; - description = "Tool that shows the progress of coreutils programs"; - license = licenses.gpl3; - platforms = platforms.linux ++ platforms.darwin; - maintainers = with maintainers; [ pSub ]; - mainProgram = "progress"; - }; -} diff --git a/pkgs/tools/misc/proximity-sort/default.nix b/pkgs/tools/misc/proximity-sort/default.nix deleted file mode 100644 index 3b0f1ca5be3d..000000000000 --- a/pkgs/tools/misc/proximity-sort/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "proximity-sort"; - version = "1.3.0"; - - src = fetchFromGitHub { - owner = "jonhoo"; - repo = "proximity-sort"; - rev = "v${version}"; - hash = "sha256-MRLQvspv6kjirljhAkk1KT+hPA4hdjA1b7RL9eEyglQ="; - }; - - cargoHash = "sha256-0hP6qa8d5CaqtBHCWBJ8UjtVJc6Z0GmL8DvdTWDMM8g="; - - meta = with lib; { - description = "Simple command-line utility for sorting inputs by proximity to a path argument"; - homepage = "https://github.com/jonhoo/proximity-sort"; - license = with licenses; [ mit /* or */ asl20 ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "proximity-sort"; - }; -} diff --git a/pkgs/tools/misc/pspg/default.nix b/pkgs/tools/misc/pspg/default.nix deleted file mode 100644 index 1ceefdd82edf..000000000000 --- a/pkgs/tools/misc/pspg/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, gnugrep, ncurses, pkg-config, installShellFiles, readline, postgresql }: - -stdenv.mkDerivation rec { - pname = "pspg"; - version = "5.8.6"; - - src = fetchFromGitHub { - owner = "okbob"; - repo = pname; - rev = version; - sha256 = "sha256-UgJHsniDbfAcohnrYYUUJ4OhL2Fr65kGu26dsw9vYyM="; - }; - - nativeBuildInputs = [ pkg-config installShellFiles ]; - buildInputs = [ gnugrep ncurses readline postgresql ]; - - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - postInstall = '' - installManPage pspg.1 - installShellCompletion --bash --cmd pspg bash-completion.sh - ''; - - meta = with lib; { - homepage = "https://github.com/okbob/pspg"; - description = "Postgres Pager"; - license = licenses.bsd2; - platforms = platforms.unix; - maintainers = [ maintainers.jlesquembre ]; - mainProgram = "pspg"; - }; -} diff --git a/pkgs/tools/misc/psql2csv/default.nix b/pkgs/tools/misc/psql2csv/default.nix deleted file mode 100644 index 729582f2e404..000000000000 --- a/pkgs/tools/misc/psql2csv/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, coreutils -, gnused -, postgresql -, makeWrapper -}: - -stdenvNoCC.mkDerivation rec { - pname = "psql2csv"; - version = "0.12"; - - src = fetchFromGitHub { - owner = "fphilipe"; - repo = "psql2csv"; - rev = "v${version}"; - hash = "sha256-XIdZ2+Jlw2JLn4KXD9h3+xXymu4FhibAfp5uGGkVwLQ="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - install -Dm755 -t $out/bin psql2csv - wrapProgram $out/bin/psql2csv \ - --prefix PATH : ${lib.makeBinPath [ coreutils gnused postgresql ]} - - runHook postInstall - ''; - - meta = with lib; { - description = "Tool to run a PostreSQL query and output the result as CSV"; - homepage = "https://github.com/fphilipe/psql2csv"; - license = licenses.mit; - maintainers = with maintainers; [ azahi ]; - inherit (postgresql.meta) platforms; - mainProgram = "psql2csv"; - }; -} diff --git a/pkgs/tools/misc/psw/default.nix b/pkgs/tools/misc/psw/default.nix deleted file mode 100644 index bcf67bfa5f11..000000000000 --- a/pkgs/tools/misc/psw/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -}: - -rustPlatform.buildRustPackage rec { - pname = "psw"; - version = "0.2.1"; - - src = fetchFromGitHub { - owner = "Wulfsta"; - repo = pname; - rev = version; - sha256 = "sha256-Rf6vpVgenTzb42/aGqItuxUodl61eNyUPlry7rgLPbI="; - }; - - cargoHash = "sha256-+0eMhOteNK3QTnG0HB3/TYDFmPTztdQ0h3RKBTN0J/o="; - - meta = with lib; { - description = "Command line tool to write random bytes to stdout"; - homepage = "https://github.com/Wulfsta/psw"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ wulfsta ]; - }; -} diff --git a/pkgs/tools/misc/pubs/default.nix b/pkgs/tools/misc/pubs/default.nix deleted file mode 100644 index 1dcd011f0ace..000000000000 --- a/pkgs/tools/misc/pubs/default.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ lib -, fetchFromGitHub -, fetchpatch -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "pubs"; - version = "0.9.0"; - pyproject = true; - - src = fetchFromGitHub { - owner = "pubs"; - repo = "pubs"; - rev = "refs/tags/v${version}"; - hash = "sha256-U/9MLqfXrzYVGttFSafw4pYDy26WgdsJMCxciZzO1pw="; - }; - - patches = [ - # https://github.com/pubs/pubs/pull/278 - (fetchpatch { - url = "https://github.com/pubs/pubs/commit/9623d2c3ca8ff6d2bb7f6c8d8624f9a174d831bc.patch"; - hash = "sha256-6qoufKPv3k6C9BQTZ2/175Nk7zWPh89vG+zebx6ZFOk="; - }) - # https://github.com/pubs/pubs/pull/279 - (fetchpatch { - url = "https://github.com/pubs/pubs/commit/05e214eb406447196c77c8aa3e4658f70e505f23.patch"; - hash = "sha256-UBkKiYaG6y6z8lsRpdcsaGsoklv6qj07KWdfkQcVl2g="; - }) - ]; - - nativeBuildInputs = with python3.pkgs; [ - setuptools - ]; - - propagatedBuildInputs = with python3.pkgs; [ - argcomplete - beautifulsoup4 - bibtexparser - configobj - feedparser - python-dateutil - pyyaml - requests - six - ]; - - nativeCheckInputs = with python3.pkgs; [ - ddt - mock - pyfakefs - pytestCheckHook - ]; - - disabledTestPaths = [ - # Disabling git tests because they expect git to be preconfigured - # with the user's details. See - # https://github.com/NixOS/nixpkgs/issues/94663 - "tests/test_git.py" - ]; - - disabledTests = [ - # https://github.com/pubs/pubs/issues/276 - "test_readme" - # AssertionError: Lists differ: ['Ini[112 chars]d to... - "test_add_non_standard" - ]; - - pythonImportsCheck = [ - "pubs" - ]; - - meta = with lib; { - description = "Command-line bibliography manager"; - mainProgram = "pubs"; - homepage = "https://github.com/pubs/pubs"; - changelog = "https://github.com/pubs/pubs/blob/v${version}/changelog.md"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ gebner dotlambda ]; - }; -} diff --git a/pkgs/tools/misc/q-text-as-data/default.nix b/pkgs/tools/misc/q-text-as-data/default.nix deleted file mode 100644 index 5a63752b8238..000000000000 --- a/pkgs/tools/misc/q-text-as-data/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages }: - -python3Packages.buildPythonApplication rec { - pname = "q-text-as-data"; - version = "2.0.19"; - - src = fetchFromGitHub { - owner = "harelba"; - repo = "q"; - rev = version; - sha256 = "18cwyfjgxxavclyd08bmb943c8bvzp1gnqp4klkq5xlgqwivr4sv"; - }; - - propagatedBuildInputs = with python3Packages; [ - setuptools - six - ]; - - doCheck = false; - - patchPhase = '' - # remove broken symlink - rm bin/qtextasdata.py - - # not considered good practice pinning in install_requires - substituteInPlace setup.py --replace 'six==' 'six>=' - ''; - - meta = with lib; { - description = "Run SQL directly on CSV or TSV files"; - longDescription = '' - q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files). - - q treats ordinary files as database tables, and supports all SQL constructs, such as WHERE, GROUP BY, JOINs etc. It supports automatic column name and column type detection, and provides full support for multiple encodings. - ''; - homepage = "http://harelba.github.io/q/"; - license = licenses.gpl3; - maintainers = [ maintainers.taneb ]; - platforms = platforms.all; - mainProgram = "q"; - }; -} diff --git a/pkgs/tools/misc/qdl/default.nix b/pkgs/tools/misc/qdl/default.nix deleted file mode 100644 index 24c62722c141..000000000000 --- a/pkgs/tools/misc/qdl/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, pkg-config -, libxml2 -, systemd -, libusb1 -, unstableGitUpdater -}: - -stdenv.mkDerivation { - pname = "qdl"; - version = "unstable-2024-06-10"; - - src = fetchFromGitHub { - owner = "linux-msm"; - repo = "qdl"; - rev = "cbd46184d33af597664e08aff2b9181ae2f87aa6"; - sha256 = "sha256-0PeOunYXY0nEEfGFGdguf5+GNN950GhPfMaD8h1ez/8="; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ systemd libxml2 libusb1 ]; - - installPhase = '' - runHook preInstall - install -Dm755 ./qdl -t $out/bin - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/linux-msm/qdl"; - description = "Tool for flashing images to Qualcomm devices"; - license = licenses.bsd3; - maintainers = with maintainers; [ muscaln anas ]; - platforms = platforms.linux; - mainProgram = "qdl"; - }; - - passthru.updateScript = unstableGitUpdater { }; -} diff --git a/pkgs/tools/misc/qflipper/default.nix b/pkgs/tools/misc/qflipper/default.nix index 7a344e9b0c43..5ad26ab739e7 100644 --- a/pkgs/tools/misc/qflipper/default.nix +++ b/pkgs/tools/misc/qflipper/default.nix @@ -62,7 +62,7 @@ mkDerivation { qtquickcontrols qtquickcontrols2 qtgraphicaleffects - ] ++ lib.optionals (stdenv.isLinux) [ + ] ++ lib.optionals (stdenv.hostPlatform.isLinux) [ qtwayland ]; @@ -83,7 +83,7 @@ mkDerivation { postInstall = '' mkdir -p $out/bin - ${lib.optionalString stdenv.isDarwin '' + ${lib.optionalString stdenv.hostPlatform.isDarwin '' cp qFlipper.app/Contents/MacOS/qFlipper $out/bin ''} cp qFlipper-cli $out/bin @@ -95,7 +95,7 @@ mkDerivation { passthru.updateScript = nix-update-script { }; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; description = "Cross-platform desktop tool to manage your flipper device"; homepage = "https://flipperzero.one/"; license = licenses.gpl3Only; diff --git a/pkgs/tools/misc/qmk/default.nix b/pkgs/tools/misc/qmk/default.nix deleted file mode 100644 index c550d7653887..000000000000 --- a/pkgs/tools/misc/qmk/default.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ lib -, python3 -, fetchPypi -, pkgsCross -, avrdude -, dfu-programmer -, dfu-util -, wb32-dfu-updater -, gcc-arm-embedded -, gnumake -, teensy-loader-cli -}: - -python3.pkgs.buildPythonApplication rec { - pname = "qmk"; - version = "1.1.5"; - format = "pyproject"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-Lv48dSIwxrokuHGcO26FpWRL+PfQ3SN3V+2pt7fmCxE="; - }; - - nativeBuildInputs = with python3.pkgs; [ - setuptools - ]; - - propagatedBuildInputs = with python3.pkgs; [ - dotty-dict - hid - hjson - jsonschema - milc - pygments - pyserial - pyusb - pillow - ] ++ [ # Binaries need to be in the path so this is in propagatedBuildInputs - avrdude - dfu-programmer - dfu-util - wb32-dfu-updater - teensy-loader-cli - gcc-arm-embedded - gnumake - pkgsCross.avr.buildPackages.binutils - pkgsCross.avr.buildPackages.binutils.bintools - pkgsCross.avr.buildPackages.gcc8 - pkgsCross.avr.libcCross - ]; - - # no tests implemented - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/qmk/qmk_cli"; - description = "Program to help users work with QMK Firmware"; - longDescription = '' - qmk_cli is a companion tool to QMK firmware. With it, you can: - - - Interact with your qmk_firmware tree from any location - - Use qmk clone to pull down anyone's qmk_firmware fork - - Setup and work with your build environment: - - qmk setup - - qmk doctor - - qmk compile - - qmk console - - qmk flash - - qmk lint - - ... and many more! - ''; - license = licenses.mit; - maintainers = with maintainers; [ bhipple ekleog ]; - mainProgram = "qmk"; - }; -} diff --git a/pkgs/tools/misc/qmk_hid/default.nix b/pkgs/tools/misc/qmk_hid/default.nix deleted file mode 100644 index f838f1b8ece4..000000000000 --- a/pkgs/tools/misc/qmk_hid/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, systemd -}: - -rustPlatform.buildRustPackage rec { - pname = "qmk_hid"; - version = "0.1.11"; - - src = fetchFromGitHub { - owner = "FrameworkComputer"; - repo = "qmk_hid"; - rev = "v${version}"; - hash = "sha256-k5cZcrjen7nNJM9mKQEwNTVfBPawXwbwNlCyTARdH/g="; - }; - - cargoHash = "sha256-GrerrNDoSFtOEAf0vB9MlkBl+yLnzd/szrpFsAmkB6s="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - systemd - ]; - - checkFlags = [ - # test doesn't compile - "--skip=src/lib.rs" - ]; - - meta = with lib; { - description = "Commandline tool for interactng with QMK devices over HID"; - homepage = "https://github.com/FrameworkComputer/qmk_hid"; - license = with licenses; [ bsd3 ]; - maintainers = [ ]; - mainProgram = "qmk_hid"; - }; -} diff --git a/pkgs/tools/misc/qrscan/default.nix b/pkgs/tools/misc/qrscan/default.nix deleted file mode 100644 index 1ad4c526e752..000000000000 --- a/pkgs/tools/misc/qrscan/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ clang_15, lib, rustPlatform, fetchFromGitHub, stdenv }: - -rustPlatform.buildRustPackage rec { - pname = "qrscan"; - version = "0.1.9"; - - src = fetchFromGitHub { - owner = "sayanarijit"; - repo = "qrscan"; - rev = "v${version}"; - hash = "sha256-nAUZUE7NppsCAV8UyR8+OkikT4nJtnamsSVeyNz21EQ="; - }; - - nativeBuildInputs = [ - (rustPlatform.bindgenHook.overrideAttrs { - libclang = clang_15.cc.lib; - }) - ]; - - cargoHash = "sha256-P40IwFRtEQp6BGRgmt1x3UXtAKtWaMjR3kqhYq+p7wQ="; - - checkFlags = [ - # requires filesystem write access - "--skip=tests::test_export_files" - "--skip=tests::test_scan_from_stdin" - "--skip=tests::test_scan_jpeg_file" - "--skip=tests::test_scan_no_content" - "--skip=tests::test_scan_png_file" - ]; - - meta = with lib; { - description = "Scan a QR code in the terminal using the system camera or a given image"; - mainProgram = "qrscan"; - homepage = "https://github.com/sayanarijit/qrscan"; - license = licenses.mit; - broken = stdenv.isDarwin; - maintainers = [ maintainers.sayanarijit ]; - }; -} diff --git a/pkgs/tools/misc/quich/default.nix b/pkgs/tools/misc/quich/default.nix deleted file mode 100644 index cc7131678a55..000000000000 --- a/pkgs/tools/misc/quich/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "quich"; - version = "4.0.0"; - - src = fetchFromGitHub { - owner = "Usbac"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-4gsSjLZ7Z4ErNqe86Fy5IrzLMfvDyY18sE0yBnj9bvM="; - }; - - doCheck = true; - - makeFlags = [ "DESTDIR=" "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ]; - - meta = with lib; { - description = "Advanced terminal calculator"; - longDescription = '' - Quich is a compact, fast, powerful and useful calculator for your terminal - with numerous features, supporting Windows and Linux Systems, - written in ANSI C. - ''; - homepage = "https://github.com/Usbac/quich"; - license = licenses.mit; - maintainers = [ maintainers.xdhampus ]; - platforms = platforms.all; - mainProgram = "quich"; - }; -} diff --git a/pkgs/tools/misc/r3ctl/default.nix b/pkgs/tools/misc/r3ctl/default.nix index bc0c7837e2a9..df2665dfcf7b 100644 --- a/pkgs/tools/misc/r3ctl/default.nix +++ b/pkgs/tools/misc/r3ctl/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , qt5 , qtbase , qttools @@ -7,7 +8,7 @@ , fetchFromGitHub }: -qt5.mkDerivation { +stdenv.mkDerivation { pname = "r3ctl"; version = "a82cb5b3123224e706835407f21acea9dc7ab0f0"; diff --git a/pkgs/tools/misc/ramfetch/default.nix b/pkgs/tools/misc/ramfetch/default.nix deleted file mode 100644 index c8055f99fe44..000000000000 --- a/pkgs/tools/misc/ramfetch/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, stdenv -, fetchgit -}: - -stdenv.mkDerivation rec { - name = "ramfetch"; - version = "1.1.0a"; - - src = fetchgit { - url = "https://codeberg.org/jahway603/ramfetch.git"; - rev = version; - hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag="; - }; - - dontBuild = true; - - installPhase = '' - runHook preInstall - - install -D ramfetch $out/bin/ramfetch - - runHook postInstall - ''; - - meta = { - description = "Tool which displays memory information"; - homepage = "https://codeberg.org/jahway603/ramfetch"; - platforms = lib.platforms.linux; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.markbeep ]; - mainProgram = "ramfetch"; - }; -} diff --git a/pkgs/tools/misc/rargs/default.nix b/pkgs/tools/misc/rargs/default.nix deleted file mode 100644 index 7d97a9ecacba..000000000000 --- a/pkgs/tools/misc/rargs/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "rargs"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "lotabout"; - repo = pname; - rev = "v${version}"; - sha256 = "188gj05rbivci1z4z29vwdwxlj2w01v5i4avwrxjnj1dd6mmlbxd"; - }; - - cargoHash = "sha256-cPfuABjn62Wuxtk8nQlGcLpiPe7/kqNr4IZ7+W8jzaM="; - - doCheck=false; # `rargs`'s test depends on the deprecated `assert_cli` crate, which in turn is not in Nixpkgs - - meta = with lib; { - description = "xargs + awk with pattern matching support"; - homepage = "https://github.com/lolabout/rargs"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ pblkt ]; - mainProgram = "rargs"; - }; -} diff --git a/pkgs/tools/misc/rates/default.nix b/pkgs/tools/misc/rates/default.nix index d121453bd7d9..c774721eeecc 100644 --- a/pkgs/tools/misc/rates/default.nix +++ b/pkgs/tools/misc/rates/default.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-5EcTeMfa1GNp1q60qSgEi/I3298hXUD1Vc1K55XGW4I="; - buildInputs = lib.optional stdenv.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; meta = with lib; { description = "CLI tool that brings currency exchange rates right into your terminal"; diff --git a/pkgs/tools/misc/rauc/default.nix b/pkgs/tools/misc/rauc/default.nix deleted file mode 100644 index 03c0fb176d79..000000000000 --- a/pkgs/tools/misc/rauc/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ curl -, dbus -, fetchFromGitHub -, glib -, json-glib -, lib -, nix-update-script -, openssl -, pkg-config -, stdenv -, meson -, ninja -, util-linux -, libnl -, systemd -}: - -stdenv.mkDerivation rec { - pname = "rauc"; - version = "1.11.3"; - - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-sFOvkr6WbiP99GNAttK9ZmRg+O/hoUQDCnW7vq9s/vo="; - }; - - passthru = { - updateScript = nix-update-script { }; - }; - - enableParallelBuilding = true; - - nativeBuildInputs = [ pkg-config meson ninja glib ]; - - buildInputs = [ curl dbus glib json-glib openssl util-linux libnl systemd ]; - - mesonFlags = [ - "--buildtype=release" - (lib.mesonOption "systemdunitdir" "${placeholder "out"}/lib/systemd/system") - (lib.mesonOption "dbusinterfacesdir" "${placeholder "out"}/share/dbus-1/interfaces") - (lib.mesonOption "dbuspolicydir" "${placeholder "out"}/share/dbus-1/system.d") - (lib.mesonOption "dbussystemservicedir" "${placeholder "out"}/share/dbus-1/system-services") - ]; - - meta = with lib; { - description = "Safe and secure software updates for embedded Linux"; - homepage = "https://rauc.io"; - license = licenses.lgpl21Only; - maintainers = with maintainers; [ emantor ]; - platforms = with platforms; linux; - mainProgram = "rauc"; - }; -} diff --git a/pkgs/tools/misc/recoverjpeg/default.nix b/pkgs/tools/misc/recoverjpeg/default.nix deleted file mode 100644 index b49c6dd7dad1..000000000000 --- a/pkgs/tools/misc/recoverjpeg/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchurl, makeWrapper, python3, exif, imagemagick }: - -stdenv.mkDerivation rec { - pname = "recoverjpeg"; - version = "2.6.3"; - - src = fetchurl { - url = "https://www.rfc1149.net/download/recoverjpeg/recoverjpeg-${version}.tar.gz"; - sha256 = "009jgxi8lvdp00dwfj0n4x5yqrf64x00xdkpxpwgl2v8wcqn56fv"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - buildInputs = [ python3 ]; - - postFixup = '' - wrapProgram $out/bin/sort-pictures \ - --prefix PATH : ${lib.makeBinPath [ exif imagemagick ]} - ''; - - meta = with lib; { - homepage = "https://rfc1149.net/devel/recoverjpeg.html"; - description = "Recover lost JPEGs and MOV files on a bogus memory card or disk"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ dotlambda ]; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/tools/misc/remote-exec/default.nix b/pkgs/tools/misc/remote-exec/default.nix index edf581b183ce..e9edaacd6a27 100644 --- a/pkgs/tools/misc/remote-exec/default.nix +++ b/pkgs/tools/misc/remote-exec/default.nix @@ -56,7 +56,7 @@ buildPythonApplication rec { pytest-cov-stub ]; - disabledTestPaths = lib.optionals stdenv.isDarwin [ + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ # `watchdog` dependency does not correctly detect fsevents on darwin. # this only affects `remote --stream-changes` "test/test_file_changes.py" diff --git a/pkgs/tools/misc/rename/default.nix b/pkgs/tools/misc/rename/default.nix deleted file mode 100644 index d7eed90d0639..000000000000 --- a/pkgs/tools/misc/rename/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ lib, fetchFromGitHub, perlPackages }: - -perlPackages.buildPerlPackage rec { - pname = "rename"; - version = "1.11"; - outputs = [ "out" ]; - src = fetchFromGitHub { - owner = "pstray"; - repo = "rename"; - rev = "v${version}"; - sha256 = "SK6wS3IxjCftuDiiZU27TFnn9GVd137zmzvGH88cNLI="; - }; - meta = with lib; { - description = "Rename files according to a Perl rewrite expression"; - homepage = "https://github.com/pstray/rename"; - maintainers = with maintainers; [ mkg cyplo ]; - license = with licenses; [ gpl1Plus ]; - mainProgram = "rename"; - }; -} diff --git a/pkgs/tools/misc/renameutils/default.nix b/pkgs/tools/misc/renameutils/default.nix deleted file mode 100644 index e3ce23eca0a3..000000000000 --- a/pkgs/tools/misc/renameutils/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{lib, stdenv, fetchurl, readline, coreutils }: - -stdenv.mkDerivation rec { - pname = "renameutils"; - version = "0.12.0"; - - src = fetchurl { - url = "mirror://savannah/renameutils/renameutils-${version}.tar.gz"; - sha256 = "18xlkr56jdyajjihcmfqlyyanzyiqqlzbhrm6695mkvw081g1lnb"; - }; - - patches = [ ./install-exec.patch ]; - - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace src/apply.c \ - --replace "command = \"mv\"" "command = \"${coreutils}/bin/mv\"" \ - --replace "command = \"cp\"" "command = \"${coreutils}/bin/cp\"" - substituteInPlace src/icmd.c \ - --replace "#define MV_COMMAND \"mv\"" "#define MV_COMMAND \"${coreutils}/bin/mv\"" \ - --replace "#define CP_COMMAND \"cp\"" "#define CP_COMMAND \"${coreutils}/bin/cp\"" - substituteInPlace src/qcmd.c \ - --replace "ls_program = xstrdup(\"ls\")" "ls_program = xstrdup(\"${coreutils}/bin/ls\")" - ''; - - nativeBuildInputs = [ readline ]; - - preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' - export ac_cv_func_lstat64=no - ''; - - meta = { - homepage = "https://www.nongnu.org/renameutils/"; - description = "Set of programs to make renaming of files faster"; - platforms = lib.platforms.unix; - license = lib.licenses.gpl2Plus; - }; -} diff --git a/pkgs/tools/misc/renameutils/install-exec.patch b/pkgs/tools/misc/renameutils/install-exec.patch deleted file mode 100644 index 32b8de5adb80..000000000000 --- a/pkgs/tools/misc/renameutils/install-exec.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur renameutils-0.12.0-orig/src/Makefile.am renameutils-0.12.0/src/Makefile.am ---- renameutils-0.12.0-orig/src/Makefile.am 2012-04-23 12:10:43.000000000 +0100 -+++ renameutils-0.12.0/src/Makefile.am 2013-03-25 11:13:21.605447377 +0000 -@@ -49,7 +49,7 @@ - @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp) - - install-exec-local: -- $(mkdir_p) $(DESTDIR)($bindir) -+ $(mkdir_p) $(DESTDIR)$(bindir) - @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv) - @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp) - @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv) -diff -Naur renameutils-0.12.0-orig/src/Makefile.in renameutils-0.12.0/src/Makefile.in ---- renameutils-0.12.0-orig/src/Makefile.in 2012-04-23 12:24:10.000000000 +0100 -+++ renameutils-0.12.0/src/Makefile.in 2013-03-25 11:13:40.549847891 +0000 -@@ -1577,7 +1577,7 @@ - @[ -f icp ] || (echo $(LN_S) icmd icp ; $(LN_S) icmd icp) - - install-exec-local: -- $(mkdir_p) $(DESTDIR)($bindir) -+ $(mkdir_p) $(DESTDIR)$(bindir) - @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv) - @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp) - @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv) diff --git a/pkgs/tools/misc/reredirect/default.nix b/pkgs/tools/misc/reredirect/default.nix deleted file mode 100644 index 479c8ac28e54..000000000000 --- a/pkgs/tools/misc/reredirect/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "reredirect"; - version = "0.3"; - - src = fetchFromGitHub { - owner = "jerome-pouiller"; - repo = "reredirect"; - rev = "v${version}"; - sha256 = "sha256-RHRamDo7afnJ4DlOVAqM8lQAC60YESGSMKa8Io2vcX0="; - }; - - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - postFixup = '' - substituteInPlace ${placeholder "out"}/bin/relink \ - --replace "reredirect" "${placeholder "out"}/bin/reredirect" - ''; - - meta = with lib; { - description = "Tool to dynamicly redirect outputs of a running process"; - homepage = "https://github.com/jerome-pouiller/reredirect"; - license = licenses.mit; - maintainers = [ maintainers.tobim ]; - platforms = [ "i686-linux" "x86_64-linux" ]; - }; -} - diff --git a/pkgs/tools/misc/rfc/default.nix b/pkgs/tools/misc/rfc/default.nix deleted file mode 100644 index b172122d828f..000000000000 --- a/pkgs/tools/misc/rfc/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, curl -, installShellFiles -, makeWrapper -}: - -stdenvNoCC.mkDerivation rec { - pname = "rfc"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "bfontaine"; - repo = "rfc"; - rev = "v${version}"; - hash = "sha256-zN+MQtHh69PkzbrfceHFpBYCPmTg9qrOf/ML2efq6Xk="; - }; - - nativeBuildInputs = [ installShellFiles makeWrapper ]; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - install -Dm755 -t $out/bin rfc - wrapProgram $out/bin/rfc \ - --prefix PATH : ${lib.makeBinPath [ curl ]} - installManPage man/rfc.1 - - runHook postInstall - ''; - - meta = with lib; { - description = "Tool to read RFCs from the command line"; - longDescription = '' - rfc is a little tool written in Bash to read RFCs from the command-line. - It fetches RFCs and drafts from the Web and caches them locally. - ''; - homepage = "https://github.com/bfontaine/rfc"; - changelog = "https://github.com/bfontaine/rfc/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ azahi ]; - platforms = platforms.all; - mainProgram = "rfc"; - }; -} diff --git a/pkgs/tools/misc/riemann-c-client/default.nix b/pkgs/tools/misc/riemann-c-client/default.nix deleted file mode 100644 index 929eb0a37639..000000000000 --- a/pkgs/tools/misc/riemann-c-client/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv, fetchFromGitea, autoreconfHook, check, pkg-config, file, protobufc -,withWolfSSL ? false, wolfssl -,withGnuTLS ? false, gnutls -,withJSON ? true, json_c -}: - -stdenv.mkDerivation rec { - pname = "riemann-c-client"; - version = "2.2.0"; - - src = fetchFromGitea { - domain = "git.madhouse-project.org"; - owner = "algernon"; - repo = "riemann-c-client"; - rev = "riemann-c-client-${version}"; - hash = "sha256-GAinZtEetRAl04CjxNCTCkGbvdhSZei7gon3KxEqiIY="; - }; - - outputs = [ "bin" "dev" "out" ]; - - nativeBuildInputs = [ autoreconfHook check pkg-config ]; - buildInputs = [ file protobufc ] - ++ lib.optional withWolfSSL wolfssl - ++ lib.optional withGnuTLS gnutls - ++ lib.optional withJSON json_c - ; - - configureFlags = [] - ++ lib.optional withWolfSSL "--with-tls=wolfssl" - ++ lib.optional withGnuTLS "--with-tls=gnutls" - ; - - doCheck = true; - enableParallelBuilding = true; - - meta = with lib; { - homepage = "https://git.madhouse-project.org/algernon/riemann-c-client"; - description = "C client library for the Riemann monitoring system"; - mainProgram = "riemann-client"; - license = licenses.lgpl3Plus; - maintainers = with maintainers; [ pradeepchhetri ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/rig/default.nix b/pkgs/tools/misc/rig/default.nix deleted file mode 100644 index 45304f3e56f4..000000000000 --- a/pkgs/tools/misc/rig/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchurl } : - -stdenv.mkDerivation rec { - version = "1.11"; - pname = "rig"; - - src = fetchurl { - url = "https://ayera.dl.sourceforge.net/project/rig/rig/${version}/rig-${version}.tar.gz"; - sha256 = "1f3snysjqqlpk2kgvm5p2icrj4lsdymccmn3igkc2f60smqckgq0"; - }; - - # Note: diff modified from Debian: Norbert Veber <nveber@debian.org> - # http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz - patches = [ ./rig_1.11-1.diff ]; - - makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ]; - - meta = { - homepage = "https://rig.sourceforge.net/"; - description = "Random identity generator"; - longDescription = '' - RIG (Random Identity Generator) is a free replacement for a shareware - program out there called 'fake'. It generates random, yet real-looking, - personal data. It is useful if you need to feed a name to a Web site, - BBS, or real person, and are too lazy to think of one yourself. Also, - if the Web site/BBS/person you are giving the information to tries to - cross-check the city, state, zip, or area code, it will check out. - ''; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ tomberek ]; - platforms = with lib.platforms; all; - mainProgram = "rig"; - }; -} diff --git a/pkgs/tools/misc/rig/rig_1.11-1.diff b/pkgs/tools/misc/rig/rig_1.11-1.diff deleted file mode 100644 index 301cf78b5a9b..000000000000 --- a/pkgs/tools/misc/rig/rig_1.11-1.diff +++ /dev/null @@ -1,39 +0,0 @@ ---- rig-1.11.orig/Makefile -+++ rig-1.11/Makefile -@@ -1,20 +1,21 @@ --PREFIX=/usr/local -+PREFIX=${out} - BINDIR=${PREFIX}/bin - MANDIR=${PREFIX}/man - DATADIR=${PREFIX}/share/rig -+CXX=g++ - - all: rig rig.6 - rig: rig.cc -- g++ -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\"" -+ ${CXX} -O2 -g rig.cc -o rig -Wall -DDATADIR="\"$(DATADIR)\"" - - rig.6: rig.6.in - sed s@DATADIR@"$(DATADIR)"@g < rig.6.in > rig.6 - - install: rig rig.6 -- install -g 0 -m 755 -o 0 -s rig $(BINDIR) -- install -g 0 -m 644 -o 0 rig.6 $(MANDIR)/man6/rig.6 -- install -g 0 -m 755 -o 0 -d $(DATADIR) -- install -g 0 -m 644 -o 0 data/*.idx $(DATADIR) -+ install -m 755 -d $(DESTDIR)$(DATADIR) -+ install -m 755 -d $(DESTDIR)$(BINDIR) -+ install -m 755 rig $(DESTDIR)$(BINDIR)/rig -+ install -m 644 data/*.idx $(DESTDIR)$(DATADIR) - - clean: - rm -rf *~ *.rej *.orig *.o rig rig.6 ---- rig-1.11.orig/rig.cc -+++ rig-1.11/rig.cc -@@ -26,6 +26,7 @@ - #include <time.h> - #include <errno.h> - #include <assert.h> -+#include <string.h> - - using namespace std; diff --git a/pkgs/tools/misc/ripdrag/default.nix b/pkgs/tools/misc/ripdrag/default.nix deleted file mode 100644 index 9521ac120bcf..000000000000 --- a/pkgs/tools/misc/ripdrag/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, pkg-config, wrapGAppsHook4, gtk4 }: - -rustPlatform.buildRustPackage rec { - pname = "ripdrag"; - version = "0.4.10"; - - src = fetchFromGitHub { - owner = "nik012003"; - repo = "ripdrag"; - rev = "v${version}"; - hash = "sha256-aK/1f56sHspohbYO0z2Hf1NDJsN8Dbf1NoL/QadbVSY="; - }; - - cargoHash = "sha256-9POXKvbt1Xr1wKYHhfLb14puKorLIlT1ckzEVd6eWa0="; - - nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; - - buildInputs = [ gtk4 ]; - - meta = with lib; { - description = "Application that lets you drag and drop files from and to the terminal"; - homepage = "https://github.com/nik012003/ripdrag"; - changelog = "https://github.com/nik012003/ripdrag/releases/tag/${src.rev}"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "ripdrag"; - }; -} diff --git a/pkgs/tools/misc/ristate/default.nix b/pkgs/tools/misc/ristate/default.nix deleted file mode 100644 index 9a0541d03f8a..000000000000 --- a/pkgs/tools/misc/ristate/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, rustPlatform, fetchFromGitLab }: - -rustPlatform.buildRustPackage rec { - pname = "ristate"; - version = "unstable-2021-09-10"; - - src = fetchFromGitLab { - owner = "snakedye"; - repo = pname; - rev = "34dfd0a0bab5b36df118d8da3956fd938c625b15"; - hash = "sha256-CH9DZ/7Bhbe6qKg1Nbj1rA9SzIsqVlBJg51XxAh0XnY="; - }; - - cargoHash = "sha256-HTfRWvE3m7XZhZDj5bEkrQI3pD6GNiKd2gJtMjRQ8Rw="; - - meta = with lib; { - description = "River-status client written in Rust"; - homepage = "https://gitlab.com/snakedye/ristate"; - license = licenses.mit; - maintainers = with maintainers; [ kranzes ]; - mainProgram = "ristate"; - }; -} diff --git a/pkgs/tools/misc/rkflashtool/default.nix b/pkgs/tools/misc/rkflashtool/default.nix deleted file mode 100644 index 95c5351b7a02..000000000000 --- a/pkgs/tools/misc/rkflashtool/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv, fetchurl, libusb1 }: - -stdenv.mkDerivation rec { - pname = "rkflashtool"; - version = "5.1"; - - src = fetchurl { - url = "mirror://sourceforge/rkflashtool/rkflashtool-${version}-src.tar.bz2"; - sha256 = "0dbp1crw7pjav9gffrnskhkf0gxlj4xgp65clqhvfmv32460xb9c"; - }; - - versionh = fetchurl { - url = "mirror://sourceforge/rkflashtool/version.h"; - sha256 = "1mkcy3yyfaddhzg524hjnhvmwdmdfzbavib8d9p5y38pcqy8xgdp"; - }; - - buildInputs = [ libusb1 ]; - - preBuild = '' - cp $versionh version.h - ''; - - installPhase = '' - mkdir -p $out/bin - cp rkunpack rkcrc rkflashtool rkparameters rkparametersblock rkunsign rkmisc $out/bin - ''; - - meta = with lib; { - homepage = "https://sourceforge.net/projects/rkflashtool/"; - description = "Tools for flashing Rockchip devices"; - platforms = platforms.linux; - maintainers = [ ]; - license = licenses.bsd2; - }; -} diff --git a/pkgs/tools/misc/rkvm/default.nix b/pkgs/tools/misc/rkvm/default.nix deleted file mode 100644 index 4dee8423437b..000000000000 --- a/pkgs/tools/misc/rkvm/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, pkg-config -, libevdev -, openssl -, makeWrapper -, nixosTests -}: - -rustPlatform.buildRustPackage rec { - pname = "rkvm"; - version = "0.6.1"; - - src = fetchFromGitHub { - owner = "htrefil"; - repo = pname; - rev = version; - hash = "sha256-pGCoNmGOeV7ND4kcRjlJZbEMnmKQhlCtyjMoWIwVZrM="; - }; - - cargoHash = "sha256-aq8Ky29jXY0cW5s0E4NDs29DY8RIA0Fvy2R72WPAYsk="; - - nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook makeWrapper ]; - buildInputs = [ libevdev ]; - - postInstall = '' - install -Dm444 -t "$out/lib/systemd/system" systemd/rkvm-*.service - install -Dm444 example/server.toml "$out/etc/rkvm/server.example.toml" - install -Dm444 example/client.toml "$out/etc/rkvm/client.example.toml" - - wrapProgram $out/bin/rkvm-certificate-gen --prefix PATH : ${lib.makeBinPath [ openssl ]} - ''; - - passthru.tests = { - inherit (nixosTests) rkvm; - }; - - meta = with lib; { - description = "Virtual KVM switch for Linux machines"; - homepage = "https://github.com/htrefil/rkvm"; - changelog = "https://github.com/htrefil/rkvm/releases/tag/${version}"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/rlwrap/default.nix b/pkgs/tools/misc/rlwrap/default.nix deleted file mode 100644 index f1c2d6a58971..000000000000 --- a/pkgs/tools/misc/rlwrap/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, readline }: - -stdenv.mkDerivation rec { - pname = "rlwrap"; - version = "0.46.1"; - - src = fetchFromGitHub { - owner = "hanslub42"; - repo = "rlwrap"; - rev = version; - sha256 = "sha256-yKJXfdxfaCsmPtI0KmTzfFKY+evUuytomVrLsSCYDGo="; - }; - - postPatch = '' - substituteInPlace src/readline.c \ - --replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))" - ''; - - nativeBuildInputs = [ autoreconfHook perl ]; - - buildInputs = [ readline ]; - - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration"; - - meta = with lib; { - description = "Readline wrapper for console programs"; - homepage = "https://github.com/hanslub42/rlwrap"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ jlesquembre ]; - mainProgram = "rlwrap"; - }; -} diff --git a/pkgs/tools/misc/rmate-sh/default.nix b/pkgs/tools/misc/rmate-sh/default.nix deleted file mode 100644 index b362807f19d2..000000000000 --- a/pkgs/tools/misc/rmate-sh/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, patsh -, hostname -}: - -stdenv.mkDerivation rec { - pname = "rmate"; - version = "1.0.2"; - - src = fetchFromGitHub { - owner = "aurora"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-fmK6h9bqZ0zO3HWfZvPdYuZ6i/0HZ1CA3FUnkS+E9ns="; - }; - - nativeBuildInputs = [ patsh ]; - - buildPhase = '' - runHook preBuild - - substituteInPlace rmate \ - --replace-fail \ - 'echo "hostname"' \ - 'echo "${hostname}/bin/hostname"' - patsh -f rmate -s ${builtins.storeDir} - - runHook postBuild - ''; - - installPhase = '' - runHook preInstall - - install -Dm755 rmate $out/bin/rmate - - runHook postInstall - ''; - - meta = with lib; { - description = "Remote TextMate 2 implemented as shell script"; - longDescription = '' - TextMate 2 has a nice feature where it is possible to edit - files on a remote server using a helper script called 'rmate', - which feeds the file back to the editor over a reverse tunnel. - This is a rmate implementation in shell! - ''; - homepage = "https://github.com/aurora/rmate"; - platforms = platforms.linux; - license = licenses.gpl3; - maintainers = with maintainers; [ pbsds ]; - mainProgram = "rmate"; - }; -} diff --git a/pkgs/tools/misc/rmlint/default.nix b/pkgs/tools/misc/rmlint/default.nix index 08a0a0c5e146..829987d6094e 100644 --- a/pkgs/tools/misc/rmlint/default.nix +++ b/pkgs/tools/misc/rmlint/default.nix @@ -17,7 +17,7 @@ , wrapGAppsHook3 , withGui ? false }: -assert withGui -> !stdenv.isDarwin; +assert withGui -> !stdenv.hostPlatform.isDarwin; stdenv.mkDerivation rec { pname = "rmlint"; diff --git a/pkgs/tools/misc/rmtrash/default.nix b/pkgs/tools/misc/rmtrash/default.nix deleted file mode 100644 index 793cd49d4188..000000000000 --- a/pkgs/tools/misc/rmtrash/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper -, trash-cli, coreutils, which, getopt }: - -stdenvNoCC.mkDerivation rec { - pname = "rmtrash"; - version = "1.15"; - - src = fetchFromGitHub { - owner = "PhrozenByte"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-vCtIM6jAYfrAOopiTcb4M5GNtucVnK0XEEKbMq1Cbc4="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - for f in rm{,dir}trash; do - install -D ./$f $out/bin/$f - wrapProgram $out/bin/$f \ - --prefix PATH : ${lib.makeBinPath [ trash-cli coreutils which getopt ]} - done - ''; - - meta = with lib; { - homepage = "https://github.com/PhrozenByte/rmtrash"; - description = "trash-put made compatible with GNUs rm and rmdir"; - longDescription = '' - Put files (and directories) in trash using the `trash-put` command in a - way that is, otherwise as `trash-put` itself, compatible to GNUs `rm` - and `rmdir`. - ''; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ peelz ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/rmw/default.nix b/pkgs/tools/misc/rmw/default.nix deleted file mode 100644 index a6bbb4084029..000000000000 --- a/pkgs/tools/misc/rmw/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, meson -, ninja -, pkg-config -, ncurses -}: - -stdenv.mkDerivation rec { - pname = "rmw"; - version = "0.9.1"; - - src = fetchFromGitHub { - owner = "theimpossibleastronaut"; - repo = "rmw"; - rev = "v${version}"; - hash = "sha256-rfJdJHSkusZj/PN74KgV5i36YC0YRZmIfRdvkUNoKEM="; - fetchSubmodules = true; - }; - - nativeBuildInputs = [ - pkg-config - meson - ninja - ]; - - buildInputs = [ - ncurses - ]; - - meta = with lib; { - description = "Trashcan/ recycle bin utility for the command line"; - homepage = "https://github.com/theimpossibleastronaut/rmw"; - changelog = "https://github.com/theimpossibleastronaut/rmw/blob/${src.rev}/ChangeLog"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "rmw"; - }; -} diff --git a/pkgs/tools/misc/rot8/default.nix b/pkgs/tools/misc/rot8/default.nix deleted file mode 100644 index 6a62d05b5a5d..000000000000 --- a/pkgs/tools/misc/rot8/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "rot8"; - version = "1.0.0"; - - src = fetchFromGitHub { - owner = "efernau"; - repo = pname; - rev = "refs/tags/v${version}"; - hash = "sha256-dHx3vFY0ztyTIlzUi22TYphPD5hvgfHrWaaeoGxnvW0="; - }; - - cargoHash = "sha256-KDg6Ggnm6Cl/1fXqNcc7/jRFJ6KTLVGveJ6Fs3NLlHE="; - - meta = with lib; { - description = "screen rotation daemon for X11 and wlroots"; - homepage = "https://github.com/efernau/rot8"; - license = licenses.mit; - maintainers = [ maintainers.smona ]; - mainProgram = "rot8"; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/roundup/default.nix b/pkgs/tools/misc/roundup/default.nix deleted file mode 100644 index 2993b5f82946..000000000000 --- a/pkgs/tools/misc/roundup/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ronn, shocco }: - -stdenv.mkDerivation rec { - pname = "roundup"; - version = "0.0.6"; - - src = fetchFromGitHub { - owner = "bmizerany"; - repo = "roundup"; - rev = "v${version}"; - sha256 = "0nxaqmbv8mdvq9wcaqxk6k5mr31i68jzxf1wxa6pp7xp4prwdc9z"; - }; - - prePatch = '' - # Don't change $PATH - substituteInPlace configure --replace PATH= NIRVANA= - # There are only man pages in sections 1 and 5 \ - substituteInPlace Makefile --replace "{1..9}" "1 5" - ''; - - nativeBuildInputs = [ ronn shocco ]; - - installTargets = [ "install" "install-man" ]; - - preInstall = '' - for i in 1 5; do - mkdir -p $out/share/man/man$i - done - ''; - - meta = with lib; { - description = "Unit testing tool for running test plans which are written in any POSIX shell"; - homepage = "http://bmizerany.github.io/roundup/"; - license = licenses.mit; - maintainers = with maintainers; [ dotlambda ]; - platforms = platforms.all; - mainProgram = "roundup"; - }; -} diff --git a/pkgs/tools/misc/routino/default.nix b/pkgs/tools/misc/routino/default.nix deleted file mode 100644 index 75ea2c24ecb8..000000000000 --- a/pkgs/tools/misc/routino/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, perl, zlib, bzip2 }: - -stdenv.mkDerivation rec { - pname = "routino"; - version = "3.4.1"; - - src = fetchurl { - url = "https://routino.org/download/routino-${version}.tgz"; - hash = "sha256-C6qNKljRdV0ProbgSxfrZLgZH+Pl8kcpKmTb83GLhSs="; - }; - - patchFlags = [ "-p0" ]; - patches = lib.optionals stdenv.isDarwin [ - (fetchpatch { - url = "https://raw.githubusercontent.com/macports/macports-ports/18fd229516a46e7272003acbe555735b2a902db7/gis/routino/files/patch-Makefile_conf.diff"; - sha256 = "1b7hpa4sizansnwwxq1c031nxwdwh71pg08jl9z9apiab8pjsn53"; - }) - (fetchpatch { - url = "https://raw.githubusercontent.com/macports/macports-ports/18fd229516a46e7272003acbe555735b2a902db7/gis/routino/files/patch-src_Makefile_dylib_extension.diff"; - sha256 = "1kigxcfr7977baxdsfvrw6q453cpqlzqakhj7av2agxkcvwyilpv"; - }) - ]; - - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile.conf \ - --subst-var-by PREFIX $out - ''; - - nativeBuildInputs = [ perl ]; - - buildInputs = [ zlib bzip2 ]; - - outputs = [ "out" "doc" ]; - - CLANG = lib.optionalString stdenv.cc.isClang "1"; - - makeFlags = [ "prefix=$(out)" ]; - - meta = with lib; { - homepage = "http://www.routino.org/"; - changelog = "http://routino.org/software/NEWS.txt"; - description = "OpenStreetMap Routing Software"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ dotlambda ]; - platforms = with platforms; linux ++ darwin; - }; -} diff --git a/pkgs/tools/misc/rpcsvc-proto/default.nix b/pkgs/tools/misc/rpcsvc-proto/default.nix deleted file mode 100644 index 2de8bdefc880..000000000000 --- a/pkgs/tools/misc/rpcsvc-proto/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, autoreconfHook, buildPackages, fetchpatch, targetPackages }: - -stdenv.mkDerivation rec { - pname = "rpcsvc-proto"; - version = "1.4.4"; - - src = fetchFromGitHub { - owner = "thkukuk"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-DEXzSSmjMeMsr1PoU/ljaY+6b4COUU2Z8MJkGImsgzk="; - }; - - patches = [ - # https://github.com/thkukuk/rpcsvc-proto/pull/14 - (fetchpatch { - name = "follow-RPCGEN_CPP-env-var"; - url = "https://github.com/thkukuk/rpcsvc-proto/commit/e772270774ff45172709e39f744cab875a816667.diff"; - sha256 = "sha256-KrUD6YwdyxW9S99h4TB21ahnAOgQmQr2tYz++MIbk1Y="; - }) - ]; - - outputs = [ "out" "man" "dev" ]; - - nativeBuildInputs = [ autoreconfHook ]; - - RPCGEN_CPP = "${stdenv.cc.targetPrefix}cpp"; - - postPatch = '' - # replace fallback cpp with the target prefixed cpp - substituteInPlace rpcgen/rpc_main.c \ - --replace 'CPP = "cpp"' \ - 'CPP = "${targetPackages.stdenv.cc.targetPrefix}cpp"' - '' + lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - substituteInPlace rpcsvc/Makefile.am \ - --replace '$(top_builddir)/rpcgen/rpcgen' '${buildPackages.rpcsvc-proto}/bin/rpcgen' - ''; - - meta = with lib; { - homepage = "https://github.com/thkukuk/rpcsvc-proto"; - description = "This package contains rpcsvc proto.x files from glibc, which are missing in libtirpc"; - longDescription = '' - The RPC-API has been removed from glibc. The 2.32-release-notes - (https://sourceware.org/pipermail/libc-announce/2020/000029.html) recommend to use - `libtirpc` and this package instead. - ''; - license = licenses.mit; - maintainers = with maintainers; [ ma27 ]; - mainProgram = "rpcgen"; - }; -} diff --git a/pkgs/tools/misc/rpm-ostree/default.nix b/pkgs/tools/misc/rpm-ostree/default.nix deleted file mode 100644 index 22fd1e1ae40d..000000000000 --- a/pkgs/tools/misc/rpm-ostree/default.nix +++ /dev/null @@ -1,125 +0,0 @@ -{ lib, stdenv -, fetchurl -, ostree -, rpm -, which -, autoconf -, automake -, libtool -, pkg-config -, cargo -, rustc -, gobject-introspection -, gtk-doc -, libxml2 -, libxslt -, docbook_xsl -, docbook_xml_dtd_42 -, docbook_xml_dtd_43 -, gperf -, cmake -, libcap -, glib -, systemd -, json-glib -, libarchive -, libsolv -, librepo -, polkit -, bubblewrap -, pcre -, check -, python3 -, json_c -, zchunk -, libmodulemd -, util-linux -, sqlite -, cppunit -}: - -stdenv.mkDerivation rec { - pname = "rpm-ostree"; - version = "2024.7"; - - outputs = [ "out" "dev" "man" "devdoc" ]; - - src = fetchurl { - url = "https://github.com/coreos/rpm-ostree/releases/download/v${version}/rpm-ostree-${version}.tar.xz"; - hash = "sha256-Ehh6304Uhhom7aAvSDS2UYKyyJKr4XQF70CX7Pk3yAg="; - }; - - nativeBuildInputs = [ - python3 - pkg-config - which - autoconf - automake - libtool - cmake - gperf - cargo - rustc - gobject-introspection - gtk-doc - libxml2 - libxslt - docbook_xsl - docbook_xml_dtd_42 - docbook_xml_dtd_43 - ]; - - buildInputs = [ - libcap - ostree - rpm - glib - systemd - polkit - bubblewrap - json-glib - libarchive - libsolv - librepo - pcre - check - - # libdnf # vendored unstable branch - # required by vendored libdnf - json_c - zchunk - libmodulemd - util-linux # for smartcols.pc - sqlite - cppunit - ]; - - configureFlags = [ - "--enable-gtk-doc" - "--with-bubblewrap=${bubblewrap}/bin/bwrap" - ]; - - dontUseCmakeConfigure = true; - - prePatch = '' - # According to #cmake on freenode, libdnf should bundle the FindLibSolv.cmake module - cp ${libsolv}/share/cmake/Modules/FindLibSolv.cmake libdnf/cmake/modules/ - - # Let's not hardcode the rpm-gpg path... - substituteInPlace libdnf/libdnf/dnf-keyring.cpp \ - --replace '"/etc/pki/rpm-gpg"' 'getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") ? getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") : "/etc/pki/rpm-gpg"' - ''; - - preConfigure = '' - env NOCONFIGURE=1 ./autogen.sh - ''; - - meta = with lib; { - description = "Hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model"; - homepage = "https://coreos.github.io/rpm-ostree/"; - license = licenses.lgpl2Plus; - maintainers = with maintainers; [ copumpkin ]; - platforms = platforms.linux; - mainProgram = "rpm-ostree"; - }; -} diff --git a/pkgs/tools/misc/rshim-user-space/default.nix b/pkgs/tools/misc/rshim-user-space/default.nix deleted file mode 100644 index 80d9b6adf516..000000000000 --- a/pkgs/tools/misc/rshim-user-space/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, autoconf -, automake -, makeBinaryWrapper -, pkg-config -, pciutils -, libusb1 -, fuse -, busybox -, pv -, withBfbInstall ? true -}: - -stdenv.mkDerivation rec { - pname = "rshim-user-space"; - version = "2.0.32"; - - src = fetchFromGitHub { - owner = "Mellanox"; - repo = pname; - rev = "rshim-${version}"; - hash = "sha256-GF7cKIf72EYRBRb6d3IWONE7YJwohTLKF1RGdDMTG6c="; - }; - - nativeBuildInputs = [ - autoconf - automake - pkg-config - ] ++ lib.optionals withBfbInstall [ makeBinaryWrapper ]; - - buildInputs = [ - pciutils - libusb1 - fuse - ]; - - prePatch = '' - patchShebangs scripts/bfb-install - ''; - - strictDeps = true; - - preConfigure = "./bootstrap.sh"; - - installPhase = '' - mkdir -p "$out"/bin - cp -a src/rshim "$out"/bin/ - '' + lib.optionalString withBfbInstall '' - cp -a scripts/bfb-install "$out"/bin/ - ''; - - postFixup = lib.optionalString withBfbInstall '' - wrapProgram $out/bin/bfb-install \ - --set PATH ${lib.makeBinPath [ busybox pv ]} - ''; - - meta = with lib; { - description = "user-space rshim driver for the BlueField SoC"; - longDescription = '' - The rshim driver provides a way to access the rshim resources on the - BlueField target from external host machine. The current version - implements device files for boot image push and virtual console access. - It also creates virtual network interface to connect to the BlueField - target and provides a way to access the internal rshim registers. - ''; - homepage = "https://github.com/Mellanox/rshim-user-space"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = with maintainers; [ nikstur ]; - }; -} diff --git a/pkgs/tools/misc/rtz/Cargo.lock b/pkgs/tools/misc/rtz/Cargo.lock deleted file mode 100644 index a84b6ab4315f..000000000000 --- a/pkgs/tools/misc/rtz/Cargo.lock +++ /dev/null @@ -1,4110 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aes" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" -dependencies = [ - "cfg-if 1.0.0", - "cipher", - "cpufeatures", -] - -[[package]] -name = "aho-corasick" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" -dependencies = [ - "memchr", -] - -[[package]] -name = "alloc-no-stdlib" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" - -[[package]] -name = "alloc-stdlib" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" -dependencies = [ - "alloc-no-stdlib", -] - -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "anes" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" - -[[package]] -name = "anstream" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "is-terminal", - "utf8parse", -] - -[[package]] -name = "anstyle" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" - -[[package]] -name = "anstyle-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "anstyle-wincon" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" -dependencies = [ - "anstyle", - "windows-sys 0.48.0", -] - -[[package]] -name = "anyhow" -version = "1.0.72" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b13c32d80ecc7ab747b80c3784bce54ee8a7a0cc4fbda9bf4cda2cf6fe90854" -dependencies = [ - "backtrace", -] - -[[package]] -name = "approx" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" -dependencies = [ - "num-traits", -] - -[[package]] -name = "arbitrary" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" -dependencies = [ - "derive_arbitrary", -] - -[[package]] -name = "async-compression" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b74f44609f0f91493e3082d3734d98497e094777144380ea4db9f9905dd5b6" -dependencies = [ - "brotli", - "flate2", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", - "zstd 0.12.4", - "zstd-safe 6.0.6", -] - -[[package]] -name = "async-trait" -version = "0.1.71" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a564d521dd56509c4c47480d00b80ee55f7e385ae48db5744c67ad50c92d2ebf" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "axum" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" -dependencies = [ - "async-trait", - "axum-core", - "axum-macros", - "bytes", - "futures-util", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-util", - "itoa", - "matchit", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "rustversion", - "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "sync_wrapper 1.0.1", - "tokio", - "tower", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "axum-core" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" -dependencies = [ - "async-trait", - "bytes", - "futures-util", - "http", - "http-body", - "http-body-util", - "mime", - "pin-project-lite", - "rustversion", - "sync_wrapper 0.1.2", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "axum-insights" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b56b0a2e06fc3122030c8a6a230ec93cb768143bb4403d620011c4159f92877" -dependencies = [ - "axum", - "futures", - "http", - "http-body-util", - "hyper", - "opentelemetry", - "opentelemetry-application-insights", - "opentelemetry_sdk", - "reqwest", - "serde", - "serde_json", - "tokio", - "tower", - "tracing", - "tracing-opentelemetry", - "tracing-subscriber", -] - -[[package]] -name = "axum-macros" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00c055ee2d014ae5981ce1016374e8213682aa14d9bf40e48ab48b5f3ef20eaa" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "backtrace" -version = "0.3.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.21.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" - -[[package]] -name = "base64" -version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" - -[[package]] -name = "bincode" -version = "2.0.0-rc.3" -source = "git+https://github.com/bincode-org/bincode.git#224e41274b089e3833a3533459f5c5758c43ab2c" -dependencies = [ - "bincode_derive", - "serde", -] - -[[package]] -name = "bincode_derive" -version = "2.0.0-rc.3" -source = "git+https://github.com/bincode-org/bincode.git#224e41274b089e3833a3533459f5c5758c43ab2c" -dependencies = [ - "virtue", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" -dependencies = [ - "serde", -] - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "brotli" -version = "3.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - -[[package]] -name = "brotli-decompressor" -version = "2.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", -] - -[[package]] -name = "bumpalo" -version = "3.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "bzip2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "cast" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" - -[[package]] -name = "cc" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" -dependencies = [ - "jobserver", - "libc", -] - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "chashmap" -version = "2.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff41a3c2c1e39921b9003de14bf0439c7b63a9039637c291e1a64925d8ddfa45" -dependencies = [ - "owning_ref", - "parking_lot 0.4.8", -] - -[[package]] -name = "chrono" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" -dependencies = [ - "android-tzdata", - "iana-time-zone", - "js-sys", - "num-traits", - "serde", - "time 0.1.45", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "chrono-tz" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" -dependencies = [ - "chrono", - "chrono-tz-build", - "phf", - "serde", -] - -[[package]] -name = "chrono-tz-build" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - -[[package]] -name = "ciborium" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" -dependencies = [ - "ciborium-io", - "ciborium-ll", - "serde", -] - -[[package]] -name = "ciborium-io" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" - -[[package]] -name = "ciborium-ll" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" -dependencies = [ - "ciborium-io", - "half", -] - -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - -[[package]] -name = "cities-json" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4720186a8069da0585af9ec1e2f9e815d7d1bbe47dc817b8597e31a609f898f" -dependencies = [ - "lazy_static", - "rand 0.8.5", - "serde", - "serde_json", -] - -[[package]] -name = "clap" -version = "4.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0827b011f6f8ab38590295339817b0d26f344aa4932c3ced71b45b0c54b4a9" -dependencies = [ - "clap_builder", - "clap_derive", - "once_cell", -] - -[[package]] -name = "clap_builder" -version = "4.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9441b403be87be858db6a23edb493e7f694761acdc3343d5a0fcaafd304cbc9e" -dependencies = [ - "anstream", - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_derive" -version = "4.3.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "clap_lex" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" - -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - -[[package]] -name = "colored" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" -dependencies = [ - "is-terminal", - "lazy_static", - "windows-sys 0.48.0", -] - -[[package]] -name = "config" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7328b20597b53c2454f0b1919720c25c7339051c02b72b7e05409e00b14132be" -dependencies = [ - "async-trait", - "convert_case", - "json5", - "lazy_static", - "nom", - "pathdiff", - "ron", - "rust-ini", - "serde", - "serde_json", - "toml", - "yaml-rust", -] - -[[package]] -name = "const-random" -version = "0.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" -dependencies = [ - "const-random-macro", -] - -[[package]] -name = "const-random-macro" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" -dependencies = [ - "getrandom", - "once_cell", - "tiny-keccak", -] - -[[package]] -name = "constant_time_eq" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" - -[[package]] -name = "convert_case" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "cpufeatures" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" -dependencies = [ - "libc", -] - -[[package]] -name = "crc" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - -[[package]] -name = "crc32fast" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "criterion" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" -dependencies = [ - "anes", - "cast", - "ciborium", - "clap", - "criterion-plot", - "is-terminal", - "itertools", - "num-traits", - "once_cell", - "oorandom", - "plotters", - "rayon", - "regex", - "serde", - "serde_derive", - "serde_json", - "tinytemplate", - "walkdir", -] - -[[package]] -name = "criterion-plot" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" -dependencies = [ - "cast", - "itertools", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "crossbeam-utils", - "memoffset", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "deflate64" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b" - -[[package]] -name = "deranged" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" -dependencies = [ - "powerfmt", -] - -[[package]] -name = "derive_arbitrary" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", - "subtle", -] - -[[package]] -name = "displaydoc" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "dlv-list" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f" -dependencies = [ - "const-random", -] - -[[package]] -name = "dyn-clone" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "304e6508efa593091e97a9abbc10f90aa7ca635b6d2784feff3c89d41dd12272" - -[[package]] -name = "earcutr" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0812b44697951d35fde8fcb0da81c9de7e809e825a66bbf1ecb79d9829d4ca3d" -dependencies = [ - "itertools", - "num-traits", -] - -[[package]] -name = "either" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" - -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "fastrand" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" - -[[package]] -name = "flate2" -version = "1.0.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "float_next_after" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf7cc16383c4b8d58b9905a8509f02926ce3058053c056376248d958c9df1e8" - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - -[[package]] -name = "futures" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "geo" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f811f663912a69249fa620dcd2a005db7254529da2d8a0b23942e81f47084501" -dependencies = [ - "earcutr", - "float_next_after", - "geo-types", - "geographiclib-rs", - "log", - "num-traits", - "robust", - "rstar", - "spade", -] - -[[package]] -name = "geo-types" -version = "0.7.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff16065e5720f376fbced200a5ae0f47ace85fd70b7e54269790281353b6d61" -dependencies = [ - "approx", - "num-traits", - "rstar", - "serde", -] - -[[package]] -name = "geographiclib-rs" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea804e7bd3c6a4ca6a01edfa35231557a8a81d4d3f3e1e2b650d028c42592be" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "geojson" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d728c1df1fbf328d74151efe6cb0586f79ee813346ea981add69bd22c9241b" -dependencies = [ - "geo-types", - "log", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "getrandom" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[package]] -name = "gimli" -version = "0.27.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "h2" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" -dependencies = [ - "atomic-waker", - "bytes", - "fnv", - "futures-core", - "futures-sink", - "http", - "indexmap 2.0.0", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "half" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" -dependencies = [ - "cfg-if 1.0.0", - "crunchy", -] - -[[package]] -name = "hash32" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" -dependencies = [ - "byteorder", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" - -[[package]] -name = "hashbrown" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" - -[[package]] -name = "hdrhistogram" -version = "7.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f19b9f54f7c7f55e31401bb647626ce0cf0f67b0004982ce815b3ee72a02aa8" -dependencies = [ - "byteorder", - "num-traits", -] - -[[package]] -name = "heapless" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" -dependencies = [ - "hash32", - "stable_deref_trait", -] - -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - -[[package]] -name = "hermit-abi" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] - -[[package]] -name = "http" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" -dependencies = [ - "bytes", - "http", -] - -[[package]] -name = "http-body-util" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" -dependencies = [ - "bytes", - "futures-util", - "http", - "http-body", - "pin-project-lite", -] - -[[package]] -name = "http-range-header" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a397c49fec283e3d6211adbe480be95aae5f304cfb923e9970e08956d5168a" - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "hyper" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite", - "smallvec 1.13.2", - "tokio", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" -dependencies = [ - "futures-util", - "http", - "hyper", - "hyper-util", - "rustls", - "rustls-pki-types", - "tokio", - "tokio-rustls", - "tower-service", - "webpki-roots", -] - -[[package]] -name = "hyper-tls" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" -dependencies = [ - "bytes", - "http-body-util", - "hyper", - "hyper-util", - "native-tls", - "tokio", - "tokio-native-tls", - "tower-service", -] - -[[package]] -name = "hyper-util" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "http", - "http-body", - "hyper", - "pin-project-lite", - "socket2 0.5.7", - "tokio", - "tower", - "tower-service", - "tracing", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "windows 0.48.0", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -dependencies = [ - "cc", -] - -[[package]] -name = "idna" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "include_bytes_aligned" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04cb7c34f1605722a91ca2ddf1fd071a9ce4fe1ac82d57fe36437331c87ec3b" - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown 0.12.3", -] - -[[package]] -name = "indexmap" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" -dependencies = [ - "equivalent", - "hashbrown 0.14.0", - "serde", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", -] - -[[package]] -name = "ipnet" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" - -[[package]] -name = "iri-string" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21859b667d66a4c1dacd9df0863b3efb65785474255face87f5bca39dd8407c0" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "is-terminal" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -dependencies = [ - "hermit-abi", - "rustix", - "windows-sys 0.48.0", -] - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" - -[[package]] -name = "jobserver" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "json5" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1" -dependencies = [ - "pest", - "pest_derive", - "serde", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.155" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" - -[[package]] -name = "libm" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linux-raw-sys" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" - -[[package]] -name = "lock_api" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "lockfree-object-pool" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" - -[[package]] -name = "log" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" - -[[package]] -name = "lzma-rs" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e" -dependencies = [ - "byteorder", - "crc", -] - -[[package]] -name = "matchit" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed1202b2a6f884ae56f04cff409ab315c5ce26b5e58d7412e484f01fd52f52ef" - -[[package]] -name = "maybe-uninit" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "ntapi" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a3895c6391c39d7fe7ebc444a87eb2991b2a0bc718fdabd071eec617fc68e4" -dependencies = [ - "winapi", -] - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "num-conv" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", - "libm", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi", - "libc", -] - -[[package]] -name = "num_enum" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" -dependencies = [ - "num_enum_derive", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "num_threads" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" -dependencies = [ - "libc", -] - -[[package]] -name = "object" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[package]] -name = "oorandom" -version = "11.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" - -[[package]] -name = "openssl" -version = "0.10.55" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345df152bc43501c5eb9e4654ff05f794effb78d4efe3d53abc158baddc0703d" -dependencies = [ - "bitflags 1.3.2", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.90" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374533b0e45f3a7ced10fcaeccca020e66656bc03dac384f852e4e5a7a8104a6" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "opentelemetry" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c365a63eec4f55b7efeceb724f1336f26a9cf3427b70e59e2cd2a5b947fba96" -dependencies = [ - "futures-core", - "futures-sink", - "js-sys", - "once_cell", - "pin-project-lite", - "thiserror", -] - -[[package]] -name = "opentelemetry-application-insights" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34bf883e0551d76e672b8f8a7cfb6a8401e34c485d30a6286714a91a6d1061f5" -dependencies = [ - "async-trait", - "bytes", - "chrono", - "flate2", - "futures-util", - "http", - "once_cell", - "opentelemetry", - "opentelemetry-http", - "opentelemetry-semantic-conventions", - "opentelemetry_sdk", - "reqwest", - "serde", - "serde_json", - "serde_repr", - "sysinfo", - "thiserror", -] - -[[package]] -name = "opentelemetry-http" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad31e9de44ee3538fb9d64fe3376c1362f406162434609e79aea2a41a0af78ab" -dependencies = [ - "async-trait", - "bytes", - "http", - "opentelemetry", - "reqwest", -] - -[[package]] -name = "opentelemetry-semantic-conventions" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cefe0543875379e47eb5f1e68ff83f45cc41366a92dfd0d073d513bf68e9a05" - -[[package]] -name = "opentelemetry_sdk" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692eac490ec80f24a17828d49b40b60f5aeaccdfe6a503f939713afd22bc28df" -dependencies = [ - "async-trait", - "futures-channel", - "futures-executor", - "futures-util", - "glob", - "once_cell", - "opentelemetry", - "percent-encoding", - "rand 0.8.5", - "serde_json", - "thiserror", - "tokio", - "tokio-stream", -] - -[[package]] -name = "ordered-multimap" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ed8acf08e98e744e5384c8bc63ceb0364e68a6854187221c18df61c4797690e" -dependencies = [ - "dlv-list", - "hashbrown 0.13.2", -] - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "owning_ref" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" -dependencies = [ - "stable_deref_trait", -] - -[[package]] -name = "parking_lot" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "149d8f5b97f3c1133e3cfcd8886449959e856b557ff281e292b733d7c69e005e" -dependencies = [ - "owning_ref", - "parking_lot_core 0.2.14", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.8", -] - -[[package]] -name = "parking_lot_core" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4db1a8ccf734a7bce794cc19b3df06ed87ab2f3907036b693c68f56b4d4537fa" -dependencies = [ - "libc", - "rand 0.4.6", - "smallvec 0.6.14", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec 1.13.2", - "windows-targets 0.48.1", -] - -[[package]] -name = "parse-zoneinfo" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41" -dependencies = [ - "regex", -] - -[[package]] -name = "pathdiff" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" - -[[package]] -name = "pbkdf2" -version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" -dependencies = [ - "digest", - "hmac", -] - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pest" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d2d1d55045829d65aad9d389139882ad623b33b904e7c9f1b10c5b8927298e5" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f94bca7e7a599d89dea5dfa309e217e7906c3c007fb9c3299c40b10d6a315d3" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d490fe7e8556575ff6911e45567ab95e71617f43781e5c05490dc8d75c965c" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "pest_meta" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2674c66ebb4b4d9036012091b537aae5878970d6999f81a265034d85b136b341" -dependencies = [ - "once_cell", - "pest", - "sha2", -] - -[[package]] -name = "phf" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" -dependencies = [ - "phf_shared", -] - -[[package]] -name = "phf_codegen" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" -dependencies = [ - "phf_generator", - "phf_shared", -] - -[[package]] -name = "phf_generator" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" -dependencies = [ - "phf_shared", - "rand 0.8.5", -] - -[[package]] -name = "phf_shared" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" -dependencies = [ - "siphasher", -] - -[[package]] -name = "pin-project" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" - -[[package]] -name = "plotters" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15b6eccb8484002195a3e44fe65a4ce8e93a625797a063735536fd59cb01cf3" -dependencies = [ - "num-traits", - "plotters-backend", - "plotters-svg", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "plotters-backend" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "414cec62c6634ae900ea1c56128dfe87cf63e7caece0852ec76aba307cebadb7" - -[[package]] -name = "plotters-svg" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81b30686a7d9c3e010b84284bdd26a29f2138574f52f5eb6f794fc0ad924e705" -dependencies = [ - "plotters-backend", -] - -[[package]] -name = "powerfmt" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "pretty_assertions" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" -dependencies = [ - "diff", - "yansi", -] - -[[package]] -name = "proc-macro-crate" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" -dependencies = [ - "toml_edit 0.21.1", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quinn" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b22d8e7369034b9a7132bc2008cac12f2013c8132b45e0554e6e20e2617f2156" -dependencies = [ - "bytes", - "pin-project-lite", - "quinn-proto", - "quinn-udp", - "rustc-hash", - "rustls", - "socket2 0.5.7", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "quinn-proto" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba92fb39ec7ad06ca2582c0ca834dfeadcaf06ddfc8e635c80aa7e1c05315fdd" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring", - "rustc-hash", - "rustls", - "slab", - "thiserror", - "tinyvec", - "tracing", -] - -[[package]] -name = "quinn-udp" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" -dependencies = [ - "libc", - "once_cell", - "socket2 0.5.7", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "quote" -version = "1.0.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rayon" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "regex" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" - -[[package]] -name = "reqwest" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37" -dependencies = [ - "base64 0.22.1", - "bytes", - "encoding_rs", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "http-body-util", - "hyper", - "hyper-rustls", - "hyper-tls", - "hyper-util", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding", - "pin-project-lite", - "quinn", - "rustls", - "rustls-pemfile", - "rustls-pki-types", - "serde", - "serde_json", - "serde_urlencoded", - "sync_wrapper 1.0.1", - "system-configuration", - "tokio", - "tokio-native-tls", - "tokio-rustls", - "tower-service", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "webpki-roots", - "winreg", -] - -[[package]] -name = "ring" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" -dependencies = [ - "cc", - "cfg-if 1.0.0", - "getrandom", - "libc", - "spin", - "untrusted", - "windows-sys 0.52.0", -] - -[[package]] -name = "robust" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf4a6aa5f6d6888f39e980649f3ad6b666acdce1d78e95b8a2cb076e687ae30" - -[[package]] -name = "ron" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" -dependencies = [ - "base64 0.21.2", - "bitflags 2.3.3", - "serde", - "serde_derive", -] - -[[package]] -name = "rstar" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "133315eb94c7b1e8d0cb097e5a710d850263372fd028fff18969de708afc7008" -dependencies = [ - "heapless", - "num-traits", - "smallvec 1.13.2", -] - -[[package]] -name = "rtz" -version = "0.7.0" -dependencies = [ - "anyhow", - "async-trait", - "axum", - "axum-insights", - "bincode", - "chashmap", - "chrono", - "chrono-tz", - "cities-json", - "clap", - "config", - "criterion", - "futures", - "geo", - "geojson", - "getrandom", - "http", - "http-body-util", - "hyper", - "include_bytes_aligned", - "js-sys", - "log", - "pretty_assertions", - "rand 0.8.5", - "rayon", - "reqwest", - "rtz-build", - "rtz-core", - "schemars", - "serde", - "serde_json", - "simple_logger", - "tokio", - "tower", - "tower-http", - "tracing", - "utoipa", - "utoipa-rapidoc", - "utoipa-redoc", - "utoipa-swagger-ui", - "wasm-bindgen", - "wasm-bindgen-futures", - "wee_alloc", - "zip 2.1.6", -] - -[[package]] -name = "rtz-build" -version = "0.2.7" -dependencies = [ - "rtz-core", -] - -[[package]] -name = "rtz-core" -version = "0.1.5" -dependencies = [ - "anyhow", - "bincode", - "chashmap", - "geo", - "geojson", - "pretty_assertions", - "rayon", - "reqwest", - "serde", - "serde_json", - "zip 2.1.6", -] - -[[package]] -name = "rust-embed" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e7d90385b59f0a6bf3d3b757f3ca4ece2048265d70db20a2016043d4509a40" -dependencies = [ - "rust-embed-impl", - "rust-embed-utils", - "walkdir", -] - -[[package]] -name = "rust-embed-impl" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3d8c6fd84090ae348e63a84336b112b5c3918b3bf0493a581f7bd8ee623c29" -dependencies = [ - "proc-macro2", - "quote", - "rust-embed-utils", - "syn 2.0.72", - "walkdir", -] - -[[package]] -name = "rust-embed-utils" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "873feff8cb7bf86fdf0a71bb21c95159f4e4a37dd7a4bd1855a940909b583ada" -dependencies = [ - "sha2", - "walkdir", -] - -[[package]] -name = "rust-ini" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e2a3bcec1f113553ef1c88aae6c020a369d03d55b58de9869a0908930385091" -dependencies = [ - "cfg-if 1.0.0", - "ordered-multimap", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "rustc-hash" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" - -[[package]] -name = "rustix" -version = "0.38.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5" -dependencies = [ - "bitflags 2.3.3", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustls" -version = "0.23.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" -dependencies = [ - "once_cell", - "ring", - "rustls-pki-types", - "rustls-webpki", - "subtle", - "zeroize", -] - -[[package]] -name = "rustls-pemfile" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" -dependencies = [ - "base64 0.22.1", - "rustls-pki-types", -] - -[[package]] -name = "rustls-pki-types" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" - -[[package]] -name = "rustls-webpki" -version = "0.102.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" -dependencies = [ - "ring", - "rustls-pki-types", - "untrusted", -] - -[[package]] -name = "rustversion" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" - -[[package]] -name = "ryu" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "schannel" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "schemars" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02c613288622e5f0c3fdc5dbd4db1c5fbe752746b1d1a56a0630b78fd00de44f" -dependencies = [ - "chrono", - "dyn-clone", - "schemars_derive", - "serde", - "serde_json", -] - -[[package]] -name = "schemars_derive" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109da1e6b197438deb6db99952990c7f959572794b80ff93707d55a232545e7c" -dependencies = [ - "proc-macro2", - "quote", - "serde_derive_internals", - "syn 1.0.109", -] - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "security-framework" -version = "2.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "serde" -version = "1.0.205" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.205" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "serde_derive_internals" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "serde_json" -version = "1.0.103" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_path_to_error" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4beec8bce849d58d06238cb50db2e1c417cfeafa4c63f692b15c82b7c80f8335" -dependencies = [ - "itoa", - "serde", -] - -[[package]] -name = "serde_repr" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "serde_spanned" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" -dependencies = [ - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest", -] - -[[package]] -name = "sha2" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - -[[package]] -name = "simd-adler32" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" - -[[package]] -name = "simple_logger" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8c5dfa5e08767553704aa0ffd9d9794d527103c736aba9854773851fd7497eb" -dependencies = [ - "colored", - "log", - "time 0.3.36", - "windows-sys 0.48.0", -] - -[[package]] -name = "siphasher" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - -[[package]] -name = "smallvec" -version = "0.6.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0" -dependencies = [ - "maybe-uninit", -] - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "socket2" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "spade" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab085cfe5486093ca290034bd2d424e283f9725b4bcf8ba5a7f6c7612b59841c" -dependencies = [ - "num-traits", - "robust", - "smallvec 1.13.2", -] - -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "subtle" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.72" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - -[[package]] -name = "sync_wrapper" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" - -[[package]] -name = "sysinfo" -version = "0.30.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5b4ddaee55fb2bea2bf0e5000747e5f5c0de765e5a5ff87f4cd106439f4bb3" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "windows 0.52.0", -] - -[[package]] -name = "system-configuration" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" -dependencies = [ - "bitflags 1.3.2", - "core-foundation", - "system-configuration-sys", -] - -[[package]] -name = "system-configuration-sys" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "tempfile" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5486094ee78b2e5038a6382ed7645bc084dc2ec433426ca4c3cb61e2007b8998" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "redox_syscall", - "rustix", - "windows-sys 0.48.0", -] - -[[package]] -name = "thiserror" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.63" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "thread_local" -version = "1.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" -dependencies = [ - "cfg-if 1.0.0", - "once_cell", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.36" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" -dependencies = [ - "deranged", - "itoa", - "libc", - "num-conv", - "num_threads", - "powerfmt", - "serde", - "time-core", - "time-macros", -] - -[[package]] -name = "time-core" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" - -[[package]] -name = "time-macros" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" -dependencies = [ - "num-conv", - "time-core", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - -[[package]] -name = "tinytemplate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" -dependencies = [ - "serde", - "serde_json", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.29.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" -dependencies = [ - "autocfg", - "backtrace", - "bytes", - "libc", - "mio", - "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite", - "signal-hook-registry", - "socket2 0.4.9", - "tokio-macros", - "windows-sys 0.48.0", -] - -[[package]] -name = "tokio-macros" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" -dependencies = [ - "rustls", - "rustls-pki-types", - "tokio", -] - -[[package]] -name = "tokio-stream" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.8.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.22.20", -] - -[[package]] -name = "toml_datetime" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.0.0", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.22.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" -dependencies = [ - "indexmap 2.0.0", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.6.18", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "hdrhistogram", - "indexmap 1.9.3", - "pin-project", - "pin-project-lite", - "rand 0.8.5", - "slab", - "tokio", - "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-http" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" -dependencies = [ - "async-compression", - "base64 0.21.2", - "bitflags 2.3.3", - "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-body-util", - "http-range-header", - "httpdate", - "iri-string", - "mime", - "mime_guess", - "percent-encoding", - "pin-project-lite", - "tokio", - "tokio-util", - "tower", - "tower-layer", - "tower-service", - "tracing", - "uuid", -] - -[[package]] -name = "tower-layer" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "log", - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-opentelemetry" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9784ed4da7d921bc8df6963f8c80a0e4ce34ba6ba76668acadd3edbd985ff3b" -dependencies = [ - "js-sys", - "once_cell", - "opentelemetry", - "opentelemetry_sdk", - "smallvec 1.13.2", - "tracing", - "tracing-core", - "tracing-log 0.2.0", - "tracing-subscriber", - "web-time", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" -dependencies = [ - "nu-ansi-term", - "sharded-slab", - "smallvec 1.13.2", - "thread_local", - "tracing-core", - "tracing-log 0.1.3", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "ucd-trie" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" - -[[package]] -name = "unicode-ident" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - -[[package]] -name = "untrusted" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" - -[[package]] -name = "url" -version = "2.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "utf8parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" - -[[package]] -name = "utoipa" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b208a50ff438dcdc887ea3f2db59530bd2f4bc3d2c70630e4d7ee7a281a1d1b" -dependencies = [ - "indexmap 2.0.0", - "serde", - "serde_json", - "utoipa-gen", -] - -[[package]] -name = "utoipa-gen" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bd516d8879043e081537690bc96c8f17b5a4602c336aecb8f1de89d9d9c7e72" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "regex", - "syn 2.0.72", -] - -[[package]] -name = "utoipa-rapidoc" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a32488b691c135d58eb78efcf8258ebb3db1ec7447964c6a83bd5e1ab7a39d9" -dependencies = [ - "axum", - "serde", - "serde_json", - "utoipa", -] - -[[package]] -name = "utoipa-redoc" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca44a24600ba6bead97e455954d2f01b062af9eff5facba4266fd3d62687ef0f" -dependencies = [ - "axum", - "serde", - "serde_json", - "utoipa", -] - -[[package]] -name = "utoipa-swagger-ui" -version = "7.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943e0ff606c6d57d410fd5663a4d7c074ab2c5f14ab903b9514565e59fa1189e" -dependencies = [ - "axum", - "mime_guess", - "regex", - "reqwest", - "rust-embed", - "serde", - "serde_json", - "url", - "utoipa", - "zip 1.1.4", -] - -[[package]] -name = "uuid" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" -dependencies = [ - "getrandom", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "virtue" -version = "0.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b522f715ead3537dc57c9907899a08e461a8f1e87fc8414a4a89bbd9854289ff" - -[[package]] -name = "walkdir" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "want" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" -dependencies = [ - "try-lock", -] - -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.72", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" - -[[package]] -name = "web-sys" -version = "0.3.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "web-time" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webpki-roots" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" -dependencies = [ - "rustls-pki-types", -] - -[[package]] -name = "wee_alloc" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" -dependencies = [ - "windows-targets 0.48.1", -] - -[[package]] -name = "windows" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" -dependencies = [ - "windows-core", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-core" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.1", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.48.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "winnow" -version = "0.5.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] - -[[package]] -name = "winnow" -version = "0.6.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" -dependencies = [ - "memchr", -] - -[[package]] -name = "winreg" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" -dependencies = [ - "cfg-if 1.0.0", - "windows-sys 0.48.0", -] - -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "yansi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" - -[[package]] -name = "zeroize" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "zip" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cc23c04387f4da0374be4533ad1208cbb091d5c11d070dfef13676ad6497164" -dependencies = [ - "arbitrary", - "crc32fast", - "crossbeam-utils", - "displaydoc", - "flate2", - "indexmap 2.0.0", - "num_enum", - "thiserror", -] - -[[package]] -name = "zip" -version = "2.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40dd8c92efc296286ce1fbd16657c5dbefff44f1b4ca01cc5f517d8b7b3d3e2e" -dependencies = [ - "aes", - "arbitrary", - "bzip2", - "constant_time_eq", - "crc32fast", - "crossbeam-utils", - "deflate64", - "displaydoc", - "flate2", - "hmac", - "indexmap 2.0.0", - "lzma-rs", - "memchr", - "pbkdf2", - "rand 0.8.5", - "sha1", - "thiserror", - "time 0.3.36", - "zeroize", - "zopfli", - "zstd 0.13.2", -] - -[[package]] -name = "zopfli" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" -dependencies = [ - "bumpalo", - "crc32fast", - "lockfree-object-pool", - "log", - "once_cell", - "simd-adler32", -] - -[[package]] -name = "zstd" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" -dependencies = [ - "zstd-safe 6.0.6", -] - -[[package]] -name = "zstd" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" -dependencies = [ - "zstd-safe 7.2.1", -] - -[[package]] -name = "zstd-safe" -version = "6.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-safe" -version = "7.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" -dependencies = [ - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.13+zstd.1.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" -dependencies = [ - "cc", - "pkg-config", -] diff --git a/pkgs/tools/misc/rtz/default.nix b/pkgs/tools/misc/rtz/default.nix deleted file mode 100644 index 3d7670991a5b..000000000000 --- a/pkgs/tools/misc/rtz/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, fetchurl -, pkg-config -, bzip2 -, openssl -, zstd -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "rtz"; - version = "0.7.0"; - - src = fetchFromGitHub { - owner = "twitchax"; - repo = "rtz"; - rev = "v${version}"; - hash = "sha256-Wfb3FEZHjWYUtRI4Qn3QNunIXuzW1AIEZkIvtVrjBPs="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "bincode-2.0.0-rc.3" = "sha256-YCoTnIKqRObeyfTanjptTYeD9U2b2c+d4CJFWIiGckI="; - }; - }; - - swagger-ui = fetchurl { - url = "https://github.com/juhaku/utoipa/raw/master/utoipa-swagger-ui-vendored/res/v5.17.12.zip"; - hash = "sha256-HK4z/JI+1yq8BTBJveYXv9bpN/sXru7bn/8g5mf2B/I="; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - bzip2 - openssl - zstd - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - darwin.apple_sdk.frameworks.SystemConfiguration - ]; - - buildFeatures = [ "web" ]; - - # ${swagger-ui} is read-only and the copy made by the build script - # is as well. Remove it so that checks can copy it again. - preCheck = '' - find target -name $(basename ${swagger-ui}) -delete - ''; - - env = { - # use local data file instead of requiring network access - SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}"; - }; - - meta = with lib; { - description = "Tool to easily work with timezone lookups via a binary, a library, or a server"; - homepage = "https://github.com/twitchax/rtz"; - changelog = "https://github.com/twitchax/rtz/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "rtz"; - }; -} diff --git a/pkgs/tools/misc/rust-motd/default.nix b/pkgs/tools/misc/rust-motd/default.nix index 26b582e5e944..df79acf5f1c5 100644 --- a/pkgs/tools/misc/rust-motd/default.nix +++ b/pkgs/tools/misc/rust-motd/default.nix @@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; diff --git a/pkgs/tools/misc/rustypaste-cli/default.nix b/pkgs/tools/misc/rustypaste-cli/default.nix deleted file mode 100644 index 8f87e508a7be..000000000000 --- a/pkgs/tools/misc/rustypaste-cli/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "rustypaste-cli"; - version = "0.9.1"; - - src = fetchFromGitHub { - owner = "orhun"; - repo = "rustypaste-cli"; - rev = "v${version}"; - hash = "sha256-RF4SGqaEx9/OMB5XEJNiPPPGg1uwTM5ta1gwpj8mbho="; - }; - - cargoHash = "sha256-UaOUEuh7NNIhXOKqHEfVRv1hXld7qmdPdazATalXvQU="; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - meta = with lib; { - description = "CLI tool for rustypaste"; - homepage = "https://github.com/orhun/rustypaste-cli"; - changelog = "https://github.com/orhun/rustypaste-cli/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "rpaste"; - }; -} diff --git a/pkgs/tools/misc/rw/default.nix b/pkgs/tools/misc/rw/default.nix deleted file mode 100644 index e77009f7969f..000000000000 --- a/pkgs/tools/misc/rw/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "rw"; - version = "1.0"; - - src = fetchurl { - url = "https://sortix.org/rw/release/rw-portable-${version}.tar.gz"; - # Use hash provided by upstream - sha256 = "50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - homepage = "https://sortix.org/rw"; - description = "Block device and byte copying program similar to dd"; - longDescription = '' - rw is a command line program which copies information between files - or byte streams. The rw command is designed to be a replacement for - dd with standard style command line flags. - ''; - license = licenses.isc; - maintainers = with maintainers; [ dtzWill ]; - mainProgram = "rw"; - }; -} diff --git a/pkgs/tools/misc/sacad/default.nix b/pkgs/tools/misc/sacad/default.nix deleted file mode 100644 index 5868962781b7..000000000000 --- a/pkgs/tools/misc/sacad/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, python3Packages, fetchPypi, jpegoptim, optipng }: - -python3Packages.buildPythonApplication rec { - pname = "sacad"; - version = "2.8.0"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-/NyRnQSqDZv+LJ1bPO35T9icQ2PN9Oa+nSmrLkQimnQ="; - }; - - propagatedBuildInputs = with python3Packages; [ - aiohttp - appdirs - bitarray - cssselect - fake-useragent - lxml - mutagen - pillow - tqdm - unidecode - web-cache - jpegoptim - optipng - ]; - - # tests require internet connection - doCheck = false; - - pythonImportsCheck = [ "sacad" ]; - - meta = with lib; { - description = "Smart Automatic Cover Art Downloader"; - homepage = "https://github.com/desbma/sacad"; - license = licenses.mpl20; - maintainers = with maintainers; [ moni ]; - }; -} diff --git a/pkgs/tools/misc/sagoin/default.nix b/pkgs/tools/misc/sagoin/default.nix deleted file mode 100644 index 1469bb6e3454..000000000000 --- a/pkgs/tools/misc/sagoin/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "sagoin"; - version = "0.2.4"; - - src = fetchFromGitHub { - owner = "figsoda"; - repo = pname; - rev = "v${version}"; - hash = "sha256-zXYjR9ZFNX2guUSeMN/G77oBIlW3AowFWA4gwID2jQs="; - }; - - cargoHash = "sha256-NMv48gv3RUIjBRD2XuOhmS32d+MjZ/tP/ZhpRuyulgE="; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.CoreServices - ]; - - postInstall = '' - installManPage artifacts/sagoin.1 - installShellCompletion artifacts/sagoin.{bash,fish} --zsh artifacts/_sagoin - ''; - - GEN_ARTIFACTS = "artifacts"; - - meta = with lib; { - description = "Command-line submission tool for the UMD CS Submit Server"; - homepage = "https://github.com/figsoda/sagoin"; - changelog = "https://github.com/figsoda/sagoin/blob/v${version}/CHANGELOG.md"; - license = licenses.agpl3Plus; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "sagoin"; - }; -} diff --git a/pkgs/tools/misc/sam-ba/default.nix b/pkgs/tools/misc/sam-ba/default.nix deleted file mode 100644 index 6a383cd4fc4e..000000000000 --- a/pkgs/tools/misc/sam-ba/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchzip, glib, zlib, libglvnd, python3, autoPatchelfHook }: - -stdenv.mkDerivation rec { - version = "3.5"; - pname = "sam-ba"; - - src = fetchzip { - url = "https://ww1.microchip.com/downloads/en/DeviceDoc/sam-ba_${version}-linux_x86_64.tar.gz"; - sha256 = "1k0nbgyc98z94nphm2q7s82b274clfnayf4a2kv93l5594rzdbp1"; - }; - - buildInputs = [ - glib - libglvnd - zlib - - (python3.withPackages (ps: [ps.pyserial])) - ]; - - nativeBuildInputs = [ autoPatchelfHook ]; - - installPhase = '' - runHook preInstall - - mkdir -p "$out/bin/" \ - "$out/opt/sam-ba/" - cp -a . "$out/opt/sam-ba/" - ln -sr "$out/opt/sam-ba/sam-ba" "$out/bin/" - ln -sr "$out/opt/sam-ba/multi_sam-ba.py" "$out/bin/" - - runHook postInstall - ''; - - meta = with lib; { - description = "Programming tools for Atmel SAM3/7/9 ARM-based microcontrollers"; - longDescription = '' - Atmel SAM-BA software provides an open set of tools for programming the - Atmel SAM3, SAM7 and SAM9 ARM-based microcontrollers. - ''; - # Alternatively: https://www.microchip.com/en-us/development-tool/SAM-BA-In-system-Programmer - homepage = "http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = lib.licenses.gpl2Only; - platforms = [ "x86_64-linux" ]; - maintainers = [ maintainers.bjornfor ]; - }; -} diff --git a/pkgs/tools/misc/sanctity/default.nix b/pkgs/tools/misc/sanctity/default.nix deleted file mode 100644 index 05e6a5ed46d6..000000000000 --- a/pkgs/tools/misc/sanctity/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitea }: - -rustPlatform.buildRustPackage rec { - pname = "sanctity"; - version = "1.3.1"; - - src = fetchFromGitea { - domain = "codeberg.org"; - owner = "annaaurora"; - repo = pname; - rev = "v${version}"; - hash = "sha256-y6xj4A5SHcW747aFE9TfuurNnuUxjTUeKJmzxeiWqVc="; - }; - - cargoHash = "sha256-co58YBeFjP9DKzxDegQI7txuJ1smqJxdlRLae+Ppwh0="; - - meta = with lib; { - description = "Test the 16 terminal colors in all combinations"; - homepage = "https://codeberg.org/annaaurora/sanctity"; - license = licenses.lgpl3Only; - maintainers = with maintainers; [ annaaurora ]; - mainProgram = "sanctity"; - }; -} diff --git a/pkgs/tools/misc/savepagenow/default.nix b/pkgs/tools/misc/savepagenow/default.nix deleted file mode 100644 index 9e723d53f54f..000000000000 --- a/pkgs/tools/misc/savepagenow/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, python3Packages, fetchFromGitHub }: - -python3Packages.buildPythonApplication rec { - pname = "savepagenow"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "pastpages"; - repo = pname; - rev = "v${version}"; - sha256 = "1lz6rc47cds9rb35jdf8n13gr61wdkh5jqzx4skikm1yrqkwjyhm"; - }; - - propagatedBuildInputs = with python3Packages; [ click requests ]; - - # requires network access - doCheck = false; - - meta = with lib; { - description = "Simple Python wrapper for archive.org's \"Save Page Now\" capturing service"; - homepage = "https://github.com/pastpages/savepagenow"; - license = licenses.mit; - maintainers = with maintainers; [ SuperSandro2000 ]; - mainProgram = "savepagenow"; - }; -} diff --git a/pkgs/tools/misc/scanmem/default.nix b/pkgs/tools/misc/scanmem/default.nix deleted file mode 100644 index 15d8f1c02f1e..000000000000 --- a/pkgs/tools/misc/scanmem/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, gobject-introspection -, intltool -, wrapGAppsHook3 -, procps -, python3 -, readline -}: - -stdenv.mkDerivation rec { - pname = "scanmem"; - version = "0.17"; - - src = fetchFromGitHub { - owner = "scanmem"; - repo = "scanmem"; - rev = "v${version}"; - sha256 = "17p8sh0rj8yqz36ria5bp48c8523zzw3y9g8sbm2jwq7sc27i7s9"; - }; - - nativeBuildInputs = [ autoreconfHook gobject-introspection intltool wrapGAppsHook3 ]; - buildInputs = [ readline python3 ]; - configureFlags = ["--enable-gui"]; - - # we don't need to wrap the main executable, just the GUI - dontWrapGApps = true; - - fixupPhase = '' - runHook preFixup - - # replace the upstream launcher which does stupid things - # also add procps because it shells out to `ps` and expects it to be procps - makeWrapper ${python3}/bin/python3 $out/bin/gameconqueror \ - "''${gappsWrapperArgs[@]}" \ - --set PYTHONPATH "${python3.pkgs.makePythonPath [ python3.pkgs.pygobject3 ]}" \ - --prefix PATH : "${procps}/bin" \ - --add-flags "$out/share/gameconqueror/GameConqueror.py" - - runHook postFixup - ''; - - meta = with lib; { - homepage = "https://github.com/scanmem/scanmem"; - description = "Memory scanner for finding and poking addresses in executing processes"; - maintainers = [ ]; - platforms = platforms.linux; - license = licenses.gpl3; - }; -} diff --git a/pkgs/tools/misc/scdl/default.nix b/pkgs/tools/misc/scdl/default.nix deleted file mode 100644 index 94e1d5c53740..000000000000 --- a/pkgs/tools/misc/scdl/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "scdl"; - version = "2.12.1"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-8BMO5/XJdAkz/E1ZDXavJudNSOiZdYLcZVMk1S8g9nU="; - }; - - build-system = [ python3Packages.setuptools ]; - - dependencies = with python3Packages; [ - docopt-ng - mutagen - termcolor - requests - tqdm - pathvalidate - soundcloud-v2 - filelock - ]; - - # No tests in repository - doCheck = false; - - pythonImportsCheck = [ "scdl" ]; - - meta = with lib; { - description = "Download Music from Soundcloud"; - homepage = "https://github.com/flyingrub/scdl"; - license = licenses.gpl2Only; - maintainers = [ ]; - mainProgram = "scdl"; - }; -} diff --git a/pkgs/tools/misc/screen/default.nix b/pkgs/tools/misc/screen/default.nix index 29f7fe5ea846..68487255d9bc 100644 --- a/pkgs/tools/misc/screen/default.nix +++ b/pkgs/tools/misc/screen/default.nix @@ -31,8 +31,8 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses libxcrypt - ] ++ lib.optional stdenv.isLinux pam - ++ lib.optional stdenv.isDarwin utmp; + ] ++ lib.optional stdenv.hostPlatform.isLinux pam + ++ lib.optional stdenv.hostPlatform.isDarwin utmp; doCheck = true; @@ -41,27 +41,27 @@ stdenv.mkDerivation rec { description = "Window manager that multiplexes a physical terminal"; license = licenses.gpl3Plus; - longDescription = - '' GNU Screen is a full-screen window manager that multiplexes a physical - terminal between several processes, typically interactive shells. - Each virtual terminal provides the functions of the DEC VT100 - terminal and, in addition, several control functions from the ANSI - X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line - and support for multiple character sets). There is a scrollback - history buffer for each virtual terminal and a copy-and-paste - mechanism that allows the user to move text regions between windows. - When screen is called, it creates a single window with a shell in it - (or the specified command) and then gets out of your way so that you - can use the program as you normally would. Then, at any time, you - can create new (full-screen) windows with other programs in them - (including more shells), kill the current window, view a list of the - active windows, turn output logging on and off, copy text between - windows, view the scrollback history, switch between windows, etc. - All windows run their programs completely independent of each other. - Programs continue to run when their window is currently not visible - and even when the whole screen session is detached from the users - terminal. - ''; + longDescription = '' + GNU Screen is a full-screen window manager that multiplexes a physical + terminal between several processes, typically interactive shells. + Each virtual terminal provides the functions of the DEC VT100 + terminal and, in addition, several control functions from the ANSI + X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line + and support for multiple character sets). There is a scrollback + history buffer for each virtual terminal and a copy-and-paste + mechanism that allows the user to move text regions between windows. + When screen is called, it creates a single window with a shell in it + (or the specified command) and then gets out of your way so that you + can use the program as you normally would. Then, at any time, you + can create new (full-screen) windows with other programs in them + (including more shells), kill the current window, view a list of the + active windows, turn output logging on and off, copy text between + windows, view the scrollback history, switch between windows, etc. + All windows run their programs completely independent of each other. + Programs continue to run when their window is currently not visible + and even when the whole screen session is detached from the users + terminal. + ''; platforms = platforms.unix; maintainers = [ ]; diff --git a/pkgs/tools/misc/screenfetch/default.nix b/pkgs/tools/misc/screenfetch/default.nix deleted file mode 100644 index e3ad0e5c51c8..000000000000 --- a/pkgs/tools/misc/screenfetch/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, makeWrapper, coreutils, gawk, procps, gnused -, bc, findutils, xdpyinfo, xprop, gnugrep, ncurses, pciutils -, darwin -}: - -let - path = lib.makeBinPath ([ - coreutils gawk gnused findutils - gnugrep ncurses bc pciutils - ] ++ lib.optionals stdenv.isLinux [ - procps - xdpyinfo - xprop - ] ++ lib.optionals stdenv.isDarwin (with darwin; [ - adv_cmds - DarwinTools - system_cmds - "/usr" # some commands like defaults is not available to us - ])); - -in stdenv.mkDerivation rec { - pname = "screenfetch"; - version = "3.9.1"; - - src = fetchFromGitHub { - owner = "KittyKatt"; - repo = "screenFetch"; - rev = "v${version}"; - sha256 = "04l8aqr474pb115nagn9f6y48jw92n1qfszgw7dbhgl4mpn95lcr"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - install -Dm 0755 screenfetch-dev $out/bin/screenfetch - install -Dm 0644 screenfetch.1 $out/share/man/man1/screenfetch.1 - install -Dm 0644 -t $out/share/doc/screenfetch CHANGELOG COPYING README.mkdn TODO - - # Fix all of the dependencies of screenfetch - patchShebangs $out/bin/screenfetch - wrapProgram "$out/bin/screenfetch" \ - --prefix PATH : ${path} - ''; - - meta = with lib; { - description = "Fetches system/theme information in terminal for Linux desktop screenshots"; - longDescription = '' - screenFetch is a "Bash Screenshot Information Tool". This handy Bash - script can be used to generate one of those nifty terminal theme - information + ASCII distribution logos you see in everyone's screenshots - nowadays. It will auto-detect your distribution and display an ASCII - version of that distribution's logo and some valuable information to the - right. There are options to specify no ascii art, colors, taking a - screenshot upon displaying info, and even customizing the screenshot - command! This script is very easy to add to and can easily be extended. - ''; - license = licenses.gpl3; - homepage = "https://github.com/KittyKatt/screenFetch"; - maintainers = with maintainers; [ relrod ]; - platforms = platforms.all; - mainProgram = "screenfetch"; - }; -} diff --git a/pkgs/tools/misc/script-directory/default.nix b/pkgs/tools/misc/script-directory/default.nix deleted file mode 100644 index 1cd0218c30dc..000000000000 --- a/pkgs/tools/misc/script-directory/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenvNoCC -, fetchFromGitHub -, installShellFiles -, patsh -}: - -stdenvNoCC.mkDerivation rec { - pname = "script-directory"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "ianthehenry"; - repo = "sd"; - rev = "v${version}"; - hash = "sha256-X5RWCJQUqDnG2umcCk5KS6HQinTJVapBHp6szEmbc4U="; - }; - - nativeBuildInputs = [ - installShellFiles - patsh - ]; - - installPhase = '' - runHook preInstall - - patsh -f sd - install -Dt "$out/bin" sd - installShellCompletion --zsh _sd - - runHook postInstall - ''; - - meta = { - description = "Cozy nest for your scripts"; - homepage = "https://github.com/ianthehenry/sd"; - changelog = "https://github.com/ianthehenry/sd/tree/${src.rev}#changelog"; - license = lib.licenses.mit; - maintainers = [ ]; - mainProgram = "sd"; - }; -} diff --git a/pkgs/tools/misc/scrub/default.nix b/pkgs/tools/misc/scrub/default.nix deleted file mode 100644 index 2fc2b43ea29c..000000000000 --- a/pkgs/tools/misc/scrub/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }: - -stdenv.mkDerivation rec { - pname = "scrub"; - version = "2.6.1"; - - src = fetchFromGitHub { - owner = "chaos"; - repo = "scrub"; - rev = version; - sha256 = "0ndcri2ddzqlsxvy1b607ajyd4dxpiagzx331yyi7hf3ijph129f"; - }; - - nativeBuildInputs = [ autoconf automake ]; - buildInputs = [ libtool ]; - - preConfigure = "./autogen.sh"; - - meta = with lib; { - description = "Disk overwrite utility"; - homepage = "https://github.com/chaos/scrub"; - changelog = "https://raw.githubusercontent.com/chaos/scrub/master/NEWS"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ j0hax ]; - platforms = platforms.unix; - mainProgram = "scrub"; - }; -} diff --git a/pkgs/tools/misc/sdate/default.nix b/pkgs/tools/misc/sdate/default.nix deleted file mode 100644 index 71ab04c807d8..000000000000 --- a/pkgs/tools/misc/sdate/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook }: - -stdenv.mkDerivation rec { - pname = "sdate"; - version = "0.7"; - - src = fetchFromGitHub { - owner = "ChristophBerg"; - repo = "sdate"; - rev = version; - hash = "sha256-jkwe+bSBa0p1Xzfetsdpw0RYw/gSRxnY2jBOzC5HtJ8="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - meta = with lib; { - homepage = "https://www.df7cb.de/projects/sdate"; - description = "Eternal september version of the date program"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ edef ]; - platforms = platforms.all; - mainProgram = "sdate"; - }; -} diff --git a/pkgs/tools/misc/sdl-jstest/default.nix b/pkgs/tools/misc/sdl-jstest/default.nix deleted file mode 100644 index 5b71e441b878..000000000000 --- a/pkgs/tools/misc/sdl-jstest/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, SDL, SDL2, ncurses, docbook_xsl, git }: - -stdenv.mkDerivation { - pname = "sdl-jstest"; - version = "2018-06-15"; - - src = fetchFromGitHub { - owner = "Grumbel"; - repo = "sdl-jstest"; - rev = "aafbdb1ed3e687583037ba55ae88b1210d6ce98b"; - hash = "sha256-Mw+ENOVZ0O8WercdDNLAAkNMPZ2NyxSa+nMtgNmXjFw="; - fetchSubmodules = true; - }; - - buildInputs = [ SDL SDL2 ncurses ]; - nativeBuildInputs = [ cmake pkg-config docbook_xsl git ]; - - meta = with lib; { - homepage = "https://github.com/Grumbel/sdl-jstest"; - description = "Simple SDL joystick test application for the console"; - license = licenses.gpl3; - platforms = platforms.linux; - maintainers = with maintainers; [ abbradar ]; - }; -} diff --git a/pkgs/tools/misc/see/default.nix b/pkgs/tools/misc/see/default.nix deleted file mode 100644 index f2c68cca97c4..000000000000 --- a/pkgs/tools/misc/see/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, python3, fetchFromGitHub }: - -python3.pkgs.buildPythonApplication { - pname = "see"; - version = "unstable-2023-03-19"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "Textualize"; - repo = "textualize-see"; - rev = "eef61dd348178ec60c5b0a01062e0b621eb57315"; - hash = "sha256-SqjDHcFKWbk4ouWkhGohDl5kGjM/9fzqFDexVcaY1gw="; - }; - - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; - - propagatedBuildInputs = with python3.pkgs; [ - click - colorama - toml - ]; - - meta = { - description = "CLI tool to open files in the terminal"; - homepage = "https://github.com/Textualize/textualize-see"; - license = lib.licenses.mit; - maintainers = [ ]; - mainProgram = "see"; - }; -} diff --git a/pkgs/tools/misc/semiphemeral/default.nix b/pkgs/tools/misc/semiphemeral/default.nix deleted file mode 100644 index 173431e526f7..000000000000 --- a/pkgs/tools/misc/semiphemeral/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -python3.pkgs.buildPythonApplication rec { - pname = "semiphemeral"; - version = "0.7"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-KRi3zfRWGRZJjQ6KPqBI9wQ6yU8Ohx0TDtA5qoak35U="; - }; - - doCheck = false; # upstream has no tests - - pythonImportsCheck = [ "semiphemeral" ]; - - propagatedBuildInputs = with python3.pkgs; [ click sqlalchemy flask tweepy colorama ]; - - meta = with lib; { - description = "Automatically delete your old tweets, except for the ones you want to keep"; - homepage = "https://github.com/micahflee/semiphemeral"; - license = licenses.mit; - maintainers = with maintainers; [ amanjeev ]; - mainProgram = "semiphemeral"; - }; -} diff --git a/pkgs/tools/misc/sensible-utils/default.nix b/pkgs/tools/misc/sensible-utils/default.nix deleted file mode 100644 index c60220c0341c..000000000000 --- a/pkgs/tools/misc/sensible-utils/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ stdenv, lib, fetchFromGitLab, makeWrapper }: - -stdenv.mkDerivation rec { - pname = "sensible-utils"; - version = "0.0.24"; - - src = fetchFromGitLab { - domain = "salsa.debian.org"; - owner = "debian"; - repo = "sensible-utils"; - rev = "debian/${version}"; - sha256 = "sha256-omdg5df/TxURarrqawsB3+B85siDJxDaex/2rx5csXI="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontConfigure = true; - - installPhase = '' - mkdir -p $out/bin - - cp sensible-browser sensible-editor sensible-pager sensible-terminal $out/bin/ - ''; - - meta = with lib; { - description = "Collection of utilities used by programs to sensibly select and spawn an appropriate browser, editor, or pager"; - longDescription = '' - The specific utilities included are: - - sensible-browser - - sensible-editor - - sensible-pager - ''; - homepage = "https://salsa.debian.org/debian/sensible-utils"; - changelog = "https://salsa.debian.org/debian/sensible-utils/-/tags"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ pbek ]; - platforms = platforms.unix; - }; -} - diff --git a/pkgs/tools/misc/setconf/default.nix b/pkgs/tools/misc/setconf/default.nix deleted file mode 100644 index fd43ad6350cf..000000000000 --- a/pkgs/tools/misc/setconf/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib -, buildPythonApplication -, fetchFromGitHub -}: - -buildPythonApplication rec { - pname = "setconf"; - version = "0.7.7"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "xyproto"; - repo = "setconf"; - rev = version; - hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A="; - }; - - meta = { - homepage = "https://github.com/xyproto/setconf"; - description = "Small utility for changing settings in configuration textfiles"; - changelog = "https://github.com/xyproto/setconf/releases/tag/${version}"; - maintainers = [ lib.maintainers.AndersonTorres ]; - mainProgram = "setconf"; - }; -} diff --git a/pkgs/tools/misc/sfeed/default.nix b/pkgs/tools/misc/sfeed/default.nix deleted file mode 100644 index 3217b8f20d52..000000000000 --- a/pkgs/tools/misc/sfeed/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ stdenv, lib, fetchgit, ncurses }: - -stdenv.mkDerivation rec { - pname = "sfeed"; - version = "2.0"; - - src = fetchgit { - url = "git://git.codemadness.org/sfeed"; - rev = version; - sha256 = "sha256-DbzJWi9wAc7w2Z0bQt5PEFOuu9L3xzNrJvCocvCer34="; - }; - - buildInputs = [ ncurses ]; - - makeFlags = [ "RANLIB:=$(RANLIB)" "SFEED_CURSES_LDFLAGS:=-lncurses" ] - # use macOS's strlcat() and strlcpy() instead of vendored ones - ++ lib.optional stdenv.isDarwin "COMPATOBJ:="; - - installFlags = [ "PREFIX=$(out)" ]; - - # otherwise does not find SIGWINCH - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; - - meta = with lib; { - homepage = "https://codemadness.org/sfeed-simple-feed-parser.html"; - description = "RSS and Atom parser (and some format programs)"; - longDescription = '' - It converts RSS or Atom feeds from XML to a TAB-separated file. There are - formatting programs included to convert this TAB-separated format to - various other formats. There are also some programs and scripts included - to import and export OPML and to fetch, filter, merge and order feed - items. - ''; - license = licenses.isc; - maintainers = [ maintainers.matthiasbeyer ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/sfz/default.nix b/pkgs/tools/misc/sfz/default.nix deleted file mode 100644 index 768afed6679d..000000000000 --- a/pkgs/tools/misc/sfz/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "sfz"; - version = "0.7.1"; - - src = fetchFromGitHub { - owner = "weihanglo"; - repo = pname; - rev = "v${version}"; - hash = "sha256-mKH1vgk+3tZEnjJRkfa0dDR383VN1VLNd3HEzC7f8YI="; - }; - - cargoHash = "sha256-MgbK39xAr8g9F+1MXZiw5rE/PsgQPcLZ2ZV6LiQbA24="; - - # error: Found argument '--test-threads' which wasn't expected, or isn't valid in this context - doCheck = false; - - meta = with lib; { - description = "Simple static file serving command-line tool written in Rust"; - homepage = "https://github.com/weihanglo/sfz"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "sfz"; - }; -} diff --git a/pkgs/tools/misc/shadowenv/default.nix b/pkgs/tools/misc/shadowenv/default.nix index 34597142522c..d3f9306f225a 100644 --- a/pkgs/tools/misc/shadowenv/default.nix +++ b/pkgs/tools/misc/shadowenv/default.nix @@ -2,20 +2,20 @@ rustPlatform.buildRustPackage rec { pname = "shadowenv"; - version = "2.1.2"; + version = "3.0.1"; src = fetchFromGitHub { owner = "Shopify"; repo = pname; rev = version; - hash = "sha256-SYVVP1WOadsgucHo3z5QxbGtzczfiej4C3/EmbrHOhg="; + hash = "sha256-9K04g2DCADkRwjo55rDwVwkvmypqujdN1fqOmHmC09E="; }; - cargoHash = "sha256-x4OQa84cIKzx29lMx56GfqSFE216jD897g4VhkiV4Kc="; + cargoHash = "sha256-GBqxA49H3KG63hn8QfM4U8m9uZ1YAhJio6bGziyLvV0="; nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; postInstall = '' installManPage man/man1/shadowenv.1 diff --git a/pkgs/tools/misc/shallot/default.nix b/pkgs/tools/misc/shallot/default.nix deleted file mode 100644 index 4fbd07f38e32..000000000000 --- a/pkgs/tools/misc/shallot/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch -, openssl -}: - -stdenv.mkDerivation rec { - pname = "shallot"; - version = "0.0.3"; - - src = fetchFromGitHub { - owner = "katmagic"; - repo = "Shallot"; - rev = "shallot-${version}"; - sha256 = "0cjafdxvjkwb9vyifhh11mw0la7yfqswqwqmrfp1fy9jl7m0il9k"; - }; - - buildInputs = [ openssl ]; - - patches = [ - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/c913088dfaaaf249494514f20a62f2a17b5c6606.patch"; - sha256 = "19l1ppbxpdb0736f7plhybj08wh6rqk1lr3bxsp8jpzpnkh114b2"; - }) - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/cd6628d97b981325e700a38f408a43df426fd569.patch"; - sha256 = "1gaffp5wp1l5p2qdk0ix3i5fhzpx4xphl0haa6ajhqn8db7hbr9y"; - }) - (fetchpatch { - url = "https://github.com/katmagic/Shallot/commit/5c7c1ccecbbad5a121c50ba7153cbbee7ee0ebf9.patch"; - sha256 = "1zmll4iqz39zwk8vj40n1dpvyq3403l64p2127gsjgh2l2v91s4k"; - }) - ]; - - # Workaround build failure on -fno-common toolchains like upstream - # gcc-10. Otherwise build fails as: - # ld: src/shallot.o:(.bss+0x8): multiple definition of `lucky_thread'; src/error.o:(.bss+0x8): first defined here - env.NIX_CFLAGS_COMPILE = "-fcommon"; - - installPhase = '' - mkdir -p $out/bin - cp ./shallot $out/bin/ - ''; - - meta = { - description = "Allows you to create customized .onion addresses for your hidden service"; - - license = lib.licenses.mit; - homepage = "https://github.com/katmagic/Shallot"; - platforms = lib.platforms.linux; - mainProgram = "shallot"; - }; -} diff --git a/pkgs/tools/misc/sheldon/default.nix b/pkgs/tools/misc/sheldon/default.nix index cf48868097b5..3d5e2e84a566 100644 --- a/pkgs/tools/misc/sheldon/default.nix +++ b/pkgs/tools/misc/sheldon/default.nix @@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-+yTX1wUfVVjsM42X0QliL+0xbzTPheADZibPh/5Czh8="; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security curl ]; nativeBuildInputs = [ installShellFiles pkg-config ]; # Needs network connection diff --git a/pkgs/tools/misc/shell-hist/default.nix b/pkgs/tools/misc/shell-hist/default.nix deleted file mode 100644 index ee5d2da6e543..000000000000 --- a/pkgs/tools/misc/shell-hist/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage { - pname = "shell-hist"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "jamesmunns"; - repo = "shell-hist"; - rev = "158de8c3908b49530ecd76bf6e65c210f351ef82"; - sha256 = "0kc128xnnp1d56if70vfv0w3qnwhljhbnvzwwb7hfm3x2m0vqrqf"; - }; - - cargoHash = "sha256-V/smviEa7b+2vyY2dn9MpbITnXw0HpOtPF/RPYB2TKw="; - - meta = with lib; { - description = "Inspect your shell history"; - homepage = "https://github.com/jamesmunns/shell-hist"; - license = with licenses; [ mit /* or */ asl20 ]; - maintainers = [ maintainers.spacekookie ]; - mainProgram = "shell-hist"; - }; -} diff --git a/pkgs/tools/misc/shelldap/default.nix b/pkgs/tools/misc/shelldap/default.nix deleted file mode 100644 index dcc95b24ef48..000000000000 --- a/pkgs/tools/misc/shelldap/default.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, perlPackages -, shortenPerlShebang -}: - -perlPackages.buildPerlPackage rec { - pname = "shelldap"; - version = "1.5.1"; - - src = fetchFromGitHub { - owner = "mahlonsmith"; - repo = "shelldap"; - rev = "refs/tags/v${version}"; - hash = "sha256-67ttAXzu9pfeqjfhMfLMb9vWCXTrE+iUDCbamqswaLg="; - }; - - buildInputs = with perlPackages; [ - AlgorithmDiff - AuthenSASL - IOSocketSSL - perl - perlldap - TermReadLineGnu - TermShell - TieIxHash - YAMLSyck - ]; - - nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; - - prePatch = '' - touch Makefile.PL - ''; - - installPhase = '' - runHook preInstall - install -Dm555 -t $out/bin shelldap - runHook postInstall - ''; - - postInstall = lib.optionalString stdenv.isDarwin '' - shortenPerlShebang $out/bin/shelldap - ''; - - # no make target 'test', not tests provided by source - doCheck = false; - - outputs = [ "out" ]; - - meta = with lib; { - homepage = "https://github.com/mahlonsmith/shelldap/"; - description = "Handy shell-like interface for browsing LDAP servers and editing their content"; - changelog = "https://github.com/mahlonsmith/shelldap/blob/v${version}/CHANGELOG"; - license = with licenses; [ bsd3 ]; - maintainers = with maintainers; [ clerie tobiasBora ]; - platforms = platforms.unix; - mainProgram = "shelldap"; - }; -} diff --git a/pkgs/tools/misc/shellspec/default.nix b/pkgs/tools/misc/shellspec/default.nix deleted file mode 100644 index b355f0fc0232..000000000000 --- a/pkgs/tools/misc/shellspec/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, bash }: - -stdenv.mkDerivation rec { - pname = "shellspec"; - version = "0.28.1"; - - src = fetchFromGitHub { - owner = "shellspec"; - repo = pname; - rev = version; - sha256 = "1ib5qp29f2fmivwnv6hq35qhvdxz42xgjlkvy0i3qn758riyqf46"; - }; - - strictDeps = true; - buildInputs = [ bash ]; - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - checkPhase = '' - ./shellspec --no-banner --task fixture:stat:prepare - ./shellspec --no-banner spec --jobs "$(nproc)" - ''; - - # "Building" the script happens in Docker - dontBuild = true; - - meta = with lib; { - description = - "A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells"; - homepage = "https://shellspec.info/"; - changelog = - "https://github.com/shellspec/shellspec/releases/tag/${version}"; - license = licenses.mit; - maintainers = with maintainers; [ j0hax ]; - platforms = platforms.unix; - mainProgram = "shellspec"; - }; -} diff --git a/pkgs/tools/misc/shim/default.nix b/pkgs/tools/misc/shim/default.nix deleted file mode 100644 index e4220cf5cc8e..000000000000 --- a/pkgs/tools/misc/shim/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ stdenv, fetchFromGitHub, lib, elfutils, vendorCertFile ? null -, defaultLoader ? null }: - -let - - inherit (stdenv.hostPlatform) system; - throwSystem = throw "Unsupported system: ${system}"; - - archSuffix = { - x86_64-linux = "x64"; - aarch64-linux = "aa64"; - }.${system} or throwSystem; -in stdenv.mkDerivation rec { - pname = "shim"; - version = "15.8"; - - src = fetchFromGitHub { - owner = "rhboot"; - repo = pname; - rev = version; - hash = "sha256-xnr9HBfYP035C7p2YTRZasx5SF4a2ZkOl9IpsVduNm4="; - fetchSubmodules = true; - }; - - buildInputs = [ elfutils ]; - - env.NIX_CFLAGS_COMPILE = toString [ "-I${toString elfutils.dev}/include" ]; - - makeFlags = - lib.optional (vendorCertFile != null) "VENDOR_CERT_FILE=${vendorCertFile}" - ++ lib.optional (defaultLoader != null) "DEFAULT_LOADER=${defaultLoader}"; - - installTargets = ["install-as-data"]; - installFlags = [ - "DATATARGETDIR=$(out)/share/shim" - ]; - - passthru = { - # Expose the arch suffix and target file names so that consumers - # (e.g. infrastructure for signing this shim) don't need to - # duplicate the logic from here - inherit archSuffix; - target = "shim${archSuffix}.efi"; - mokManagerTarget = "mm${archSuffix}.efi"; - fallbackTarget = "fb${archSuffix}.efi"; - }; - - meta = with lib; { - description = "UEFI shim loader"; - homepage = "https://github.com/rhboot/shim"; - license = licenses.bsd1; - platforms = [ "x86_64-linux" "aarch64-linux" ]; - maintainers = with maintainers; [ baloo raitobezarius ]; - }; -} diff --git a/pkgs/tools/misc/shunit2/default.nix b/pkgs/tools/misc/shunit2/default.nix deleted file mode 100644 index 57f1957a7e0e..000000000000 --- a/pkgs/tools/misc/shunit2/default.nix +++ /dev/null @@ -1,91 +0,0 @@ -{ lib -, resholve -, fetchFromGitHub -, bash -, coreutils -, gnused -, gnugrep -, findutils -, ncurses -}: - -resholve.mkDerivation rec { - pname = "shunit2"; - version = "2.1.8"; - - src = fetchFromGitHub { - owner = "kward"; - repo = pname; - rev = "v${version}"; - hash = "sha256-IZHkgkVqzeh+eEKCDJ87sqNhSA+DU6kBCNDdQaUEeiM="; - }; - - installPhase = '' - mkdir -p $out/bin/ - cp ./shunit2 $out/bin/shunit2 - chmod +x $out/bin/shunit2 - ''; - - doInstallCheck = true; - installCheckPhase = '' - $out/bin/shunit2 - ''; - - solutions = { - shunit = { - # Caution: see __SHUNIT_CMD_ECHO_ESC before changing - interpreter = "${bash}/bin/sh"; - scripts = [ "bin/shunit2" ]; - inputs = [ coreutils gnused gnugrep findutils ncurses ]; - # resholve's Nix API is analogous to the CLI flags - # documented in 'man resholve' - fake = { - # "missing" functions shunit2 expects the user to declare - function = [ - "oneTimeSetUp" - "oneTimeTearDown" - "setUp" - "tearDown" - "suite" - "noexec" - ]; - # shunit2 is both bash and zsh compatible, and in - # some zsh-specific code it uses this non-bash builtin - builtin = [ "setopt" ]; - }; - fix = { - # stray absolute path; make it resolve from coreutils - "/usr/bin/od" = true; - /* - Caution: this one is contextually debatable. shunit2 - sets this variable after testing whether `echo -e test` - yields `test` or `-e test`. Since we're setting the - interpreter, we can pre-test this. But if we go fiddle - the interpreter later, I guess we _could_ break it. - */ - "$__SHUNIT_CMD_ECHO_ESC" = [ "echo -e" ]; - "$SHUNIT_CMD_TPUT" = [ "tput" ]; # from ncurses - }; - keep = { - # dynamically defined in shunit2:_shunit_mktempFunc - eval = [ "shunit_condition_" "_shunit_test_" "_shunit_prepForSourcing" ]; - - # dynamic based on CLI flag - "$_SHUNIT_LINENO_" = true; - }; - execer = [ - # drop after https://github.com/abathur/binlore/issues/2 - "cannot:${ncurses}/bin/tput" - ]; - }; - }; - - meta = with lib; { - homepage = "https://github.com/kward/shunit2"; - description = "XUnit based unit test framework for Bourne based shell scripts"; - maintainers = with maintainers; [ abathur utdemir ]; - license = licenses.asl20; - platforms = platforms.unix; - mainProgram = "shunit2"; - }; -} diff --git a/pkgs/tools/misc/sixpair/default.nix b/pkgs/tools/misc/sixpair/default.nix deleted file mode 100644 index 92f7e81c0ccd..000000000000 --- a/pkgs/tools/misc/sixpair/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchurl, libusb-compat-0_1 }: -stdenv.mkDerivation { - pname = "sixpair"; - version = "unstable-2007-04-18"; - - src = fetchurl { - url = "http://www.pabr.org/sixlinux/sixpair.c"; - sha256 = "1b0a3k7gs544cbji7n29jxlrsscwfx6s1r2sgwdl6hmkc1l9gagr"; - }; - - # hcitool is depricated - patches = [ ./hcitool.patch ]; - - buildInputs = [ libusb-compat-0_1 ]; - - unpackPhase = '' - cp $src sixpair.c - ''; - - buildPhase = '' - cc -o sixpair sixpair.c -lusb - ''; - - installPhase = '' - mkdir -p $out/bin - cp sixpair $out/bin/sixpair - ''; - - meta = { - description = "Pair with SIXAXIS controllers over USB"; - longDescription = '' - This command-line utility searches USB buses for SIXAXIS controllers and tells them to connect to a new Bluetooth master. - ''; - homepage = "http://www.pabr.org/sixlinux/"; - license = lib.licenses.gpl2Only; - maintainers = [ lib.maintainers.tomsmeets ]; - platforms = lib.platforms.linux; - mainProgram = "sixpair"; - }; -} diff --git a/pkgs/tools/misc/sixpair/hcitool.patch b/pkgs/tools/misc/sixpair/hcitool.patch deleted file mode 100644 index b66e791dd0e0..000000000000 --- a/pkgs/tools/misc/sixpair/hcitool.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/sixpair.c b/sixpair.c -index b009a6f..78b7ef0 100644 ---- a/sixpair.c -+++ b/sixpair.c -@@ -76,11 +76,11 @@ void process_device(int argc, char **argv, struct usb_device *dev, - exit(1); - } - } else { -- FILE *f = popen("hcitool dev", "r"); -+ FILE *f = popen("bluetoothctl list", "r"); - if ( !f || -- fscanf(f, "%*s\n%*s %x:%x:%x:%x:%x:%x", -+ fscanf(f, "%*s %x:%x:%x:%x:%x:%x", - &mac[0],&mac[1],&mac[2],&mac[3],&mac[4],&mac[5]) != 6 ) { -- printf("Unable to retrieve local bd_addr from `hcitool dev`.\n"); -+ printf("Unable to retrieve local bd_addr from `bluetoothctl list`.\n"); - printf("Please enable Bluetooth or specify an address manually.\n"); - exit(1); - } diff --git a/pkgs/tools/misc/skim/default.nix b/pkgs/tools/misc/skim/default.nix deleted file mode 100644 index bb51fd8899bd..000000000000 --- a/pkgs/tools/misc/skim/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib -, stdenv -, fetchCrate -, rustPlatform -, installShellFiles -}: - -rustPlatform.buildRustPackage rec { - pname = "skim"; - version = "0.10.4"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-C2yK+SO8Tpw3BxXXu1jeDzYJ2548RZa7NFWaE0SdNJ0="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - outputs = [ "out" "vim" ]; - - cargoHash = "sha256-jBcgoWbmBOgU7M71lr4OXOe2S6NAXl+I8D+ZtT45Vos="; - - postPatch = '' - sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim - ''; - - postInstall = '' - install -D -m 555 bin/sk-tmux -t $out/bin - - install -D -m 444 plugin/skim.vim -t $vim/plugin - - install -D -m 444 shell/* -t $out/share/skim - - installManPage man/man1/* - - cat <<SCRIPT > $out/bin/sk-share - #! ${stdenv.shell} - # Run this script to find the skim shared folder where all the shell - # integration scripts are living. - echo $out/share/skim - SCRIPT - chmod +x $out/bin/sk-share - ''; - - # https://github.com/lotabout/skim/issues/440 - doCheck = !stdenv.isAarch64; - - meta = with lib; { - description = "Command-line fuzzy finder written in Rust"; - homepage = "https://github.com/lotabout/skim"; - license = licenses.mit; - mainProgram = "sk"; - maintainers = with maintainers; [ dywedir ]; - }; -} diff --git a/pkgs/tools/misc/sl/default.nix b/pkgs/tools/misc/sl/default.nix deleted file mode 100644 index bcb8de78c613..000000000000 --- a/pkgs/tools/misc/sl/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses }: - -stdenv.mkDerivation rec { - pname = "sl"; - version = "5.05"; - - src = fetchFromGitHub { - owner = "eyJhb"; - repo = "sl"; - rev = version; - sha256 = "11a1rdgb8wagikhxgm81g80g5qsl59mv4qgsval3isykqh8729bj"; - }; - - buildInputs = [ ncurses ]; - - makeFlags = [ "CC:=$(CC)" ]; - - installPhase = '' - runHook preInstall - - install -Dm755 -t $out/bin sl - install -Dm644 -t $out/share/man/man1 sl.1{,.ja} - - runHook postInstall - ''; - - meta = with lib; { - description = "Steam Locomotive runs across your terminal when you type 'sl'"; - homepage = "http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html"; - license = rec { - shortName = "Toyoda Masashi's free software license"; - fullName = shortName; - url = "https://github.com/eyJhb/sl/blob/master/LICENSE"; - }; - maintainers = with maintainers; [ eyjhb ]; - platforms = platforms.unix; - mainProgram = "sl"; - }; -} diff --git a/pkgs/tools/misc/slingshot/default.nix b/pkgs/tools/misc/slingshot/default.nix deleted file mode 100644 index 1cf9fe854c3d..000000000000 --- a/pkgs/tools/misc/slingshot/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "slingshot"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "caio-ishikawa"; - repo = "slingshot"; - rev = "v${version}"; - hash = "sha256-XI6uf54sEJ0htfY43aF8/X1/OF9m6peHUGDS+2nK3xA="; - }; - - cargoHash = "sha256-NZyO6oXmgTUszp2Vc9iVAnCvM78/BJ8IfpeTrsOMvlo="; - - meta = with lib; { - description = "Lightweight command line tool to quickly navigate across folders"; - homepage = "https://github.com/caio-ishikawa/slingshot"; - changelog = "https://github.com/caio-ishikawa/slingshot/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "slingshot"; - }; -} diff --git a/pkgs/tools/misc/slop/default.nix b/pkgs/tools/misc/slop/default.nix deleted file mode 100644 index f993d2594338..000000000000 --- a/pkgs/tools/misc/slop/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, cmake -, pkg-config -, glew -, glm -, libGLU -, libGL -, libX11 -, libXext -, libXrender -, icu -, libSM -}: - -stdenv.mkDerivation rec { - pname = "slop"; - version = "7.6"; - - src = fetchFromGitHub { - owner = "naelstrof"; - repo = "slop"; - rev = "v${version}"; - sha256 = "sha256-LdBQxw8K8WWSfm4E2QpK4GYTuYvI+FX5gLOouVFSU/U="; - }; - - patches = [ - (fetchpatch { - # From Upstream PR#135: https://github.com/naelstrof/slop/pull/135 - name = "Fix-linking-of-GLEW-library.patch"; - url = "https://github.com/naelstrof/slop/commit/811b7e44648b9dd6c1da1554e70298cf4157e5fe.patch"; - sha256 = "sha256-LNUrAeVZUJFNOt1csOaIid7gLBdtqRxp8AcC7f3cnIQ="; - }) - ]; - - nativeBuildInputs = [ - cmake - pkg-config - ]; - - buildInputs = [ - glew - glm - libGLU - libGL - libX11 - libXext - libXrender - icu - libSM - ]; - - meta = with lib; { - inherit (src.meta) homepage; - description = "Queries a selection from the user and prints to stdout"; - platforms = lib.platforms.linux; - license = licenses.gpl3Plus; - maintainers = [ ]; - mainProgram = "slop"; - }; -} diff --git a/pkgs/tools/misc/sloth/default.nix b/pkgs/tools/misc/sloth/default.nix deleted file mode 100644 index 2386b5a54a86..000000000000 --- a/pkgs/tools/misc/sloth/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ buildGoModule -, fetchFromGitHub -, lib -}: - -buildGoModule rec { - pname = "sloth"; - version = "0.11.0"; - - src = fetchFromGitHub { - owner = "slok"; - repo = pname; - rev = "v${version}"; - hash = "sha256-KMVD7uH3Yg9ThnwKKzo6jom0ctFywt2vu7kNdfjiMCs="; - }; - - vendorHash = "sha256-j6qXUQ/Tu3VNQL5xBOHloRn5DH3KG/znCLi1s8RIoL8="; - - subPackages = [ "cmd/sloth" ]; - - meta = { - description = "Easy and simple Prometheus SLO (service level objectives) generator"; - homepage = "https://sloth.dev/"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ nrhtr ]; - platforms = lib.platforms.unix; - mainProgram = "sloth"; - }; -} diff --git a/pkgs/tools/misc/slsnif/default.nix b/pkgs/tools/misc/slsnif/default.nix deleted file mode 100644 index 7ac1a846484f..000000000000 --- a/pkgs/tools/misc/slsnif/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "slsnif"; - version = "0.4.4"; - - src = fetchurl { - url = "mirror://sourceforge/slsnif/slsnif-${version}.tar.gz"; - sha256 = "0gn8c5hj8m3sywpwdgn6w5xl4rzsvg0z7d2w8dxi6p152j5b0pii"; - }; - - meta = { - description = "Serial line sniffer"; - homepage = "http://slsnif.sourceforge.net/"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.linux; - mainProgram = "slsnif"; - }; -} diff --git a/pkgs/tools/misc/smc/default.nix b/pkgs/tools/misc/smc/default.nix deleted file mode 100644 index 99ed8de45e45..000000000000 --- a/pkgs/tools/misc/smc/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib, stdenv, fetchurl, jre, runtimeShell }: - -stdenv.mkDerivation rec { - pname = "smc"; - version = "6.6.3"; - - src = fetchurl { - url = "mirror://sourceforge/project/smc/smc/${lib.replaceStrings ["."] ["_"] version}/smc_${lib.replaceStrings ["."] ["_"] version}.tgz"; - sha256 = "1gv0hrgdl4wp562virpf9sib6pdhapwv4zvwbl0d5f5xyx04il11"; - }; - - # Prebuilt Java package. - installPhase = '' - mkdir -p "$out/bin" - mkdir -p "$out/share/smc" - mkdir -p "$out/share/smc/lib" - mkdir -p "$out/share/icons" - mkdir -p "$out/share/java" - - cp bin/Smc.jar "$out/share/java/" - cp -r examples/ docs/ tools/ README.txt LICENSE.txt "$out/share/smc/" - cp -r lib/* "$out/share/smc/lib/" - cp misc/smc.ico "$out/share/icons/" - - cat > "$out/bin/smc" << EOF - #!${runtimeShell} - ${jre}/bin/java -jar "$out/share/java/Smc.jar" "\$@" - EOF - chmod a+x "$out/bin/smc" - ''; - - meta = with lib; { - description = "Generate state machine code from text input (state diagram)"; - longDescription = '' - SMC (State Machine Compiler) takes a text input file describing states, - events and actions of a state machine and generates source code that - implements the state machine. - - SMC supports many target languages: - C, C++, DotNet, Groovy, java, Java, JavaScript, Lua, ObjC, Perl, Php, - Python, Ruby, Scala, Tcl. - - SMC can also generate GraphViz state diagrams from the input file. - ''; - homepage = "https://smc.sourceforge.net/"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.mpl11; - platforms = platforms.linux; - maintainers = [ maintainers.bjornfor ]; - mainProgram = "smc"; - }; -} diff --git a/pkgs/tools/misc/smenu/default.nix b/pkgs/tools/misc/smenu/default.nix deleted file mode 100644 index 8521e549ecc6..000000000000 --- a/pkgs/tools/misc/smenu/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses }: - -stdenv.mkDerivation rec { - version = "1.4.0"; - pname = "smenu"; - - src = fetchFromGitHub { - owner = "p-gen"; - repo = "smenu"; - rev = "v${version}"; - sha256 = "sha256-pAbtTqDIdDWReeaRK7UHXh/PS5f44/PRWaICluH02ec="; - }; - - buildInputs = [ ncurses ]; - - meta = with lib; { - homepage = "https://github.com/p-gen/smenu"; - description = "Terminal selection utility"; - longDescription = '' - Terminal utility that allows you to use words coming from the standard - input to create a nice selection window just below the cursor. Once done, - your selection will be sent to standard output. - ''; - license = licenses.gpl2Only; - maintainers = with maintainers; [ matthiasbeyer ]; - platforms = platforms.unix; - mainProgram = "smenu"; - }; -} diff --git a/pkgs/tools/misc/smug/default.nix b/pkgs/tools/misc/smug/default.nix deleted file mode 100644 index e528b2128759..000000000000 --- a/pkgs/tools/misc/smug/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: - -buildGoModule rec { - pname = "smug"; - version = "0.3.3"; - - subPackages = [ "." ]; - - src = fetchFromGitHub { - owner = "ivaaaan"; - repo = "smug"; - rev = "v${version}"; - sha256 = "sha256-dQp9Ov8Si9DfziVtX3dXsJg+BNKYOoL9/WwdalQ5TVw="; - }; - - vendorHash = "sha256-vaDUzVRmpmNn8/vUPeR1U5N6T4llFRIk9A1lum8uauU="; - - nativeBuildInputs = [ installShellFiles ]; - - ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; - - postInstall = '' - installManPage ./man/man1/smug.1 - installShellCompletion completion/smug.{bash,fish} - ''; - - meta = with lib; { - homepage = "https://github.com/ivaaaan/smug"; - description = "Smug - tmux session manager"; - license = licenses.mit; - maintainers = with maintainers; [ juboba ]; - mainProgram = "smug"; - }; -} diff --git a/pkgs/tools/misc/snapper/default.nix b/pkgs/tools/misc/snapper/default.nix deleted file mode 100644 index 41184f33ae41..000000000000 --- a/pkgs/tools/misc/snapper/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ lib, stdenv, fetchFromGitHub -, autoreconfHook, pkg-config, docbook_xsl, libxslt, docbook_xml_dtd_45 -, acl, attr, boost, btrfs-progs, coreutils, dbus, diffutils, e2fsprogs, libxml2 -, lvm2, pam, util-linux, json_c, nixosTests -, ncurses, zlib }: - -stdenv.mkDerivation rec { - pname = "snapper"; - version = "0.11.2"; - - src = fetchFromGitHub { - owner = "openSUSE"; - repo = "snapper"; - rev = "v${version}"; - sha256 = "sha256-U948AmyQ6c5+FCrDijOVLc/p2wwbq5IWwS66x+O960Y="; - }; - - strictDeps = true; - - nativeBuildInputs = [ - autoreconfHook pkg-config - docbook_xsl libxslt docbook_xml_dtd_45 - ]; - buildInputs = [ - acl attr boost btrfs-progs dbus diffutils e2fsprogs libxml2 - lvm2 pam util-linux json_c ncurses zlib - ]; - - passthru.tests.snapper = nixosTests.snapper; - - postPatch = '' - # Hard-coded root paths, hard-coded root paths everywhere... - for file in {client,data,pam,scripts,zypp-plugin}/Makefile.am; do - substituteInPlace $file \ - --replace '$(DESTDIR)/usr' "$out" \ - --replace "DESTDIR" "out" \ - --replace "/usr" "$out" - done - substituteInPlace pam/Makefile.am \ - --replace '/`basename $(libdir)`' "$out/lib" - ''; - - configureFlags = [ - "--disable-ext4" # requires patched kernel & e2fsprogs - "DIFFBIN=${diffutils}/bin/diff" - "RMBIN=${coreutils}/bin/rm" - ]; - - enableParallelBuilding = true; - - env.NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2"; - - postInstall = '' - rm -r $out/etc/cron.* - patchShebangs $out/lib/zypp/plugins/commit/* - for file in \ - $out/lib/pam_snapper/* \ - $out/lib/systemd/system/* \ - $out/share/dbus-1/system-services/* \ - ; do - substituteInPlace $file --replace "/usr" "$out" - done - ''; - - meta = with lib; { - description = "Tool for Linux filesystem snapshot management"; - homepage = "http://snapper.io"; - license = licenses.gpl2Only; - mainProgram = "snapper"; - maintainers = with maintainers; [ markuskowa ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/snore/default.nix b/pkgs/tools/misc/snore/default.nix deleted file mode 100644 index 572f504873f8..000000000000 --- a/pkgs/tools/misc/snore/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - version = "0.3.1"; - pname = "snore"; - - src = fetchFromGitHub { - owner = "clamiax"; - repo = pname; - rev = version; - hash = "sha256-bKPGSePzp4XEZFY0QQr37fm3R1v3hLD6FeySFd7zNJc="; - }; - - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - - meta = with lib; { - description = "sleep with feedback"; - homepage = "https://github.com/clamiax/snore"; - license = licenses.mit; - maintainers = with maintainers; [ cafkafk ]; - platforms = platforms.unix; - mainProgram = "snore"; - }; -} diff --git a/pkgs/tools/misc/somafm-cli/default.nix b/pkgs/tools/misc/somafm-cli/default.nix deleted file mode 100644 index 45f79e5bddff..000000000000 --- a/pkgs/tools/misc/somafm-cli/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, makeWrapper -, curl -, jq -, mpv -}: - -stdenv.mkDerivation rec { - pname = "somafm-cli"; - version = "0.3.1"; - - src = fetchFromGitHub { - owner = "rockymadden"; - repo = "somafm-cli"; - rev = "v${version}"; - sha256 = "1h5p9qsczgfr450sklh2vkllcpzb7nicbs8ciyvkavh3d7hds0yy"; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - install -m0755 -D src/somafm $out/bin/somafm - wrapProgram $out/bin/somafm --prefix PATH ":" "${lib.makeBinPath [ curl jq mpv ]}"; - ''; - - meta = with lib; { - description = "Listen to SomaFM in your terminal via pure bash"; - homepage = "https://github.com/rockymadden/somafm-cli"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ SuperSandro2000 ]; - mainProgram = "somafm"; - }; -} diff --git a/pkgs/tools/misc/sonota/default.nix b/pkgs/tools/misc/sonota/default.nix deleted file mode 100644 index efc7ab22b468..000000000000 --- a/pkgs/tools/misc/sonota/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ fetchFromGitHub, fetchurl, lib, python3Packages -, coreVersion ? "1.13.3" # the version of the binary espurna image to flash -, coreSize ? "1MB" # size of the binary image to flash -, coreSha256 ? "0pkb2nmml0blrfiqpc46xpjc2dw927i89k1lfyqx827wanhc704x" }: - -with python3Packages; - -let - core = fetchurl { - url = "https://github.com/xoseperez/espurna/releases/download/${coreVersion}/espurna-${coreVersion}-espurna-core-${coreSize}.bin"; - sha256 = coreSha256; - }; - -in buildPythonApplication rec { - pname = "sonota-unstable"; - version = "2018-10-07"; - - src = fetchFromGitHub { - owner = "mirko"; - repo = "SonOTA"; - rev = "d7f4b353858aae7ac403f95475a35560fb7ffeae"; - sha256 = "0jd9xrhcyk8d2plbjnrlpn87536zr6n708797n0k5blf109q3c1z"; - }; - - patches = [ - ./set_resource_path.patch - ]; - - postPatch = '' - substituteInPlace sonota.py --subst-var out - ''; - - format = "other"; - - propagatedBuildInputs = [ httplib2 netifaces tornado ]; - - installPhase = '' - runHook preInstall - - install -Dm755 sonota.py $out/bin/sonota - install -d $out/share/sonota - cp -r ssl static $out/share/sonota - cp ${core} $out/share/sonota/static/image_arduino.bin - - runHook postInstall - ''; - - meta = with lib; { - description = "Flash Itead Sonoff devices with custom firmware via original OTA mechanism"; - homepage = src.meta.homepage; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ peterhoeg ]; - mainProgram = "sonota"; - }; -} diff --git a/pkgs/tools/misc/sonota/set_resource_path.patch b/pkgs/tools/misc/sonota/set_resource_path.patch deleted file mode 100644 index f9a802657762..000000000000 --- a/pkgs/tools/misc/sonota/set_resource_path.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/sonota.py b/sonota.py -index f67128b..9f2752e 100644 ---- a/sonota.py -+++ b/sonota.py -@@ -475,14 +475,7 @@ def promptforval(msg): - return val - - def resource_path(relative_path): -- """ Get absolute path to resource, works for dev and for PyInstaller """ -- try: -- # PyInstaller creates a temp folder and stores path in _MEIPASS -- base_path = sys._MEIPASS -- except Exception: -- base_path = os.path.dirname(sys.argv[0]) -- -- return os.path.join(base_path, relative_path) -+ return os.path.join("@out@/share/sonota", relative_path) - - def checkargs(): - # Make sure all of the binary files that are needed are there diff --git a/pkgs/tools/misc/spacer/default.nix b/pkgs/tools/misc/spacer/default.nix deleted file mode 100644 index 5bf584c07a14..000000000000 --- a/pkgs/tools/misc/spacer/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "spacer"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "samwho"; - repo = "spacer"; - rev = "v${version}"; - hash = "sha256-gxqUMtONjYPjSmxyguE9/GBC91PUK1rdFGsISGaSe44="; - }; - - cargoHash = "sha256-pMYqIl0Td2awAxe3BRglBcOychwTmFZ+pZV0QOT0CL4="; - - meta = with lib; { - description = "CLI tool to insert spacers when command output stops"; - homepage = "https://github.com/samwho/spacer"; - changelog = "https://github.com/samwho/spacer/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "spacer"; - }; -} diff --git a/pkgs/tools/misc/sqlite3-to-mysql/default.nix b/pkgs/tools/misc/sqlite3-to-mysql/default.nix deleted file mode 100644 index b6cb04558341..000000000000 --- a/pkgs/tools/misc/sqlite3-to-mysql/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ lib -, fetchFromGitHub -, python3Packages -, nixosTests -, testers -, sqlite3-to-mysql -, mysql80 -}: - -python3Packages.buildPythonApplication rec { - pname = "sqlite3-to-mysql"; - version = "2.3.1"; - format = "pyproject"; - - disabled = python3Packages.pythonOlder "3.8"; - - src = fetchFromGitHub { - owner = "techouse"; - repo = "sqlite3-to-mysql"; - rev = "refs/tags/v${version}"; - hash = "sha256-13NLtP9gDd9hrwY09+7CuM4Rl+Hce82TETdfwBC/5HI="; - }; - - build-system = with python3Packages; [ - hatchling - ]; - - dependencies = with python3Packages; [ - click - mysql-connector - pytimeparse2 - pymysql - pymysqlsa - simplejson - sqlalchemy - sqlalchemy-utils - tqdm - tabulate - unidecode - packaging - mysql80 - python-dateutil - types-python-dateutil - ]; - - pythonRelaxDeps = [ - "mysql-connector-python" - ]; - - # tests require a mysql server instance - doCheck = false; - - # run package tests as a separate nixos test - passthru.tests = { - nixosTest = nixosTests.sqlite3-to-mysql; - version = testers.testVersion { - package = sqlite3-to-mysql; - command = "sqlite3mysql --version"; - }; - }; - - meta = { - description = "Simple Python tool to transfer data from SQLite 3 to MySQL"; - homepage = "https://github.com/techouse/sqlite3-to-mysql"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ gador ]; - mainProgram = "sqlite3mysql"; - }; -} diff --git a/pkgs/tools/misc/srisum/default.nix b/pkgs/tools/misc/srisum/default.nix deleted file mode 100644 index f9f0a6b4a6b0..000000000000 --- a/pkgs/tools/misc/srisum/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "srisum"; - version = "5.0.0"; - - src = fetchFromGitHub { - owner = "zkat"; - repo = "srisum-rs"; - rev = "v${version}"; - hash = "sha256-Nw3uTGOcz1ivAm9X+PnOdNA937wuK3vtJQ0iJHlHVdw="; - }; - cargoHash = "sha256-q6FGykY+HmU3/jMaGRO36OlYGVLG9mU8yZ8j/Shux3s="; - - doInstallCheck = true; - - meta = with lib; { - description = "Command-line utility to compute and check subresource integrity hashes"; - homepage = "https://github.com/zkat/srisum-rs"; - changelog = "https://github.com/zkat/srisum-rs/raw/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ pjjw ]; - platforms = platforms.all; - mainProgram = "srisum"; - }; -} diff --git a/pkgs/tools/misc/sshx/default.nix b/pkgs/tools/misc/sshx/default.nix index 1daddeb8182a..0929703288e0 100644 --- a/pkgs/tools/misc/sshx/default.nix +++ b/pkgs/tools/misc/sshx/default.nix @@ -27,7 +27,7 @@ let nativeBuildInputs = [ protobuf ]; - buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security; cargoBuildFlags = [ "--package" pname ]; diff --git a/pkgs/tools/misc/sta/default.nix b/pkgs/tools/misc/sta/default.nix deleted file mode 100644 index 8e39afa5d423..000000000000 --- a/pkgs/tools/misc/sta/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, autoreconfHook -}: - -stdenv.mkDerivation { - pname = "sta"; - version = "unstable-2021-11-30"; - - src = fetchFromGitHub { - owner = "simonccarter"; - repo = "sta"; - rev = "94559e3dfa97d415e3f37b1180b57c17c7222b4f"; - sha256 = "sha256-AiygCfBze7J1Emy6mc27Dim34eLR7VId9wodUZapIL4="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - meta = with lib; { - description = "Simple statistics from the command line interface (CLI), fast"; - longDescription = '' - This is a lightweight, fast tool for calculating basic descriptive - statistics from the command line. Inspired by - https://github.com/nferraz/st, this project differs in that it is written - in C++, allowing for faster computation of statistics given larger - non-trivial data sets. - ''; - license = licenses.mit; - homepage = "https://github.com/simonccarter/sta"; - maintainers = [ ]; - platforms = platforms.all; - badPlatforms = platforms.darwin; - mainProgram = "sta"; - }; -} diff --git a/pkgs/tools/misc/star-history/default.nix b/pkgs/tools/misc/star-history/default.nix deleted file mode 100644 index bb84b843a9ea..000000000000 --- a/pkgs/tools/misc/star-history/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, rustPlatform -, darwin -, fetchCrate -, pkg-config -, openssl -, stdenv -}: - -rustPlatform.buildRustPackage rec { - pname = "star-history"; - version = "1.0.22"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-Ymocx843DVxvtTHBS3PdyYDLgYJJtUMpmdOnOmFKJZE="; - }; - - cargoHash = "sha256-xDO+Qdg8gDj0Eny7QtaRiAxwdXycOsInf5L1YZKv++g="; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.SystemConfiguration - ]; - - meta = with lib; { - description = "Command line program to generate a graph showing number of GitHub stars of a user, org or repo over time"; - homepage = "https://github.com/dtolnay/star-history"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "star-history"; - }; -} diff --git a/pkgs/tools/misc/starfetch/default.nix b/pkgs/tools/misc/starfetch/default.nix deleted file mode 100644 index 962409d21763..000000000000 --- a/pkgs/tools/misc/starfetch/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ stdenv, lib, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "starfetch"; - version = "0.0.4"; - - src = fetchFromGitHub { - owner = "Haruno19"; - repo = "starfetch"; - rev = version; - sha256 = "sha256-I2M/FlLRkGtD2+GcK1l5+vFsb5tCb4T3UJTPxRx68Ww="; - }; - - postPatch = '' - substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/ - '' + lib.optionalString stdenv.cc.isClang '' - substituteInPlace makefile --replace g++ clang++ - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - mkdir -p $out/share/starfetch - cp starfetch $out/bin/ - cp -r res/* $out/share/starfetch/ - - runHook postInstall - ''; - - meta = with lib; { - description = "CLI star constellations displayer"; - homepage = "https://github.com/Haruno19/starfetch"; - license = licenses.gpl3Plus; - platforms = platforms.all; - maintainers = with maintainers; [ annaaurora ]; - mainProgram = "starfetch"; - }; -} diff --git a/pkgs/tools/misc/starry/default.nix b/pkgs/tools/misc/starry/default.nix deleted file mode 100644 index a59fb3127f17..000000000000 --- a/pkgs/tools/misc/starry/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -, pkg-config -, openssl -, stdenv -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "starry"; - version = "2.0.2"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-/ZUmMLEqlpqu+Ja/3XjFJf+OFZJCz7rp5MrQBEjwsXs="; - }; - - cargoHash = "sha256-L6s1LkWnjht2VLwq1GOFiIosnZjFN9tDSLpPtokmj9o="; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - openssl - ] ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.Security - ]; - - meta = with lib; { - description = "Current stars history tells only half the story"; - homepage = "https://github.com/Canop/starry"; - license = licenses.agpl3Only; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "starry"; - }; -} diff --git a/pkgs/tools/misc/starship/default.nix b/pkgs/tools/misc/starship/default.nix index 37d38016b882..66fac2661a2c 100644 --- a/pkgs/tools/misc/starship/default.nix +++ b/pkgs/tools/misc/starship/default.nix @@ -13,23 +13,23 @@ rustPlatform.buildRustPackage rec { pname = "starship"; - version = "1.20.1"; + version = "1.21.1"; src = fetchFromGitHub { owner = "starship"; repo = "starship"; rev = "v${version}"; - hash = "sha256-Y7jX0XXrSMEex1HG0o69Q1rTtnFL0UuIEgfa1e7D1Nc="; + hash = "sha256-Xn9qV26/ST+3VtVq6OJP823lIVIo0zEdno+nIUv8B9c="; }; nativeBuildInputs = [ installShellFiles cmake ]; - buildInputs = lib.optionals stdenv.isDarwin [ Security Foundation Cocoa ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security Foundation Cocoa ]; - NIX_LDFLAGS = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "-framework" "AppKit" ]; + NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ "-framework" "AppKit" ]; # tries to access HOME only in aarch64-darwin environment when building mac-notification-sys - preBuild = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' + preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) '' export HOME=$TMPDIR ''; @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { --zsh <($out/bin/starship completions zsh) ''; - cargoHash = "sha256-yJ32HFaRpujJ9mQa+07b5cQcl1ATO/56dpm1IeKcbzs="; + cargoHash = "sha256-YbZCe2OcX/wq0OWvWK61nWvRT0O+CyW0QY0J7vv6QaM="; nativeCheckInputs = [ git ]; diff --git a/pkgs/tools/misc/staruml/default.nix b/pkgs/tools/misc/staruml/default.nix deleted file mode 100644 index 634bdf0eb474..000000000000 --- a/pkgs/tools/misc/staruml/default.nix +++ /dev/null @@ -1,80 +0,0 @@ -{ stdenv, lib, fetchurl -, dpkg, wrapGAppsHook3 -, hicolor-icon-theme -, gtk3, glib, systemd -, xorg, nss, nspr -, atk, at-spi2-atk, dbus -, gdk-pixbuf, pango, cairo -, expat, libdrm, mesa -, alsa-lib, at-spi2-core, cups -, libxkbcommon }: - -let - LD_LIBRARY_PATH = lib.makeLibraryPath [ - glib gtk3 xorg.libXdamage - xorg.libX11 xorg.libxcb xorg.libXcomposite - xorg.libXcursor xorg.libXext xorg.libXfixes - xorg.libXi xorg.libXrender xorg.libXtst - xorg.libxshmfence libxkbcommon nss - nspr atk at-spi2-atk - dbus gdk-pixbuf pango cairo - xorg.libXrandr expat libdrm - mesa alsa-lib at-spi2-core - cups - ]; -in -stdenv.mkDerivation (finalAttrs: { - version = "6.2.2"; - pname = "staruml"; - - src = fetchurl { - url = "https://files.staruml.io/releases-v6/StarUML_${finalAttrs.version}_amd64.deb"; - sha256 = "sha256-1zxrT7phXeQYNbWHWMyPuHiUglrPSMPP0bfAcfvt8dM="; - }; - - nativeBuildInputs = [ wrapGAppsHook3 dpkg ]; - buildInputs = [ glib hicolor-icon-theme ]; - - unpackPhase = '' - mkdir pkg - dpkg-deb -x $src pkg - sourceRoot=pkg - ''; - - installPhase = '' - mkdir -p $out/bin - mv opt $out - - mv usr/share $out - rm -rf $out/share/doc - - substituteInPlace $out/share/applications/staruml.desktop \ - --replace "/opt/StarUML/staruml" "$out/bin/staruml" - - mkdir -p $out/lib - ln -s ${stdenv.cc.cc.lib}/lib/libstdc++.so.6 $out/lib/ - ln -s ${lib.getLib systemd}/lib/libudev.so.1 $out/lib/libudev.so.0 - - patchelf \ - --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - $out/opt/StarUML/staruml - - ln -s $out/opt/StarUML/staruml $out/bin/staruml - ''; - - preFixup = '' - gappsWrapperArgs+=( - --prefix LD_LIBRARY_PATH ':' $out/lib:${LD_LIBRARY_PATH} - ) - ''; - - meta = with lib; { - description = "Sophisticated software modeler"; - homepage = "https://staruml.io/"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ kashw2 ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "staruml"; - }; -}) diff --git a/pkgs/tools/misc/statserial/default.nix b/pkgs/tools/misc/statserial/default.nix deleted file mode 100644 index 86736a86386e..000000000000 --- a/pkgs/tools/misc/statserial/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, stdenv, fetchurl, ncurses, glibc }: - -stdenv.mkDerivation rec { - pname = "statserial"; - version = "1.1"; - - src = fetchurl { - url = "http://www.ibiblio.org/pub/Linux/system/serial/statserial-${version}.tar.gz"; - sha256 = "0rrrmxfba5yn836zlgmr8g9xnrpash7cjs7lk2m44ac50vakpks0"; - }; - - postPatch = '' - substituteInPlace Makefile \ - --replace '-lcurses' '-lncurses' - - substituteInPlace Makefile \ - --replace 'LDFLAGS = -s -N' '#LDFLAGS = -s -N' - ''; - - buildInputs = [ ncurses glibc ]; - - installPhase = '' - mkdir -p $out/bin - cp statserial $out/bin - - mkdir -p $out/share/man/man1 - cp statserial.1 $out/share/man/man1 - ''; - - meta = with lib; { - homepage = "https://sites.google.com/site/tranter/software"; - description = "Display serial port modem status lines"; - license = licenses.gpl2Plus; - - longDescription = - '' Statserial displays a table of the signals on a standard 9-pin or - 25-pin serial port, and indicates the status of the handshaking lines. It - can be useful for debugging problems with serial ports or modems. - ''; - - platforms = platforms.unix; - maintainers = with maintainers; [ rps ]; - mainProgram = "statserial"; - }; -} diff --git a/pkgs/tools/misc/stderred/default.nix b/pkgs/tools/misc/stderred/default.nix deleted file mode 100644 index f159e4328c9c..000000000000 --- a/pkgs/tools/misc/stderred/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ stdenv -, fetchFromGitHub -, cmake -, lib -}: - -stdenv.mkDerivation rec { - pname = "stderred"; - version = "unstable-2021-04-28"; - - src = fetchFromGitHub { - owner = "sickill"; - repo = "stderred"; - rev = "b2238f7c72afb89ca9aaa2944d7f4db8141057ea"; - sha256 = "sha256-k/EA327AsRHgUYu7QqSF5yzOyO6h5XcE9Uv4l1VcIPI="; - }; - - nativeBuildInputs = [ - cmake - ]; - - sourceRoot = "${src.name}/src"; - - meta = with lib; { - description = "stderr in red"; - homepage = "https://github.com/sickill/stderred"; - license = licenses.mit; - maintainers = with maintainers; [ vojta001 ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/steampipe-packages/default.nix b/pkgs/tools/misc/steampipe-packages/default.nix index 4e20b6abbcae..b7cb46247435 100644 --- a/pkgs/tools/misc/steampipe-packages/default.nix +++ b/pkgs/tools/misc/steampipe-packages/default.nix @@ -2,5 +2,6 @@ { steampipe-plugin-aws = callPackage ./steampipe-plugin-aws { }; + steampipe-plugin-azure = callPackage ./steampipe-plugin-azure { }; steampipe-plugin-github = callPackage ./steampipe-plugin-github { }; } diff --git a/pkgs/tools/misc/steampipe-packages/steampipe-plugin-aws/default.nix b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-aws/default.nix index 33c09ba83e82..8b6703ac35f3 100644 --- a/pkgs/tools/misc/steampipe-packages/steampipe-plugin-aws/default.nix +++ b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-aws/default.nix @@ -43,7 +43,7 @@ buildGoModule rec { changelog = "https://github.com/turbot/steampipe-plugin-aws/blob/v${version}/CHANGELOG.md"; description = "AWS Plugin for Steampipe"; homepage = "https://github.com/turbot/steampipe-plugin-aws"; - license = lib.licenses.apsl20; + license = lib.licenses.asl20; longDescription = "Use SQL to instantly query AWS resources across regions and accounts."; maintainers = with lib.maintainers; [ anthonyroussel ]; platforms = steampipe.meta.platforms; diff --git a/pkgs/tools/misc/steampipe-packages/steampipe-plugin-azure/default.nix b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-azure/default.nix new file mode 100644 index 000000000000..413329e7874d --- /dev/null +++ b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-azure/default.nix @@ -0,0 +1,51 @@ +{ + buildGoModule, + fetchFromGitHub, + lib, + nix-update-script, + steampipe, +}: + +buildGoModule rec { + pname = "steampipe-plugin-azure"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "turbot"; + repo = "steampipe-plugin-azure"; + rev = "refs/tags/v${version}"; + hash = "sha256-tIAVYZ+gZnvUJPDYP1WqZb7kAZ1f0YXJ4VWy2Cw2QMo="; + }; + + vendorHash = "sha256-M97SnuWVB7Xw2xXRLBiGCWgATZCYh0BoV4bzhF57x5o="; + + ldflags = [ + "-s" + "-w" + ]; + + doCheck = true; + + installPhase = '' + runHook preInstall + + mkdir -p $out + cp $GOPATH/bin/steampipe-plugin-azure $out/steampipe-plugin-azure.plugin + cp -R docs $out/. + cp -R config $out/. + + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + changelog = "https://github.com/turbot/steampipe-plugin-azure/blob/v${version}/CHANGELOG.md"; + description = "Azure Plugin for Steampipe"; + homepage = "https://github.com/turbot/steampipe-plugin-azure"; + license = lib.licenses.apsl20; + longDescription = "Use SQL to instantly query Azure resources across regions and subscriptions."; + maintainers = with lib.maintainers; [ petee ]; + platforms = steampipe.meta.platforms; + }; +} diff --git a/pkgs/tools/misc/steampipe-packages/steampipe-plugin-github/default.nix b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-github/default.nix index d09191633c4a..12cda347fc22 100644 --- a/pkgs/tools/misc/steampipe-packages/steampipe-plugin-github/default.nix +++ b/pkgs/tools/misc/steampipe-packages/steampipe-plugin-github/default.nix @@ -43,7 +43,7 @@ buildGoModule rec { changelog = "https://github.com/turbot/steampipe-plugin-github/blob/v${version}/CHANGELOG.md"; description = "GitHub Plugin for Steampipe"; homepage = "https://github.com/turbot/steampipe-plugin-github"; - license = lib.licenses.apsl20; + license = lib.licenses.asl20; longDescription = "Use SQL to instantly query repositories, users, gists and more from GitHub."; maintainers = with lib.maintainers; [ anthonyroussel ]; platforms = steampipe.meta.platforms; diff --git a/pkgs/tools/misc/stow/default.nix b/pkgs/tools/misc/stow/default.nix deleted file mode 100644 index 143710e3da66..000000000000 --- a/pkgs/tools/misc/stow/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, stdenv -, fetchurl -, perlPackages -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "stow"; - version = "2.4.0"; - - src = fetchurl { - url = "mirror://gnu/stow/stow-${finalAttrs.version}.tar.bz2"; - hash = "sha256-p7rGc9qiRs9U/7SKET6t0gSmFWMOdrU7X2TYGidbd7M="; - }; - - nativeBuildInputs = [ perlPackages.perl ]; - buildInputs = with perlPackages; [ perl IOStringy TestOutput ]; - - doCheck = true; - - meta = with lib; { - description = "Tool for managing the installation of multiple software packages in the same run-time directory tree"; - - longDescription = '' - GNU Stow is a symlink farm manager which takes distinct packages - of software and/or data located in separate directories on the - filesystem, and makes them appear to be installed in the same - place. For example, /usr/local/bin could contain symlinks to - files within /usr/local/stow/emacs/bin, /usr/local/stow/perl/bin - etc., and likewise recursively for any other subdirectories such - as .../share, .../man, and so on. - ''; - - license = licenses.gpl3Plus; - homepage = "https://www.gnu.org/software/stow/"; - maintainers = with maintainers; [ sarcasticadmin ]; - platforms = platforms.all; - }; -}) diff --git a/pkgs/tools/misc/subberthehut/default.nix b/pkgs/tools/misc/subberthehut/default.nix deleted file mode 100644 index 58860f30dc5a..000000000000 --- a/pkgs/tools/misc/subberthehut/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, xmlrpc_c, glib, zlib }: -stdenv.mkDerivation rec { - pname = "subberthehut"; - version = "20"; - - src = fetchFromGitHub { - owner = "mus65"; - repo = "subberthehut"; - rev = version; - sha256 = "19prdqbk19h0wak318g2jn1mnfm7l7f83a633bh0rhskysmqrsj1"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ xmlrpc_c glib zlib ]; - - installPhase = '' - install -Dm755 subberthehut $out/bin/subberthehut - install -Dm644 bash_completion $out/share/bash-completion/completions/subberthehut - ''; - - meta = with lib; { - homepage = "https://github.com/mus65/subberthehut"; - description = "OpenSubtitles.org downloader"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ jqueiroz ]; - mainProgram = "subberthehut"; - }; -} diff --git a/pkgs/tools/misc/sutils/default.nix b/pkgs/tools/misc/sutils/default.nix deleted file mode 100644 index f611b7adc07c..000000000000 --- a/pkgs/tools/misc/sutils/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, alsa-lib }: - -stdenv.mkDerivation rec { - version = "0.2"; - pname = "sutils"; - - src = fetchFromGitHub { - owner = "baskerville"; - repo = "sutils"; - rev = version; - sha256 = "0i2g6a6xdaq3w613dhq7mnsz4ymwqn6kvkyan5kgy49mzq97va6j"; - }; - - hardeningDisable = [ "format" ]; - - buildInputs = [ alsa-lib ]; - - prePatch = ''sed -i "s@/usr/local@$out@" Makefile''; - - meta = { - description = "Small command-line utilities"; - homepage = "https://github.com/baskerville/sutils"; - maintainers = [ lib.maintainers.meisternu ]; - license = "Custom"; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/svtplay-dl/default.nix b/pkgs/tools/misc/svtplay-dl/default.nix deleted file mode 100644 index e0a0cfe9804c..000000000000 --- a/pkgs/tools/misc/svtplay-dl/default.nix +++ /dev/null @@ -1,86 +0,0 @@ -{ - lib, - fetchFromGitHub, - installShellFiles, - python3Packages, - perl, - ffmpeg, -}: - -let - - inherit (python3Packages) - buildPythonApplication - setuptools - requests - pysocks - cryptography - pyyaml - pytestCheckHook - mock - requests-mock - ; - - version = "4.97.1"; - -in - -buildPythonApplication { - pname = "svtplay-dl"; - inherit version; - pyproject = true; - - src = fetchFromGitHub { - owner = "spaam"; - repo = "svtplay-dl"; - rev = version; - hash = "sha256-9h3hHRRL7DKeCpEXL5w72hYi1nTS+a+x5e9ArMmVgYQ="; - }; - - build-system = [ setuptools ]; - - dependencies = [ - requests - pysocks - cryptography - pyyaml - ]; - - nativeBuildInputs = [ - # For `pod2man(1)`. - perl - installShellFiles - ]; - - nativeCheckInputs = [ - pytestCheckHook - mock - requests-mock - ]; - - pytestFlagsArray = [ - "--doctest-modules" - "lib" - ]; - - postBuild = '' - make svtplay-dl.1 - ''; - - postInstall = '' - installManPage svtplay-dl.1 - makeWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ ffmpeg ]}") - ''; - - postInstallCheck = '' - $out/bin/svtplay-dl --help > /dev/null - ''; - - meta = { - homepage = "https://github.com/spaam/svtplay-dl"; - description = "Command-line tool to download videos from svtplay.se and other sites"; - license = lib.licenses.mit; - platforms = lib.platforms.unix; - mainProgram = "svtplay-dl"; - }; -} diff --git a/pkgs/tools/misc/svu/default.nix b/pkgs/tools/misc/svu/default.nix deleted file mode 100644 index 15cbe3a2792c..000000000000 --- a/pkgs/tools/misc/svu/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, svu }: - -buildGoModule rec { - pname = "svu"; - version = "2.2.0"; - - src = fetchFromGitHub { - owner = "caarlos0"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-C5ATwRsi9hJBO9xFlyMDoxu97rJHwcKNToWhcmx6M6g="; - }; - - vendorHash = "sha256-/FSvNoVDWAkQs09gMrqyoA0su52nlk/nSCYRAhQhbwQ="; - - ldflags = [ "-s" "-w" "-X=main.version=${version}" "-X=main.builtBy=nixpkgs" ]; - - # test assumes source directory to be a git repository - postPatch = '' - rm internal/git/git_test.go - ''; - - passthru.tests.version = testers.testVersion { package = svu; }; - - meta = with lib; { - description = "Semantic Version Util"; - homepage = "https://github.com/caarlos0/svu"; - maintainers = with maintainers; [ caarlos0 ]; - license = licenses.mit; - mainProgram = "svu"; - }; -} diff --git a/pkgs/tools/misc/swaglyrics/default.nix b/pkgs/tools/misc/swaglyrics/default.nix deleted file mode 100644 index 4b9095ff59d7..000000000000 --- a/pkgs/tools/misc/swaglyrics/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ lib -, python3 -, fetchFromGitHub -, ncurses -}: - -python3.pkgs.buildPythonApplication rec { - pname = "swaglyrics"; - version = "unstable-2021-06-17"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "SwagLyrics"; - repo = "SwagLyrics-For-Spotify"; - rev = "99fe764a9e45cac6cb9fcdf724c7d2f8cb4524fb"; - hash = "sha256-O48T1WsUIVnNQb8gmzSkFFHTOiFOKVSAEYhF9zUqZz0="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace "==" ">=" - ''; - - propagatedBuildInputs = with python3.pkgs; [ - beautifulsoup4 - colorama - flask - requests - swspotify - unidecode - ]; - - nativeCheckInputs = with python3.pkgs; [ - blinker - flask - flask-testing - mock - pytestCheckHook - ] ++ [ - ncurses - ]; - - preBuild = '' - export HOME=$(mktemp -d) - ''; - - disabledTests = [ - # Disable tests which touch network - "test_database_for_unsupported_song" - "test_that_lyrics_works_for_unsupported_songs" - "test_that_get_lyrics_works" - "test_lyrics_are_shown_in_tab" - "test_songchanged_can_raise_songplaying" - ]; - - pythonImportsCheck = [ - "swaglyrics" - ]; - - meta = with lib; { - description = "Lyrics fetcher for currently playing Spotify song"; - homepage = "https://github.com/SwagLyrics/SwagLyrics-For-Spotify"; - license = licenses.mit; - maintainers = with maintainers; [ siraben ]; - mainProgram = "swaglyrics"; - }; -} diff --git a/pkgs/tools/misc/synth/default.nix b/pkgs/tools/misc/synth/default.nix index 688454c8ded1..4977372ee4ee 100644 --- a/pkgs/tools/misc/synth/default.nix +++ b/pkgs/tools/misc/synth/default.nix @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-i2Pp9sfTBth3DtrQ99Vw+KLnGECrkqtlRNAKiwSWf48="; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Security ]; diff --git a/pkgs/tools/misc/systrayhelper/default.nix b/pkgs/tools/misc/systrayhelper/default.nix deleted file mode 100644 index 328ea27e8b80..000000000000 --- a/pkgs/tools/misc/systrayhelper/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib, pkg-config, libappindicator-gtk3, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "systrayhelper"; - version = "unstable-2021-05-20"; - rev = "da47887f050cf0f22d9348cb4493df9ffda2a229"; - - src = fetchFromGitHub { - owner = "ssbc"; - repo = "systrayhelper"; - rev = rev; - hash = "sha256-9ejpARZghXhb3EJDvNcidg5QM8Z+P91ICGuA89ksqeA="; - }; - - vendorHash = null; - - # re date: https://github.com/NixOS/nixpkgs/pull/45997#issuecomment-418186178 - # > .. keep the derivation deterministic. Otherwise, we would have to rebuild it every time. - ldflags = [ - "-X main.version=v${version}" - "-X main.commit=${rev}" - "-X main.date=nix-byrev" - "-s" - "-w" - ]; - - nativeBuildInputs = [ pkg-config libappindicator-gtk3 ]; - buildInputs = [ libappindicator-gtk3 ]; - - doCheck = false; # Display required - - meta = with lib; { - description = "Systray utility written in go, using json over stdio for control and events"; - homepage = "https://github.com/ssbc/systrayhelper"; - maintainers = with maintainers; [ cryptix ]; - license = licenses.mit; - # It depends on the inputs, i guess? not sure about solaris, for instance. go supports it though - # I hope nix can figure this out?! ¯\\_(ツ)_/¯ - mainProgram = "systrayhelper"; - }; -} diff --git a/pkgs/tools/misc/sysz/default.nix b/pkgs/tools/misc/sysz/default.nix deleted file mode 100644 index aac3bfb29c94..000000000000 --- a/pkgs/tools/misc/sysz/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, fzf, gawk }: - -stdenvNoCC.mkDerivation rec { - pname = "sysz"; - version = "1.4.3"; - - src = fetchFromGitHub { - owner = "joehillen"; - repo = pname; - rev = version; - sha256 = "sha256-X9vj6ILPUKFo/i50JNehM2GSDWfxTdroWGYJv765Cm4="; - }; - - nativeBuildInputs = [ makeWrapper ]; - dontBuild = true; - - installPhase = '' - runHook preInstall - install -Dm755 sysz $out/libexec/sysz - makeWrapper $out/libexec/sysz $out/bin/sysz \ - --prefix PATH : ${lib.makeBinPath [ fzf gawk ]} - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/joehillen/sysz"; - description = "Fzf terminal UI for systemctl"; - license = licenses.unlicense; - maintainers = with maintainers; [ hleboulanger ]; - platforms = platforms.unix; - changelog = "https://github.com/joehillen/sysz/blob/${version}/CHANGELOG.md"; - mainProgram = "sysz"; - }; -} diff --git a/pkgs/tools/misc/szyszka/default.nix b/pkgs/tools/misc/szyszka/default.nix deleted file mode 100644 index 980b37a910df..000000000000 --- a/pkgs/tools/misc/szyszka/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ lib -, stdenv -, rustPlatform -, fetchFromGitHub -, pkg-config -, glib -, cairo -, pango -, atk -, gdk-pixbuf -, gtk4 -, wrapGAppsHook4 -, darwin -}: - -rustPlatform.buildRustPackage rec { - pname = "szyszka"; - version = "3.0.0"; - - src = fetchFromGitHub { - owner = "qarmin"; - repo = "szyszka"; - rev = version; - hash = "sha256-LkXGKDFKaY+mg53ZEO4h2br/4eRle/QbSQJTVEMpAoY="; - }; - - cargoHash = "sha256-WJR1BogNnQoZeOt5yBFzjYNZS8OmE84R1FbQpHTb7V0="; - - nativeBuildInputs = [ - pkg-config - wrapGAppsHook4 - ]; - - buildInputs = [ - glib - cairo - pango - atk - gdk-pixbuf - gtk4 - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ - Foundation - ]); - - postInstall = '' - install -m 444 \ - -D data/com.github.qarmin.szyszka.desktop \ - -t $out/share/applications - install -m 444 \ - -D data/com.github.qarmin.szyszka.metainfo.xml \ - -t $out/share/metainfo - install -m 444 \ - -D data/icons/com.github.qarmin.szyszka.svg \ - -t $out/share/icons/hicolor/scalable/apps - ''; - - meta = with lib; { - description = "Simple but powerful and fast bulk file renamer"; - homepage = "https://github.com/qarmin/szyszka"; - license = licenses.mit; - maintainers = with maintainers; [ kranzes ]; - mainProgram = "szyszka"; - }; -} diff --git a/pkgs/tools/misc/t1utils/default.nix b/pkgs/tools/misc/t1utils/default.nix deleted file mode 100644 index be9cf659160b..000000000000 --- a/pkgs/tools/misc/t1utils/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "t1utils"; - version = "1.42"; - - src = fetchurl { - url = "https://www.lcdf.org/type/t1utils-${version}.tar.gz"; - sha256 = "YYd5NbGYcETd/0u5CgUgDKcWRnijVeFwv18aVVbMnyk="; - }; - - meta = with lib; { - description = "Collection of simple Type 1 font manipulation programs"; - longDescription = '' - t1utils is a collection of simple type-1 font manipulation programs. - Together, they allow you to convert between PFA (ASCII) and PFB (binary) - formats, disassemble PFA or PFB files into human-readable form, - reassemble them into PFA or PFB format. Additionally you can extract font - resources from a Macintosh font file or create a Macintosh Type 1 font - file from a PFA or PFB font. - ''; - homepage = "https://www.lcdf.org/type/"; - license = { - shortName = "Click"; # README.md says BSD-like, see LICENSE - url = "https://github.com/kohler/t1utils/blob/master/LICENSE"; - free = true; - redistributable = true; - }; - platforms = platforms.all; - maintainers = [ maintainers.bjornfor ]; - }; -} diff --git a/pkgs/tools/misc/tab-rs/default.nix b/pkgs/tools/misc/tab-rs/default.nix index 6298d84c41fd..7d3721acb3c4 100644 --- a/pkgs/tools/misc/tab-rs/default.nix +++ b/pkgs/tools/misc/tab-rs/default.nix @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-56gy9AH3i4OSvExMuR3n/2hF5pJgbn5JJpxZLXKfu2w="; - buildInputs = lib.optionals stdenv.isDarwin [ IOKit ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ]; # many tests are failing doCheck = false; @@ -24,6 +24,6 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = [ ]; mainProgram = "tab"; - broken = (stdenv.isDarwin && stdenv.isAarch64); # Added 2023-11-13 + broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # Added 2023-11-13 }; } diff --git a/pkgs/tools/misc/tagref/default.nix b/pkgs/tools/misc/tagref/default.nix deleted file mode 100644 index b54545f83685..000000000000 --- a/pkgs/tools/misc/tagref/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "tagref"; - version = "1.10.0"; - - src = fetchFromGitHub { - owner = "stepchowfun"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-ANQxW5Qznu2JbiazFElB1sxpX4BwPgk6SVGgYpJ6DUw="; - }; - - cargoHash = "sha256-vdmr5n4M+Qe/jzjNdg+sy7q2osTivxmLG+xMTMkEFm4="; - - meta = with lib; { - description = "Manage cross-references in your code"; - homepage = "https://github.com/stepchowfun/tagref"; - license = licenses.mit; - maintainers = [ maintainers.yusdacra ]; - platforms = platforms.unix; - mainProgram = "tagref"; - }; -} diff --git a/pkgs/tools/misc/tailer/default.nix b/pkgs/tools/misc/tailer/default.nix deleted file mode 100644 index 9e8c31790af8..000000000000 --- a/pkgs/tools/misc/tailer/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, testers -, tailer -}: - -buildGoModule rec { - pname = "tailer"; - version = "0.1.1"; - - src = fetchFromGitHub { - owner = "hionay"; - repo = "tailer"; - rev = "v${version}"; - hash = "sha256-gPezz2ksqdCffgdAHwU2NMTar2glp5YGfA5C+tMYPtE="; - }; - - vendorHash = "sha256-nQqSvfN+ed/g5VkbD6XhZNA1G3CGGfwFDdadJ5+WoD0="; - - ldflags = [ - "-s" - "-w" - "-X=main.version=${version}" - ]; - - passthru.tests = { - version = testers.testVersion { - package = tailer; - }; - }; - - meta = with lib; { - description = "CLI tool to insert lines when command output stops"; - homepage = "https://github.com/hionay/tailer"; - license = licenses.mit; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "tailer"; - }; -} diff --git a/pkgs/tools/misc/tailspin/default.nix b/pkgs/tools/misc/tailspin/default.nix deleted file mode 100644 index 25aba0ebb95d..000000000000 --- a/pkgs/tools/misc/tailspin/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "tailspin"; - version = "3.0.2"; - - src = fetchFromGitHub { - owner = "bensadeh"; - repo = "tailspin"; - rev = version; - hash = "sha256-STQtWLrRS76sowGOBLZqeE8bYcDUjI5ErQD3D7z98M8="; - }; - - cargoHash = "sha256-gNyegmr7Iv7dRe/bCwxLbhVkhex0D9ylF5Eulix26tg="; - - meta = with lib; { - description = "Log file highlighter"; - homepage = "https://github.com/bensadeh/tailspin"; - changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ dit7ya ]; - mainProgram = "tspin"; - }; -} diff --git a/pkgs/tools/misc/taoup/cachefile.patch b/pkgs/tools/misc/taoup/cachefile.patch deleted file mode 100644 index 7c92b2180c67..000000000000 --- a/pkgs/tools/misc/taoup/cachefile.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/taoup-fortune 2021-09-05 12:16:23.408295791 +0800 -+++ b/taoup-fortune 2021-09-05 13:02:52.286440200 +0800 -@@ -5,31 +5,9 @@ - # - https://github.com/matheuss/parrotsay - # - https://github.com/busyloop/lolcat - # - https://github.com/sckott/cowsay (enhanced version) --dir=`dirname "${BASH_SOURCE[0]}"` -- --# USER ALERT!!! @ronjouch complained about execution speed at https://github.com/globalcitizen/taoup/issues/11 --# ... therefore we add caching ... therefore first ensure we have an up to date cache via one of ... --# md5sum --if [ `which md5sum 2>/dev/null` ]; then -- MD5SUM=`md5sum ${dir}/taoup | cut -d ' ' -f1` --# md5 --elif [ `which md5 2>/dev/null` ]; then -- MD5SUM=`md5 -q ${dir}/taoup | cut -d ' ' -f1` --# openssl --elif [ `which openssl 2>/dev/null` ]; then -- MD5SUM=`cat ${dir}/taoup | openssl md5 | grep -o '[[:xdigit:]][[:xdigit:]]*$' |cut -d '=' -f2- |cut -c 2-` --# ruby --elif [ `which ruby 2>/dev/null` ]; then -- MD5SUM=`ruby -rdigest/md5 -e"puts Digest::MD5.file'${dir}/taoup'"` --fi - - # determine cachefile name --cachefile=${dir}/.taoup-fortune.cache.${MD5SUM} -- --# create if necessary --if [ ! -r $cachefile ]; then -- ${dir}/taoup $@ >${cachefile} --fi -+cachefile=@out@/lib/taoup/cache - - # handle all classes of society - if [ `which cowsay 2>/dev/null` ]; then diff --git a/pkgs/tools/misc/taoup/default.nix b/pkgs/tools/misc/taoup/default.nix deleted file mode 100644 index cdf0b9518c4f..000000000000 --- a/pkgs/tools/misc/taoup/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ruby, bash, ncurses }: -let - rubyEnv = ruby.withPackages (ps: with ps; [ ansi ]); -in -stdenv.mkDerivation rec { - pname = "taoup"; - version = "1.21"; - - src = fetchFromGitHub { - owner = "globalcitizen"; - repo = "taoup"; - rev = "v${version}"; - hash = "sha256-UHo3c+DQn77CJONy/QXM55rpIdhVkJbhR82tqmUltPQ="; - }; - - buildInputs = [ rubyEnv bash ncurses ]; - - patches = [ - # Pre-create a cache within this derivation - ./cachefile.patch - # Remove the need to test for `tput`, depend on ncurses directly - ./tput.patch - # Fix the script name in `taoup --help` output - ./help.patch - ]; - - postPatch = '' - substituteInPlace taoup \ - --subst-var-by ncurses ${ncurses} \ - --subst-var-by pname taoup - substituteInPlace taoup-fortune \ - --subst-var-by out $out \ - --replace "/bin/bash" "${bash}/bin/bash" - ''; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - mkdir -p $out/{bin,lib/taoup} - - cp taoup $out/lib/taoup - cat > $out/bin/taoup <<EOF - #!${bash}/bin/bash - exec ${rubyEnv}/bin/ruby "$out/lib/taoup/taoup" "\$@" - EOF - chmod +x $out/bin/taoup - - # Populate the cache created by cachedir.patch above - $out/bin/taoup > $out/lib/taoup/cache - - cp taoup-fortune $out/bin - chmod +x $out/bin/taoup-fortune - - runHook postInstall - ''; - - meta = { - description = "Tao of Unix Programming (Ruby-powered ANSI colored fortunes)"; - homepage = "https://github.com/globalcitizen/taoup"; - license = lib.licenses.gpl3Only; - maintainers = [ lib.maintainers.zakame ]; - }; -} diff --git a/pkgs/tools/misc/taoup/help.patch b/pkgs/tools/misc/taoup/help.patch deleted file mode 100644 index e8b5f91f3c8a..000000000000 --- a/pkgs/tools/misc/taoup/help.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/taoup 2021-09-07 16:45:00.000000000 +0800 -+++ b/taoup 2021-09-07 16:46:00.000000000 +0800 -@@ -7,12 +7,12 @@ - - # show help if requested - if ARGV[0] == '--help' or ARGV[0] == '-h' then -- puts "usage: " + $0 + " [arguments]" -- puts " " + $0 + " Display all fortunes and sections." -- puts " " + $0 + " < --help | -h > This help." -- puts " " + $0 + " --whitetrash Convert ANSI colors for light/white terminals." -- puts " " + $0 + " --machine Remove ANSI colors." -- puts " " + $0 + " --fortune Convert output to fortune format (and lose colors)." -+ puts "usage: " + "@pname@" + " [arguments]" -+ puts " " + "@pname@" + " Display all fortunes and sections." -+ puts " " + "@pname@" + " < --help | -h > This help." -+ puts " " + "@pname@" + " --whitetrash Convert ANSI colors for light/white terminals." -+ puts " " + "@pname@" + " --machine Remove ANSI colors." -+ puts " " + "@pname@" + " --fortune Convert output to fortune format (and lose colors)." - exit(0) - end - # ... but optionally make sure ANSI escape sequences are filtered out diff --git a/pkgs/tools/misc/taoup/tput.patch b/pkgs/tools/misc/taoup/tput.patch deleted file mode 100644 index 5c82024885bf..000000000000 --- a/pkgs/tools/misc/taoup/tput.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/taoup 2021-09-05 12:43:48.334615538 +0800 -+++ b/taoup 2021-09-05 12:55:07.631617799 +0800 -@@ -26,11 +26,9 @@ - zero_colors = true - fortunify = true - else -- if `which tput` then -- colors = `tput colors` -- if colors.chop == "-1" then -- zero_colors = true -- end -+ colors = `@ncurses@/bin/tput colors` -+ if colors.chop == "-1" then -+ zero_colors = true - end - end - if ARGV[0] == '--whitetrash' then diff --git a/pkgs/tools/misc/tbls/default.nix b/pkgs/tools/misc/tbls/default.nix deleted file mode 100644 index 418ad24116d6..000000000000 --- a/pkgs/tools/misc/tbls/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, stdenv -, buildGoModule -, fetchFromGitHub -, installShellFiles -, testers -, tbls -}: - -buildGoModule rec { - pname = "tbls"; - version = "1.77.0"; - - src = fetchFromGitHub { - owner = "k1LoW"; - repo = "tbls"; - rev = "v${version}"; - hash = "sha256-knYAwmxqeHv1XBi/zHf7cOkcLXITGnX0tXlT8/Zs2YQ="; - }; - - vendorHash = "sha256-m5G0knHmPCz1pZ7LZ4i6Tyq+xSEq32mQFbXEdOY+6ec="; - - nativeBuildInputs = [ installShellFiles ]; - - ldflags = [ "-s" "-w" ]; - - CGO_CFLAGS = [ "-Wno-format-security" ]; - - preCheck = '' - # Remove tests that require additional services. - rm -f \ - datasource/*_test.go \ - drivers/*/*_test.go - ''; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd tbls \ - --bash <($out/bin/tbls completion bash) \ - --fish <($out/bin/tbls completion fish) \ - --zsh <($out/bin/tbls completion zsh) - ''; - - passthru.tests.version = testers.testVersion { - package = tbls; - command = "tbls version"; - inherit version; - }; - - meta = with lib; { - description = "Tool to generate documentation based on a database structure"; - homepage = "https://github.com/k1LoW/tbls"; - changelog = "https://github.com/k1LoW/tbls/blob/${src.rev}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ azahi ]; - mainProgram = "tbls"; - }; -} diff --git a/pkgs/tools/misc/tcat/default.nix b/pkgs/tools/misc/tcat/default.nix deleted file mode 100644 index 5afa7e83affa..000000000000 --- a/pkgs/tools/misc/tcat/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "tcat"; - version = "1.0.0"; - src = fetchFromGitHub { - owner = "rsc"; - repo = pname; - rev = "v${version}"; - sha256 = "1szzfz5xsx9l8gjikfncgp86hydzpvsi0y5zvikd621xkp7g7l21"; - }; - vendorHash = null; - subPackages = "."; - - meta = with lib; { - description = "Table cat"; - homepage = "https://github.com/rsc/tcat"; - maintainers = with maintainers; [ mmlb ]; - license = licenses.bsd3; - mainProgram = "tcat"; - }; -} diff --git a/pkgs/tools/misc/tdfgo/default.nix b/pkgs/tools/misc/tdfgo/default.nix deleted file mode 100644 index 0d9e5950b51a..000000000000 --- a/pkgs/tools/misc/tdfgo/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "tdfgo"; - version = "unstable-2022-08-25"; - - src = fetchFromGitHub { - owner = "digitallyserviced"; - repo = "tdfgo"; - rev = "9f0b3315eed32409639a05aca55d7a0252681193"; - sha256 = "sha256-Lr4+bXdVxYbCXKVzE+fjeLD559HuABK6lOLJ0sBBGNY="; - }; - - vendorHash = "sha256-T6PSs5NfXSXvzlq67rIDbzURyA+25df3nMMfufo0fow="; - - meta = with lib; { - description = "TheDraw font parser and console text renderer"; - longDescription = "Supports more fonts than `tdfiglet`, and packs more features."; - homepage = "https://github.com/digitallyserviced/tdfgo"; - license = licenses.cc0; - platforms = platforms.linux; - maintainers = with maintainers; [ crinklywrappr ]; - mainProgram = "tdfgo"; - }; -} diff --git a/pkgs/tools/misc/tea/default.nix b/pkgs/tools/misc/tea/default.nix deleted file mode 100644 index 8e985c9ec13d..000000000000 --- a/pkgs/tools/misc/tea/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildGoModule, fetchFromGitea }: - -buildGoModule rec { - pname = "tea"; - version = "0.9.2"; - - src = fetchFromGitea { - domain = "gitea.com"; - owner = "gitea"; - repo = "tea"; - rev = "v${version}"; - sha256 = "sha256-sZfg8+LIu1Ejvmr/o4X3EOz3fv+RvLhrGRf2yy+6t8c="; - }; - - vendorHash = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w="; - - meta = with lib; { - description = "Gitea official CLI client"; - homepage = "https://gitea.com/gitea/tea"; - license = licenses.mit; - maintainers = with maintainers; [ j4m3s techknowlogick ]; - mainProgram = "tea"; - }; -} diff --git a/pkgs/tools/misc/tealdeer/default.nix b/pkgs/tools/misc/tealdeer/default.nix index 9ca82d8f1bec..428c235e394d 100644 --- a/pkgs/tools/misc/tealdeer/default.nix +++ b/pkgs/tools/misc/tealdeer/default.nix @@ -8,18 +8,18 @@ rustPlatform.buildRustPackage rec { pname = "tealdeer"; - version = "1.6.1"; + version = "1.7.0"; src = fetchFromGitHub { owner = "dbrgn"; repo = "tealdeer"; rev = "v${version}"; - sha256 = "sha256-zQzYukhruVUVP1v76/5522ag7wjN9QoE9BtfMNYQ7UY="; + hash = "sha256-7Wavhl5irQU9OV7+dslrIQEAcsaqJZ/jWmxaCyTBsEs="; }; - cargoHash = "sha256-VeJsCWU7sJy88uvGGjpuGRzsAgBRvzOYU1FwpImpiLk="; + cargoHash = "sha256-WCbpwvCXm54/Cv+TscaqseWzTUd8V1DxmS30fUZZTwI="; - buildInputs = lib.optional stdenv.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; nativeBuildInputs = [ installShellFiles ]; @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Very fast implementation of tldr in Rust"; homepage = "https://github.com/dbrgn/tealdeer"; - maintainers = with maintainers; [ davidak newam ]; + maintainers = with maintainers; [ davidak newam mfrw ]; license = with licenses; [ asl20 mit ]; mainProgram = "tldr"; }; diff --git a/pkgs/tools/misc/tensorman/default.nix b/pkgs/tools/misc/tensorman/default.nix deleted file mode 100644 index b6f11d190c10..000000000000 --- a/pkgs/tools/misc/tensorman/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage { - pname = "tensorman"; - version = "unstable-2023-03-13"; - - src = fetchFromGitHub { - owner = "pop-os"; - repo = "tensorman"; - rev = "b1125f71b55a8d9a4d674a62fa1e8868d40d0f0d"; - hash = "sha256-WMX+nzNQTGeSUxOfMHo+U0ICYx8rttXpQrQClwU2zX8="; - }; - - cargoHash = "sha256-y/AE2jTVetqBBExBlPEB0LwIVk+LjB2i0ZjijLPs9js="; - - meta = with lib; { - description = "Utility for easy management of Tensorflow containers"; - homepage = "https://github.com/pop-os/tensorman"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ thefenriswolf ]; - mainProgram = "tensorman"; - }; -} diff --git a/pkgs/tools/misc/tere/default.nix b/pkgs/tools/misc/tere/default.nix deleted file mode 100644 index b362ff418375..000000000000 --- a/pkgs/tools/misc/tere/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform, ncurses, stdenv, python3 }: - -rustPlatform.buildRustPackage { - pname = "tere"; - version = "1.6.0"; - - src = fetchFromGitHub { - owner = "mgunyho"; - repo = "tere"; - rev = "5adf1176e8c12c073ad244cac7773a7808ed2021"; - sha256 = "sha256-oY4oeSttM8LLXLirYq/B7Nzajkg4Pw26uig5gZxqU3s="; - }; - - cargoHash = "sha256-UWZWm6wDiQqUNcWV1nDUWXVhWgqoVUCDWz09cRkiPKg="; - - nativeBuildInputs = [ - # ncurses provides the tput command needed for integration tests - # https://github.com/mgunyho/tere/issues/93#issuecomment-2029624187 - ncurses - ]; - - checkFlags = lib.optionals stdenv.isDarwin [ - # Unexplained fail - # https://github.com/NixOS/nixpkgs/pull/298527#issuecomment-2053758845 - "--skip=first_run_prompt_accept" - ]; - - # NOTE: workaround for build fail on aarch64 - # See https://github.com/NixOS/nixpkgs/issues/145726#issuecomment-971331986 - preBuild = - let - python-with-toml = python3.withPackages (ps: [ps.toml]); - script = builtins.toFile "clear_linkers.py" '' - from os import path - import toml - - if path.exists(".cargo/config.toml"): - config = toml.load(open(".cargo/config.toml")) - - for target in config.get("target",{}).values(): - if "linker" in target: - del target["linker"] - - toml.dump(config,open(".cargo/config.toml", "w")) - else: - print(__file__, ": CONFIG.TOML EXPECTED") - exit(1) - ''; - in - "${python-with-toml}/bin/python3 ${script}"; - - meta = with lib; { - description = "Faster alternative to cd + ls"; - homepage = "https://github.com/mgunyho/tere"; - license = licenses.eupl12; - maintainers = with maintainers; [ ProducerMatt ]; - mainProgram = "tere"; - }; -} diff --git a/pkgs/tools/misc/termplay/default.nix b/pkgs/tools/misc/termplay/default.nix deleted file mode 100644 index dccf9d38fe6a..000000000000 --- a/pkgs/tools/misc/termplay/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ rustPlatform, fetchFromGitLab, lib, makeWrapper, gst_all_1, libsixel }: - -rustPlatform.buildRustPackage rec { - pname = "termplay"; - version = "2.0.6"; - - src = fetchFromGitLab { - owner = "jD91mZM2"; - repo = "termplay"; - rev = "v${version}"; - sha256 = "1w7hdqgqr1jgxid3k7f2j52wz31gv8bzr9rsm6xzp7nnihp6i45p"; - }; - - cargoHash = "sha256-i7toHEewkpQ85aj4PK4SLJQCfUllUqkqIWLaOEk3NyI="; - - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - gst_all_1.gst-plugins-good - gst_all_1.gst-plugins-ugly - gst_all_1.gst-plugins-bad - libsixel - ]; - - buildFeatures = [ "bin" ]; - - postInstall = '' - wrapProgram $out/bin/termplay --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" - ''; - - meta = with lib; { - description = "Play an image/video in your terminal"; - homepage = "https://jd91mzm2.github.io/termplay/"; - license = licenses.mit; - maintainers = [ ]; - platforms = platforms.unix; - mainProgram = "termplay"; - }; -} diff --git a/pkgs/tools/misc/termtosvg/default.nix b/pkgs/tools/misc/termtosvg/default.nix deleted file mode 100644 index 2de15e155c58..000000000000 --- a/pkgs/tools/misc/termtosvg/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, python3Packages, fetchPypi }: - -python3Packages.buildPythonApplication rec { - pname = "termtosvg"; - version = "1.1.0"; - - src = fetchPypi { - inherit pname version; - sha256 = "1vk5kn8w3zf2ymi76l8cpwmvvavkmh3b9lb18xw3x1vzbmhz2f7d"; - }; - - propagatedBuildInputs = with python3Packages; [ lxml pyte wcwidth ]; - - meta = with lib; { - homepage = "https://nbedos.github.io/termtosvg/"; - description = "Record terminal sessions as SVG animations"; - license = licenses.bsd3; - maintainers = [ ]; - mainProgram = "termtosvg"; - }; -} diff --git a/pkgs/tools/misc/tewisay/default.nix b/pkgs/tools/misc/tewisay/default.nix deleted file mode 100644 index bcf77c2db2cf..000000000000 --- a/pkgs/tools/misc/tewisay/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, unstableGitUpdater -}: - -buildGoModule rec { - pname = "tewisay"; - version = "0-unstable-2022-11-04"; - - # lucy deleted the old repo, this is a fork/mirror - src = fetchFromGitHub { - owner = "raymond-w-ko"; - repo = "tewisay"; - rev = "caa5b0131dda868f656716d2107f02d04d1048d4"; - hash = "sha256-E492d8P/Bek9xZlJP+k9xvIJEFtA1YrIB/pogvz3wM4="; - }; - - vendorHash = "sha256-WcpRJ31kqWA255zfjuWDj0honJgSGdm4ONx2yOKk7/g="; - - # Currently hard-coded, will be fixed by developer - postPatch = '' - substituteInPlace main.go \ - --replace "/usr" "$out" - ''; - - postInstall = '' - mkdir -p $out/share - mv {cows,zsh} $out/share - ''; - - passthru.updateScript = unstableGitUpdater { }; - - meta = with lib; { - homepage = "https://github.com/raymond-w-ko/tewisay"; - description = "Cowsay replacement with unicode and partial ansi escape support"; - license = with licenses; [ cc0 ]; - maintainers = with maintainers; [ Madouura ]; - mainProgram = "tewisay"; - }; -} diff --git a/pkgs/tools/misc/texi2mdoc/default.nix b/pkgs/tools/misc/texi2mdoc/default.nix deleted file mode 100644 index ed9617b0f343..000000000000 --- a/pkgs/tools/misc/texi2mdoc/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "texi2mdoc"; - version = "0.1.2"; - - src = fetchurl { - url = "http://mdocml.bsd.lv/texi2mdoc/snapshots/texi2mdoc-${version}.tgz"; - sha256 = "1zjb61ymwfkw6z5g0aqmsn6qpw895zdxv7fv3059gj3wqa3zsibs"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - homepage = "http://mdocml.bsd.lv/"; - description = "converter from Texinfo into mdoc"; - license = licenses.isc; - platforms = platforms.all; - maintainers = with maintainers; [ ramkromberg ]; - mainProgram = "texi2mdoc"; - }; -} diff --git a/pkgs/tools/misc/tfk8s/default.nix b/pkgs/tools/misc/tfk8s/default.nix deleted file mode 100644 index a0bdefde1620..000000000000 --- a/pkgs/tools/misc/tfk8s/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, callPackage }: - -buildGoModule rec { - pname = "tfk8s"; - version = "0.1.10"; - tag = "v${version}"; - - src = fetchFromGitHub { - owner = "jrhouston"; - repo = "tfk8s"; - rev = tag; - sha256 = "sha256-VLpXL5ABnCxc+7dV3sZ6wsY2nKn2yfu7eTjtn881/XQ="; - }; - - vendorHash = "sha256-eTADcUW9b6l47BkWF9YLxdcgvMbCzWTjLF28FneJHg8="; - - ldflags = [ - "-s" - "-w" - "-X main.toolVersion=${tag}" - "-X main.builtBy=nixpkgs" - ]; - - doCheck = true; - - doInstallCheck = true; - installCheckPhase = '' - $out/bin/tfk8s --version | grep ${tag} > /dev/null - ''; - - passthru.tests = { - sample1 = callPackage ./tests/sample1 { }; - }; - - meta = with lib; { - description = "Utility to convert Kubernetes YAML manifests to Terraform's HCL format"; - license = licenses.mit; - longDescription = '' - tfk8s is a tool that makes it easier to work with the Terraform Kubernetes Provider. - If you want to copy examples from the Kubernetes documentation or migrate existing YAML manifests and use them with Terraform without having to convert YAML to HCL by hand, this tool is for you. - Features: - * Convert a YAML file containing multiple manifests. - * Strip out server side fields when piping kubectl get $R -o yaml | tfk8s --strip - ''; - homepage = "https://github.com/jrhouston/tfk8s/"; - maintainers = with maintainers; [ bryanasdev000 ]; - mainProgram = "tfk8s"; - }; -} diff --git a/pkgs/tools/misc/tfk8s/tests/sample1/default.nix b/pkgs/tools/misc/tfk8s/tests/sample1/default.nix deleted file mode 100644 index 6b06dbf32340..000000000000 --- a/pkgs/tools/misc/tfk8s/tests/sample1/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ runCommandCC, tfk8s }: - -runCommandCC "tfk8s-test-sample1" { - buildInputs = [ - tfk8s - ]; - meta.timeout = 60; - } - '' - cmp <(${tfk8s}/bin/tfk8s -f ${./input.yaml}) ${./output.tf} > $out - '' diff --git a/pkgs/tools/misc/tfk8s/tests/sample1/input.yaml b/pkgs/tools/misc/tfk8s/tests/sample1/input.yaml deleted file mode 100644 index 58ed0eb11d76..000000000000 --- a/pkgs/tools/misc/tfk8s/tests/sample1/input.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: test -data: - TEST: test diff --git a/pkgs/tools/misc/tfk8s/tests/sample1/output.tf b/pkgs/tools/misc/tfk8s/tests/sample1/output.tf deleted file mode 100644 index 51d564400b55..000000000000 --- a/pkgs/tools/misc/tfk8s/tests/sample1/output.tf +++ /dev/null @@ -1,12 +0,0 @@ -resource "kubernetes_manifest" "configmap_test" { - manifest = { - "apiVersion" = "v1" - "data" = { - "TEST" = "test" - } - "kind" = "ConfigMap" - "metadata" = { - "name" = "test" - } - } -} diff --git a/pkgs/tools/misc/theme-sh/default.nix b/pkgs/tools/misc/theme-sh/default.nix deleted file mode 100644 index e1ebe9b73266..000000000000 --- a/pkgs/tools/misc/theme-sh/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, coreutils, gawk }: - -stdenv.mkDerivation rec { - pname = "theme-sh"; - version = "1.1.5"; - - src = fetchFromGitHub { - owner = "lemnos"; - repo = "theme.sh"; - rev = "v${version}"; - sha256 = "sha256-zDw8WGBzO4/HRCgN7yoUxT49ibTz+QkRa5WpBQbl1nI="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontBuild = true; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - install -Dm755 bin/theme.sh $out/bin - wrapProgram $out/bin/theme.sh \ - --prefix PATH : ${lib.makeBinPath [ coreutils gawk ]} - - runHook postInstall - ''; - - meta = with lib; { - description = "Script which lets you set your $terminal theme"; - homepage = "https://github.com/lemnos/theme.sh"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "theme.sh"; - }; -} diff --git a/pkgs/tools/misc/thin-provisioning-tools/Cargo.lock b/pkgs/tools/misc/thin-provisioning-tools/Cargo.lock deleted file mode 100644 index 8f9a97c8733e..000000000000 --- a/pkgs/tools/misc/thin-provisioning-tools/Cargo.lock +++ /dev/null @@ -1,907 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "aho-corasick" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" -dependencies = [ - "memchr", -] - -[[package]] -name = "anstyle" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" - -[[package]] -name = "anyhow" -version = "1.0.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" - -[[package]] -name = "bytemuck" -version = "1.14.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f" - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "cassowary" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clap" -version = "4.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" -dependencies = [ - "clap_builder", -] - -[[package]] -name = "clap_builder" -version = "4.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" -dependencies = [ - "anstyle", - "clap_lex", - "strsim", -] - -[[package]] -name = "clap_lex" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" - -[[package]] -name = "console" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" -dependencies = [ - "encode_unicode", - "lazy_static", - "libc", - "unicode-width", - "windows-sys", -] - -[[package]] -name = "crc32c" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89254598aa9b9fa608de44b3ae54c810f0f06d755e24c50177f1f8f31ff50ce2" -dependencies = [ - "rustc_version", -] - -[[package]] -name = "crc32fast" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "data-encoding" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" - -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - -[[package]] -name = "duct" -version = "0.13.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ab5718d1224b63252cd0c6f74f6480f9ffeb117438a2e0f5cf6d9a4798929c" -dependencies = [ - "libc", - "once_cell", - "os_pipe", - "shared_child", -] - -[[package]] -name = "encode_unicode" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "log", - "regex", -] - -[[package]] -name = "errno" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "exitcode" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193" - -[[package]] -name = "fastrand" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" - -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - -[[package]] -name = "flate2" -version = "1.0.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "fragile" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - -[[package]] -name = "getrandom" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" - -[[package]] -name = "indicatif" -version = "0.17.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" -dependencies = [ - "console", - "instant", - "number_prefix", - "portable-atomic", - "unicode-width", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "iovec" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -dependencies = [ - "libc", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.153" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" - -[[package]] -name = "linux-raw-sys" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" - -[[package]] -name = "log" -version = "0.4.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" - -[[package]] -name = "memchr" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" -dependencies = [ - "adler", -] - -[[package]] -name = "mockall" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn 2.0.50", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "num-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.50", -] - -[[package]] -name = "num-traits" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_cpus" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -dependencies = [ - "hermit-abi 0.3.6", - "libc", -] - -[[package]] -name = "number_prefix" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" - -[[package]] -name = "numtoa" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" - -[[package]] -name = "once_cell" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" - -[[package]] -name = "os_pipe" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57119c3b893986491ec9aa85056780d3a0f3cf4da7cc09dd3650dbd6c6738fb9" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "portable-atomic" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "predicates" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" -dependencies = [ - "anstyle", - "predicates-core", -] - -[[package]] -name = "predicates-core" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" - -[[package]] -name = "predicates-tree" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "proc-macro2" -version = "1.0.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quick-xml" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33" -dependencies = [ - "memchr", -] - -[[package]] -name = "quickcheck" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" -dependencies = [ - "env_logger", - "log", - "rand", -] - -[[package]] -name = "quickcheck_macros" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "quote" -version = "1.0.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom", -] - -[[package]] -name = "rangemap" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "795915a3930a5d6bafd9053d37602fea3e61be2e5d4d788983a8ba9654c1c6f2" - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_termios" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20145670ba436b55d91fc92d25e71160fbfbdd57831631c8d7d36377a476f1cb" - -[[package]] -name = "regex" -version = "1.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" - -[[package]] -name = "rio" -version = "0.9.4" -source = "git+https://github.com/jthornber/rio?branch=master#2979a720f671e836302c01546f9cc9f7988610c8" -dependencies = [ - "libc", -] - -[[package]] -name = "roaring" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1c77081a55300e016cb86f2864415b7518741879db925b8d488a0ee0d2da6bf" -dependencies = [ - "bytemuck", - "byteorder", -] - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.38.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" -dependencies = [ - "bitflags 2.4.2", - "errno", - "libc", - "linux-raw-sys", - "windows-sys", -] - -[[package]] -name = "safemem" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" - -[[package]] -name = "semver" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" - -[[package]] -name = "shared_child" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0d94659ad3c2137fef23ae75b03d5241d633f8acded53d672decfa0e6e0caef" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "strsim" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f1bdc9872430ce9b75da68329d1c1746faf50ffac5f19e02b71e37ff881ffb" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "tempfile" -version = "3.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" -dependencies = [ - "cfg-if", - "fastrand", - "rustix", - "windows-sys", -] - -[[package]] -name = "termion" -version = "1.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e" -dependencies = [ - "libc", - "numtoa", - "redox_syscall", - "redox_termios", -] - -[[package]] -name = "termtree" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" - -[[package]] -name = "thinp" -version = "1.0.12" -dependencies = [ - "anyhow", - "atty", - "base64", - "byteorder", - "clap", - "crc32c", - "data-encoding", - "duct", - "exitcode", - "fixedbitset", - "flate2", - "indicatif", - "iovec", - "libc", - "mockall", - "nom", - "num-derive", - "num-traits", - "num_cpus", - "quick-xml", - "quickcheck", - "quickcheck_macros", - "rand", - "rangemap", - "rio", - "roaring", - "safemem", - "tempfile", - "termion", - "thinp", - "thiserror", - "threadpool", - "tui", -] - -[[package]] -name = "thiserror" -version = "1.0.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.57" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.50", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "tui" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1" -dependencies = [ - "bitflags 1.3.2", - "cassowary", - "termion", - "unicode-segmentation", - "unicode-width", -] - -[[package]] -name = "unicode-ident" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" - -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - -[[package]] -name = "unicode-width" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets", -] - -[[package]] -name = "windows-targets" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d380ba1dc7187569a8a9e91ed34b8ccfc33123bbacb8c0aed2d1ad7f3ef2dc5f" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68e5dcfb9413f53afd9c8f86e56a7b4d86d9a2fa26090ea2dc9e40fba56c6ec6" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dab469ebbc45798319e69eebf92308e541ce46760b49b18c6b3fe5e8965b30f" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a4e9b6a7cac734a8b4138a4e1044eac3404d8326b6c0f939276560687a033fb" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b0ec9c422ca95ff34a78755cfa6ad4a51371da2a5ace67500cf7ca5f232c58" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "704131571ba93e89d7cd43482277d6632589b18ecf4468f591fbae0a8b101614" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42079295511643151e98d61c38c0acc444e52dd42ab456f7ccfd5152e8ecf21c" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0770833d60a970638e989b3fa9fd2bb1aaadcf88963d1659fd7d9990196ed2d6" diff --git a/pkgs/tools/misc/thin-provisioning-tools/default.nix b/pkgs/tools/misc/thin-provisioning-tools/default.nix deleted file mode 100644 index a386a46c40f1..000000000000 --- a/pkgs/tools/misc/thin-provisioning-tools/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, nixosTests }: - -rustPlatform.buildRustPackage rec { - pname = "thin-provisioning-tools"; - version = "1.0.12"; - - src = fetchFromGitHub { - owner = "jthornber"; - repo = "thin-provisioning-tools"; - rev = "v${version}"; - hash = "sha256-wliyTWo3iOonqf4UW50V5co0RQlc75VwLofF9FHV2LI="; - }; - - cargoLock = { - lockFile = ./Cargo.lock; - outputHashes = { - "rio-0.9.4" = "sha256-2l5cm7YLZyf2kuRPMytu7Fdewi6x3+9KyyQBv2F8ZDA="; - }; - }; - - passthru.tests = { - inherit (nixosTests.lvm2) lvm-thinpool-linux-latest; - }; - - # Uses O_DIRECT, which is not supported on all filesystems. - # https://github.com/jthornber/thin-provisioning-tools/issues/38 - doCheck = false; - - # required for config compatibility with configs done pre 0.9.0 - # see https://github.com/NixOS/nixpkgs/issues/317018 - postInstall = '' - ln -s $out/bin/pdata_tools $out/bin/cache_check - ln -s $out/bin/pdata_tools $out/bin/cache_dump - ln -s $out/bin/pdata_tools $out/bin/cache_metadata_size - ln -s $out/bin/pdata_tools $out/bin/cache_repair - ln -s $out/bin/pdata_tools $out/bin/cache_restore - ln -s $out/bin/pdata_tools $out/bin/cache_writeback - ln -s $out/bin/pdata_tools $out/bin/era_check - ln -s $out/bin/pdata_tools $out/bin/era_dump - ln -s $out/bin/pdata_tools $out/bin/era_invalidate - ln -s $out/bin/pdata_tools $out/bin/era_restore - ln -s $out/bin/pdata_tools $out/bin/thin_check - ln -s $out/bin/pdata_tools $out/bin/thin_delta - ln -s $out/bin/pdata_tools $out/bin/thin_dump - ln -s $out/bin/pdata_tools $out/bin/thin_ls - ln -s $out/bin/pdata_tools $out/bin/thin_metadata_size - ln -s $out/bin/pdata_tools $out/bin/thin_repair - ln -s $out/bin/pdata_tools $out/bin/thin_restore - ln -s $out/bin/pdata_tools $out/bin/thin_rmap - ln -s $out/bin/pdata_tools $out/bin/thin_trim - ''; - - meta = with lib; { - homepage = "https://github.com/jthornber/thin-provisioning-tools/"; - description = "Suite of tools for manipulating the metadata of the dm-thin device-mapper target"; - license = licenses.gpl3; - platforms = platforms.unix; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/thumbs/default.nix b/pkgs/tools/misc/thumbs/default.nix deleted file mode 100644 index b4c795bc8cf8..000000000000 --- a/pkgs/tools/misc/thumbs/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub }: - -rustPlatform.buildRustPackage rec { - pname = "thumbs"; - version = "0.8.0"; - - src = fetchFromGitHub { - owner = "fcsonline"; - repo = "tmux-thumbs"; - rev = version; - sha256 = "sha256-XMz1ZOTz2q1Dt4QdxG83re9PIsgvxTTkytESkgKxhGM="; - }; - - cargoHash = "sha256-PfTx6PcW5DESShfr9Ekhbq1asZ0xUGM4Vi9EwmoDv+s"; - - patches = [ ./fix.patch ]; - - meta = with lib; { - homepage = "https://github.com/fcsonline/tmux-thumbs"; - description = "Lightning fast version of tmux-fingers written in Rust, copy/pasting tmux like vimium/vimperator"; - license = licenses.mit; - maintainers = with maintainers; [ ghostbuster91 ]; - }; -} diff --git a/pkgs/tools/misc/thumbs/fix.patch b/pkgs/tools/misc/thumbs/fix.patch deleted file mode 100644 index 35b7a9169165..000000000000 --- a/pkgs/tools/misc/thumbs/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git i/src/swapper.rs w/src/swapper.rs -index c901f48..cbd278d 100644 ---- i/src/swapper.rs -+++ w/src/swapper.rs -@@ -215,7 +215,7 @@ impl<'a> Swapper<'a> { - }; - - let pane_command = format!( -- "tmux capture-pane -J -t {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/target/release/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}", -+ "tmux capture-pane -J -t {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}", - active_pane_id = active_pane_id, - scroll_params = scroll_params, - height = self.active_pane_height.unwrap_or(i32::MAX), diff --git a/pkgs/tools/misc/time-decode/default.nix b/pkgs/tools/misc/time-decode/default.nix deleted file mode 100644 index b208fd3e2ba2..000000000000 --- a/pkgs/tools/misc/time-decode/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "time-decode"; - version = "7.0.2"; - pyproject = true; - - src = fetchFromGitHub { - owner = "digitalsleuth"; - repo = "time_decode"; - rev = "refs/tags/v${version}"; - hash = "sha256-K60xIQ6TWPYlsR6YjIquey5Ioaw4oAId59CPlQNK4yk="; - }; - - nativeBuildInputs = with python3.pkgs; [ - setuptools - ]; - - propagatedBuildInputs = with python3.pkgs; [ - colorama - python-dateutil - pyqt6 - ]; - - # Project has no tests - doCheck = false; - - pythonImportsCheck = [ - "time_decode" - ]; - - meta = with lib; { - description = "Timestamp and date decoder"; - homepage = "https://github.com/digitalsleuth/time_decode"; - changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; - mainProgram = "time-decode"; - }; -} diff --git a/pkgs/tools/misc/time/default.nix b/pkgs/tools/misc/time/default.nix deleted file mode 100644 index 1df89b323838..000000000000 --- a/pkgs/tools/misc/time/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation (finalAttrs: { - pname = "time"; - version = "1.9"; - - src = fetchurl { - url = "mirror://gnu/time/time-${finalAttrs.version}.tar.gz"; - hash = "sha256-+6zwyB5iQp3z4zvaTO44dWYE8Y4B2XczjiMwaj47Uh4="; - }; - - meta = { - description = "Tool that runs programs and summarizes the system resources they use"; - longDescription = '' - The `time' command runs another program, then displays - information about the resources used by that program, collected - by the system while the program was running. You can select - which information is reported and the format in which it is - shown, or have `time' save the information in a file instead of - displaying it on the screen. - - The resources that `time' can report on fall into the general - categories of time, memory, and I/O and IPC calls. Some systems - do not provide much information about program resource use; - `time' reports unavailable information as zero values. - ''; - license = lib.licenses.gpl3Plus; - homepage = "https://www.gnu.org/software/time/"; - platforms = lib.platforms.unix; - mainProgram = "time"; - }; -}) diff --git a/pkgs/tools/misc/timelimit/default.nix b/pkgs/tools/misc/timelimit/default.nix deleted file mode 100644 index f943c5ee7292..000000000000 --- a/pkgs/tools/misc/timelimit/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitLab, perl }: - -stdenv.mkDerivation rec { - pname = "timelimit"; - version = "1.9.2"; - - src = fetchFromGitLab { - owner = "timelimit"; - repo = pname; - rev = "release/${version}"; - hash = "sha256-5IEAF8zCKaCVH6BAxjoa/2rrue9pRGBBkFzN57d+g+g="; - }; - - nativeCheckInputs = [ perl ]; - doCheck = true; - - installFlags = [ "PREFIX=$(out)" ]; - INSTALL_PROGRAM = "install -m755"; - INSTALL_DATA = "install -m644"; - - meta = with lib; { - description = "Execute a command and terminates the spawned process after a given time with a given signal"; - homepage = "https://devel.ringlet.net/sysutils/timelimit/"; - license = licenses.bsd2; - platforms = platforms.all; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "timelimit"; - }; -} diff --git a/pkgs/tools/misc/timer/default.nix b/pkgs/tools/misc/timer/default.nix deleted file mode 100644 index 5b91a765d2c7..000000000000 --- a/pkgs/tools/misc/timer/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, timer }: - -buildGoModule rec { - pname = "timer"; - version = "1.4.5"; - - src = fetchFromGitHub { - owner = "caarlos0"; - repo = "timer"; - rev = "v${version}"; - hash = "sha256-nHQPTinrSXMeZeiZC16drliFf0ib9+gjxJr9oViZqOc="; - }; - - vendorHash = "sha256-mE/C4S2gqcFGfnmCeMS/VpQwXHrI8SXos0M1+rV3hPo="; - - ldflags = [ "-s" "-w" "-X main.version=${version}" ]; - - passthru.tests.version = testers.testVersion { package = timer; }; - - meta = with lib; { - description = "`sleep` with progress"; - homepage = "https://github.com/caarlos0/timer"; - license = licenses.mit; - maintainers = with maintainers; [ zowoq caarlos0 ]; - mainProgram = "timer"; - }; -} diff --git a/pkgs/tools/misc/timetagger_cli/default.nix b/pkgs/tools/misc/timetagger_cli/default.nix deleted file mode 100644 index 576b0b55e57c..000000000000 --- a/pkgs/tools/misc/timetagger_cli/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "timetagger_cli"; - version = "24.7.1"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "almarklein"; - repo = "timetagger_cli"; - rev = "refs/tags/v${version}"; - hash = "sha256-PEuSFDkBqDegZD0Nh8jRJ/zm/6vT2lq7/llbXBvojkc="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - requests - toml - ]; - - # Project has no tests - doCheck = false; - - meta = with lib; { - description = "Track your time from the command-line"; - homepage = "https://github.com/almarklein/timetagger_cli"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ matthiasbeyer ]; - mainProgram = "timetagger"; - }; -} - diff --git a/pkgs/tools/misc/timidity/default.nix b/pkgs/tools/misc/timidity/default.nix index 26f84e383c48..f41d3b34971a 100644 --- a/pkgs/tools/misc/timidity/default.nix +++ b/pkgs/tools/misc/timidity/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchurl +, nixosTests , pkg-config , memstreamHook , CoreAudio @@ -9,6 +10,9 @@ , ncurses , alsa-lib , buildPackages + +## Additional optional output modes +, enableVorbis ? false, libvorbis }: stdenv.mkDerivation rec { @@ -28,28 +32,41 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ pkg-config ] - ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ memstreamHook ]; + ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ memstreamHook ]; + buildInputs = [ libjack2 ncurses - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreAudio libobjc + ] ++ lib.optionals enableVorbis [ + libvorbis + ]; + + enabledOutputModes = [ + "jack" + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ + "oss" + "alsa" + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "darwin" + ] ++ lib.optionals enableVorbis [ + "vorbis" ]; configureFlags = [ "--enable-ncurses" + ("--enable-audio=" + builtins.concatStringsSep "," enabledOutputModes) "lib_cv_va_copy=yes" "lib_cv___va_copy=yes" - ] ++ lib.optionals stdenv.isLinux [ - "--enable-audio=oss,alsa,jack" + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ "--enable-alsaseq" "--with-default-output=alsa" "lib_cv_va_val_copy=yes" - ] ++ lib.optionals stdenv.isDarwin [ - "--enable-audio=darwin,jack" + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "lib_cv_va_val_copy=no" "timidity_cv_ccoption_rdynamic=yes" # These configure tests fail because of incompatible function pointer conversions. @@ -84,7 +101,9 @@ stdenv.mkDerivation rec { tar --strip-components=1 -xf $instruments -C $out/share/timidity/ ''; # This fixup step is unnecessary and fails on Darwin - dontRewriteSymlinks = stdenv.isDarwin; + dontRewriteSymlinks = stdenv.hostPlatform.isDarwin; + + passthru.tests = nixosTests.timidity; meta = with lib; { homepage = "https://sourceforge.net/projects/timidity/"; diff --git a/pkgs/tools/misc/tkman/default.nix b/pkgs/tools/misc/tkman/default.nix deleted file mode 100644 index c51c3564fef8..000000000000 --- a/pkgs/tools/misc/tkman/default.nix +++ /dev/null @@ -1,88 +0,0 @@ -{ lib -, stdenv -, fetchzip -, fetchpatch -, makeWrapper -, makeDesktopItem -, copyDesktopItems -, tk -, groff -, rman -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "tkman"; - version = "2.2"; - - src = fetchzip { - url = "mirror://sourceforge/tkman/tkman-${finalAttrs.version}.tar.gz"; - hash = "sha256-S4ffz+7zmVy9+isz/8q+FV4wF5Rw2iL1ftY8RsJjRLs="; - }; - - nativeBuildInputs = [ - makeWrapper - copyDesktopItems - ]; - - patches = [(fetchpatch { - url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-text/tkman/files/tkman-CVE-2008-5137.diff"; - hash = "sha256-l97SY2/YnMgzHYKnVYCVJKV7oGLN1hXNpeHFlLVzTMA="; - })]; - - makeFlags = [ - "BINDIR=$(out)/bin" - "WISH=${tk}/bin/wish" - "rman=${rman}/bin/rman" - # TODO package glimpse https://github.com/gvelez17/glimpse - "glimpse=\"\"" - ]; - - preBuild = '' - makeFlagsArray+=( - 'manformat="${groff}/bin/groff -te -Tlatin1 -mandoc $$manx(longtmp) -"' - ) - ''; - - preInstall = '' - mkdir -p $out/bin - ''; - - postInstall = '' - wrapProgram $out/bin/tkman \ - --run 'export MANPATH="$(manpath)"' - rm $out/bin/retkman # doesn't work - install -Dm644 contrib/TkMan.gif $out/share/icons/hicolor/64x64/apps/tkman.gif - ''; - - desktopItems = [(makeDesktopItem { - name = "tkman"; - desktopName = "TkMan"; - comment = "Graphical man page and info viewer"; - exec = "tkman %f"; - icon = "tkman"; - terminal = false; - type = "Application"; - categories = [ "Utility" ]; - })]; - - meta = with lib; { - description = "Graphical, hypertext manual page and Texinfo browser for UNIX"; - mainProgram = "tkman"; - longDescription = '' - TkMan is a graphical, hypertext manual page and Texinfo browser for UNIX. - TkMan boasts hypertext links, unmatched online text formatting and display - quality, (optional) outline view of man pages, high quality display and - superior navigational interface to Texinfo documents, a novel information - visualization mechanism called Notemarks, full text search among man pages - and Texinfo, incremental and regular expression search within pages, - regular expression search within Texinfo that shows all matches (not just - the next), robustly attached yellow highlight annotations, a shortcut/hot - list, lists of all pages in user configurable volumes, a comprehensive - Preferences panel, and man page versioning support, among many other features. - ''; - homepage = "https://tkman.sourceforge.net/index.html"; - license = licenses.artistic1; - platforms = platforms.unix; - maintainers = with maintainers; [ fgaz ]; - }; -}) diff --git a/pkgs/tools/misc/tldr/default.nix b/pkgs/tools/misc/tldr/default.nix deleted file mode 100644 index 0d4df99a952d..000000000000 --- a/pkgs/tools/misc/tldr/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, curl, libzip, pkg-config, installShellFiles }: - -stdenv.mkDerivation rec { - pname = "tldr"; - version = "1.6.1"; - - src = fetchFromGitHub { - owner = "tldr-pages"; - repo = "tldr-c-client"; - rev = "v${version}"; - sha256 = "sha256-1L9frURnzfq0XvPBs8D+hBikybAw8qkb0DyZZtkZleY="; - }; - - buildInputs = [ curl libzip ]; - nativeBuildInputs = [ pkg-config installShellFiles ]; - - makeFlags = ["CC=${stdenv.cc.targetPrefix}cc" "LD=${stdenv.cc.targetPrefix}cc" "CFLAGS="]; - - installFlags = [ "PREFIX=$(out)" ]; - - postInstall = '' - installShellCompletion --cmd tldr autocomplete/complete.{bash,fish,zsh} - ''; - - meta = with lib; { - description = "Simplified and community-driven man pages"; - longDescription = '' - tldr pages gives common use cases for commands, so you don't need to hunt - through a man page for the correct flags. - ''; - homepage = "https://tldr.sh"; - changelog = "https://github.com/tldr-pages/tldr-c-client/blob/v${version}/CHANGELOG.md"; - license = licenses.mit; - maintainers = with maintainers; [ taeer carlosdagos kbdharun]; - platforms = platforms.all; - mainProgram = "tldr"; - }; -} diff --git a/pkgs/tools/misc/tlp/default.nix b/pkgs/tools/misc/tlp/default.nix index 436e5ba480ee..b70476166fc2 100644 --- a/pkgs/tools/misc/tlp/default.nix +++ b/pkgs/tools/misc/tlp/default.nix @@ -24,13 +24,13 @@ , networkmanager }: stdenv.mkDerivation rec { pname = "tlp"; - version = "1.6.1"; + version = "1.7.0"; src = fetchFromGitHub { owner = "linrunner"; repo = "TLP"; rev = version; - hash = "sha256-CxO1KU7F6sT5D8vjKOmntjDxcieoRSHTvuSqXfplcHk="; + hash = "sha256-kjtszDLlnIkBi3yU/AyGSV8q7QBuZbDhsqJ8AvULb0M="; }; # XXX: See patch files for relevant explanations. @@ -39,6 +39,10 @@ ./patches/0002-reintroduce-tlp-sleep-service.patch ]; + postPatch = '' + substituteInPlace Makefile --replace-fail ' ?= /usr/' ' ?= /' + ''; + buildInputs = [ perl ]; nativeBuildInputs = [ makeWrapper ]; @@ -55,16 +59,6 @@ "TLP_WITH_SYSTEMD=1" "DESTDIR=${placeholder "out"}" - "TLP_BATD=/share/tlp/bat.d" - "TLP_BIN=/bin" - "TLP_CONFDEF=/share/tlp/defaults.conf" - "TLP_CONFREN=/share/tlp/rename.conf" - "TLP_FLIB=/share/tlp/func.d" - "TLP_MAN=/share/man" - "TLP_META=/share/metainfo" - "TLP_SBIN=/sbin" - "TLP_SHCPL=/share/bash-completion/completions" - "TLP_TLIB=/share/tlp" ]; installTargets = [ "install-tlp" "install-man" ] @@ -100,7 +94,6 @@ $out/share/tlp/tlp-pcilist $out/share/tlp/tlp-readconfs $out/share/tlp/tlp-usblist - $out/share/tlp/tpacpi-bat ) for f in "''${fixup_perl[@]}"; do wrapProgram "$f" --prefix PATH : "${paths}" diff --git a/pkgs/tools/misc/tlp/patches/0001-makefile-correctly-sed-paths.patch b/pkgs/tools/misc/tlp/patches/0001-makefile-correctly-sed-paths.patch index 278cd0b1dde8..46ac58f4099a 100644 --- a/pkgs/tools/misc/tlp/patches/0001-makefile-correctly-sed-paths.patch +++ b/pkgs/tools/misc/tlp/patches/0001-makefile-correctly-sed-paths.patch @@ -1,4 +1,4 @@ -From 5c5d878bf49bae5920c330482217477819ba9bc2 Mon Sep 17 00:00:00 2001 +From 6500d02a70572f94e7b7df4d70b391ac27ac8bcb Mon Sep 17 00:00:00 2001 From: Bernardo Meurer <bernardo@meurer.org> Date: Fri, 15 Oct 2021 23:22:50 -0700 Subject: [PATCH 1/2] makefile: correctly sed paths @@ -15,14 +15,14 @@ The reason DESTDIR is used at all, as opposed to the more appropriate PREFIX, is covered in the nix formula, and is (also) due to the Makefile being a bit "different." --- - Makefile | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) + Makefile | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile -index 8042517..1c436ad 100644 +index 41eb38d..df3abb7 100644 --- a/Makefile +++ b/Makefile -@@ -57,20 +57,20 @@ _TPACPIBAT = $(DESTDIR)$(TPACPIBAT) +@@ -57,17 +57,17 @@ _VAR = $(DESTDIR)$(TLP_VAR) SED = sed \ -e "s|@TLPVER@|$(TLPVER)|g" \ @@ -47,12 +47,8 @@ index 8042517..1c436ad 100644 + -e "s|@TLP_CONFDPR@|$(_CONFDPR)|g" \ + -e "s|@TLP_CONF@|$(_CONF)|g" \ -e "s|@TLP_RUN@|$(TLP_RUN)|g" \ - -e "s|@TLP_VAR@|$(TLP_VAR)|g" \ -- -e "s|@TPACPIBAT@|$(TPACPIBAT)|g" -+ -e "s|@TPACPIBAT@|$(_TPACPIBAT)|g" + -e "s|@TLP_VAR@|$(TLP_VAR)|g" - INFILES = \ - tlp \ -- -2.41.0 +2.44.1 diff --git a/pkgs/tools/misc/tlp/patches/0002-reintroduce-tlp-sleep-service.patch b/pkgs/tools/misc/tlp/patches/0002-reintroduce-tlp-sleep-service.patch index dfea1c61636d..cb9330eba06d 100644 --- a/pkgs/tools/misc/tlp/patches/0002-reintroduce-tlp-sleep-service.patch +++ b/pkgs/tools/misc/tlp/patches/0002-reintroduce-tlp-sleep-service.patch @@ -1,4 +1,4 @@ -From a3506c9bc8929645b7b08859e47039b8cc830d22 Mon Sep 17 00:00:00 2001 +From 4ae0e860aa2c8c056379a7b6cc0f7a735de9ab12 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer <bernardo@meurer.org> Date: Fri, 15 Oct 2021 23:07:40 -0700 Subject: [PATCH 2/2] tlp-sleep.service: reintroduce @@ -18,10 +18,10 @@ systemd itself to not use the hook scripts. As per the manual: create mode 100644 tlp-sleep.service.in diff --git a/Makefile b/Makefile -index 1c436ad..fd5211b 100644 +index df3abb7..5a47001 100644 --- a/Makefile +++ b/Makefile -@@ -84,6 +84,7 @@ INFILES = \ +@@ -83,6 +83,7 @@ INFILES = \ tlp.rules \ tlp-readconfs \ tlp-run-on \ @@ -29,7 +29,7 @@ index 1c436ad..fd5211b 100644 tlp.service \ tlp-stat \ tlp.upstart \ -@@ -115,7 +116,6 @@ SHFILES = \ +@@ -114,7 +115,6 @@ SHFILES = \ tlp-rdw-udev.in \ tlp-rf.in \ tlp-run-on.in \ @@ -37,7 +37,7 @@ index 1c436ad..fd5211b 100644 tlp-sleep.elogind \ tlp-stat.in \ tlp-usb-udev.in \ -@@ -172,7 +172,7 @@ ifneq ($(TLP_NO_INIT),1) +@@ -170,7 +170,7 @@ ifneq ($(TLP_NO_INIT),1) endif ifneq ($(TLP_WITH_SYSTEMD),0) install -D -m 644 tlp.service $(_SYSD)/tlp.service @@ -46,15 +46,15 @@ index 1c436ad..fd5211b 100644 endif ifneq ($(TLP_WITH_ELOGIND),0) install -D -m 755 tlp-sleep.elogind $(_ELOD)/49-tlp-sleep -@@ -240,7 +240,7 @@ uninstall-tlp: +@@ -253,7 +253,7 @@ uninstall-tlp: rm $(_ULIB)/rules.d/85-tlp.rules rm -f $(_SYSV)/tlp rm -f $(_SYSD)/tlp.service - rm -f $(_SDSL)/tlp-sleep + rm -f $(_SYSD)/tlp-sleep.service rm -f $(_ELOD)/49-tlp-sleep + rm -f $(_SHCPL)/tlp rm -f $(_SHCPL)/tlp-stat - rm -f $(_SHCPL)/bluetooth diff --git a/tlp-sleep.service.in b/tlp-sleep.service.in new file mode 100644 index 0000000..79c202c @@ -81,5 +81,5 @@ index 0000000..79c202c +[Install] +WantedBy=sleep.target -- -2.41.0 +2.44.1 diff --git a/pkgs/tools/misc/tmate/default.nix b/pkgs/tools/misc/tmate/default.nix deleted file mode 100644 index 9e1cbdee1277..000000000000 --- a/pkgs/tools/misc/tmate/default.nix +++ /dev/null @@ -1,60 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, cmake -, libtool -, pkg-config -, zlib -, openssl -, libevent -, ncurses -, ruby -, msgpack-c -, libssh -}: - -stdenv.mkDerivation { - pname = "tmate"; - version = "unstable-2022-08-07"; - - src = fetchFromGitHub { - owner = "tmate-io"; - repo = "tmate"; - rev = "ac919516f4f1b10ec928e20b3a5034d18f609d68"; - sha256 = "sha256-t96gfmAMcsjkGf8pvbEx2fNx4Sj3W6oYoQswB3Dklb8="; - }; - - postPatch = '' - substituteInPlace configure.ac \ - --replace 'msgpack >= 1.1.0' 'msgpack-c >= 1.1.0' - ''; - - nativeBuildInputs = [ - autoreconfHook - cmake - pkg-config - ]; - - buildInputs = [ - libtool - zlib - openssl - libevent - ncurses - ruby - msgpack-c - libssh - ]; - - dontUseCmakeConfigure = true; - - meta = with lib; { - homepage = "https://tmate.io/"; - description = "Instant Terminal Sharing"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ ck3d ]; - mainProgram = "tmate"; - }; -} diff --git a/pkgs/tools/misc/tmpwatch/default.nix b/pkgs/tools/misc/tmpwatch/default.nix deleted file mode 100644 index b5b3510dacf6..000000000000 --- a/pkgs/tools/misc/tmpwatch/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl, psmisc }: - -stdenv.mkDerivation rec { - pname = "tmpwatch"; - version = "2.11"; - - src = fetchurl { - url = "https://releases.pagure.org/tmpwatch/tmpwatch-${version}.tar.bz2"; - sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk"; - }; - - configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ]; - - meta = with lib; { - homepage = "https://pagure.io/tmpwatch"; - description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time"; - license = licenses.gpl2Plus; - maintainers = with maintainers; [ vlstill ]; - platforms = platforms.unix; - mainProgram = "tmpwatch"; - }; -} diff --git a/pkgs/tools/misc/tmux-mem-cpu-load/default.nix b/pkgs/tools/misc/tmux-mem-cpu-load/default.nix deleted file mode 100644 index 012a18911d40..000000000000 --- a/pkgs/tools/misc/tmux-mem-cpu-load/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, cmake }: - -stdenv.mkDerivation rec { - pname = "tmux-mem-cpu-load"; - version = "3.8.1"; - - src = fetchFromGitHub { - owner = "thewtex"; - repo = "tmux-mem-cpu-load"; - rev = "v${version}"; - sha256 = "sha256-8QUcEbgk3DSsWt9TRHHtDhQ7a1hkK8RZEX+0d3h/c0w="; - }; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - description = "CPU, RAM, and load monitor for use with tmux"; - homepage = "https://github.com/thewtex/tmux-mem-cpu-load"; - license = licenses.asl20; - maintainers = with maintainers; [ thomasjm ]; - platforms = platforms.all; - mainProgram = "tmux-mem-cpu-load"; - }; -} diff --git a/pkgs/tools/misc/tmux-sessionizer/default.nix b/pkgs/tools/misc/tmux-sessionizer/default.nix index b6a3682ec757..2d2deb07dbd2 100644 --- a/pkgs/tools/misc/tmux-sessionizer/default.nix +++ b/pkgs/tools/misc/tmux-sessionizer/default.nix @@ -7,11 +7,12 @@ , Security , testers , tmux-sessionizer +, installShellFiles }: let name = "tmux-sessionizer"; - version = "0.4.2"; + version = "0.4.4"; in rustPlatform.buildRustPackage { @@ -22,10 +23,10 @@ rustPlatform.buildRustPackage { owner = "jrmoulton"; repo = name; rev = "v${version}"; - hash = "sha256-n6DXqsq3TsNob/fEqeOwNTVLPAvCr7CDN9qtXAiOMWQ="; + hash = "sha256-4xwpenoAVGKdVO3eSS4BhaEcwpNPGA5Ozie53focDlA="; }; - cargoHash = "sha256-e2U6x7HFoFbZxtJvY/ZpgEWagIrdRxPVZw2rP5aDIqg="; + cargoHash = "sha256-ajeCB1w/JHMT5e7mSwsh++lzLNfp0qfutONStpJpFDo="; passthru.tests.version = testers.testVersion { package = tmux-sessionizer; @@ -35,8 +36,15 @@ rustPlatform.buildRustPackage { # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + nativeBuildInputs = [ pkg-config installShellFiles ]; + buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; + + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + installShellCompletion --cmd tms \ + --bash <($out/bin/tms --generate bash) \ + --fish <($out/bin/tms --generate fish) \ + --zsh <($out/bin/tms --generate zsh) + ''; meta = with lib; { description = "Fastest way to manage projects as tmux sessions"; diff --git a/pkgs/tools/misc/tmux-xpanes/default.nix b/pkgs/tools/misc/tmux-xpanes/default.nix deleted file mode 100644 index 47fce699fb0c..000000000000 --- a/pkgs/tools/misc/tmux-xpanes/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, openssl, perl }: - -stdenv.mkDerivation rec { - pname = "tmux-xpanes"; - version = "4.2.0"; - - src = fetchFromGitHub { - owner = "greymd"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-PF2K2A49c5djQqSO7ZLFyBwPZaJRK58qZTFpY7n+Z0w="; - }; - - buildInputs = [ openssl perl ]; - - installPhase = '' - # Create directories. - install -m 755 -d $out/bin/ - install -m 755 -d $out/share/man/man1/ - - # Perform installation. - install -m 755 bin/* $out/bin/ - install -m 644 man/*.1 $out/share/man/man1/ - ''; - - meta = with lib; { - description = "tmux-based terminal divider"; - homepage = "https://github.com/greymd/tmux-xpanes"; - license = licenses.mit; - platforms = platforms.unix; - maintainers = with maintainers; [ monsieurp ]; - }; -} diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix deleted file mode 100644 index af381a062259..000000000000 --- a/pkgs/tools/misc/tmux/default.nix +++ /dev/null @@ -1,131 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, autoreconfHook -, bison -, libevent -, ncurses -, pkg-config -, runCommand -, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd -, withUtf8proc ? true, utf8proc # gets Unicode updates faster than glibc -, withUtempter ? stdenv.isLinux && !stdenv.hostPlatform.isMusl, libutempter -, withSixel ? true -}: - -let - - bashCompletion = fetchFromGitHub { - owner = "imomaliev"; - repo = "tmux-bash-completion"; - rev = "f5d53239f7658f8e8fbaf02535cc369009c436d6"; - sha256 = "0sq2g3w0h3mkfa6qwqdw93chb5f1hgkz5vdl8yw8mxwdqwhsdprr"; - }; - -in - -stdenv.mkDerivation (finalAttrs: { - pname = "tmux"; - version = "3.4"; - - outputs = [ "out" "man" ]; - - src = fetchFromGitHub { - owner = "tmux"; - repo = "tmux"; - rev = finalAttrs.version; - hash = "sha256-RX3RZ0Mcyda7C7im1r4QgUxTnp95nfpGgQ2HRxr0s64="; - }; - - patches = [ - (fetchpatch { - url = "https://github.com/tmux/tmux/commit/2d1afa0e62a24aa7c53ce4fb6f1e35e29d01a904.diff"; - hash = "sha256-mDt5wy570qrUc0clGa3GhZFTKgL0sfnQcWJEJBKAbKs="; - }) - # this patch is designed for android but FreeBSD exhibits the same error for the same reason - (fetchpatch { - url = "https://github.com/tmux/tmux/commit/4f5a944ae3e8f7a230054b6c0b26f423fa738e71.patch"; - hash = "sha256-HlUeU5ZicPe7Ya8A1HpunxfVOE2BF6jOHq3ZqTuU5RE="; - }) - # https://github.com/tmux/tmux/issues/3983 - # fix tmux crashing when neovim is used in a ssh session - (fetchpatch { - url = "https://github.com/tmux/tmux/commit/aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae.patch"; - hash = "sha256-jhWGnC9tsGqTTA5tU+i4G3wlwZ7HGz4P0UHl17dVRU4="; - }) - # https://github.com/tmux/tmux/issues/3905 - # fix tmux hanging on shutdown - (fetchpatch { - url = "https://github.com/tmux/tmux/commit/3823fa2c577d440649a84af660e4d3b0c095d248.patch"; - hash = "sha256-FZDy/ZgVdwUAam8g5SfGBSnMhp2nlHHfrO9eJNIhVPo="; - }) - ]; - - nativeBuildInputs = [ - pkg-config - autoreconfHook - bison - ]; - - buildInputs = [ - ncurses - libevent - ] ++ lib.optionals withSystemd [ systemd ] - ++ lib.optionals withUtf8proc [ utf8proc ] - ++ lib.optionals withUtempter [ libutempter ]; - - configureFlags = [ - "--sysconfdir=/etc" - "--localstatedir=/var" - ] ++ lib.optionals withSystemd [ "--enable-systemd" ] - ++ lib.optionals withSixel [ "--enable-sixel" ] - ++ lib.optionals withUtempter [ "--enable-utempter" ] - ++ lib.optionals withUtf8proc [ "--enable-utf8proc" ]; - - enableParallelBuilding = true; - - postInstall = '' - mkdir -p $out/share/bash-completion/completions - cp -v ${bashCompletion}/completions/tmux $out/share/bash-completion/completions/tmux - '' + lib.optionalString stdenv.isDarwin '' - mkdir $out/nix-support - echo "${finalAttrs.passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages - ''; - - passthru = { - terminfo = runCommand "tmux-terminfo" { nativeBuildInputs = [ ncurses ]; } (if stdenv.isDarwin then '' - mkdir -p $out/share/terminfo/74 - cp -v ${ncurses}/share/terminfo/74/tmux $out/share/terminfo/74 - # macOS ships an old version (5.7) of ncurses which does not include tmux-256color so we need to provide it from our ncurses. - # However, due to a bug in ncurses 5.7, we need to first patch the terminfo before we can use it with macOS. - # https://gpanders.com/blog/the-definitive-guide-to-using-tmux-256color-on-macos/ - tic -o $out/share/terminfo -x <(TERMINFO_DIRS=${ncurses}/share/terminfo infocmp -x tmux-256color | sed 's|pairs#0x10000|pairs#32767|') - '' else '' - mkdir -p $out/share/terminfo/t - ln -sv ${ncurses}/share/terminfo/t/{tmux,tmux-256color,tmux-direct} $out/share/terminfo/t - ''); - }; - - meta = { - homepage = "https://tmux.github.io/"; - description = "Terminal multiplexer"; - longDescription = '' - tmux is intended to be a modern, BSD-licensed alternative to programs such as GNU screen. Major features include: - * A powerful, consistent, well-documented and easily scriptable command interface. - * A window may be split horizontally and vertically into panes. - * Panes can be freely moved and resized, or arranged into preset layouts. - * Support for UTF-8 and 256-colour terminals. - * Copy and paste with multiple buffers. - * Interactive menus to select windows, sessions or clients. - * Change the current window by searching for text in the target. - * Terminal locking, manually or after a timeout. - * A clean, easily extended, BSD-licensed codebase, under active development. - ''; - changelog = "https://github.com/tmux/tmux/raw/${finalAttrs.version}/CHANGES"; - license = lib.licenses.bsd3; - platforms = lib.platforms.unix; - mainProgram = "tmux"; - maintainers = with lib.maintainers; [ thammers fpletz ]; - }; -}) diff --git a/pkgs/tools/misc/tmuxinator/default.nix b/pkgs/tools/misc/tmuxinator/default.nix deleted file mode 100644 index f5fdbc698f86..000000000000 --- a/pkgs/tools/misc/tmuxinator/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib, buildRubyGem, ruby, installShellFiles }: - -# Cannot use bundleEnv because bundleEnv create stub with -# BUNDLE_FROZEN='1' environment variable set, which broke everything -# that rely on Bundler that runs under Tmuxinator. - -buildRubyGem rec { - inherit ruby; - name = "${gemName}-${version}"; - gemName = "tmuxinator"; - version = "3.1.2"; - source.sha256 = "t96v3RwBfezB644RVbTmO8i/xh1F23WQC8PBxc/msjg="; - - erubis = buildRubyGem rec { - inherit ruby; - name = "ruby${ruby.version}-${gemName}-${version}"; - gemName = "erubis"; - version = "2.7.0"; - source.sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3"; - }; - - thor = buildRubyGem rec { - inherit ruby; - name = "ruby${ruby.version}-${gemName}-${version}"; - gemName = "thor"; - version = "1.3.0"; - source.sha256 = "sha256-Gtx/nls2VaaMcTk/7ovQrQiNFO6Og6C3NybyPLs8p8M="; - }; - - xdg = buildRubyGem rec { - inherit ruby; - name = "ruby${ruby.version}-${gemName}-${version}"; - gemName = "xdg"; - version = "2.2.5"; - source.sha256 = "04xr4cavnzxlk926pkji7b5yiqy4qsd3gdvv8mg6jliq6sczg9gk"; - }; - - propagatedBuildInputs = [ erubis thor xdg ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion $GEM_HOME/gems/${gemName}-${version}/completion/tmuxinator.{bash,zsh,fish} - ''; - - meta = with lib; { - description = "Manage complex tmux sessions easily"; - homepage = "https://github.com/tmuxinator/tmuxinator"; - license = licenses.mit; - maintainers = with maintainers; [ auntie ericsagnes ]; - platforms = platforms.unix; - mainProgram = "tmuxinator"; - }; -} diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix deleted file mode 100644 index 6964cb5ace4e..000000000000 --- a/pkgs/tools/misc/tmuxp/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, python3Packages, fetchPypi, installShellFiles }: - -let - pname = "tmuxp"; - version = "1.47.0"; - hash = "sha256-HYY6CEUPpZVvVK9kV4Ehw4wGk5YfIVSkZ0+qqf6Nz4c="; -in -python3Packages.buildPythonApplication { - inherit pname version; - pyproject = true; - - src = fetchPypi { - inherit pname version hash; - }; - - nativeBuildInputs = [ - python3Packages.poetry-core - python3Packages.shtab - installShellFiles - ]; - - propagatedBuildInputs = with python3Packages; [ - colorama - libtmux - pyyaml - ]; - - # No tests in archive - doCheck = false; - - postInstall = '' - installShellCompletion --cmd tmuxp \ - --bash <(shtab --shell=bash -u tmuxp.cli.create_parser) \ - --zsh <(shtab --shell=zsh -u tmuxp.cli.create_parser) - ''; - - meta = { - description = "tmux session manager"; - homepage = "https://tmuxp.git-pull.com/"; - changelog = "https://github.com/tmux-python/tmuxp/raw/v${version}/CHANGES"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ otavio ]; - mainProgram = "tmuxp"; - }; -} diff --git a/pkgs/tools/misc/toastify/default.nix b/pkgs/tools/misc/toastify/default.nix index b244aec493ac..6fde17977ebe 100644 --- a/pkgs/tools/misc/toastify/default.nix +++ b/pkgs/tools/misc/toastify/default.nix @@ -13,11 +13,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-Ps2pRLpPxw+OS1ungQtVQ8beoKpc8pjzQEndMNni08k="; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk_11_0.frameworks.Cocoa ]; - preBuild = lib.optionalString stdenv.isDarwin '' + preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' export HOME=$(mktemp -d) ''; diff --git a/pkgs/tools/misc/todo/default.nix b/pkgs/tools/misc/todo/default.nix deleted file mode 100644 index 4f5789527ae6..000000000000 --- a/pkgs/tools/misc/todo/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }: - -rustPlatform.buildRustPackage rec { - pname = "todo"; - version = "2.5"; - - src = fetchFromGitHub { - owner = "sioodmy"; - repo = "todo"; - rev = version; - sha256 = "oyRdXvVnCfdFM8lI1eCDHHYNWcJc0Qg0TKxQXUqNo40="; - }; - - cargoHash = "sha256-B0tecuBx/FFQokhfI6+xpppyG5DD8WS2+MkmPaZfMhI="; - - nativeBuildInputs = [ pkg-config ]; - - buildInputs = [ openssl ]; - meta = with lib; { - description = "Simple todo cli program written in rust"; - homepage = "https://github.com/sioodmy/todo"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ sioodmy ]; - mainProgram = "todo"; - }; -} diff --git a/pkgs/tools/misc/toilet/default.nix b/pkgs/tools/misc/toilet/default.nix deleted file mode 100644 index 8e5d51da1add..000000000000 --- a/pkgs/tools/misc/toilet/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchurl, pkg-config, libcaca, toilet, testers }: - -stdenv.mkDerivation rec { - pname = "toilet"; - version = "0.3"; - - src = fetchurl { - url = "http://caca.zoy.org/raw-attachment/wiki/toilet/toilet-${version}.tar.gz"; - sha256 = "1pl118qb7g0frpgl9ps43w4sd0psjirpmq54yg1kqcclqcqbbm49"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libcaca ]; - - passthru.tests.version = testers.testVersion { - package = toilet; - }; - - meta = with lib; { - description = "Display large colourful characters in text mode"; - homepage = "http://caca.zoy.org/wiki/toilet"; - license = licenses.wtfpl; - maintainers = with maintainers; [ pSub ]; - platforms = platforms.all; - mainProgram = "toilet"; - }; -} diff --git a/pkgs/tools/misc/topgrade/default.nix b/pkgs/tools/misc/topgrade/default.nix index 38e1f0d95c1a..e077ed9bb2be 100644 --- a/pkgs/tools/misc/topgrade/default.nix +++ b/pkgs/tools/misc/topgrade/default.nix @@ -10,28 +10,28 @@ rustPlatform.buildRustPackage rec { pname = "topgrade"; - version = "15.0.0"; + version = "16.0.1"; src = fetchFromGitHub { owner = "topgrade-rs"; repo = "topgrade"; rev = "v${version}"; - hash = "sha256-w3JsMUuARJ5UtA8Io3kzeNjXoa014YzyT8hHPwEgljQ="; + hash = "sha256-/zSr6PEtfzLI/c32KrBlfHPja34T5DyiiR5a1/GDH/0="; }; - cargoHash = "sha256-DEZlpt9mOy/BOnvkkINz2+q3hUx2aBSzBfOVxv43w6g="; + cargoHash = "sha256-ANmVdT0irhD3d6E4yNBOWqex3ApdfWgmQHxhGKsI4jA="; nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit Cocoa Foundation ]; - env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [ + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ]); diff --git a/pkgs/tools/misc/topicctl/default.nix b/pkgs/tools/misc/topicctl/default.nix deleted file mode 100644 index 1b19b83edc8a..000000000000 --- a/pkgs/tools/misc/topicctl/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "topicctl"; - version = "1.18.0"; - - src = fetchFromGitHub { - owner = "segmentio"; - repo = "topicctl"; - rev = "v${version}"; - sha256 = "sha256-ZvyMGtsmXnJUGUoC9UciqCpQJsbxykzeRDo+i4ni82o="; - }; - - vendorHash = "sha256-+mnnvdna1g6JE29weOJZmdO3jFp2a75dV9wK2XcWJ9s="; - - ldflags = [ - "-X main.BuildVersion=${version}" - "-X main.BuildCommitSha=unknown" - "-X main.BuildDate=unknown" - ]; - - # needs a kafka server - doCheck = false; - - meta = with lib; { - description = "Tool for easy, declarative management of Kafka topics"; - inherit (src.meta) homepage; - license = licenses.mit; - maintainers = with maintainers; [ eskytthe srhb ]; - mainProgram = "topicctl"; - }; -} diff --git a/pkgs/tools/misc/toybox/default.nix b/pkgs/tools/misc/toybox/default.nix index 4ef5279ef476..99167c87fa84 100644 --- a/pkgs/tools/misc/toybox/default.nix +++ b/pkgs/tools/misc/toybox/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { depsBuildBuild = optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ buildPackages.stdenv.cc ]; buildInputs = [ libxcrypt - ] ++ optionals stdenv.isDarwin [ + ] ++ optionals stdenv.hostPlatform.isDarwin [ libiconv ] ++ optionals (enableStatic && stdenv.cc.libc ? static) [ stdenv.cc.libc @@ -40,10 +40,10 @@ stdenv.mkDerivation rec { make ${if enableMinimal then "allnoconfig" else - if stdenv.isFreeBSD then + if stdenv.hostPlatform.isFreeBSD then "freebsd_defconfig" else - if stdenv.isDarwin then + if stdenv.hostPlatform.isDarwin then "macos_defconfig" else "defconfig" diff --git a/pkgs/tools/misc/trackma/default.nix b/pkgs/tools/misc/trackma/default.nix index 6ecf2723f00b..4ae9306f28fb 100644 --- a/pkgs/tools/misc/trackma/default.nix +++ b/pkgs/tools/misc/trackma/default.nix @@ -45,7 +45,7 @@ python3.pkgs.buildPythonApplication rec { ++ lib.optionals withQT [ pyqt5 ] ++ lib.optionals withGTK [ pycairo pygobject3 ] ++ lib.optionals withCurses [ urwid ] - ++ lib.optionals stdenv.isLinux [ pydbus pyinotify ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ pydbus pyinotify ] ++ lib.optionals (withGTK || withQT) [ pillow ]); dontWrapQtApps = true; diff --git a/pkgs/tools/misc/traefik-certs-dumper/default.nix b/pkgs/tools/misc/traefik-certs-dumper/default.nix deleted file mode 100644 index 60cc47969afa..000000000000 --- a/pkgs/tools/misc/traefik-certs-dumper/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ fetchFromGitHub, buildGoModule, lib }: - -buildGoModule rec { - pname = "traefik-certs-dumper"; - version = "2.8.3"; - - src = fetchFromGitHub { - owner = "ldez"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-dSVtowebmDA0X/PtLKktvb1+FhQ+evMoxFBXIXqZujw="; - }; - - vendorHash = "sha256-a23kTtjIaMYs3+S9rYZ6ttyCyyK6Wm2wUZQw+In/hG4="; - excludedPackages = "integrationtest"; - - meta = with lib; { - description = "dump ACME data from traefik to certificates"; - homepage = "https://github.com/ldez/traefik-certs-dumper"; - license = licenses.asl20; - maintainers = with maintainers; [ nickcao ]; - mainProgram = "traefik-certs-dumper"; - }; -} diff --git a/pkgs/tools/misc/trash-cli/default.nix b/pkgs/tools/misc/trash-cli/default.nix deleted file mode 100644 index e807bff429d9..000000000000 --- a/pkgs/tools/misc/trash-cli/default.nix +++ /dev/null @@ -1,69 +0,0 @@ -{ lib, fetchFromGitHub, installShellFiles, nix-update-script, python3Packages }: - -python3Packages.buildPythonApplication rec { - pname = "trash-cli"; - version = "0.24.5.26"; - - src = fetchFromGitHub { - owner = "andreafrancia"; - repo = "trash-cli"; - rev = version; - hash = "sha256-ltuMnxtG4jTTSZd6ZHWl8wI0oQMMFqW0HAPetZMfGtc="; - }; - - propagatedBuildInputs = with python3Packages; [ psutil six ]; - - nativeBuildInputs = with python3Packages; [ - installShellFiles - shtab - ]; - - nativeCheckInputs = with python3Packages; [ - mock - pytestCheckHook - ]; - - postPatch = '' - sed -i '/typing/d' setup.cfg - ''; - - doInstallCheck = true; - installCheckPhase = '' - runHook preInstallCheck - - # Create a home directory with a test file. - HOME="$(mktemp -d)" - touch "$HOME/deleteme" - - # Verify that trash list is initially empty. - [[ $($out/bin/trash-list) == "" ]] - - # Trash a test file and verify that it shows up in the list. - $out/bin/trash "$HOME/deleteme" - [[ $($out/bin/trash-list) == *" $HOME/deleteme" ]] - - # Empty the trash and verify that it is empty. - $out/bin/trash-empty - [[ $($out/bin/trash-list) == "" ]] - - runHook postInstallCheck - ''; - postInstall = '' - for bin in trash-empty trash-list trash-restore trash-put trash; do - installShellCompletion --cmd "$bin" \ - --bash <("$out/bin/$bin" --print-completion bash) \ - --zsh <("$out/bin/$bin" --print-completion zsh) - done - ''; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - homepage = "https://github.com/andreafrancia/trash-cli"; - description = "Command line interface to the freedesktop.org trashcan"; - maintainers = [ maintainers.rycee ]; - platforms = platforms.unix; - license = licenses.gpl2Plus; - mainProgram = "trash"; - }; -} diff --git a/pkgs/tools/misc/trashy/default.nix b/pkgs/tools/misc/trashy/default.nix deleted file mode 100644 index 09cbccb13c77..000000000000 --- a/pkgs/tools/misc/trashy/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, rustPlatform, fetchCrate, installShellFiles, stdenv }: - -rustPlatform.buildRustPackage rec { - pname = "trashy"; - version = "2.0.0"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-1xHyhAV8hpgMngQdamRzEliyG60t+I3KfsDJi0+180o="; - }; - - cargoHash = "sha256-ZWqWtWzb+CLH1ravBb/oV+aPxplEyiC1wEFhvchcLqg="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd trash \ - --bash <($out/bin/trash completions bash) \ - --fish <($out/bin/trash completions fish) \ - --zsh <($out/bin/trash completions zsh) \ - ''; - - meta = with lib; { - description = "Simple, fast, and featureful alternative to rm and trash-cli"; - homepage = "https://github.com/oberblastmeister/trashy"; - changelog = "https://github.com/oberblastmeister/trashy/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ oberblastmeister ]; - mainProgram = "trash"; - # darwin is unsupported due to https://github.com/Byron/trash-rs/issues/8 - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/trdl-client/default.nix b/pkgs/tools/misc/trdl-client/default.nix deleted file mode 100644 index e0d92c140ced..000000000000 --- a/pkgs/tools/misc/trdl-client/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, testers -, trdl-client -}: - -buildGoModule rec { - pname = "trdl-client"; - version = "0.7.0"; - - src = fetchFromGitHub { - owner = "werf"; - repo = "trdl"; - rev = "v${version}"; - hash = "sha256-umeoiEq+Cp/cKpiNxCnMDghubm3LPFPJA18ChuYmIVo="; - }; - - sourceRoot = "${src.name}/client"; - - vendorHash = "sha256-f7FPeR+us3WvwqzcSQLbkKv905CCIAAm+HNV2FFF8OY="; - - subPackages = [ "cmd/trdl" ]; - - CGO_ENABLED = 0; - - ldflags = [ - "-s" - "-w" - "-X github.com/werf/trdl/client/pkg/trdl.Version=${src.rev}" - ]; - - tags = [ - "dfrunmount" - "dfssh" - ]; - - # There are no tests for cmd/trdl. - doCheck = false; - - passthru.tests.version = testers.testVersion { - package = trdl-client; - command = "trdl version"; - version = "v${version}"; - }; - - meta = with lib; { - description = '' - The universal solution for delivering your software updates securely from - a trusted The Update Framework (TUF) repository - ''; - longDescription = '' - trdl is an Open Source solution providing a secure channel for delivering - updates from the Git repository to the end user. - - The project team releases new versions of the software and switches them - in the release channels. Git acts as the single source of truth while - Vault is used as a tool to verify operations as well as populate and - maintain the TUF repository. - - The user selects a release channel, continuously receives the latest - software version from the TUF repository, and uses it. - ''; - homepage = "https://trdl.dev"; - changelog = "https://github.com/werf/trdl/releases/tag/${src.rev}"; - license = licenses.asl20; - maintainers = with maintainers; [ azahi ]; - mainProgram = "trdl"; - }; -} diff --git a/pkgs/tools/misc/trillian/default.nix b/pkgs/tools/misc/trillian/default.nix deleted file mode 100644 index 9f0cfb4d51b4..000000000000 --- a/pkgs/tools/misc/trillian/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "trillian"; - version = "1.6.1"; - vendorHash = "sha256-TOzIb8QmvoKlVwoVeYKLcyWgb/sQT4oYuIodtSZoufs="; - - src = fetchFromGitHub { - owner = "google"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-dbRu+VjUxYZB1aWUZ2w/5+zKs5RcxWDqmYD9vmIGqG0="; - }; - - subPackages = [ - "cmd/trillian_log_server" - "cmd/trillian_log_signer" - "cmd/createtree" - "cmd/deletetree" - "cmd/updatetree" - ]; - - meta = with lib; { - homepage = "https://github.com/google/trillian"; - description = "Transparent, highly scalable and cryptographically verifiable data store"; - license = [ licenses.asl20 ]; - maintainers = [ maintainers.adisbladis ]; - }; -} diff --git a/pkgs/tools/misc/ttchat/default.nix b/pkgs/tools/misc/ttchat/default.nix deleted file mode 100644 index ec62357cbbed..000000000000 --- a/pkgs/tools/misc/ttchat/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "ttchat"; - version = "0.1.10"; - - src = fetchFromGitHub { - owner = "atye"; - repo = "ttchat"; - rev = "v${version}"; - hash = "sha256-Ezlqji/j6nyCzc1jrfB1MZR4ugKAa5D5CL6wfuP6PsY="; - }; - - vendorHash = "sha256-6GcbEGC1O+lcTO+GsaVXOO69yIHMPywXJy7OFX15/eI="; - - meta = with lib; { - description = "Connect to a Twitch channel's chat from your terminal"; - homepage = "https://github.com/atye/ttchat"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "ttchat"; - }; -} diff --git a/pkgs/tools/misc/ttf2pt1/default.nix b/pkgs/tools/misc/ttf2pt1/default.nix deleted file mode 100644 index 2383a96eedfe..000000000000 --- a/pkgs/tools/misc/ttf2pt1/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, perl, freetype }: - -stdenv.mkDerivation rec { - pname = "ttf2pt1"; - version = "3.4.4"; - - src = fetchurl { - url = "mirror://sourceforge/ttf2pt1/ttf2pt1-${version}.tgz"; - sha256 = "1l718n4k4widx49xz7qrj4mybzb8q67kp2jw7f47604ips4654mf"; - }; - - preConfigure = '' - find -type f | xargs sed -i 's@/usr/bin/perl@${perl}/bin/perl@' - mkdir -p $out - sed -e 's/chown/true/' \ - -e 's/chgrp/true/' \ - -e 's@^CFLAGS_FT =.*@CFLAGS_FT=-DUSE_FREETYPE -I${freetype.dev}/include/freetype2@' \ - -i scripts/{inst_dir,inst_file} Makefile - makeFlags="INSTDIR=$out OWNER=`id -u`" - ''; - - buildInputs = [ freetype ]; - nativeBuildInputs = [ perl ]; - - patches = ./gentoo-makefile.patch; # also contains the freetype patch - - meta = { - description = "True Type to Postscript Type 3 converter, fpdf"; - homepage = "https://ttf2pt1.sourceforge.net/index.html"; - license = "ttf2pt1"; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/ttf2pt1/gentoo-makefile.patch b/pkgs/tools/misc/ttf2pt1/gentoo-makefile.patch deleted file mode 100644 index 84854606131f..000000000000 --- a/pkgs/tools/misc/ttf2pt1/gentoo-makefile.patch +++ /dev/null @@ -1,98 +0,0 @@ -diff -Naur ttf2pt1-3.4.4-orig/Makefile ttf2pt1-3.4.4/Makefile ---- ttf2pt1-3.4.4-orig/Makefile 2007-07-15 20:06:50.000000000 -0600 -+++ ttf2pt1-3.4.4/Makefile 2007-07-15 20:12:40.000000000 -0600 -@@ -9,7 +9,7 @@ - # - # Use GNU C even if it's not the default compiler - # --#CC=gcc -+CC=gcc - # - # Use the standard ANSI C compiler on HP-UX even if it's not default - # -@@ -60,18 +60,18 @@ - # (if the include and lib directory do not match your installation, - # modify them), also uncomment LIBS_FT - # --#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include -+CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include - - # - # The FreeType-2 library flags (disabled by default) - --LIBS_FT= -+#LIBS_FT= - - # To enable use of the FreeType-2 library - # (if the include and lib directory do not match your installation, - # modify them), also uncomment CFLAGS_FT - # --#LIBS_FT= -L/usr/local/lib -lfreetype -+LIBS_FT= -L/usr/lib -lfreetype - - # - # The flags for C compiler for the Autotrace library (disabled by default). -@@ -120,18 +120,18 @@ - # Installation-related stuff - # - # The base dir for installation and subdirs in it --INSTDIR = /usr/local -+INSTDIR = /usr - # for binaries - BINDIR = $(INSTDIR)/bin - # for binaries of little general interest - LIBXDIR = $(INSTDIR)/libexec/ttf2pt1 - # for scripts, maps/encodings etc. - SHAREDIR = $(INSTDIR)/share/ttf2pt1 --MANDIR = $(INSTDIR)/man -+MANDIR = $(INSTDIR)/share/man - - # owner and group of installed files - OWNER = root --GROUP = bin -+GROUP = root - - # After you have configured the Makefile, comment out the following - # definition: -@@ -244,17 +244,19 @@ - chmod -R go-w $(SHAREDIR) - scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755 - [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755 -- sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\ -- s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\ -- s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp -+ sed -e 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|' \ -+ -e 's|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|' \ -+ -e 's|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|' \ -+ <scripts/convert >cvt.tmp - scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755 - scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755 - rm cvt.tmp - scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755 - for i in $(MANS1); do { \ -- sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\ -- s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\ -- s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$(MANDIR)/man1/$$i \ -+ sed -e 's|TTF2PT1_BINDIR|$(BINDIR)|' \ -+ -e 's|TTF2PT1_LIBXDIR|$(LIBXDIR)|' \ -+ -e 's|TTF2PT1_SHAREDIR|$(SHAREDIR)|' \ -+ <$$i >$(MANDIR)/man1/$$i \ - && chown $(OWNER) $(MANDIR)/man1/$$i \ - && chgrp $(GROUP) $(MANDIR)/man1/$$i \ - && chmod 0644 $(MANDIR)/man1/$$i \ - - - - - -diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c ---- ttf2pt1-3.4.4-orig/ft.c 2007-07-15 20:23:43.000000000 -0600 -+++ ttf2pt1-3.4.4/ft.c 2007-07-15 20:24:02.000000000 -0600 -@@ -12,6 +12,7 @@ - #include <stdlib.h> - #include <ctype.h> - #include <sys/types.h> -+#include <ft2build.h> - #include <freetype/freetype.h> - #include <freetype/ftglyph.h> - #include <freetype/ftsnames.h> diff --git a/pkgs/tools/misc/ttmkfdir/cstring.patch b/pkgs/tools/misc/ttmkfdir/cstring.patch deleted file mode 100644 index e1da347c64f1..000000000000 --- a/pkgs/tools/misc/ttmkfdir/cstring.patch +++ /dev/null @@ -1,78 +0,0 @@ -diff --git a/Makefile b/Makefile -index e65b64c..52af5ed 100644 ---- a/Makefile -+++ b/Makefile -@@ -41,8 +41,9 @@ all: ttmkfdir - .cpp.o: - libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^ - -+# ulgy hack for libtool to find .o files !! - ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o -- libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS) -+ libtool --mode=link $(CXX) -o $@ ./.libs/ttmkfdir.o ./.libs/directory.o ./.libs/commandline.o ./.libs/ttf.o ./.libs/encoding.o ./.libs/parser.o ./.libs/builtin.o $(LDFLAGS) - - parser.cpp: encoding.l - flex -i -8 -o$@ $< -diff --git a/encoding.cpp b/encoding.cpp -index 9035d35..b4e9733 100644 ---- a/encoding.cpp -+++ b/encoding.cpp -@@ -2,7 +2,9 @@ - #include <cstdio> - #include <cstdlib> - #include <cstring> --#include "freetype/freetype.h" -+#include <ft2build.h> -+#include FT_FREETYPE_H -+#include <freetype/ftsnames.h> - - #include "ttmkfdir.h" - #include "encoding.h" -diff --git a/encoding.h b/encoding.h -index fc618bc..e01518f 100644 ---- a/encoding.h -+++ b/encoding.h -@@ -6,7 +6,8 @@ - #include <map> - #include <string> - --#include "freetype/freetype.h" -+#include <ft2build.h> -+#include FT_FREETYPE_H - - #include "util.h" - -diff --git a/ttf.cpp b/ttf.cpp -index 1dda774..97b37f3 100644 ---- a/ttf.cpp -+++ b/ttf.cpp -@@ -239,7 +239,7 @@ Face::FontFamilyName (void) const - for (i = 0; i < n; i++) { - if ((fterror = FT_Get_Sfnt_Name (face, i, &NamePtr)) != FT_Err_Ok) { - std::cout << "Warning: Can't SFNT name : " << FileName << "(" << fterror << ")" << std::endl; -- return; -+ return 0; - }; - platform = NamePtr.platform_id; - encoding = NamePtr.encoding_id; -diff --git a/ttf.h b/ttf.h -index 4261ef8..c4a0f1f 100644 ---- a/ttf.h -+++ b/ttf.h -@@ -3,13 +3,14 @@ - #define TTF_H__ - - #include <string> -+#include <ft2build.h> -+#include FT_FREETYPE_H - #include "freetype/freetype.h" - #include "freetype/tttables.h" - #include "freetype/ftsnames.h" - #include "freetype/ttnameid.h" - #include "freetype/fterrors.h" --#include "freetype/ftmodule.h" -- -+#include "freetype/ftmodapi.h" - #include "util.h" - #include "encoding.h" - diff --git a/pkgs/tools/misc/ttmkfdir/default.nix b/pkgs/tools/misc/ttmkfdir/default.nix deleted file mode 100644 index 6edf9cc4ef98..000000000000 --- a/pkgs/tools/misc/ttmkfdir/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib, stdenv, fetchurl, freetype, libtool, flex, bison, pkg-config }: - -stdenv.mkDerivation { - pname = "ttf-mkfontdir"; - version = "3.0.9-6"; - - src = fetchurl { - url = "http://mirror.fsf.org/trisquel/pool/main/t/ttmkfdir/ttmkfdir_3.0.9.orig.tar.gz"; - sha256 = "0n6bmmndmp4c1myisvv7cby559gzgvwsw4rfw065a3f92m87jxiq"; - }; - - # all the patches up from ttmkfdir-3.0.9/Makefile should be reviewed by someone - # who knows more about C/C++ .. - patches = - [ (fetchurl { - url = "http://mirror.fsf.org/trisquel/pool/main/t/ttmkfdir/ttmkfdir_3.0.9-6.diff.gz"; - sha256 = "141kxaf2by8nf87hqyszaxi0n7nnmswr1nh2i5r5bsvxxmaj9633"; - }) - - ./cstring.patch # also fixes some other compilation issues (freetype includes) - ]; - - # cross-compilation fixes: - # - fix libtool, the reason it does not work in nativeBuildInputs is complicated - # see https://github.com/NixOS/nixpkgs/pull/192878 for more info - # - freetype-config doesn't properly support cross-compilation, but is just a thin - # wrapper around pkg-config anyways - postPatch = '' - substituteInPlace Makefile \ - --replace "libtool " "${libtool}/bin/libtool --tag=CXX " \ - --replace "freetype-config" "${stdenv.cc.targetPrefix}pkg-config freetype2" - ''; - - makeFlags = [ "DESTDIR=${placeholder "out"}" "BINDIR=/bin" "CXX=${stdenv.cc.targetPrefix}c++" ]; - - nativeBuildInputs = [ flex bison pkg-config ]; - buildInputs = [ freetype ]; - - meta = { - description = "Create fonts.dir for TTF font directory"; - platforms = lib.platforms.linux; - mainProgram = "ttmkfdir"; - }; -} diff --git a/pkgs/tools/misc/ttwatch/default.nix b/pkgs/tools/misc/ttwatch/default.nix deleted file mode 100644 index 273d34ffdb8e..000000000000 --- a/pkgs/tools/misc/ttwatch/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub -, cmake, perl, pkg-config -, openssl, curl, libusb1, protobufc -, enableUnsafe ? false }: - -stdenv.mkDerivation { - pname = "ttwatch"; - version = "2020-06-24"; - - src = fetchFromGitHub { - owner = "ryanbinns"; - repo = "ttwatch"; - rev = "260aff5869fd577d788d86b546399353d9ff72c1"; - sha256 = "0yd2hs9d03gfvwm1vywpg2qga6x5c74zrj665wf9aa8gmn96hv8r"; - }; - - nativeBuildInputs = [ cmake perl pkg-config ]; - buildInputs = [ openssl curl libusb1 protobufc ]; - - cmakeFlags = lib.optionals enableUnsafe [ "-Dunsafe=on" ]; - - preFixup = '' - chmod +x $out/bin/ttbin2mysports - ''; - - meta = with lib; { - homepage = "https://github.com/ryanbinns/ttwatch"; - description = "Linux TomTom GPS Watch Utilities"; - maintainers = with maintainers; [ dotlambda ]; - license = licenses.mit; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/tools/misc/tty-clock/default.nix b/pkgs/tools/misc/tty-clock/default.nix deleted file mode 100644 index 0abb0c668be0..000000000000 --- a/pkgs/tools/misc/tty-clock/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, pkg-config }: - -stdenv.mkDerivation rec { - pname = "tty-clock"; - version = "2.3+unstable=2021-04-07"; - - src = fetchFromGitHub { - owner = "xorg62"; - repo = "tty-clock"; - # Use unreleased version to pull in fix for ncurses-6.3 - rev = "9e00c32098524c30dac4dab701f7e33f8bc7c880"; - sha256 = "14jrzz06jr29887bxgad1x6kd26c2fnqrc26864wqm3838fpcqw0"; - }; - - patches = [ - # Pull upstream patch pending inclusion fir more ncurses-6.3 fixes: - # https://github.com/xorg62/tty-clock/pull/100 - (fetchpatch { - name = "ncurses-6.2.patch"; - url = "https://github.com/xorg62/tty-clock/commit/4cfd73080da1964557484da620c401745d73881c.patch"; - sha256 = "13pj1v6yrfc4vynsa746974kixfxxsy2jzzpl73c8bp7msr9d3md"; - }) - ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ ncurses ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - broken = stdenv.isDarwin; - homepage = "https://github.com/xorg62/tty-clock"; - license = licenses.bsd3; - description = "Digital clock in ncurses"; - platforms = platforms.all; - maintainers = [ maintainers.koral ]; - mainProgram = "tty-clock"; - }; -} diff --git a/pkgs/tools/misc/ttygif/default.nix b/pkgs/tools/misc/ttygif/default.nix deleted file mode 100644 index 689138186cb6..000000000000 --- a/pkgs/tools/misc/ttygif/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, imagemagick, xorg }: - -stdenv.mkDerivation rec { - pname = "ttygif"; - version = "1.6.0"; - - src = fetchFromGitHub { - owner = "icholy"; - repo = pname; - rev = version; - sha256 = "sha256-GsMeVR2wNivQguZ6B/0v39Td9VGHg+m3RtAG9DYkNmU="; - }; - - makeFlags = [ "CC:=$(CC)" "PREFIX=${placeholder "out"}" ]; - - nativeBuildInputs = [ makeWrapper ]; - postInstall = '' - wrapProgram $out/bin/ttygif \ - --prefix PATH : ${lib.makeBinPath [ imagemagick xorg.xwd ]} - ''; - - meta = with lib; { - homepage = "https://github.com/icholy/ttygif"; - description = "Convert terminal recordings to animated gifs"; - platforms = platforms.unix; - license = licenses.mit; - maintainers = with maintainers; [ moaxcp ]; - mainProgram = "ttygif"; - }; -} diff --git a/pkgs/tools/misc/ttylog/default.nix b/pkgs/tools/misc/ttylog/default.nix deleted file mode 100644 index ff07ba976175..000000000000 --- a/pkgs/tools/misc/ttylog/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: - -stdenv.mkDerivation rec { - pname = "ttylog"; - version = "0.31"; - - src = fetchFromGitHub { - owner = "rocasa"; - repo = "ttylog"; - rev = version; - sha256 = "0c746bpjpa77vsr88fxk8h1803p5np1di1mpjf4jy5bv5x3zwm07"; - }; - - nativeBuildInputs = [ cmake ]; - - meta = with lib; { - homepage = "https://ttylog.sourceforge.net"; - description = "Simple serial port logger"; - longDescription = '' - A serial port logger which can be used to print everything to stdout - that comes from a serial device. - ''; - license = licenses.gpl2Plus; - platforms = platforms.linux; - mainProgram = "ttylog"; - }; -} diff --git a/pkgs/tools/misc/ttyplot/default.nix b/pkgs/tools/misc/ttyplot/default.nix deleted file mode 100644 index 535d374bf2b7..000000000000 --- a/pkgs/tools/misc/ttyplot/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, ncurses, pkg-config }: - -stdenv.mkDerivation rec { - pname = "ttyplot"; - version = "1.7.0"; - - src = fetchFromGitHub { - owner = "tenox7"; - repo = "ttyplot"; - rev = version; - hash = "sha256-B95pd0hoesBDQwzN0h3kMBVcUFJVWQrpOKizKpdoiok="; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - buildInputs = [ - ncurses - ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Simple general purpose plotting utility for tty with data input from stdin"; - homepage = "https://github.com/tenox7/ttyplot"; - license = licenses.asl20; - platforms = platforms.all; - maintainers = with maintainers; [ lassulus ]; - mainProgram = "ttyplot"; - }; -} diff --git a/pkgs/tools/misc/tvnamer/default.nix b/pkgs/tools/misc/tvnamer/default.nix deleted file mode 100644 index 5015a5e40b56..000000000000 --- a/pkgs/tools/misc/tvnamer/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -let - python' = python3.override { - self = python'; - packageOverrides = final: prev: rec { - # tvdb_api v3.1.0 has a hard requirement on requests-cache < 0.6 - requests-cache = prev.requests-cache.overridePythonAttrs (oldAttrs: rec { - version = "0.5.2"; - src = fetchPypi { - inherit (oldAttrs) pname; - inherit version; - sha256 = "sha256-gTAjJpaGBF+OAeIonMHn6a5asi3dHihJqQk6s6tycOs="; - }; - - nativeBuildInputs = with final; [ - setuptools - ]; - - # too many changes have been made to requests-cache based on version 0.6 so - # simply disable tests - doCheck = false; - }); - }; - }; - - pypkgs = python'.pkgs; - -in -pypkgs.buildPythonApplication rec { - pname = "tvnamer"; - version = "3.0.4"; - - src = fetchPypi { - inherit pname version; - sha256 = "dc2ea8188df6ac56439343630466b874c57756dd0b2538dd8e7905048f425f04"; - }; - - propagatedBuildInputs = with pypkgs; [ tvdb-api ]; - - # no tests from pypi - doCheck = false; - - meta = with lib; { - description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api"; - homepage = "https://github.com/dbr/tvnamer"; - license = licenses.unlicense; - maintainers = with maintainers; [ peterhoeg ]; - mainProgram = "tvnamer"; - }; -} diff --git a/pkgs/tools/misc/twm/default.nix b/pkgs/tools/misc/twm/default.nix deleted file mode 100644 index bb963d5d1d0e..000000000000 --- a/pkgs/tools/misc/twm/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib -, fetchFromGitHub -, stdenv -, rustPlatform -, openssl -, pkg-config -, Security -, nix-update-script -, installShellFiles -}: - -rustPlatform.buildRustPackage rec { - pname = "twm"; - version = "0.10.2"; - - src = fetchFromGitHub { - owner = "vinnymeller"; - repo = "twm"; - rev = "refs/tags/v${version}"; - hash = "sha256-qOOEeaxae7nYbvNzl3BEZkdjO69lgtGrrLS5Q7akN9U="; - }; - - cargoHash = "sha256-gJ5go9V8c97pQZICUD1ksLJhOyJXyVXAWssH3fhrRVQ="; - - nativeBuildInputs = [ pkg-config installShellFiles ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; - - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd twm \ - --bash <($out/bin/twm --print-bash-completion) \ - --zsh <($out/bin/twm --print-zsh-completion) \ - --fish <($out/bin/twm --print-fish-completion) - - $out/bin/twm --print-man > twm.1 - installManPage twm.1 - ''; - - passthru.updateScript = nix-update-script { }; - - meta = { - description = "Customizable workspace manager for tmux"; - homepage = "https://github.com/vinnymeller/twm"; - changelog = "https://github.com/vinnymeller/twm/releases/tag/${lib.removePrefix "refs/tags/" src.rev}"; - license = lib.licenses.mit; - maintainers = [ lib.maintainers.vinnymeller ]; - mainProgram = "twm"; - }; -} diff --git a/pkgs/tools/misc/twspace-crawler/default.nix b/pkgs/tools/misc/twspace-crawler/default.nix deleted file mode 100644 index fa38e636c77e..000000000000 --- a/pkgs/tools/misc/twspace-crawler/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildNpmPackage, fetchFromGitHub }: - -buildNpmPackage rec { - pname = "twspace-crawler"; - version = "1.12.9"; - - src = fetchFromGitHub { - owner = "HitomaruKonpaku"; - repo = "twspace-crawler"; - rev = "7875e534b257d4ba5a0cf8179a4772c87005fee6"; # version not tagged - hash = "sha256-pA31ak0Rwy4Rc1fVz+4QV1lcTYGUmPOd61FtLQGN1ek="; - }; - - npmDepsHash = "sha256-2fsYeSZYzadLmikUJbuHE4XMAp38jTZvtRo9xgaZVzg="; - - meta = with lib; { - description = "Script to monitor & download Twitter Spaces 24/7"; - homepage = "https://github.com/HitomaruKonpaku/twspace-crawler"; - changelog = "https://github.com/HitomaruKonpaku/twspace-crawler/blob/${src.rev}/CHANGELOG.md"; - license = licenses.isc; - maintainers = [ ]; - mainProgram = "twspace-crawler"; - }; -} diff --git a/pkgs/tools/misc/twspace-dl/default.nix b/pkgs/tools/misc/twspace-dl/default.nix deleted file mode 100644 index 3e22188f5df9..000000000000 --- a/pkgs/tools/misc/twspace-dl/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, python3Packages, fetchPypi, ffmpeg-headless }: - -python3Packages.buildPythonApplication rec { - pname = "twspace-dl"; - version = "2024.7.2.1"; - - format = "pyproject"; - - src = fetchPypi { - inherit version; - pname = "twspace_dl"; - hash = "sha256-GLs+UGEOsdGcp/mEh+12Vs+XlY1goEql7UOAvVVi1pg="; - }; - - nativeBuildInputs = with python3Packages; [ poetry-core ]; - - propagatedBuildInputs = with python3Packages; [ - mutagen - requests - ]; - - makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}" ]; - - pythonImportsCheck = [ "twspace_dl" ]; - - meta = with lib; { - description = "Python module to download twitter spaces"; - homepage = "https://github.com/HoloArchivists/twspace-dl"; - changelog = "https://github.com/HoloArchivists/twspace-dl/releases/tag/${version}"; - license = licenses.gpl2Only; - maintainers = [ ]; - mainProgram = "twspace_dl"; - }; -} diff --git a/pkgs/tools/misc/txt2man/default.nix b/pkgs/tools/misc/txt2man/default.nix deleted file mode 100644 index d5f8159f8a53..000000000000 --- a/pkgs/tools/misc/txt2man/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, coreutils, gawk }: - -stdenv.mkDerivation rec { - pname = "txt2man"; - version = "1.7.1"; - - src = fetchFromGitHub { - owner = "mvertes"; - repo = "txt2man"; - rev = "txt2man-${version}"; - hash = "sha256-Aqi5PNNaaM/tr9A/7vKeafYKYIs/kHbwHzE7+R/9r9s="; - }; - - makeFlags = [ - "prefix=${placeholder "out"}" - ]; - - postPatch = '' - for f in bookman src2man txt2man; do - substituteInPlace $f \ - --replace "gawk" "${gawk}/bin/gawk" \ - --replace "(date" "(${coreutils}/bin/date" \ - --replace "=cat" "=${coreutils}/bin/cat" \ - --replace "cat <<" "${coreutils}/bin/cat <<" \ - --replace "expand" "${coreutils}/bin/expand" \ - --replace "(uname" "(${coreutils}/bin/uname" - done - ''; - - doCheck = true; - - checkPhase = '' - # gawk and coreutils are part of stdenv but will not - # necessarily be in PATH at runtime. - sh -c 'unset PATH; printf hello | ./txt2man' - ''; - - meta = with lib; { - description = "Convert flat ASCII text to man page format"; - homepage = "http://mvertes.free.fr/"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ bjornfor ]; - }; -} diff --git a/pkgs/tools/misc/txtw/default.nix b/pkgs/tools/misc/txtw/default.nix deleted file mode 100644 index 9f8783491b11..000000000000 --- a/pkgs/tools/misc/txtw/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cairo }: - -stdenv.mkDerivation rec { - version = "0.4"; - pname = "txtw"; - - src = fetchFromGitHub { - owner = "baskerville"; - repo = "txtw"; - rev = version; - sha256 = "17yjdgdd080fsf5r1wzgk6vvzwsa15gcwc9z64v7x588jm1ryy3k"; - }; - - buildInputs = [ cairo ]; - - prePatch = ''sed -i "s@/usr/local@$out@" Makefile''; - - meta = with lib; { - description = "Compute text widths"; - homepage = "https://github.com/baskerville/txtw"; - maintainers = with maintainers; [ lihop ]; - license = licenses.unlicense; - platforms = platforms.linux; - mainProgram = "txtw"; - }; -} diff --git a/pkgs/tools/misc/tydra/default.nix b/pkgs/tools/misc/tydra/default.nix deleted file mode 100644 index 75c2effedcc6..000000000000 --- a/pkgs/tools/misc/tydra/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, rustPlatform, fetchFromGitHub, installShellFiles }: - -rustPlatform.buildRustPackage rec { - pname = "tydra"; - version = "1.0.3"; - - src = fetchFromGitHub { - owner = "Mange"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-bH/W54b7UHdkbgLXAd+l5I6UAKjWDMW+I5mfwT4yEEY="; - }; - - cargoHash = "sha256-emZWQHOgYUQzCa/SmztSLa19bB1aJpPUiBg2C7w6W8M="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installManPage doc/{tydra.1,tydra-actions.5} - - $out/bin/tydra --generate-completions bash > tydra.bash - $out/bin/tydra --generate-completions fish > tydra.fish - $out/bin/tydra --generate-completions zsh > _tydra - - installShellCompletion tydra.{bash,fish} _tydra - ''; - - meta = with lib; { - description = "Shortcut menu-based task runner, inspired by Emacs Hydra"; - homepage = "https://github.com/Mange/tydra"; - license = licenses.mit; - maintainers = with maintainers; [ Br1ght0ne ]; - mainProgram = "tydra"; - }; -} diff --git a/pkgs/tools/misc/tz/default.nix b/pkgs/tools/misc/tz/default.nix deleted file mode 100644 index c883058a725e..000000000000 --- a/pkgs/tools/misc/tz/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "tz"; - version = "0.7.0"; - - src = fetchFromGitHub { - owner = "oz"; - repo = "tz"; - rev = "v${version}"; - sha256 = "sha256-Mnb0GdJ9dgaUanWBP5JOo6++6MfrUgncBRp4NIbhxf0="; - }; - - vendorHash = "sha256-lcCra4LyebkmelvBs0Dd2mn6R64Q5MaUWc5AP8V9pec="; - - meta = with lib; { - description = "Time zone helper"; - homepage = "https://github.com/oz/tz"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ siraben ]; - mainProgram = "tz"; - }; -} diff --git a/pkgs/tools/misc/uair/default.nix b/pkgs/tools/misc/uair/default.nix deleted file mode 100644 index 47c4d7631da2..000000000000 --- a/pkgs/tools/misc/uair/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ fetchFromGitHub -, installShellFiles -, lib -, rustPlatform -, scdoc -}: - -rustPlatform.buildRustPackage rec { - pname = "uair"; - version = "0.6.1"; - - src = fetchFromGitHub { - owner = "metent"; - repo = pname; - rev = "v${version}"; - hash = "sha256-cxSNBxs6ixbjWMUYzOnwI+vavkfyaQx3/OmVdTCr7M0="; - }; - - cargoHash = "sha256-cDIF4RvJ7K6t18GPgiRV6NDoD/x3II/3wCHW3KK2/os="; - - nativeBuildInputs = [ installShellFiles scdoc ]; - - preFixup = '' - scdoc < docs/uair.1.scd > docs/uair.1 - scdoc < docs/uair.5.scd > docs/uair.5 - scdoc < docs/uairctl.1.scd > docs/uairctl.1 - - installManPage docs/*.[1-9] - ''; - - meta = with lib; { - description = "Extensible pomodoro timer"; - homepage = "https://github.com/metent/uair"; - license = licenses.mit; - maintainers = with maintainers; [ thled ]; - }; -} diff --git a/pkgs/tools/misc/ugs/default.nix b/pkgs/tools/misc/ugs/default.nix deleted file mode 100644 index caf738f0f2b4..000000000000 --- a/pkgs/tools/misc/ugs/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ stdenv -, lib -, copyDesktopItems -, makeDesktopItem -, makeWrapper -, jre -, fetchzip -}: -let - desktopItem = makeDesktopItem { - name = "ugs"; - exec = "ugs"; - comment = "A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core."; - desktopName = "Universal-G-Code-Sender"; - categories = [ "Game" ]; - }; - -in -stdenv.mkDerivation rec { - pname = "ugs"; - version = "2.1.9"; - - src = fetchzip { - url = "https://github.com/winder/Universal-G-Code-Sender/releases/download/v${version}/UniversalGcodeSender.zip"; - hash = "sha256-cZlBIafz+SZHP5xY6PupoCrbCng9lx9mbixBWiV6ufQ="; - }; - - dontUnpack = true; - - nativeBuildInputs = [ copyDesktopItems makeWrapper ]; - - installPhase = '' - runHook preInstall - - makeWrapper ${jre}/bin/java $out/bin/ugs \ - --prefix PATH : ${lib.makeBinPath [ jre ]} \ - --add-flags "-jar ${src}/UniversalGcodeSender.jar" - - runHook postInstall - ''; - - desktopItems = [ desktopItem ]; - - meta = with lib; { - description = "Cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core"; - homepage = "https://github.com/winder/Universal-G-Code-Sender"; - maintainers = with maintainers; [ matthewcroughan ]; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.gpl3; - platforms = platforms.all; - mainProgram = "ugs"; - }; -} diff --git a/pkgs/tools/misc/ugtrain/default.nix b/pkgs/tools/misc/ugtrain/default.nix deleted file mode 100644 index 868700d64299..000000000000 --- a/pkgs/tools/misc/ugtrain/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, scanmem -}: - -stdenv.mkDerivation rec { - version = "0.4.1"; - pname = "ugtrain"; - - src = fetchFromGitHub { - owner = "ugtrain"; - repo = "ugtrain"; - rev = "v${version}"; - sha256 = "0pw9lm8y83mda7x39874ax2147818h1wcibi83pd2x4rp1hjbkkn"; - }; - - nativeBuildInputs = [ autoreconfHook pkg-config scanmem ]; - - meta = with lib; { - homepage = "https://github.com/ugtrain/ugtrain"; - description = "Universal Elite Game Trainer for CLI (Linux game trainer research project)"; - maintainers = with maintainers; [ mtrsk ]; - platforms = platforms.linux; - license = licenses.gpl3Only; - }; -} diff --git a/pkgs/tools/misc/uhubctl/default.nix b/pkgs/tools/misc/uhubctl/default.nix deleted file mode 100644 index c4ea65eebd97..000000000000 --- a/pkgs/tools/misc/uhubctl/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "uhubctl"; - version = "2.6.0"; - - src = fetchFromGitHub { - owner = "mvp"; - repo = "uhubctl"; - rev = "v${version}"; - sha256 = "sha256-mpeDePHLsa4sGe2+8X9KQ8AYn7wtybDnaZzxnf4oETQ="; - }; - - buildInputs = [ libusb1 ]; - - installFlags = [ "prefix=${placeholder "out"}" ]; - - meta = with lib; { - homepage = "https://github.com/mvp/uhubctl"; - description = "Utility to control USB power per-port on smart USB hubs"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ prusnak ]; - platforms = with platforms; linux ++ darwin; - mainProgram = "uhubctl"; - }; -} diff --git a/pkgs/tools/misc/ulid/default.nix b/pkgs/tools/misc/ulid/default.nix deleted file mode 100644 index f2ff23addfe7..000000000000 --- a/pkgs/tools/misc/ulid/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "ulid"; - version = "2.1.0"; - - src = fetchFromGitHub { - owner = "oklog"; - repo = "ulid"; - rev = "v${version}"; - hash = "sha256-/oQPgcO1xKbHXutxz0WPfIduShPrfH1l+7/mj8jLst8="; - }; - - vendorHash = "sha256-s1YkEwFxE1zpUUCgwOAl8i6/9HB2rcGG+4kqnixTit0="; - - ldflags = [ "-s" "-w" ]; - - checkFlags = [ - # skip flaky test - "-skip=TestMonotonicSafe" - ]; - - meta = with lib; { - description = "Universally Unique Lexicographically Sortable Identifier (ULID) in Go"; - homepage = "https://github.com/oklog/ulid"; - changelog = "https://github.com/oklog/ulid/blob/${src.rev}/CHANGELOG.md"; - license = licenses.asl20; - maintainers = with maintainers; [ figsoda ]; - mainProgram = "ulid"; - }; -} diff --git a/pkgs/tools/misc/umlet/default.nix b/pkgs/tools/misc/umlet/default.nix deleted file mode 100644 index b9d3e5d31538..000000000000 --- a/pkgs/tools/misc/umlet/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib, stdenv, fetchurl, jre, unzip, runtimeShell }: - -stdenv.mkDerivation { - pname = "umlet"; - version = "15.1.0"; - - src = fetchurl { - # NOTE: The download URL breaks consistency - sometimes w/ patch versions - # and sometimes w/o. Furthermore, for 15.1.0 they moved everything to the - # new /download subfolder. - # As releases are very rarely, just modify it by hand.. - url = "https://www.umlet.com/download/umlet_15_1/umlet-standalone-15.1.zip"; - hash = "sha256-M6oVWbOmPBTygS+TFkY9PWucFfYLD33suNUuWpFLMIo="; - }; - - nativeBuildInputs = [ unzip ]; - - installPhase = '' - mkdir -p "$out/bin" - mkdir -p "$out/lib" - - cp -R * "$out/lib" - - cat > "$out/bin/umlet" << EOF - #!${runtimeShell} - - programDir="$out/lib" - cd "\$programDir" - if [ \$# -eq 1 ] - then "${jre}/bin/java" -jar "\$programDir/umlet.jar" -filename="\$1" - else "${jre}/bin/java" -jar "\$programDir/umlet.jar" "\$@" - fi - - EOF - chmod a+x "$out/bin/umlet" - ''; - - meta = with lib; { - description = "Free, open-source UML tool with a simple user interface"; - longDescription = '' - UMLet is a free, open-source UML tool with a simple user interface: - draw UML diagrams fast, produce sequence and activity diagrams from - plain text, export diagrams to eps, pdf, jpg, svg, and clipboard, - share diagrams using Eclipse, and create new, custom UML elements. - UMLet runs stand-alone or as Eclipse plug-in on Windows, macOS and - Linux. - ''; - homepage = "https://www.umlet.com"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; - license = licenses.gpl3; - maintainers = with maintainers; [ oxzi ]; - platforms = platforms.all; - mainProgram = "umlet"; - }; -} diff --git a/pkgs/tools/misc/unclutter-xfixes/default.nix b/pkgs/tools/misc/unclutter-xfixes/default.nix deleted file mode 100644 index 81db6449eb14..000000000000 --- a/pkgs/tools/misc/unclutter-xfixes/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, - libev, libX11, libXext, libXi, libXfixes, - pkg-config, asciidoc, libxslt, docbook_xsl }: - -stdenv.mkDerivation rec { - pname = "unclutter-xfixes"; - version = "1.6"; - - src = fetchFromGitHub { - owner = "Airblader"; - repo = "unclutter-xfixes"; - rev = "v${version}"; - sha256 = "sha256-suKmaoJq0PBHZc7NzBQ60JGwJkAtWmvzPtTHWOPJEdc="; - }; - - nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ]; - buildInputs = [ libev libX11 libXext libXi libXfixes ]; - - prePatch = '' - substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?=' - ''; - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - installFlags = [ "PREFIX=$(out)" ]; - - meta = with lib; { - description = "Rewrite of unclutter using the X11 Xfixes extension"; - platforms = platforms.unix; - license = lib.licenses.mit; - maintainers = [ ]; - mainProgram = "unclutter"; - }; -} diff --git a/pkgs/tools/misc/unclutter/default.nix b/pkgs/tools/misc/unclutter/default.nix deleted file mode 100644 index 5d711c5fd03d..000000000000 --- a/pkgs/tools/misc/unclutter/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, stdenv -, fetchurl -, libX11 -}: - -stdenv.mkDerivation rec { - pname = "unclutter"; - version = "8"; - src = fetchurl { - url = "https://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-${version}.tar.gz"; - sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6"; - }; - - buildInputs = [ libX11 ]; - - buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - installPhase = '' - mkdir -pv "$out/bin" - mkdir -pv "$out/share/man/man1" - make DESTDIR="$out" BINDIR="$out/bin" PREFIX="" install - make DESTDIR="$out" MANPATH="$out/share/man" PREFIX="" install.man - ''; - - meta = with lib; { - description = "Hides mouse pointer while not in use"; - longDescription = '' - Unclutter hides your X mouse cursor when you do not need it, to prevent - it from getting in the way. You have only to move the mouse to restore - the mouse cursor. Unclutter is very useful in tiling wm's where you do - not need the mouse often. - - Just run it from your .bash_profile like that: - - unclutter -idle 1 & - ''; - maintainers = with maintainers; [ domenkozar ]; - platforms = platforms.unix; - license = lib.licenses.publicDomain; - mainProgram = "unclutter"; - }; -} diff --git a/pkgs/tools/misc/undocker/default.nix b/pkgs/tools/misc/undocker/default.nix deleted file mode 100644 index 0cc9deb74df3..000000000000 --- a/pkgs/tools/misc/undocker/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitea -, gnumake -}: -let - version = "1.2.3"; - hash = "sha256-hyP85pYtXxucAliilUt9Y2qnrfPeSjeGsYEFJndJWyA="; - src = fetchFromGitea { - domain = "git.jakstys.lt"; - owner = "motiejus"; - repo = "undocker"; - rev = "v${version}"; - hash = hash; - }; -in -buildGoModule { - pname = "undocker"; - inherit version src; - - nativeBuildInputs = [ gnumake ]; - - buildPhase = "make VSN=v${version} VSNHASH=${hash} undocker"; - - installPhase = "install -D undocker $out/bin/undocker"; - - vendorHash = null; - - meta = with lib; { - homepage = "https://git.jakstys.lt/motiejus/undocker"; - description = "CLI tool to convert a Docker image to a flattened rootfs tarball"; - license = licenses.asl20; - maintainers = with maintainers; [ jordanisaacs motiejus ]; - mainProgram = "undocker"; - }; -} diff --git a/pkgs/tools/misc/unicode/default.nix b/pkgs/tools/misc/unicode/default.nix deleted file mode 100644 index 012ab2fc6cb7..000000000000 --- a/pkgs/tools/misc/unicode/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib, fetchFromGitHub, fetchurl, python3Packages, installShellFiles, gitUpdater }: - -python3Packages.buildPythonApplication rec { - pname = "unicode"; - version = "2.9"; - - src = fetchFromGitHub { - owner = "garabik"; - repo = "unicode"; - rev = "v${version}"; - sha256 = "sha256-FHAlZ5HID/FE9+YR7Dmc3Uh7E16QKORoD8g9jgTeQdY="; - }; - - ucdtxt = fetchurl { - url = "https://www.unicode.org/Public/15.0.0/ucd/UnicodeData.txt"; - sha256 = "sha256-gG6a7WUDcZfx7IXhK+bozYcPxWCLTeD//ZkPaJ83anM="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - postFixup = '' - substituteInPlace "$out/bin/.unicode-wrapped" \ - --replace "/usr/share/unicode/UnicodeData.txt" "$ucdtxt" - ''; - - postInstall = '' - installManPage paracode.1 unicode.1 - ''; - - passthru.updateScript = gitUpdater { - rev-prefix = "v"; - }; - - meta = with lib; { - description = "Display unicode character properties"; - homepage = "https://github.com/garabik/unicode"; - license = licenses.gpl3; - maintainers = [ maintainers.woffs ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/tools/misc/unparam/default.nix b/pkgs/tools/misc/unparam/default.nix deleted file mode 100644 index 535617b1f12e..000000000000 --- a/pkgs/tools/misc/unparam/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "unparam"; - version = "0-unstable-2024-05-28"; - - src = fetchFromGitHub { - owner = "mvdan"; - repo = "unparam"; - rev = "8a5130ca722ffad18c95cc467b561f1668b9b0d2"; - hash = "sha256-CYCXTriGUd4bNY6ZPfkX4puE1imcqYHnX1SXVdnXPGM="; - }; - - vendorHash = "sha256-2lNC4V1WQkJdkagIlBu6tj4SA4KJKstHXc+B4emKu6s="; - - subPackages = [ "." ]; - - meta = with lib; { - description = "Find unused parameters in Go"; - homepage = "https://github.com/mvdan/unparam"; - license = licenses.bsd3; - maintainers = with maintainers; [ SuperSandro2000 ]; - mainProgram = "unparam"; - }; -} diff --git a/pkgs/tools/misc/up/default.nix b/pkgs/tools/misc/up/default.nix deleted file mode 100644 index 9fa0c700b8c3..000000000000 --- a/pkgs/tools/misc/up/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "up"; - version = "0.4"; - - src = fetchFromGitHub { - owner = "akavel"; - repo = "up"; - rev = "v${version}"; - hash = "sha256-d6FCJ9G9ytHhWQ5lXEtlmzclt3odS9e+Y1ry6EiIDsk="; - }; - - vendorHash = "sha256-PbOMUrKigCUuu5Hv3h0ZYSYezS+64DIZSubnQZ12HOE="; - - meta = with lib; { - description = "Ultimate Plumber is a tool for writing Linux pipes with instant live preview"; - homepage = "https://github.com/akavel/up"; - maintainers = with maintainers; [ ma27 ]; - license = licenses.asl20; - mainProgram = "up"; - }; -} diff --git a/pkgs/tools/misc/upterm/default.nix b/pkgs/tools/misc/upterm/default.nix deleted file mode 100644 index 50383a1c3eeb..000000000000 --- a/pkgs/tools/misc/upterm/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, installShellFiles -, nixosTests -}: - -buildGoModule rec { - pname = "upterm"; - version = "0.14.3"; - - src = fetchFromGitHub { - owner = "owenthereal"; - repo = "upterm"; - rev = "v${version}"; - hash = "sha256-koZRKxp6Q52jvpmQqQAGvPHoiiU2LaEuNeRY/rru+XM="; - }; - - vendorHash = "sha256-PUcfE7LQQh2ftiOiOoucSfxYnTI4zRNmmSqqmvvvs7g="; - - subPackages = [ "cmd/upterm" "cmd/uptermd" ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - # force go to build for build arch rather than host arch during cross-compiling - CGO_ENABLED=0 GOOS= GOARCH= go run cmd/gendoc/main.go - installManPage etc/man/man*/* - installShellCompletion --bash --name upterm.bash etc/completion/upterm.bash_completion.sh - installShellCompletion --zsh --name _upterm etc/completion/upterm.zsh_completion - ''; - - doCheck = true; - - passthru.tests = { inherit (nixosTests) uptermd; }; - - __darwinAllowLocalNetworking = true; - - meta = with lib; { - description = "Secure terminal-session sharing"; - homepage = "https://upterm.dev"; - license = licenses.asl20; - maintainers = with maintainers; [ hax404 ]; - }; -} diff --git a/pkgs/tools/misc/url-parser/default.nix b/pkgs/tools/misc/url-parser/default.nix deleted file mode 100644 index 1a84e92d322f..000000000000 --- a/pkgs/tools/misc/url-parser/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: - -buildGoModule rec { - pname = "url-parser"; - version = "2.0.5"; - - src = fetchFromGitHub { - owner = "thegeeklab"; - repo = "url-parser"; - rev = "refs/tags/v${version}"; - hash = "sha256-tMbB0u0BxoWGLPOsebwxd0QQcAlpSuhfCRdBEGpLpRU="; - }; - - vendorHash = "sha256-gLhVbd0rca+khY8i776EN/PoySNq/oYYNFbioMjgxPc="; - - ldflags = [ - "-s" - "-w" - "-X" "main.BuildVersion=${version}" - "-X" "main.BuildDate=1970-01-01" - ]; - - meta = with lib; { - description = "Simple command-line URL parser"; - homepage = "https://github.com/thegeeklab/url-parser"; - changelog = "https://github.com/thegeeklab/url-parser/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ doronbehar ]; - mainProgram = "url-parser"; - }; -} diff --git a/pkgs/tools/misc/urlencode/default.nix b/pkgs/tools/misc/urlencode/default.nix deleted file mode 100644 index da7066adc882..000000000000 --- a/pkgs/tools/misc/urlencode/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ fetchFromGitHub -, lib -, rustPlatform -}: -rustPlatform.buildRustPackage rec { - pname = "urlencode"; - version = "1.0.1"; - - src = fetchFromGitHub { - owner = "dead10ck"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-LvLUbtMPVbYZMUb9vWhTscYfZPtEM5GrZme3azvVlPE="; - }; - - cargoHash = "sha256-UPw+/wVOEM+kciOr70P+gdMCxtCKQ/SXsNAWA44v4v8="; - - meta = with lib; { - description = "CLI utility for URL-encoding or -decoding strings"; - homepage = "https://github.com/dead10ck/urlencode"; - license = licenses.mit; - maintainers = with maintainers; [ l0b0 ]; - mainProgram = "urlencode"; - }; -} diff --git a/pkgs/tools/misc/urn-timer/default.nix b/pkgs/tools/misc/urn-timer/default.nix deleted file mode 100644 index ad0c271fda66..000000000000 --- a/pkgs/tools/misc/urn-timer/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv -, fetchFromGitHub -, unstableGitUpdater -, xxd -, pkg-config -, imagemagick -, wrapGAppsHook3 -, gtk3 -, jansson -, nixosTests -}: - -stdenv.mkDerivation { - pname = "urn-timer"; - version = "0-unstable-2024-03-05"; - - src = fetchFromGitHub { - owner = "paoloose"; - repo = "urn"; - rev = "10082428749fabb69db1556f19940d8700ce48a2"; - hash = "sha256-sQjHQ/i1d4v4ZnM0YAay+MdIj5l/FfIYj+NdH48OqfU="; - }; - - nativeBuildInputs = [ - xxd - pkg-config - imagemagick - wrapGAppsHook3 - ]; - - buildInputs = [ - gtk3 - jansson - ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - passthru.updateScript = unstableGitUpdater { - url = "https://github.com/paoloose/urn.git"; - }; - - passthru.tests.nixosTest = nixosTests.urn-timer; - - meta = with lib; { - homepage = "https://github.com/paoloose/urn"; - description = "Split tracker / timer for speedrunning with GTK+ frontend"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ fgaz ]; - mainProgram = "urn-gtk"; - }; -} diff --git a/pkgs/tools/misc/usbimager/default.nix b/pkgs/tools/misc/usbimager/default.nix deleted file mode 100644 index 2d339fabc3f7..000000000000 --- a/pkgs/tools/misc/usbimager/default.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ lib, stdenv, fetchFromGitLab, pkg-config, wrapGAppsHook3 -, withLibui ? true, gtk3 -, withUdisks ? stdenv.isLinux, udisks, glib -, libX11 }: - -stdenv.mkDerivation rec { - pname = "usbimager"; - version = "1.0.10"; - - src = fetchFromGitLab { - owner = "bztsrc"; - repo = pname; - rev = version; - hash = "sha256-HTFopc2xrhp0XYubQtOwMKWTQ+3JSKAyL4mMyQ82kAs="; - }; - - sourceRoot = "${src.name}/src"; - - nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; - buildInputs = lib.optionals withUdisks [ udisks glib ] - ++ lib.optional (!withLibui) libX11 - ++ lib.optional withLibui gtk3; - # libui is bundled with the source of usbimager as a compiled static library - - postPatch = '' - sed -i \ - -e 's|install -m 2755 -g disk|install |g' \ - -e 's|-I/usr/include/gio-unix-2.0|-I${glib.dev}/include/gio-unix-2.0|g' \ - -e 's|install -m 2755 -g $(GRP)|install |g' Makefile - ''; - - postInstall = '' - substituteInPlace $out/share/applications/usbimager.desktop \ - --replace-fail "Exec=/usr/bin/usbimager" "Exec=usbimager" - ''; - - dontConfigure = true; - - makeFlags = [ "PREFIX=$(out)" ] - ++ lib.optional withLibui "USE_LIBUI=yes" - ++ lib.optional withUdisks "USE_UDISKS2=yes"; - - meta = with lib; { - description = "Very minimal GUI app that can write compressed disk images to USB drives"; - homepage = "https://gitlab.com/bztsrc/usbimager"; - license = licenses.mit; - maintainers = with maintainers; [ vdot0x23 ]; - # windows and darwin could work, but untested - # feel free add them if you have a machine to test - platforms = with platforms; linux; - # never built on aarch64-linux since first introduction in nixpkgs - broken = stdenv.isLinux && stdenv.isAarch64; - mainProgram = "usbimager"; - }; -} diff --git a/pkgs/tools/misc/usbmuxd/default.nix b/pkgs/tools/misc/usbmuxd/default.nix deleted file mode 100644 index 6901767c9cf8..000000000000 --- a/pkgs/tools/misc/usbmuxd/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, libimobiledevice -, libusb1 -}: - -stdenv.mkDerivation rec { - pname = "usbmuxd"; - version = "1.1.1+date=2023-05-05"; - - src = fetchFromGitHub { - owner = "libimobiledevice"; - repo = pname; - rev = "01c94c77f59404924f1c46d99c4e5e0c7817281b"; - hash = "sha256-WqbobkzlJ9g5fb9S2QPi3qdpCLx3pxtNlT7qDI63Zp4="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - ]; - - propagatedBuildInputs = [ - libimobiledevice - libusb1 - ]; - - preAutoreconf = '' - export RELEASE_VERSION=${version} - ''; - - configureFlags = [ - "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d" - "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" - ]; - - meta = with lib; { - homepage = "https://github.com/libimobiledevice/usbmuxd"; - description = "Socket daemon to multiplex connections from and to iOS devices"; - longDescription = '' - usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of - multiplexing connections over USB to an iOS device. To users, it means - you can sync your music, contacts, photos, etc. over USB. To developers, it - means you can connect to any listening localhost socket on the device. usbmuxd - is not used for tethering data transfer which uses a dedicated USB interface as - a virtual network device. Multiple connections to different TCP ports can happen - in parallel. The higher-level layers are handled by libimobiledevice. - ''; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = [ ]; - mainProgram = "usbmuxd"; - }; -} diff --git a/pkgs/tools/misc/usbmuxd2/default.nix b/pkgs/tools/misc/usbmuxd2/default.nix deleted file mode 100644 index e4674eb386f1..000000000000 --- a/pkgs/tools/misc/usbmuxd2/default.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ lib -, clangStdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, libimobiledevice -, libusb1 -, avahi -, clang -, git -}: let - - libgeneral = clangStdenv.mkDerivation rec { - pname = "libgeneral"; - version = "74"; - src = fetchFromGitHub { - owner = "tihmstar"; - repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-6aowcIYssc1xqH6kTi/cpH2F7rgc8+lGC8HgZWYH2w0="; - # Leave DotGit so that autoconfigure can read version from git tags - leaveDotGit = true; - }; - nativeBuildInputs = [ - autoreconfHook - git - pkg-config - ]; - meta = with lib; { - description = "Helper library used by usbmuxd2"; - homepage = "https://github.com/tihmstar/libgeneral"; - license = licenses.lgpl21; - platforms = platforms.all; - }; - }; - -in -clangStdenv.mkDerivation rec { - pname = "usbmuxd2"; - version = "unstable-2023-12-12"; - - src = fetchFromGitHub { - owner = "tihmstar"; - repo = pname; - rev = "2ce399ddbacb110bd5a83a6b8232d42c9a9b6e84"; - hash = "sha256-UVLLE73XuWTgGlpTMxUDykFmiBDqz6NCRO2rpRAYfow="; - # Leave DotGit so that autoconfigure can read version from git tags - leaveDotGit = true; - }; - - postPatch = '' - # Checking for libgeneral version still fails - sed -i 's/libgeneral >= $LIBGENERAL_MINVERS_STR/libgeneral/' configure.ac - ''; - - nativeBuildInputs = [ - autoreconfHook - clang - git - pkg-config - ]; - - propagatedBuildInputs = [ - avahi - libgeneral - libimobiledevice - libusb1 - ]; - - configureFlags = [ - "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d" - "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" - ]; - - makeFlags = [ - "sbindir=${placeholder "out"}/bin" - ]; - - meta = with lib; { - homepage = "https://github.com/tihmstar/usbmuxd2"; - description = "Socket daemon to multiplex connections from and to iOS devices"; - license = licenses.lgpl3; - platforms = platforms.linux; - maintainers = with maintainers; [ onny ]; - mainProgram = "usbmuxd"; - }; -} diff --git a/pkgs/tools/misc/usbview/default.nix b/pkgs/tools/misc/usbview/default.nix deleted file mode 100644 index 17402fe76120..000000000000 --- a/pkgs/tools/misc/usbview/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, pkg-config -, imagemagick -, gtk3 -}: - -stdenv.mkDerivation rec { - pname = "usbview"; - version = "3.1"; - - src = fetchFromGitHub { - owner = "gregkh"; - repo = "usbview"; - rev = "v${version}"; - hash = "sha256-h+sB83BYsrB2VxwtatPWNiM0WdTCMY289nh+/0o8GOw="; - }; - - nativeBuildInputs = [ - autoreconfHook - pkg-config - imagemagick - ]; - - buildInputs = [ - gtk3 - ]; - - meta = with lib; { - description = "USB viewer for Linux"; - license = licenses.gpl2Only; - homepage = "http://www.kroah.com/linux-usb/"; - maintainers = with maintainers; [ shamilton h7x4 ]; - platforms = platforms.linux; - mainProgram = "usbview"; - }; -} diff --git a/pkgs/tools/misc/uucp/default.nix b/pkgs/tools/misc/uucp/default.nix deleted file mode 100644 index 325ad135558c..000000000000 --- a/pkgs/tools/misc/uucp/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib, stdenv, fetchurl, autoreconfHook, testers }: - -stdenv.mkDerivation (finalAttrs: { - pname = "uucp"; - version = "1.07"; - - src = fetchurl { - url = "mirror://gnu/uucp/uucp-${finalAttrs.version}.tar.gz"; - sha256 = "0b5nhl9vvif1w3wdipjsk8ckw49jj1w85xw1mmqi3zbcpazia306"; - }; - - hardeningDisable = [ "format" ]; - - prePatch = '' - # do not set sticky bit in nix store - substituteInPlace Makefile.am \ - --replace-fail 4555 0555 - sed -i '/chown $(OWNER)/d' Makefile.am - - # don't reply on implicitly defined `exit` function in `HAVE_VOID` test: - substituteInPlace configure.in \ - --replace-fail '(void) exit (0)' '(void) (0)' - ''; - - # Regenerate `configure`; the checked in version was generated in 2002 and - # contains snippets like `main(){return(0);}` that modern compilers dislike. - nativeBuildInputs = [ autoreconfHook ]; - - makeFlags = [ "AR:=$(AR)" ]; - - passthru.tests.version = testers.testVersion { - package = finalAttrs.finalPackage; - }; - - meta = { - description = "Unix-unix cp over serial line, also includes cu program"; - mainProgram = "uucp"; - - longDescription = - '' Taylor UUCP is a free implementation of UUCP and is the standard - UUCP used on the GNU system. If you don't know what UUCP is chances - are, nowadays, that you won't need it. If you do need it, you've - just found one of the finest UUCP implementations available. - ''; - - homepage = "https://www.gnu.org/software/uucp/uucp.html"; - - license = lib.licenses.gpl2Plus; - - platforms = lib.platforms.all; - maintainers = [ ]; - }; -}) diff --git a/pkgs/tools/misc/uudeview/default.nix b/pkgs/tools/misc/uudeview/default.nix deleted file mode 100644 index 194816702176..000000000000 --- a/pkgs/tools/misc/uudeview/default.nix +++ /dev/null @@ -1,44 +0,0 @@ -{ lib -, stdenv -, fetchurl -, fetchpatch -, tcl -, tk -}: - -stdenv.mkDerivation rec { - pname = "uudeview"; - version = "0.5.20"; - - src = fetchurl { - url = "http://www.fpx.de/fp/Software/UUDeview/download/uudeview-${version}.tar.gz"; - sha256 = "0dg4v888fxhmf51vxq1z1gd57fslsidn15jf42pj4817vw6m36p4"; - }; - - buildInputs = [ tcl tk ]; - - configureFlags = [ "--enable-tk=${tk.dev}" "--enable-tcl=${tcl}" ]; - - patches = [ - # https://wiki.tcl.tk/3577 - ./matherr.patch - # format hardening - (fetchpatch { - url = "https://raw.githubusercontent.com/OpenMandrivaAssociation/uudeview/master/uudeview-0.5.20-fix-str-fmt.patch"; - sha256 = "1biipck60mhpd0j6jwizaisvqa8alisw1dpfqm6zf7ic5b93hmfw"; - extraPrefix = ""; - }) - ]; - - postPatch = '' - substituteInPlace tcl/xdeview --replace "exec uuwish" "exec $out/bin/uuwish" - ''; - - meta = { - description = "Nice and Friendly Decoder"; - homepage = "http://www.fpx.de/fp/Software/UUDeview/"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ woffs ]; - platforms = lib.platforms.linux; - }; -} diff --git a/pkgs/tools/misc/uudeview/matherr.patch b/pkgs/tools/misc/uudeview/matherr.patch deleted file mode 100644 index a93db7d7858d..000000000000 --- a/pkgs/tools/misc/uudeview/matherr.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/tcl/uutcl.c b/tcl/uutcl.c -index f101f2ce52b..71c24688dc4 100644 ---- a/tcl/uutcl.c -+++ b/tcl/uutcl.c -@@ -48,14 +48,6 @@ - #include <tcl.h> - #endif - --/* -- * The following variable is a special hack that is needed in order for -- * Sun shared libraries to be used for Tcl. -- */ -- --extern int matherr(); --int *tclDummyMathPtr = (int *) matherr; -- - #include <uudeview.h> - #include <uuint.h> - #include <fptools.h> diff --git a/pkgs/tools/misc/uutils-coreutils/default.nix b/pkgs/tools/misc/uutils-coreutils/default.nix index 033692364752..a71567b59038 100644 --- a/pkgs/tools/misc/uutils-coreutils/default.nix +++ b/pkgs/tools/misc/uutils-coreutils/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ rustPlatform.cargoSetupHook sphinx ]; - buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ]; makeFlags = [ "CARGO=${cargo}/bin/cargo" diff --git a/pkgs/tools/misc/uwufetch/default.nix b/pkgs/tools/misc/uwufetch/default.nix deleted file mode 100644 index 4dba7dac8038..000000000000 --- a/pkgs/tools/misc/uwufetch/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, viu }: - -stdenv.mkDerivation rec { - pname = "uwufetch"; - version = "2.1"; - - src = fetchFromGitHub { - owner = "TheDarkBug"; - repo = pname; - rev = version; - hash = "sha256-cA8sajh+puswyKikr0Jp9ei+EpVkH+vhEp+pTerkUqA="; - }; - - postPatch = '' - substituteInPlace uwufetch.c \ - --replace "/usr/lib/uwufetch" "$out/lib/uwufetch" \ - --replace "/usr/local/lib/uwufetch" "$out/lib/uwufetch" \ - --replace "/etc/uwufetch/config" "$out/etc/uwufetch/config" - # fix command_path for package manager (nix-store) - substituteInPlace fetch.c \ - --replace "/usr/bin" "/run/current-system/sw/bin" - '' + lib.optionalString stdenv.isDarwin '' - substituteInPlace Makefile \ - --replace "local/bin" "bin" \ - --replace "local/lib" "lib" \ - --replace "local/include" "include" \ - --replace "local/share" "share" - ''; - - nativeBuildInputs = [ makeWrapper ]; - - makeFlags = [ - "UWUFETCH_VERSION=${version}" - ]; - - installFlags = [ - "DESTDIR=${placeholder "out"}" - "ETC_DIR=${placeholder "out"}/etc" - ]; - - postFixup = '' - wrapProgram $out/bin/uwufetch \ - --prefix PATH ":" ${lib.makeBinPath [ viu ]} - ''; - - meta = with lib; { - description = "Meme system info tool for Linux"; - homepage = "https://github.com/TheDarkBug/uwufetch"; - license = licenses.gpl3Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ bbjubjub ]; - mainProgram = "uwufetch"; - }; -} diff --git a/pkgs/tools/misc/uwuify/default.nix b/pkgs/tools/misc/uwuify/default.nix deleted file mode 100644 index 4a3411d05a38..000000000000 --- a/pkgs/tools/misc/uwuify/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }: - -rustPlatform.buildRustPackage rec { - pname = "uwuify"; - version = "0.2.2"; - - src = fetchFromGitHub { - owner = "Daniel-Liu-c0deb0t"; - repo = "uwu"; - rev = "v${version}"; - sha256 = "sha256-MzXObbxccwEG7egmQMCdhUukGqZS+NgbYwZjTaqME7I="; - }; - - cargoHash = "sha256-1BoB7K/dWy3AbogvHIDLrdPD7K54EISvn4RVU5RLTi4="; - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; - - meta = with lib; { - description = "Fast text uwuifier"; - homepage = "https://github.com/Daniel-Liu-c0deb0t/uwu"; - license = licenses.mit; - platforms = lib.platforms.x86; # uses SSE instructions - maintainers = with maintainers; [ siraben ]; - mainProgram = "uwuify"; - }; -} diff --git a/pkgs/tools/misc/valeronoi/default.nix b/pkgs/tools/misc/valeronoi/default.nix index 2f4e1a426f25..cb648f483fa3 100644 --- a/pkgs/tools/misc/valeronoi/default.nix +++ b/pkgs/tools/misc/valeronoi/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "valeronoi"; - version = "0.2.1"; + version = "0.2.2"; src = fetchFromGitHub { owner = "ccoors"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-7z967y1hWpitZfXNlHHM8qEBdyuBQSFlJElS4ldsAaE="; + sha256 = "sha256-5KXVSIqWDkXnpO+qgBzFtbJb444RW8dIVXp8Y/aAOrk="; }; buildInputs = [ diff --git a/pkgs/tools/misc/vcs_query/default.nix b/pkgs/tools/misc/vcs_query/default.nix deleted file mode 100644 index ccfdc62b1296..000000000000 --- a/pkgs/tools/misc/vcs_query/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, python3, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "vcs_query"; - version = "0.4.0"; - - src = fetchFromGitHub { - owner = "mageta"; - repo = "vcs_query"; - rev = "v${version}"; - sha256 = "05va0na9yxkpqhm9v0x3k58148qcf2bbcv5bnmj7vn9r7fwyjrlx"; - }; - - nativeBuildInputs = [ python3 python3.pkgs.wrapPython ]; - - dontBuild = true; - - installPhase = '' - install -Dm0755 vcs_query.py $out/bin/vcs_query - patchShebangs $out/bin - buildPythonPath ${python3.pkgs.vobject}; - patchPythonScript $out/bin/vcs_query - ''; - - meta = with lib; { - homepage = "https://github.com/mageta/vcs_query"; - description = "eMail query-command to use vCards in mutt and Vim"; - license = licenses.mit; - maintainers = with maintainers; [ ma27 ]; - mainProgram = "vcs_query"; - }; -} diff --git a/pkgs/tools/misc/vector/Cargo.lock b/pkgs/tools/misc/vector/Cargo.lock index d7a5d8431210..015e4f8be028 100644 --- a/pkgs/tools/misc/vector/Cargo.lock +++ b/pkgs/tools/misc/vector/Cargo.lock @@ -248,9 +248,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "apache-avro" @@ -381,9 +381,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa" +checksum = "998282f8f49ccd6116b0ed8a4de0fbd3151697920e7c7533416d6e25e76434a7" dependencies = [ "brotli", "flate2", @@ -404,7 +404,7 @@ dependencies = [ "async-lock 2.8.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-lite", "slab", ] @@ -459,12 +459,12 @@ dependencies = [ "async-stream", "async-trait", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "fnv", "futures-util", "http 1.1.0", - "indexmap 2.5.0", + "indexmap 2.6.0", "mime", "multer", "num-traits", @@ -487,11 +487,11 @@ dependencies = [ "Inflector", "async-graphql-parser", "darling 0.20.8", - "proc-macro-crate 3.1.0", - "proc-macro2 1.0.86", + "proc-macro-crate 3.2.0", + "proc-macro2 1.0.87", "quote 1.0.37", "strum 0.26.2", - "syn 2.0.75", + "syn 2.0.79", "thiserror", ] @@ -513,8 +513,8 @@ version = "7.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69117c43c01d81a69890a9f5dd6235f2f027ca8d1ec62d6d3c5e01ca0edb4f2b" dependencies = [ - "bytes 1.7.1", - "indexmap 2.5.0", + "bytes 1.7.2", + "indexmap 2.6.0", "serde", "serde_json", ] @@ -565,7 +565,7 @@ dependencies = [ "futures-lite", "parking", "polling 3.3.0", - "rustix 0.38.31", + "rustix 0.38.37", "slab", "tracing 0.1.40", "waker-fn", @@ -599,8 +599,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbc1f1a75fd07f0f517322d103211f12d757658e91676def9a2e688774656c60" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", - "futures 0.3.30", + "bytes 1.7.2", + "futures 0.3.31", "http 0.2.9", "memchr", "nkeys 0.3.2", @@ -650,7 +650,7 @@ dependencies = [ "cfg-if", "event-listener 3.0.1", "futures-lite", - "rustix 0.38.31", + "rustix 0.38.37", "windows-sys 0.48.0", ] @@ -672,9 +672,9 @@ version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -689,7 +689,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.31", + "rustix 0.38.37", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -697,9 +697,9 @@ dependencies = [ [[package]] name = "async-stream" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" dependencies = [ "async-stream-impl", "futures-core", @@ -708,13 +708,13 @@ dependencies = [ [[package]] name = "async-stream-impl" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -725,13 +725,13 @@ checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" [[package]] name = "async-trait" -version = "0.1.82" +version = "0.1.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" +checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -765,8 +765,8 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", - "fastrand 2.0.1", + "bytes 1.7.2", + "fastrand 2.1.1", "hex", "http 0.2.9", "hyper 0.14.28", @@ -798,7 +798,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "http-body 0.4.5", "pin-project-lite", @@ -820,7 +820,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "fastrand 2.0.1", + "fastrand 2.1.1", "http 0.2.9", "percent-encoding", "tracing 0.1.40", @@ -866,8 +866,8 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", - "fastrand 2.0.1", + "bytes 1.7.2", + "fastrand 2.1.1", "http 0.2.9", "regex", "tracing 0.1.40", @@ -889,7 +889,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -911,7 +911,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -933,7 +933,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -959,7 +959,7 @@ dependencies = [ "aws-smithy-types", "aws-smithy-xml", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "http-body 0.4.5", "once_cell", @@ -985,8 +985,8 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", - "fastrand 2.0.1", + "bytes 1.7.2", + "fastrand 2.1.1", "http 0.2.9", "regex", "tracing 0.1.40", @@ -1031,7 +1031,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -1053,7 +1053,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -1075,7 +1075,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "regex", "tracing 0.1.40", @@ -1106,16 +1106,16 @@ dependencies = [ [[package]] name = "aws-sigv4" -version = "1.2.3" +version = "1.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5df1b0fa6be58efe9d4ccc257df0a53b89cd8909e86591a13ca54817c87517be" +checksum = "cc8db6904450bafe7473c6ca9123f88cc11089e41a025408f992db4e22d3be68" dependencies = [ "aws-credential-types", "aws-smithy-eventstream", "aws-smithy-http", "aws-smithy-runtime-api", "aws-smithy-types", - "bytes 1.7.1", + "bytes 1.7.2", "form_urlencoded", "hex", "hmac", @@ -1147,7 +1147,7 @@ checksum = "c5a373ec01aede3dd066ec018c1bc4e8f5dd11b2c11c59c8eef1a5c68101f397" dependencies = [ "aws-smithy-http", "aws-smithy-types", - "bytes 1.7.1", + "bytes 1.7.2", "crc32c", "crc32fast", "hex", @@ -1162,25 +1162,25 @@ dependencies = [ [[package]] name = "aws-smithy-eventstream" -version = "0.60.4" +version = "0.60.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6363078f927f612b970edf9d1903ef5cef9a64d1e8423525ebb1f0a1633c858" +checksum = "cef7d0a272725f87e51ba2bf89f8c21e4df61b9e49ae1ac367a6d69916ef7c90" dependencies = [ "aws-smithy-types", - "bytes 1.7.1", + "bytes 1.7.2", "crc32fast", ] [[package]] name = "aws-smithy-http" -version = "0.60.10" +version = "0.60.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01dbcb6e2588fd64cfb6d7529661b06466419e4c54ed1c62d6510d2d0350a728" +checksum = "5c8bc3e8fdc6b8d07d976e301c02fe553f72a39b7a9fea820e023268467d7ab6" dependencies = [ "aws-smithy-eventstream", "aws-smithy-runtime-api", "aws-smithy-types", - "bytes 1.7.1", + "bytes 1.7.2", "bytes-utils", "futures-core", "http 0.2.9", @@ -1213,16 +1213,16 @@ dependencies = [ [[package]] name = "aws-smithy-runtime" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ce695746394772e7000b39fe073095db6d45a862d0767dd5ad0ac0d7f8eb87" +checksum = "a065c0fe6fdbdf9f11817eb68582b2ab4aff9e9c39e986ae48f7ec576c6322db" dependencies = [ "aws-smithy-async", "aws-smithy-http", "aws-smithy-runtime-api", "aws-smithy-types", - "bytes 1.7.1", - "fastrand 2.0.1", + "bytes 1.7.2", + "fastrand 2.1.1", "h2 0.3.26", "http 0.2.9", "http-body 0.4.5", @@ -1246,7 +1246,7 @@ checksum = "e086682a53d3aa241192aa110fa8dfce98f2f5ac2ead0de84d41582c7e8fdb96" dependencies = [ "aws-smithy-async", "aws-smithy-types", - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "http 1.1.0", "pin-project-lite", @@ -1257,13 +1257,14 @@ dependencies = [ [[package]] name = "aws-smithy-types" -version = "1.2.4" +version = "1.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "273dcdfd762fae3e1650b8024624e7cd50e484e37abdab73a7a706188ad34543" +checksum = "147100a7bea70fa20ef224a6bad700358305f5dc0f84649c53769761395b355b" dependencies = [ "base64-simd", - "bytes 1.7.1", + "bytes 1.7.2", "bytes-utils", + "futures-core", "http 0.2.9", "http 1.1.0", "http-body 0.4.5", @@ -1276,6 +1277,8 @@ dependencies = [ "ryu", "serde", "time", + "tokio", + "tokio-util", ] [[package]] @@ -1297,7 +1300,7 @@ dependencies = [ "aws-smithy-async", "aws-smithy-runtime-api", "aws-smithy-types", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "tracing 0.1.40", ] @@ -1308,9 +1311,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.3.4", "bitflags 1.3.2", - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "http 0.2.9", "http-body 0.4.5", @@ -1323,7 +1326,7 @@ dependencies = [ "pin-project-lite", "rustversion", "serde", - "sync_wrapper", + "sync_wrapper 0.1.2", "tokio", "tower", "tower-layer", @@ -1331,13 +1334,40 @@ dependencies = [ ] [[package]] +name = "axum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +dependencies = [ + "async-trait", + "axum-core 0.4.5", + "bytes 1.7.2", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "sync_wrapper 1.0.1", + "tower", + "tower-layer", + "tower-service", +] + +[[package]] name = "axum-core" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" dependencies = [ "async-trait", - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "http 0.2.9", "http-body 0.4.5", @@ -1348,6 +1378,26 @@ dependencies = [ ] [[package]] +name = "axum-core" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +dependencies = [ + "async-trait", + "bytes 1.7.2", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper 1.0.1", + "tower-layer", + "tower-service", +] + +[[package]] name = "azure_core" version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1355,9 +1405,9 @@ checksum = "4ccd63c07d1fbfb3d4543d7ea800941bf5a30db1911b9b9e4db3b2c4210a434f" dependencies = [ "async-trait", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "dyn-clone", - "futures 0.3.30", + "futures 0.3.31", "getrandom 0.2.15", "http-types", "log", @@ -1366,7 +1416,7 @@ dependencies = [ "quick-xml", "rand 0.8.5", "reqwest 0.11.26", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "serde", "serde_json", "time", @@ -1383,7 +1433,7 @@ dependencies = [ "async-lock 3.4.0", "async-trait", "azure_core", - "futures 0.3.30", + "futures 0.3.31", "log", "oauth2", "pin-project", @@ -1404,8 +1454,8 @@ dependencies = [ "RustyXML", "async-trait", "azure_core", - "bytes 1.7.1", - "futures 0.3.30", + "bytes 1.7.2", + "futures 0.3.31", "hmac", "log", "serde", @@ -1426,8 +1476,8 @@ dependencies = [ "RustyXML", "azure_core", "azure_storage", - "bytes 1.7.1", - "futures 0.3.30", + "bytes 1.7.2", + "futures 0.3.31", "log", "serde", "serde_derive", @@ -1567,7 +1617,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afb15541e888071f64592c0b4364fdff21b7cb0a247f984296699351963a8721" dependencies = [ "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -1609,7 +1659,7 @@ dependencies = [ "async-channel", "async-lock 2.8.0", "async-task", - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-io", "futures-lite", "piper", @@ -1633,7 +1683,7 @@ checksum = "0aed08d3adb6ebe0eff737115056652670ae290f177759aac19c30456135f94c" dependencies = [ "base64 0.22.1", "bollard-stubs", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "futures-core", "futures-util", @@ -1641,7 +1691,7 @@ dependencies = [ "home", "http 1.1.0", "http-body-util", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-named-pipe", "hyper-rustls 0.26.0", "hyper-util", @@ -1674,7 +1724,7 @@ dependencies = [ "chrono", "serde", "serde_repr", - "serde_with 3.9.0", + "serde_with 3.11.0", ] [[package]] @@ -1695,17 +1745,17 @@ checksum = "f404657a7ea7b5249e36808dff544bc88a28f26e0ac40009f674b7a009d14be3" dependencies = [ "once_cell", "proc-macro-crate 2.0.0", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", "syn_derive", ] [[package]] name = "brotli" -version = "6.0.0" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" +checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -1761,7 +1811,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", - "regex-automata 0.4.4", + "regex-automata 0.4.8", "serde", ] @@ -1788,7 +1838,7 @@ version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7ec4c6f261935ad534c0c22dbef2201b45918860eb1c574b972bd213a76af61" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -1817,9 +1867,9 @@ dependencies = [ [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" dependencies = [ "serde", ] @@ -1830,7 +1880,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e47d3a8076e283f3acd27400535992edb3ba4b5bb72f8891ad8fbe7932a7d4b9" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "either", ] @@ -1841,13 +1891,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" [[package]] -name = "cargo_toml" -version = "0.20.4" +name = "cargo-lock" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad639525b1c67b6a298f378417b060fbc04618bea559482a8484381cce27d965" +checksum = "e11c675378efb449ed3ce8de78d75d0d80542fc98487c26aba28eb3b82feac72" dependencies = [ + "semver 1.0.23", "serde", - "toml", + "toml 0.7.8", + "url", ] [[package]] @@ -1968,9 +2020,9 @@ dependencies = [ [[package]] name = "chrono-tz" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93698b29de5e97ad0ae26447b344c482a7284c737d9ddc5f9e52b74a336671bb" +checksum = "cd6dd8046d00723a59a2f8c5f295c515b9bb9a331ee4f8f3d4dd49e428acd3b6" dependencies = [ "chrono", "chrono-tz-build", @@ -1980,12 +2032,11 @@ dependencies = [ [[package]] name = "chrono-tz-build" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c088aee841df9c3041febbb73934cfc39708749bf96dc827e3359cd39ef11b1" +checksum = "e94fea34d77a245229e7746bd2beb786cd2a896f306ff491fb8cecb3074b10a7" dependencies = [ "parse-zoneinfo", - "phf", "phf_codegen", ] @@ -2024,19 +2075,6 @@ checksum = "8d18b093eba54c9aaa1e3784d4361eb2ba944cf7d0a932a830132238f483e8d8" [[package]] name = "cidr-utils" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2315f7119b7146d6a883de6acd63ddf96071b5f79d9d98d2adaa84d749f6abf1" -dependencies = [ - "debug-helper", - "num-bigint", - "num-traits", - "once_cell", - "regex", -] - -[[package]] -name = "cidr-utils" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25c0a9fb70c2c2cc2a520aa259b1d1345650046a07df1b6da1d3cefcd327f43e" @@ -2059,9 +2097,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.16" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", "clap_derive", @@ -2069,9 +2107,9 @@ dependencies = [ [[package]] name = "clap-verbosity-flag" -version = "2.2.1" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63d19864d6b68464c59f7162c9914a0b569ddc2926b4a2d71afe62a9738eff53" +checksum = "e099138e1807662ff75e2cebe4ae2287add879245574489f9b1588eb5e5564ed" dependencies = [ "clap", "log", @@ -2079,9 +2117,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.15" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", @@ -2092,23 +2130,23 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.5.24" +version = "4.5.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d7db6eca8c205649e8d3ccd05aa5042b1800a784e56bc7c43524fde8abbfa9b" +checksum = "9646e2e245bf62f45d39a0f3f36f1171ad1ea0d6967fd114bca72cb02a8fcdfb" dependencies = [ "clap", ] [[package]] name = "clap_derive" -version = "4.5.13" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ "heck 0.5.0", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2140,17 +2178,16 @@ name = "codecs" version = "0.1.0" dependencies = [ "apache-avro", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "csv-core", "derivative", "dyn-clone", - "futures 0.3.30", + "futures 0.3.31", "indoc", "influxdb-line-protocol", "memchr", - "once_cell", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "prost 0.12.6", "prost-reflect", "regex", @@ -2219,7 +2256,7 @@ version = "4.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "memchr", "pin-project-lite", @@ -2229,9 +2266,9 @@ dependencies = [ [[package]] name = "community-id" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f6af96839c04974cf381e427792a99913ecf3f7bfb348f153dc8a8e5f9803ad" +checksum = "9c9e701443040497976ce85ba641ef0c4a6b319307b9d93718fc76bb77540bff" dependencies = [ "anyhow", "base64 0.21.7", @@ -2272,7 +2309,7 @@ dependencies = [ "directories", "serde", "thiserror", - "toml", + "toml 0.8.19", ] [[package]] @@ -2290,22 +2327,22 @@ dependencies = [ [[package]] name = "console-api" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a257c22cd7e487dd4a13d413beabc512c5052f0bc048db0da6a84c3d8a6142fd" +checksum = "86ed14aa9c9f927213c6e4f3ef75faaad3406134efe84ba2cb7983431d5f0931" dependencies = [ "futures-core", - "prost 0.12.6", - "prost-types 0.12.6", - "tonic", + "prost 0.13.3", + "prost-types 0.13.3", + "tonic 0.12.3", "tracing-core 0.1.32", ] [[package]] name = "console-subscriber" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c4cc54bae66f7d9188996404abdf7fdfa23034ef8e43478c8810828abad758" +checksum = "e2e3a111a37f3333946ebf9da370ba5c5577b18eb342ec683eb488dd21980302" dependencies = [ "console-api", "crossbeam-channel", @@ -2313,14 +2350,15 @@ dependencies = [ "futures-task", "hdrhistogram", "humantime", - "prost 0.12.6", - "prost-types 0.12.6", + "hyper-util", + "prost 0.13.3", + "prost-types 0.13.3", "serde", "serde_json", "thread_local", "tokio", "tokio-stream", - "tonic", + "tonic 0.12.3", "tracing 0.1.40", "tracing-core 0.1.32", "tracing-subscriber", @@ -2414,7 +2452,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8f48d60e5b4d2c53d5c2b1d8a58c849a70ae5e5509b08a48d047e3b65714a74" dependencies = [ - "rustc_version 0.4.0", + "rustc_version 0.4.1", ] [[package]] @@ -2437,7 +2475,7 @@ dependencies = [ "ciborium", "clap", "criterion-plot", - "futures 0.3.30", + "futures 0.3.31", "is-terminal", "itertools 0.10.5", "num-traits", @@ -2521,7 +2559,6 @@ checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ "bitflags 2.4.1", "crossterm_winapi", - "futures-core", "libc", "mio 0.8.11", "parking_lot", @@ -2531,6 +2568,23 @@ dependencies = [ ] [[package]] +name = "crossterm" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6" +dependencies = [ + "bitflags 2.4.1", + "crossterm_winapi", + "futures-core", + "mio 1.0.1", + "parking_lot", + "rustix 0.38.37", + "signal-hook", + "signal-hook-mio", + "winapi", +] + +[[package]] name = "crossterm_winapi" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2639,7 +2693,7 @@ dependencies = [ "curve25519-dalek-derive", "digest", "fiat-crypto", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "subtle", "zeroize", ] @@ -2650,9 +2704,9 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2683,7 +2737,7 @@ checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "strsim 0.10.0", "syn 1.0.109", @@ -2697,10 +2751,10 @@ checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" dependencies = [ "fnv", "ident_case", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "strsim 0.10.0", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2722,7 +2776,7 @@ checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ "darling_core 0.20.8", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2746,9 +2800,9 @@ dependencies = [ [[package]] name = "dashmap" -version = "6.0.1" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" dependencies = [ "cfg-if", "crossbeam-utils", @@ -2772,9 +2826,9 @@ checksum = "5c297a1c74b71ae29df00c3e22dd9534821d60eb9af5a0192823fa2acea70c2a" [[package]] name = "databend-client" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a2fc159e8f2059610799425725cd4c3d3e27e472892107693c1fd80ba47e61" +checksum = "88ca151573bc75cb433d69083e7c4b33287044506de785901b1670cf1d8cd4a2" dependencies = [ "async-trait", "log", @@ -2816,12 +2870,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63dfa964fe2a66f3fde91fc70b267fe193d822c7e603e2a675a49a7f46ad3f49" [[package]] -name = "debug-helper" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f578e8e2c440e7297e008bb5486a3a8a194775224bbc23729b0dbdfaeebf162e" - -[[package]] name = "der" version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2848,7 +2896,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -2859,9 +2907,9 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2880,9 +2928,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d48cda787f839151732d396ac69e3473923d54312c070ee21e9effcaa8ca0b1d" dependencies = [ "darling 0.20.8", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2892,7 +2940,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b" dependencies = [ "derive_builder_core", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -2902,9 +2950,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" dependencies = [ "convert_case 0.4.0", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "syn 1.0.109", ] @@ -3022,7 +3070,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7eefe29e8dd614abbee51a1616654cab123c4c56850ab83f5b7f1e1f9977bf7c" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "moka", "octseq", @@ -3177,7 +3225,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -3189,9 +3237,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -3201,9 +3249,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" dependencies = [ "once_cell", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -3221,9 +3269,9 @@ version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -3386,6 +3434,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] +name = "fancy-regex" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "531e46835a22af56d1e3b66f04844bed63158bc094a628bec1d321d9b4c44bf2" +dependencies = [ + "bit-set", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", +] + +[[package]] name = "fastrand" version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -3396,9 +3455,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" [[package]] name = "ff" @@ -3421,15 +3480,15 @@ name = "file-source" version = "0.1.0" dependencies = [ "bstr 1.10.0", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "crc", "criterion", - "dashmap 6.0.1", + "dashmap 6.1.0", "flate2", - "futures 0.3.30", + "futures 0.3.31", "glob", - "indexmap 2.5.0", + "indexmap 2.6.0", "libc", "quickcheck", "scan_fmt", @@ -3477,9 +3536,9 @@ checksum = "d52a7e408202050813e6f1d9addadcaafef3dca7530c7ddfb005d4081cce6779" [[package]] name = "flate2" -version = "1.0.33" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253" +checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" dependencies = [ "crc32fast", "miniz_oxide 0.8.0", @@ -3518,6 +3577,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] +name = "foldhash" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2" + +[[package]] name = "foreign-types" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -3574,9 +3639,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -3589,9 +3654,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -3599,15 +3664,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -3616,9 +3681,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -3637,38 +3702,38 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures 0.1.31", "futures-channel", @@ -3751,7 +3816,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d351469a584f3b3565e2e740d4da60839bddc4320dadd7d61da8bdd77ffb373b" dependencies = [ "arc-swap", - "futures 0.3.30", + "futures 0.3.31", "log", "reqwest 0.11.26", "serde", @@ -3771,7 +3836,7 @@ checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ "cfg-if", "dashmap 5.5.3", - "futures 0.3.30", + "futures 0.3.31", "futures-timer", "no-std-compat", "nonzero_ext", @@ -3822,7 +3887,7 @@ dependencies = [ "graphql-parser", "heck 0.4.1", "lazy_static", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "serde", "serde_json", @@ -3836,7 +3901,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83febfa838f898cfa73dfaa7a8eb69ff3409021ac06ee94cfb3d622f6eeb1a97" dependencies = [ "graphql_client_codegen", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "syn 1.0.109", ] @@ -3850,7 +3915,7 @@ dependencies = [ "serde_json", "strum 0.25.0", "strum_macros 0.25.3", - "tonic", + "tonic 0.11.0", "tonic-build 0.11.0", ] @@ -3862,7 +3927,7 @@ dependencies = [ "dashmap 5.5.3", "derive_builder", "enum_dispatch", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "greptime-proto", "parking_lot", @@ -3871,7 +3936,7 @@ dependencies = [ "snafu 0.7.5", "tokio", "tokio-stream", - "tonic", + "tonic 0.11.0", "tonic-build 0.9.2", "tower", ] @@ -3903,13 +3968,13 @@ version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "futures-core", "futures-sink", "futures-util", "http 0.2.9", - "indexmap 2.5.0", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -3923,12 +3988,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" dependencies = [ "atomic-waker", - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.5.0", + "indexmap 2.6.0", "slab", "tokio", "tokio-util", @@ -3972,7 +4037,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash 0.8.11", +] + +[[package]] +name = "hashbrown" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" +dependencies = [ "allocator-api2", + "equivalent", + "foldhash", ] [[package]] @@ -3996,7 +4071,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "headers-core", "http 0.2.9", "httpdate", @@ -4063,7 +4138,7 @@ version = "0.1.0-rc.1" source = "git+https://github.com/vectordotdev/heim.git?branch=update-nix#4925b53083587ccd695c4149836cc42e0e5e76fb" dependencies = [ "cfg-if", - "futures 0.3.30", + "futures 0.3.31", "glob", "heim-common", "heim-runtime", @@ -4143,7 +4218,7 @@ name = "heim-runtime" version = "0.1.0-rc.1" source = "git+https://github.com/vectordotdev/heim.git?branch=update-nix#4925b53083587ccd695c4149836cc42e0e5e76fb" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "futures-timer", "once_cell", "smol", @@ -4240,7 +4315,7 @@ version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "itoa", ] @@ -4251,7 +4326,7 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "fnv", "itoa", ] @@ -4262,7 +4337,7 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "http 0.2.9", "pin-project-lite", ] @@ -4273,7 +4348,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "http 1.1.0", ] @@ -4283,7 +4358,7 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-util", "http 1.1.0", "http-body 1.0.0", @@ -4350,7 +4425,7 @@ version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-core", "futures-util", @@ -4370,11 +4445,11 @@ dependencies = [ [[package]] name = "hyper" -version = "1.2.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a" +checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-util", "h2 0.4.6", @@ -4396,7 +4471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73b7d8abf35697b81a825e386fc151e0d503e8cb5fcb93cc8669c376dfd6f278" dependencies = [ "hex", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-util", "pin-project-lite", "tokio", @@ -4428,8 +4503,8 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc" dependencies = [ - "bytes 1.7.1", - "futures 0.3.30", + "bytes 1.7.2", + "futures 0.3.31", "headers", "http 0.2.9", "hyper 0.14.28", @@ -4463,7 +4538,7 @@ checksum = "a0bea761b46ae2b24eb4aef630d8d1c398157b6fc29e6350ecf090a0b70c952c" dependencies = [ "futures-util", "http 1.1.0", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-util", "log", "rustls 0.22.4", @@ -4487,12 +4562,25 @@ dependencies = [ ] [[package]] +name = "hyper-timeout" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3203a961e5c83b6f5498933e78b6b263e208c197b63e9c6c53cc82ffd3f63793" +dependencies = [ + "hyper 1.4.1", + "hyper-util", + "pin-project-lite", + "tokio", + "tower-service", +] + +[[package]] name = "hyper-tls" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "hyper 0.14.28", "native-tls", "tokio", @@ -4501,20 +4589,19 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.3" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-util", "http 1.1.0", "http-body 1.0.0", - "hyper 1.2.0", + "hyper 1.4.1", "pin-project-lite", "socket2 0.5.7", "tokio", - "tower", "tower-service", "tracing 0.1.40", ] @@ -4527,7 +4614,7 @@ checksum = "acf569d43fa9848e510358c07b80f4adf34084ddc28c6a4a651ee8474c070dcc" dependencies = [ "hex", "http-body-util", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-util", "pin-project-lite", "tokio", @@ -4617,12 +4704,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" +checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.0", "serde", ] @@ -4664,7 +4751,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22fa7ee6be451ea0b1912b962c91c8380835e97cf1584a77e18264e908448dcb" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "log", "nom", "smallvec", @@ -4750,9 +4837,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708" dependencies = [ "serde", ] @@ -4773,15 +4860,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", - "rustix 0.38.31", + "rustix 0.38.37", "windows-sys 0.48.0", ] [[package]] name = "is_ci" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb" +checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" [[package]] name = "itertools" @@ -4893,7 +4980,7 @@ name = "k8s-e2e-tests" version = "0.1.0" dependencies = [ "env_logger 0.11.5", - "futures 0.3.30", + "futures 0.3.31", "indoc", "k8s-openapi 0.16.0", "k8s-test-framework", @@ -4912,7 +4999,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d9455388f4977de4d0934efa9f7d36296295537d774574113a20f6082de03da" dependencies = [ "base64 0.13.1", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "serde", "serde-value", @@ -4926,7 +5013,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd990069640f9db34b3b0f7a1afc62a05ffaa3be9b66aa3c313f58346df7f788" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "http 0.2.9", "percent-encoding", @@ -5004,16 +5091,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "544339f1665488243f79080441cacb09c997746fd763342303e66eebb9d3ba13" dependencies = [ "base64 0.20.0", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "dirs-next", "either", - "futures 0.3.30", + "futures 0.3.31", "http 0.2.9", "http-body 0.4.5", "hyper 0.14.28", "hyper-openssl", - "hyper-timeout", + "hyper-timeout 0.4.1", "jsonpath_lib", "k8s-openapi 0.18.0", "kube-core", @@ -5059,7 +5146,7 @@ dependencies = [ "async-trait", "backoff", "derivative", - "futures 0.3.30", + "futures 0.3.31", "json-patch", "k8s-openapi 0.18.0", "kube-client", @@ -5108,7 +5195,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "108dc8f5dabad92c65a03523055577d847f5dcc00f3e7d3a68bc4d48e01d8fe1" dependencies = [ - "regex-automata 0.4.4", + "regex-automata 0.4.8", ] [[package]] @@ -5144,9 +5231,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libflate" @@ -5213,9 +5300,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "listenfd" @@ -5260,7 +5347,7 @@ checksum = "879777f0cc6f3646a044de60e4ab98c75617e3f9580f7a2032e6ad7ea0cd3054" name = "loki-logproto" version = "0.1.0" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "prost 0.12.6", "prost-build 0.12.6", @@ -5270,11 +5357,11 @@ dependencies = [ [[package]] name = "lru" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904" +checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.0", ] [[package]] @@ -5416,9 +5503,9 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memmap2" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" +checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" dependencies = [ "libc", ] @@ -5452,9 +5539,9 @@ dependencies = [ [[package]] name = "metrics" -version = "0.22.3" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2be3cbd384d4e955b231c895ce10685e3d8260c5ccffae898c96c723b0772835" +checksum = "884adb57038347dfbaf2d5065887b6cf4312330dc8e94bc30a1a839bd79d3261" dependencies = [ "ahash 0.8.11", "portable-atomic", @@ -5462,11 +5549,11 @@ dependencies = [ [[package]] name = "metrics-tracing-context" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb791d015f8947acf5a7f62bd28d00f289bb7ea98cfbe3ffec1d061eee12df12" +checksum = "62a6a1f7141f1d9bc7a886b87536bbfc97752e08b369e1e0453a9acfab5f5da4" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "itoa", "lockfree-object-pool", "metrics", @@ -5479,18 +5566,18 @@ dependencies = [ [[package]] name = "metrics-util" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b07a5eb561b8cbc16be2d216faf7757f9baf3bfb94dbb0fae3df8387a5bb47f" +checksum = "4259040465c955f9f2f1a4a8a16dc46726169bca0f88e8fb2dbeced487c3e828" dependencies = [ "aho-corasick", "crossbeam-epoch", "crossbeam-utils", "hashbrown 0.14.5", - "indexmap 2.5.0", + "indexmap 2.6.0", "metrics", "num_cpus", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "quanta", "radix_trie", "sketches-ddsketch", @@ -5556,6 +5643,7 @@ checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" dependencies = [ "hermit-abi", "libc", + "log", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -5596,10 +5684,10 @@ dependencies = [ "itertools 0.12.1", "once_cell", "proc-macro-error", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "regex", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -5624,7 +5712,7 @@ dependencies = [ "once_cell", "parking_lot", "quanta", - "rustc_version 0.4.0", + "rustc_version 0.4.1", "smallvec", "tagptr", "thiserror", @@ -5685,7 +5773,7 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a15d522be0a9c3e46fd2632e272d178f56387bdb5c9fbb3a36c649062e9b5219" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "encoding_rs", "futures-util", "http 1.1.0", @@ -5742,7 +5830,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ebbe97acce52d06aebed4cd4a87c0941f4b2519b59b82b4feb5bd0ce003dfd" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "itertools 0.13.0", "ndarray", "noisy_float", @@ -5827,9 +5915,9 @@ dependencies = [ [[package]] name = "nkeys" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2de02c883c178998da8d0c9816a88ef7ef5c58314dd1585c97a4a5679f3ab337" +checksum = "9f49e787f4c61cbd0f9320b31cc26e58719f6aa5068e34697dd3aea361412fe3" dependencies = [ "data-encoding", "ed25519", @@ -5842,11 +5930,11 @@ dependencies = [ [[package]] name = "no-proxy" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b41e7479dc3678ea792431e04bafd62a31879035f4a5fa707602df062f58c77" +checksum = "6d688d11967f7f52e273fb8f8f07ecb094254fed630e22a0cab60cc98047a5db" dependencies = [ - "cidr-utils 0.5.11", + "cidr-utils", "serde", ] @@ -6066,7 +6154,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -6078,9 +6166,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro-crate 1.3.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -6089,10 +6177,10 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2 1.0.86", + "proc-macro-crate 3.2.0", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -6154,7 +6242,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ed2eaec452d98ccc1c615dd843fd039d9445f2fb4da114ee7e6af5fcb68be98" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "serde", "smallvec", ] @@ -6170,9 +6258,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" [[package]] name = "onig" @@ -6218,10 +6306,10 @@ dependencies = [ "async-trait", "backon", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "flagset", - "futures 0.3.30", + "futures 0.3.31", "getrandom 0.2.15", "http 0.2.9", "log", @@ -6261,7 +6349,7 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_plain", - "serde_with 3.9.0", + "serde_with 3.11.0", "sha2", "subtle", "thiserror", @@ -6289,9 +6377,9 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -6326,13 +6414,13 @@ dependencies = [ name = "opentelemetry-proto" version = "0.1.0" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "hex", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "prost 0.12.6", "prost-build 0.12.6", - "tonic", + "tonic 0.11.0", "tonic-build 0.11.0", "vector-core", "vector-lookup", @@ -6356,9 +6444,9 @@ dependencies = [ [[package]] name = "ordered-float" -version = "4.2.2" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a91171844676f8c7990ce64959210cd2eaef32c2612c50f9fae9f8aaa6065a6" +checksum = "44d501f1a72f71d3c063a6bbc8f7271fa73aa09fe5d6283b6571e2ed176a2537" dependencies = [ "num-traits", ] @@ -6403,11 +6491,12 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "owo-colors" -version = "4.0.0" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" +checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" dependencies = [ - "supports-color", + "supports-color 2.1.0", + "supports-color 3.0.1", ] [[package]] @@ -6571,9 +6660,9 @@ checksum = "1381c29a877c6d34b8c176e734f35d7f7f5b3adaefe940cb4d1bb7af94678e2e" dependencies = [ "pest", "pest_meta", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -6594,7 +6683,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.5.0", + "indexmap 2.6.0", ] [[package]] @@ -6646,22 +6735,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +checksum = "baf123a161dde1e524adf36f90bc5d8d3462824a9c43553ad07a8183161189ec" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -6695,7 +6784,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand 2.1.1", "futures-io", ] @@ -6785,7 +6874,7 @@ dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite", - "rustix 0.38.31", + "rustix 0.38.37", "tracing 0.1.40", "windows-sys 0.48.0", ] @@ -6829,7 +6918,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1de0ea6504e07ca78355a6fb88ad0f36cafe9e696cbc6717f16a207f3a60be72" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "openssl", "tokio", "tokio-openssl", @@ -6844,7 +6933,7 @@ checksum = "acda0ebdebc28befa84bee35e651e4c5f09073d668c7aed4cf7e23c3cda84b23" dependencies = [ "base64 0.22.1", "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "fallible-iterator", "hmac", "md-5", @@ -6856,11 +6945,11 @@ dependencies = [ [[package]] name = "postgres-types" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02048d9e032fb3cc3413bbf7b83a15d84a5d419778e2628751896d856498eee9" +checksum = "f66ea23a2d0e5734297357705193335e0a957696f34bed2f2faefacb2fec336f" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "fallible-iterator", "postgres-protocol", @@ -6929,7 +7018,7 @@ version = "0.1.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "syn 1.0.109", ] @@ -6939,8 +7028,8 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ - "proc-macro2 1.0.86", - "syn 2.0.75", + "proc-macro2 1.0.87", + "syn 2.0.79", ] [[package]] @@ -6987,11 +7076,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" dependencies = [ - "toml_edit 0.21.1", + "toml_edit 0.22.20", ] [[package]] @@ -7001,7 +7090,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", "version_check", @@ -7013,7 +7102,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "version_check", ] @@ -7041,9 +7130,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" dependencies = [ "unicode-ident", ] @@ -7052,7 +7141,7 @@ dependencies = [ name = "prometheus-parser" version = "0.1.0" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "nom", "num_enum 0.7.3", "prost 0.12.6", @@ -7076,7 +7165,7 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", "rusty-fork", "tempfile", "unarray", @@ -7088,7 +7177,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cf16337405ca084e9c78985114633b6827711d22b9e6ef6c6c0d665eb3f0b6e" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -7099,7 +7188,7 @@ version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost-derive 0.11.9", ] @@ -7109,18 +7198,18 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "prost-derive 0.12.6", ] [[package]] name = "prost" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13db3d3fde688c61e2446b4d843bc27a7e8af269a69440c0308021dc92333cc" +checksum = "7b0487d90e047de87f984913713b85c601c05609aad5b0df4b4573fbf69aa13f" dependencies = [ - "bytes 1.7.1", - "prost-derive 0.13.1", + "bytes 1.7.2", + "prost-derive 0.13.3", ] [[package]] @@ -7129,7 +7218,7 @@ version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "heck 0.4.1", "itertools 0.10.5", "lazy_static", @@ -7151,7 +7240,7 @@ version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "heck 0.5.0", "itertools 0.12.1", "log", @@ -7162,7 +7251,7 @@ dependencies = [ "prost 0.12.6", "prost-types 0.12.6", "regex", - "syn 2.0.75", + "syn 2.0.79", "tempfile", ] @@ -7174,7 +7263,7 @@ checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" dependencies = [ "anyhow", "itertools 0.10.5", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -7187,34 +7276,34 @@ checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", "itertools 0.12.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] name = "prost-derive" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18bec9b0adc4eba778b33684b7ba3e7137789434769ee3ce3930463ef904cfca" +checksum = "e9552f850d5f0964a4e4d0bf306459ac29323ddfbae05e35a7c0d35cb0803cc5" dependencies = [ "anyhow", "itertools 0.13.0", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] name = "prost-reflect" -version = "0.14.0" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55a6a9143ae25c25fa7b6a48d6cc08b10785372060009c25140a4e7c340e95af" +checksum = "4b7535b02f0e5efe3e1dbfcb428be152226ed0c66cad9541f2274c8ba8d4cd40" dependencies = [ "base64 0.22.1", "once_cell", - "prost 0.13.1", - "prost-types 0.13.1", + "prost 0.13.3", + "prost-types 0.13.3", "serde", "serde-value", ] @@ -7239,11 +7328,11 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.13.1" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee5168b05f49d4b0ca581206eb14a7b22fafd963efe729ac48eb03266e25cc2" +checksum = "4759aa0d3a6232fb8dbdb97b61de2c20047c68aca932c7ed76da9d788508d670" dependencies = [ - "prost 0.13.1", + "prost 0.13.3", ] [[package]] @@ -7276,7 +7365,7 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -7299,12 +7388,12 @@ checksum = "d7f3541ff84e39da334979ac4bf171e0f277f4f782603aeae65bf5795dc7275a" dependencies = [ "async-trait", "bit-vec", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "crc", "data-url", "flate2", - "futures 0.3.30", + "futures 0.3.31", "futures-io", "futures-timer", "log", @@ -7384,7 +7473,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -7404,7 +7493,7 @@ version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", ] [[package]] @@ -7528,7 +7617,7 @@ dependencies = [ "bitflags 2.4.1", "cassowary", "compact_str", - "crossterm", + "crossterm 0.27.0", "itertools 0.13.0", "lru", "paste", @@ -7635,9 +7724,9 @@ checksum = "c580d9cbbe1d1b479e8d67cf9daf6a62c957e6846048408b80b43ac3f6af84cd" dependencies = [ "arc-swap", "async-trait", - "bytes 1.7.1", + "bytes 1.7.2", "combine 4.6.6", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "itoa", "native-tls", @@ -7691,14 +7780,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.6" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" +checksum = "38200e5ee88914975b69f657f0801b6f6dccafd44fd9326302a4aaeecfacb1d8" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.4", - "regex-syntax 0.8.2", + "regex-automata 0.4.8", + "regex-syntax 0.8.5", ] [[package]] @@ -7712,13 +7801,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.4" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a" +checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.5", ] [[package]] @@ -7741,15 +7830,15 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "relative-path" -version = "1.9.0" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca" +checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" [[package]] name = "rend" @@ -7767,7 +7856,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78bf93c4af7a8bb7d879d51cebe797356ff10ae8516ace542b5182d9dcac10b2" dependencies = [ "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "encoding_rs", "futures-core", "futures-util", @@ -7790,7 +7879,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", @@ -7813,13 +7902,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" dependencies = [ "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "futures-util", "http 1.1.0", "http-body 1.0.0", "http-body-util", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-rustls 0.26.0", "hyper-util", "ipnet", @@ -7836,7 +7925,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "tokio", "tokio-rustls 0.25.0", "tokio-util", @@ -7892,7 +7981,7 @@ checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" dependencies = [ "bitvec", "bytecheck", - "bytes 1.7.1", + "bytes 1.7.2", "hashbrown 0.12.3", "ptr_meta", "rend", @@ -7908,7 +7997,7 @@ version = "0.7.45" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -7991,31 +8080,31 @@ dependencies = [ [[package]] name = "rstest" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936" +checksum = "0a2c585be59b6b5dd66a9d2084aa1d8bd52fbdb806eafdeffb52791147862035" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "futures-timer", "rstest_macros", - "rustc_version 0.4.0", + "rustc_version 0.4.1", ] [[package]] name = "rstest_macros" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42" +checksum = "825ea780781b15345a146be27eaefb05085e337e869bff01b4306a4fd4a9ad5a" dependencies = [ "cfg-if", "glob", - "proc-macro-crate 3.1.0", - "proc-macro2 1.0.86", + "proc-macro-crate 3.2.0", + "proc-macro2 1.0.87", "quote 1.0.37", "regex", "relative-path", - "rustc_version 0.4.0", - "syn 2.0.75", + "rustc_version 0.4.1", + "syn 2.0.79", "unicode-ident", ] @@ -8025,7 +8114,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1568e15fab2d546f940ed3a21f48bbbd1c494c90c99c4481339364a497f94a9" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "flume 0.11.0", "futures-util", "log", @@ -8045,7 +8134,7 @@ checksum = "06676aec5ccb8fc1da723cc8c0f9a46549f21ebb8753d3915c6c41db1e7f1dc4" dependencies = [ "arrayvec", "borsh", - "bytes 1.7.1", + "bytes 1.7.2", "num-traits", "rand 0.8.5", "rkyv", @@ -8076,9 +8165,9 @@ dependencies = [ [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver 1.0.23", ] @@ -8109,14 +8198,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.31" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.4.1", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.14", "windows-sys 0.52.0", ] @@ -8302,11 +8391,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -8410,9 +8499,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -8423,7 +8512,7 @@ version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93b4e415d6bff989e5e48649ca9b8b4d4997cb069a0c90a84bfd38c7df5e3968" dependencies = [ - "toml", + "toml 0.8.19", ] [[package]] @@ -8458,13 +8547,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -8473,18 +8562,18 @@ version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "itoa", "memchr", "ryu", @@ -8536,9 +8625,9 @@ version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -8574,19 +8663,19 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.9.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cecfa94848272156ea67b2b1a53f20fc7bc638c4a46d2f8abde08f05f4b857" +checksum = "8e28bdad6db2b8340e449f7108f020b3b092e8583a9e3fb82713e1d4e71fe817" dependencies = [ "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.5.0", + "indexmap 2.6.0", "serde", "serde_derive", "serde_json", - "serde_with_macros 3.9.0", + "serde_with_macros 3.11.0", "time", ] @@ -8597,21 +8686,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" dependencies = [ "darling 0.13.4", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] [[package]] name = "serde_with_macros" -version = "3.9.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8fee4991ef4f274617a51ad4af30519438dacb2f56ac773b08a1922ff743350" +checksum = "9d846214a9854ef724f3da161b426242d8de7c1fc7de2f89bb1efcb154dca79d" dependencies = [ "darling 0.20.8", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -8632,7 +8721,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "itoa", "ryu", "serde", @@ -8713,12 +8802,13 @@ dependencies = [ [[package]] name = "signal-hook-mio" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" +checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" dependencies = [ "libc", "mio 0.8.11", + "mio 1.0.1", "signal-hook", ] @@ -8771,9 +8861,9 @@ dependencies = [ [[package]] name = "similar-asserts" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e041bb827d1bfca18f213411d51b665309f1afb37a04a5d1464530e13779fc0f" +checksum = "cfe85670573cd6f0fa97940f26e7e6601213c3b0555246c24234131f88c5709e" dependencies = [ "console", "similar", @@ -8876,7 +8966,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "990079665f075b699031e9c08fd3ab99be5029b96f3b78dc0709e8f77e4efebf" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -8888,9 +8978,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "080c44971436b1af15d6f61ddd8b543995cf63ab8e677d46b00cc06f4ef267a0" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -8960,7 +9050,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ff9eaf853dec4c8802325d8b6d3dffa86cc707fd7a1a4cdbf416e13b061787a" dependencies = [ "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9053,10 +9143,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" dependencies = [ "heck 0.4.1", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "rustversion", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9066,10 +9156,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ "heck 0.5.0", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "rustversion", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9089,6 +9179,15 @@ dependencies = [ ] [[package]] +name = "supports-color" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8775305acf21c96926c900ad056abeef436701108518cf890020387236ac5a77" +dependencies = [ + "is_ci", +] + +[[package]] name = "syn" version = "0.15.44" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -9105,18 +9204,18 @@ version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "unicode-ident", ] [[package]] name = "syn" -version = "2.0.75" +version = "2.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9" +checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "unicode-ident", ] @@ -9128,9 +9227,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1329189c02ff984e9736652b1631330da25eaa6bc639089ed4915d25446cbe7b" dependencies = [ "proc-macro-error", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9140,6 +9239,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" [[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" + +[[package]] name = "syslog" version = "6.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -9214,20 +9319,20 @@ dependencies = [ [[package]] name = "temp-dir" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f227968ec00f0e5322f9b8173c7a0cbcff6181a0a5b28e9892491c286277231" +checksum = "bc1ee6eef34f12f765cb94725905c6312b6610ab2b0940889cfe58dae7bc3c72" [[package]] name = "tempfile" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", - "fastrand 2.0.1", + "fastrand 2.1.1", "once_cell", - "rustix 0.38.31", + "rustix 0.38.37", "windows-sys 0.59.0", ] @@ -9253,12 +9358,12 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ - "rustix 0.38.31", - "windows-sys 0.48.0", + "rustix 0.38.37", + "windows-sys 0.59.0", ] [[package]] @@ -9281,22 +9386,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9404,7 +9509,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", - "bytes 1.7.1", + "bytes 1.7.2", "libc", "mio 1.0.1", "parking_lot", @@ -9443,9 +9548,9 @@ version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9460,11 +9565,10 @@ dependencies = [ [[package]] name = "tokio-openssl" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ffab79df67727f6acf57f1ff743091873c24c579b1e2ce4d8f53e47ded4d63d" +checksum = "59df6849caa43bb7567f9a36f863c447d95a11d5903c9cc334ba32576a27eadd" dependencies = [ - "futures-util", "openssl", "openssl-sys", "tokio", @@ -9472,13 +9576,13 @@ dependencies = [ [[package]] name = "tokio-postgres" -version = "0.7.11" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03adcf0147e203b6032c0b2d30be1415ba03bc348901f3ff1cc0df6a733e60c3" +checksum = "3b5d3742945bc7d7f210693b0c58ae542c6fd47b17adbbda0885f3dcb34a6bdb" dependencies = [ "async-trait", "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "fallible-iterator", "futures-channel", "futures-util", @@ -9530,9 +9634,9 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1" dependencies = [ "futures-core", "pin-project-lite", @@ -9547,7 +9651,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2468baabc3311435b55dd935f702f42cd1b8abb7e754fb7dfb16bd36aa88f9f7" dependencies = [ "async-stream", - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "tokio", "tokio-stream", @@ -9583,7 +9687,7 @@ name = "tokio-util" version = "0.7.11" source = "git+https://github.com/vectordotdev/tokio?branch=tokio-util-0.7.11-framed-read-continue-on-error#156dcaacdfa53f530a39eb91b1ceb731a9908986" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "futures-io", "futures-sink", @@ -9594,6 +9698,18 @@ dependencies = [ [[package]] name = "toml" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.19.15", +] + +[[package]] +name = "toml" version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" @@ -9619,7 +9735,9 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", + "serde", + "serde_spanned", "toml_datetime", "winnow 0.5.18", ] @@ -9630,18 +9748,7 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.5.0", - "toml_datetime", - "winnow 0.5.18", -] - -[[package]] -name = "toml_edit" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" -dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "toml_datetime", "winnow 0.5.18", ] @@ -9652,7 +9759,7 @@ version = "0.22.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" dependencies = [ - "indexmap 2.5.0", + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", @@ -9667,15 +9774,15 @@ checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" dependencies = [ "async-stream", "async-trait", - "axum", + "axum 0.6.20", "base64 0.21.7", - "bytes 1.7.1", + "bytes 1.7.2", "flate2", "h2 0.3.26", "http 0.2.9", "http-body 0.4.5", "hyper 0.14.28", - "hyper-timeout", + "hyper-timeout 0.4.1", "percent-encoding", "pin-project", "prost 0.12.6", @@ -9693,13 +9800,43 @@ dependencies = [ ] [[package]] +name = "tonic" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" +dependencies = [ + "async-stream", + "async-trait", + "axum 0.7.5", + "base64 0.22.1", + "bytes 1.7.2", + "h2 0.4.6", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.4.1", + "hyper-timeout 0.5.1", + "hyper-util", + "percent-encoding", + "pin-project", + "prost 0.13.3", + "socket2 0.5.7", + "tokio", + "tokio-stream", + "tower", + "tower-layer", + "tower-service", + "tracing 0.1.40", +] + +[[package]] name = "tonic-build" version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6fdaae4c2c638bb70fe42803a26fbd6fc6ac8c72f5c59f67ecc2a2dcabf4b07" dependencies = [ "prettyplease 0.1.25", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "prost-build 0.11.9", "quote 1.0.37", "syn 1.0.109", @@ -9712,10 +9849,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be4ef6dd70a610078cb4e338a0f79d06bc759ff1b22d2120c2ff02ae264ba9c2" dependencies = [ "prettyplease 0.2.15", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "prost-build 0.12.6", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9747,7 +9884,7 @@ dependencies = [ "async-compression", "base64 0.21.7", "bitflags 2.4.1", - "bytes 1.7.1", + "bytes 1.7.2", "futures-core", "futures-util", "http 0.2.9", @@ -9816,9 +9953,9 @@ version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -9856,7 +9993,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "futures-task", "pin-project", "tracing 0.1.40", @@ -9876,7 +10013,7 @@ name = "tracing-limit" version = "0.1.0" dependencies = [ "criterion", - "dashmap 6.0.1", + "dashmap 6.1.0", "mock_instant", "tracing 0.1.40", "tracing-core 0.1.32", @@ -9929,7 +10066,7 @@ name = "tracing-tower" version = "0.1.0" source = "git+https://github.com/tokio-rs/tracing?rev=e0642d949891546a3bb7e47080365ee7274f05cd#e0642d949891546a3bb7e47080365ee7274f05cd" dependencies = [ - "futures 0.3.30", + "futures 0.3.31", "tower-service", "tracing 0.2.0", "tracing-futures 0.3.0", @@ -10008,7 +10145,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" dependencies = [ "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "data-encoding", "http 0.2.9", "httparse", @@ -10027,7 +10164,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" dependencies = [ "byteorder", - "bytes 1.7.1", + "bytes 1.7.2", "data-encoding", "http 1.1.0", "httparse", @@ -10055,7 +10192,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89851716b67b937e393b3daa8423e67ddfc4bbbf1654bcf05488e95e0828db0c" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "syn 1.0.109", ] @@ -10075,9 +10212,9 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f03ca4cb38206e2bef0700092660bb74d696f808514dae47fa1467cbfe26e96e" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -10105,9 +10242,9 @@ version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70b20a22c42c8f1cd23ce5e34f165d4d37038f5b663ad20fb6adbdf029172483" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] @@ -10162,9 +10299,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" @@ -10325,13 +10462,12 @@ dependencies = [ "dunce", "glob", "hex", - "indexmap 2.5.0", + "indexmap 2.6.0", "indicatif", "itertools 0.13.0", "log", - "once_cell", "os_info", - "owo-colors 4.0.0", + "owo-colors 4.1.0", "paste", "regex", "reqwest 0.11.26", @@ -10340,12 +10476,12 @@ dependencies = [ "serde_yaml 0.9.34+deprecated", "sha2", "tempfile", - "toml", + "toml 0.8.19", ] [[package]] name = "vector" -version = "0.41.1" +version = "0.42.0" dependencies = [ "apache-avro", "approx", @@ -10377,7 +10513,7 @@ dependencies = [ "aws-smithy-runtime-api", "aws-smithy-types", "aws-types", - "axum", + "axum 0.6.20", "azure_core", "azure_identity", "azure_storage", @@ -10385,16 +10521,16 @@ dependencies = [ "base64 0.22.1", "bloomy", "bollard", - "bytes 1.7.1", + "bytes 1.7.2", "bytesize", "chrono", "chrono-tz", - "cidr-utils 0.6.1", + "cidr-utils", "clap", "colored", "console-subscriber", "criterion", - "crossterm", + "crossterm 0.28.1", "csv", "databend-client", "derivative", @@ -10406,7 +10542,7 @@ dependencies = [ "exitcode", "fakedata", "flate2", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "glob", "goauth", @@ -10427,7 +10563,7 @@ dependencies = [ "hyper 0.14.28", "hyper-openssl", "hyper-proxy", - "indexmap 2.5.0", + "indexmap 2.6.0", "indoc", "infer 0.16.0", "inventory", @@ -10448,17 +10584,16 @@ dependencies = [ "mlua", "mongodb", "nix 0.26.2", - "nkeys 0.4.3", + "nkeys 0.4.4", "nom", "notify", "num-format", "number_prefix", - "once_cell", "opendal", "openssl", "openssl-probe", "openssl-src", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "paste", "percent-encoding", "pin-project", @@ -10490,7 +10625,7 @@ dependencies = [ "serde-toml-merge", "serde_bytes", "serde_json", - "serde_with 3.9.0", + "serde_with 3.11.0", "serde_yaml 0.9.34+deprecated", "similar-asserts", "smallvec", @@ -10511,8 +10646,8 @@ dependencies = [ "tokio-test", "tokio-tungstenite 0.20.1", "tokio-util", - "toml", - "tonic", + "toml 0.8.19", + "tonic 0.11.0", "tonic-build 0.11.0", "tower", "tower-http", @@ -10542,7 +10677,7 @@ dependencies = [ "anyhow", "chrono", "clap", - "futures 0.3.30", + "futures 0.3.31", "graphql_client", "indoc", "reqwest 0.11.26", @@ -10563,7 +10698,7 @@ dependencies = [ "async-stream", "async-trait", "bytecheck", - "bytes 1.7.1", + "bytes 1.7.2", "clap", "crc32fast", "criterion", @@ -10571,14 +10706,13 @@ dependencies = [ "crossbeam-utils", "derivative", "fslock", - "futures 0.3.30", + "futures 0.3.31", "hdrhistogram", "memmap2", "metrics", "metrics-tracing-context", "metrics-util", "num-traits", - "once_cell", "paste", "pin-project", "proptest", @@ -10606,16 +10740,16 @@ name = "vector-common" version = "0.1.0" dependencies = [ "async-stream", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "chrono-tz", "crossbeam-utils", "derivative", - "futures 0.3.30", - "indexmap 2.5.0", + "futures 0.3.31", + "indexmap 2.6.0", "metrics", "nom", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "paste", "pin-project", "quickcheck", @@ -10643,15 +10777,15 @@ dependencies = [ "chrono-tz", "encoding_rs", "http 0.2.9", - "indexmap 2.5.0", + "indexmap 2.6.0", "inventory", "no-proxy", "num-traits", "serde", "serde_json", - "serde_with 3.9.0", + "serde_with 3.11.0", "snafu 0.7.5", - "toml", + "toml 0.8.19", "tracing 0.1.40", "url", "vector-config-common", @@ -10666,12 +10800,11 @@ version = "0.1.0" dependencies = [ "convert_case 0.6.0", "darling 0.20.8", - "once_cell", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "serde", "serde_json", - "syn 2.0.75", + "syn 2.0.79", "tracing 0.1.40", ] @@ -10680,11 +10813,11 @@ name = "vector-config-macros" version = "0.1.0" dependencies = [ "darling 0.20.8", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", "serde", "serde_derive_internals", - "syn 2.0.75", + "syn 2.0.79", "vector-config", "vector-config-common", ] @@ -10697,7 +10830,7 @@ dependencies = [ "async-trait", "base64 0.22.1", "bitmask-enum", - "bytes 1.7.1", + "bytes 1.7.2", "chrono", "chrono-tz", "criterion", @@ -10709,12 +10842,12 @@ dependencies = [ "enumflags2", "env-test-util", "float_eq", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "headers", "http 0.2.9", "hyper-proxy", - "indexmap 2.5.0", + "indexmap 2.6.0", "ipnet", "metrics", "metrics-tracing-context", @@ -10724,9 +10857,8 @@ dependencies = [ "ndarray-stats", "no-proxy", "noisy_float", - "once_cell", "openssl", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "parking_lot", "pin-project", "proptest", @@ -10744,7 +10876,7 @@ dependencies = [ "security-framework", "serde", "serde_json", - "serde_with 3.9.0", + "serde_with 3.11.0", "serde_yaml 0.9.34+deprecated", "similar-asserts", "smallvec", @@ -10755,8 +10887,8 @@ dependencies = [ "tokio-stream", "tokio-test", "tokio-util", - "toml", - "tonic", + "toml 0.8.19", + "tonic 0.11.0", "tracing 0.1.40", "tracing-core 0.1.32", "tracing-subscriber", @@ -10809,7 +10941,7 @@ name = "vector-stream" version = "0.1.0" dependencies = [ "async-stream", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "pin-project", "proptest", @@ -10831,7 +10963,7 @@ dependencies = [ "async-graphql", "chrono", "colored", - "futures 0.3.30", + "futures 0.3.31", "futures-util", "glob", "portpicker", @@ -10890,7 +11022,7 @@ dependencies = [ name = "vector-vrl-web-playground" version = "0.1.0" dependencies = [ - "cargo_toml", + "cargo-lock", "enrichment", "getrandom 0.2.15", "gloo-utils", @@ -10915,9 +11047,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "vrl" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78418b391bfef6a37127f5d7283a46b2a23e19b676640841fcf334e40740d919" +checksum = "5c22ec61cbd43e563df185521f9a2fb2f42f6ab96604a574c82f6564049fb431" dependencies = [ "aes", "ansi_term", @@ -10925,7 +11057,7 @@ dependencies = [ "base16", "base62", "base64 0.22.1", - "bytes 1.7.1", + "bytes 1.7.2", "cbc", "cfb-mode", "cfg-if", @@ -10933,7 +11065,7 @@ dependencies = [ "charset", "chrono", "chrono-tz", - "cidr-utils 0.6.1", + "cidr-utils", "clap", "codespan-reporting", "community-id", @@ -10947,6 +11079,7 @@ dependencies = [ "domain", "dyn-clone", "exitcode", + "fancy-regex", "flate2", "grok", "hex", @@ -10954,7 +11087,7 @@ dependencies = [ "hostname 0.4.0", "iana-time-zone", "idna 0.5.0", - "indexmap 2.5.0", + "indexmap 2.6.0", "indoc", "influxdb-line-protocol", "itertools 0.13.0", @@ -10966,7 +11099,7 @@ dependencies = [ "ofb", "once_cell", "onig", - "ordered-float 4.2.2", + "ordered-float 4.3.0", "paste", "peeking_take_while", "percent-encoding", @@ -10974,7 +11107,7 @@ dependencies = [ "pest_derive", "prettydiff", "prettytable-rs", - "prost 0.13.1", + "prost 0.13.3", "prost-reflect", "psl", "psl-types", @@ -11031,7 +11164,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", ] @@ -11075,7 +11208,7 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c" dependencies = [ - "bytes 1.7.1", + "bytes 1.7.2", "futures-channel", "futures-util", "headers", @@ -11117,9 +11250,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e" dependencies = [ "cfg-if", "once_cell", @@ -11128,16 +11261,16 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358" dependencies = [ "bumpalo", "log", "once_cell", - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", "wasm-bindgen-shared", ] @@ -11155,9 +11288,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56" dependencies = [ "quote 1.0.37", "wasm-bindgen-macro-support", @@ -11165,22 +11298,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.93" +version = "0.2.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-streams" @@ -11246,7 +11379,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.31", + "rustix 0.38.37", ] [[package]] @@ -11258,7 +11391,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.31", + "rustix 0.38.37", "windows-sys 0.48.0", ] @@ -11600,18 +11733,18 @@ dependencies = [ [[package]] name = "wiremock" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a59f8ae78a4737fb724f20106fb35ccb7cfe61ff335665d3042b3aa98e34717" +checksum = "7fff469918e7ca034884c7fd8f93fe27bacb7fcb599fd879df6c7b429a29b646" dependencies = [ "assert-json-diff", "async-trait", - "base64 0.21.7", + "base64 0.22.1", "deadpool", - "futures 0.3.30", + "futures 0.3.31", "http 1.1.0", "http-body-util", - "hyper 1.2.0", + "hyper 1.4.1", "hyper-util", "log", "once_cell", @@ -11671,16 +11804,16 @@ version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" dependencies = [ - "proc-macro2 1.0.86", + "proc-macro2 1.0.87", "quote 1.0.37", - "syn 2.0.75", + "syn 2.0.79", ] [[package]] name = "zeroize" -version = "1.6.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" [[package]] name = "zstd" diff --git a/pkgs/tools/misc/vector/default.nix b/pkgs/tools/misc/vector/default.nix index 3b08a82308c6..cdb6f42db918 100644 --- a/pkgs/tools/misc/vector/default.nix +++ b/pkgs/tools/misc/vector/default.nix @@ -20,35 +20,14 @@ cmake, perl, git, - # nix has a problem with the `?` in the feature list - # enabling kafka will produce a vector with no features at all - enableKafka ? false, - # TODO investigate adding various "vendor-*" - # "disk-buffer" is using leveldb TODO: investigate how useful - # it would be, perhaps only for massive scale? - features ? ( - [ - "api" - "api-client" - "enrichment-tables" - "sinks" - "sources" - "sources-dnstap" - "transforms" - "component-validation-runner" - ] - # the second feature flag is passed to the rdkafka dependency - # building on linux fails without this feature flag (both x86_64 and AArch64) - ++ lib.optionals enableKafka [ "rdkafka?/gssapi-vendored" ] - ++ lib.optional stdenv.hostPlatform.isUnix "unix" - ), nixosTests, nix-update-script, + darwin, }: let pname = "vector"; - version = "0.41.1"; + version = "0.42.0"; in rustPlatform.buildRustPackage { inherit pname version; @@ -57,7 +36,7 @@ rustPlatform.buildRustPackage { owner = "vectordotdev"; repo = pname; rev = "v${version}"; - hash = "sha256-E6AVjxwXMDonqsAMcCpaZBEPCi9bVXUygG4PUOLh+ck="; + hash = "sha256-0DEEgaQf4/NIbmRQyTdEuj4bPTLX8gjAhv4r48wfNZs="; }; cargoLock = { @@ -73,13 +52,16 @@ rustPlatform.buildRustPackage { }; }; - nativeBuildInputs = [ - pkg-config - cmake - perl - git - rustPlatform.bindgenHook - ]; + nativeBuildInputs = + [ + pkg-config + cmake + perl + git + rustPlatform.bindgenHook + ] + # Provides the mig command used by the build scripts + ++ lib.optional stdenv.hostPlatform.isDarwin darwin.bootstrap_cmds; buildInputs = [ oniguruma @@ -88,8 +70,8 @@ rustPlatform.buildRustPackage { rdkafka zstd ] - ++ lib.optionals stdenv.isLinux [ rust-jemalloc-sys-unprefixed ] - ++ lib.optionals stdenv.isDarwin [ + ++ lib.optionals stdenv.hostPlatform.isLinux [ rust-jemalloc-sys-unprefixed ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ rust-jemalloc-sys Security libiconv @@ -101,7 +83,7 @@ rustPlatform.buildRustPackage { # Rust 1.80.0 introduced the unexepcted_cfgs lint, which requires crates to allowlist custom cfg options that they inspect. # Upstream is working on fixing this in https://github.com/vectordotdev/vector/pull/20949, but silencing the lint lets us build again until then. # TODO remove when upgrading Vector - RUSTFLAGS = "--allow unexpected_cfgs"; + RUSTFLAGS = "--allow dependency_on_unit_never_type_fallback --allow dead_code"; # Without this, we get SIGSEGV failure RUST_MIN_STACK = 33554432; @@ -119,9 +101,6 @@ rustPlatform.buildRustPackage { CARGO_PROFILE_RELEASE_LTO = "fat"; CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1"; - buildNoDefaultFeatures = true; - buildFeatures = features; - # TODO investigate compilation failure for tests # there are about 100 tests failing (out of 1100) for version 0.22.0 doCheck = false; @@ -158,7 +137,6 @@ rustPlatform.buildRustPackage { ''; passthru = { - inherit features; tests = { inherit (nixosTests) vector; }; diff --git a/pkgs/tools/misc/via/default.nix b/pkgs/tools/misc/via/default.nix deleted file mode 100644 index ffcd456e75ff..000000000000 --- a/pkgs/tools/misc/via/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, fetchurl, appimageTools }: - -let - pname = "via"; - version = "3.0.0"; - src = fetchurl { - url = "https://github.com/the-via/releases/releases/download/v${version}/via-${version}-linux.AppImage"; - name = "via-${version}-linux.AppImage"; - sha256 = "sha256-+uTvmrqHK7L5VA/lUHCZZeRYPUrcVA+vjG7venxuHhs="; - }; - appimageContents = appimageTools.extractType2 { inherit pname version src; }; -in -appimageTools.wrapType2 { - inherit pname version src; - - profile = '' - # Skip prompt to add udev rule. - # On NixOS you can add this rule with `services.udev.packages = [ pkgs.via ];`. - export DISABLE_SUDO_PROMPT=1 - ''; - - extraInstallCommands = '' - install -m 444 -D ${appimageContents}/via-nativia.desktop -t $out/share/applications - substituteInPlace $out/share/applications/via-nativia.desktop \ - --replace 'Exec=AppRun' 'Exec=${pname}' - cp -r ${appimageContents}/usr/share/icons $out/share - - mkdir -p $out/etc/udev/rules.d - echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666", TAG+="uaccess", TAG+="udev-acl"' > $out/etc/udev/rules.d/92-viia.rules - ''; - - meta = with lib; { - description = "Yet another keyboard configurator"; - homepage = "https://caniusevia.com/"; - license = licenses.gpl3; - maintainers = with maintainers; [ emilytrau ]; - platforms = [ "x86_64-linux" ]; - mainProgram = "via"; - }; -} diff --git a/pkgs/tools/misc/vial/default.nix b/pkgs/tools/misc/vial/default.nix deleted file mode 100644 index 77cf03500207..000000000000 --- a/pkgs/tools/misc/vial/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, fetchurl, appimageTools }: -let - version = "0.7.1"; - pname = "Vial"; - - src = fetchurl { - url = "https://github.com/vial-kb/vial-gui/releases/download/v${version}/${pname}-v${version}-x86_64.AppImage"; - hash = "sha256-pOcrxZ6vbnbdE/H4Kxufxm/ZovaYBXjFpVpKZYV7f3c="; - }; - - appimageContents = appimageTools.extractType2 { inherit pname version src; }; -in -appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = '' - install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications - cp -r ${appimageContents}/usr/share/icons $out/share - - mkdir -p $out/etc/udev/rules.d/ # https://get.vial.today/getting-started/linux-udev.html - echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666", TAG+="uaccess", TAG+="udev-acl"' > $out/etc/udev/rules.d/92-viia.rules - ''; - - meta = { - description = "Open-source GUI and QMK fork for configuring your keyboard in real time"; - homepage = "https://get.vial.today"; - license = lib.licenses.gpl2Plus; - mainProgram = "Vial"; - maintainers = with lib.maintainers; [ kranzes ]; - platforms = [ "x86_64-linux" ]; - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; - }; -} diff --git a/pkgs/tools/misc/viddy/default.nix b/pkgs/tools/misc/viddy/default.nix deleted file mode 100644 index c6e83e3c4b1e..000000000000 --- a/pkgs/tools/misc/viddy/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, -}: - -rustPlatform.buildRustPackage rec { - pname = "viddy"; - version = "1.1.2"; - - src = fetchFromGitHub { - owner = "sachaos"; - repo = "viddy"; - rev = "v${version}"; - hash = "sha256-vlPG7nYWCNfhZJOm6qmYNK5OwkckVZFRQWMhDX2vWTc="; - }; - - cargoHash = "sha256-YM73+f/a1iE+lRots/CNfYcU8iZ7xiAKjDHOIywOo6o="; - - # requires nightly features - env.RUSTC_BOOTSTRAP = 1; - - env.VERGEN_BUILD_DATE = "2024-09-05"; # managed via the update script - env.VERGEN_GIT_DESCRIBE = "Nixpkgs"; - - passthru.updateScript.command = [ ./update.sh ]; - - meta = with lib; { - description = "Modern watch command, time machine and pager etc."; - changelog = "https://github.com/sachaos/viddy/releases"; - homepage = "https://github.com/sachaos/viddy"; - license = licenses.mit; - maintainers = with maintainers; [ - j-hui - phanirithvij - ]; - mainProgram = "viddy"; - }; -} diff --git a/pkgs/tools/misc/viddy/update.sh b/pkgs/tools/misc/viddy/update.sh deleted file mode 100755 index 4740effde4a2..000000000000 --- a/pkgs/tools/misc/viddy/update.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -i bash -p bash nix-update curl coreutils jq common-updater-scripts nix-prefetch - -# adapted from pkgs/by-name/ya/yazi-unwrapped/update.sh - -set -eou pipefail - -NIXPKGS_DIR="$PWD" -SCRIPT_DIR="$(dirname "${BASH_SOURCE[0]}")" - -# Get latest release -VIDDY_RELEASE=$( - curl --silent ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \ - https://api.github.com/repos/sachaos/viddy/releases/latest -) - -# Get release information -latestBuildDate=$(echo "$VIDDY_RELEASE" | jq -r ".published_at") -latestVersion=$(echo "$VIDDY_RELEASE" | jq -r ".tag_name") - -latestBuildDate="${latestBuildDate%T*}" # remove the timestamp and get the date -latestVersion="${latestVersion:1}" # remove first char 'v' - -oldVersion=$(nix eval --raw -f "$NIXPKGS_DIR" viddy.version) - -if [[ "$oldVersion" == "$latestVersion" ]]; then - echo "viddy is up-to-date: ${oldVersion}" - exit 0 -fi - -echo "Updating viddy" - -# Version -update-source-version viddy "${latestVersion}" - -pushd "$SCRIPT_DIR" -# Build date -sed -i 's#env.VERGEN_BUILD_DATE = "[^"]*"#env.VERGEN_BUILD_DATE = "'"${latestBuildDate}"'"#' default.nix - -# Hashes -# https://github.com/msteen/nix-prefetch/issues/51 -cargoHash=$(nix-prefetch --option extra-experimental-features flakes "{ sha256 }: (import $NIXPKGS_DIR {}).viddy.cargoDeps.overrideAttrs (_: { outputHash = sha256; })") -sed -i -E 's#\bcargoHash = ".*?"#cargoHash = "'"$cargoHash"'"#' default.nix -popd diff --git a/pkgs/tools/misc/vimer/default.nix b/pkgs/tools/misc/vimer/default.nix deleted file mode 100644 index 684ecfc5fe38..000000000000 --- a/pkgs/tools/misc/vimer/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - version = "0.2.0"; - pname = "vimer"; - - src = fetchFromGitHub { - owner = "susam"; - repo = "vimer"; - rev = version; - sha256 = "01qhr3i7wasbaxvms39c81infpry2vk0nzh7r5m5b9p713p0phsi"; - }; - - installPhase = '' - mkdir $out/bin/ -p - cp vimer $out/bin/ - chmod +x $out/bin/vimer - ''; - - meta = with lib; { - homepage = "https://github.com/susam/vimer"; - description = '' - A convenience wrapper for gvim/mvim --remote(-tab)-silent to open files - in an existing instance of GVim or MacVim. - ''; - license = licenses.mit; - maintainers = [ maintainers.matthiasbeyer ]; - platforms = platforms.all; - mainProgram = "vimer"; - }; - -} - diff --git a/pkgs/tools/misc/vimv-rs/default.nix b/pkgs/tools/misc/vimv-rs/default.nix deleted file mode 100644 index 2b419e5403c0..000000000000 --- a/pkgs/tools/misc/vimv-rs/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, rustPlatform, fetchCrate, stdenv, Foundation }: - -rustPlatform.buildRustPackage rec { - pname = "vimv-rs"; - version = "3.1.0"; - - src = fetchCrate { - inherit version; - crateName = "vimv"; - hash = "sha256-jbRsgEsRYF5hlvo0jEB4jhy5jzCAXNzOsNWWyh4XULQ="; - }; - - cargoHash = "sha256-rYQxIttuGBGEkYkFtSBl8ce1I/Akm6FxeITJcaIeP6M="; - - buildInputs = lib.optionals stdenv.isDarwin [ Foundation ]; - - meta = with lib; { - description = "Command line utility for batch-renaming files"; - homepage = "https://www.dmulholl.com/dev/vimv.html"; - license = licenses.bsd0; - mainProgram = "vimv"; - maintainers = with maintainers; [ zowoq ]; - }; -} diff --git a/pkgs/tools/misc/vimv/default.nix b/pkgs/tools/misc/vimv/default.nix deleted file mode 100644 index 46753688ec73..000000000000 --- a/pkgs/tools/misc/vimv/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub }: - -stdenvNoCC.mkDerivation { - pname = "vimv"; - version = "unstable-2019-10-31"; - - src = fetchFromGitHub { - owner = "thameera"; - repo = "vimv"; - rev = "4152496c1946f68a13c648fb7e583ef23dac4eb8"; - sha256 = "1fsrfx2gs6bqx7wk7pgcji2i2x4alqpsi66aif4kqvnpqfhcfzjd"; - }; - - installPhase = '' - install -d $out/bin - install $src/vimv $out/bin/vimv - patchShebangs $out/bin/vimv - ''; - - meta = with lib; { - homepage = "https://github.com/thameera/vimv"; - description = "Batch-rename files using Vim"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ kmein ]; - mainProgram = "vimv"; - }; -} diff --git a/pkgs/tools/misc/vivid/default.nix b/pkgs/tools/misc/vivid/default.nix deleted file mode 100644 index 4ec34be94f4e..000000000000 --- a/pkgs/tools/misc/vivid/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "vivid"; - version = "0.10.1"; - - src = fetchFromGitHub { - owner = "sharkdp"; - repo = pname; - rev = "v${version}"; - hash = "sha256-mxBBfezaMM2dfiXK/s+Htr+i5GJP1xVSXzkmYxEuwNs="; - }; - - cargoHash = "sha256-B1PYLUtBcx35NkU/NR+CmM8bF0hfJWmu11vsovFwR+c="; - - meta = with lib; { - description = "Generator for LS_COLORS with support for multiple color themes"; - homepage = "https://github.com/sharkdp/vivid"; - license = with licenses; [ asl20 /* or */ mit ]; - maintainers = [ maintainers.dtzWill ]; - platforms = platforms.unix; - mainProgram = "vivid"; - }; -} diff --git a/pkgs/tools/misc/vix/default.nix b/pkgs/tools/misc/vix/default.nix deleted file mode 100644 index 262958c9c2fd..000000000000 --- a/pkgs/tools/misc/vix/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, SDL }: - -stdenv.mkDerivation { - pname = "vix"; - version = "0.1.2"; - - src = fetchFromGitHub { - owner = "BatchDrake"; - repo = "vix"; - rev = "824b6755157a0f7430a0be0af454487d1492204d"; - sha256 = "1y0a2sajkrsg36px21b8lgx1irf0pyj7hccyd6k806bm4zhgxw1z"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - buildInputs = [ SDL ]; - - meta = with lib; { - description = "Visual Interface heXadecimal dump"; - homepage = "http://actinid.org/vix/"; - license = licenses.gpl3; - maintainers = [ maintainers.ehmry ]; - mainProgram = "vix"; - }; -} diff --git a/pkgs/tools/misc/vmtouch/default.nix b/pkgs/tools/misc/vmtouch/default.nix deleted file mode 100644 index 120012019a72..000000000000 --- a/pkgs/tools/misc/vmtouch/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{lib, stdenv, fetchFromGitHub, perl}: - -stdenv.mkDerivation rec { - pname = "vmtouch"; - version = "1.3.1"; - - src = fetchFromGitHub { - owner = "hoytech"; - repo = "vmtouch"; - rev = "v${version}"; - sha256 = "08da6apzfkfjwasn4dxrlfxqfx7arl28apdzac5nvm0fhvws0dxk"; - }; - - buildInputs = [perl]; - - makeFlags = [ "PREFIX=$(out)" ]; - - meta = { - description = "Portable file system cache diagnostics and control"; - longDescription = "vmtouch is a tool for learning about and controlling the file system cache of unix and unix-like systems."; - homepage = "https://hoytech.com/vmtouch/"; - license = lib.licenses.bsd3; - maintainers = [ lib.maintainers.garrison ]; - platforms = lib.platforms.all; - mainProgram = "vmtouch"; - }; -} diff --git a/pkgs/tools/misc/void/default.nix b/pkgs/tools/misc/void/default.nix deleted file mode 100644 index 8ead979eed80..000000000000 --- a/pkgs/tools/misc/void/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, fetchFromGitHub, rustPlatform }: - -rustPlatform.buildRustPackage rec { - pname = "void"; - version = "1.1.5"; - - src = fetchFromGitHub { - owner = "spacejam"; - repo = "void"; - rev = version; - sha256 = "08vazw4rszqscjz988k89z28skyj3grm81bm5iwknxxagmrb20fz"; - }; - - # The tests are long-running and not that useful - doCheck = false; - - cargoHash = "sha256-4LLm8EIGR9YJyVlSLRsQmBJc0QZaxBQafE4VLsDyAfI="; - - meta = with lib; { - description = "Terminal-based personal organizer"; - homepage = "https://github.com/spacejam/void"; - license = licenses.gpl3; - maintainers = with maintainers; [ spacekookie ]; - mainProgram = "void"; - }; -} diff --git a/pkgs/tools/misc/vorbisgain/default.nix b/pkgs/tools/misc/vorbisgain/default.nix deleted file mode 100644 index 80307144fd9a..000000000000 --- a/pkgs/tools/misc/vorbisgain/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchurl, libogg, libvorbis }: - -stdenv.mkDerivation rec { - pname = "vorbisgain"; - version = "0.37"; - - src = fetchurl { - url = "https://sjeng.org/ftp/vorbis/vorbisgain-${version}.tar.gz"; - sha256 = "1v1h6mhnckmvvn7345hzi9abn5z282g4lyyl4nnbqwnrr98v0vfx"; - }; - - hardeningDisable = [ "format" ]; - - buildInputs = [ libogg libvorbis ]; - - patchPhase = '' - chmod -v +x configure - configureFlags="--mandir=$out/share/man" - ''; - - meta = with lib; { - homepage = "https://sjeng.org/vorbisgain.html"; - description = "Utility that corrects the volume of an Ogg Vorbis file to a predefined standardized loudness"; - license = licenses.gpl2Only; - platforms = platforms.unix; - maintainers = with maintainers; [ pSub ]; - mainProgram = "vorbisgain"; - }; -} diff --git a/pkgs/tools/misc/vrc-get/default.nix b/pkgs/tools/misc/vrc-get/default.nix index dac2f34dbaca..f0d72de83d04 100644 --- a/pkgs/tools/misc/vrc-get/default.nix +++ b/pkgs/tools/misc/vrc-get/default.nix @@ -2,18 +2,18 @@ rustPlatform.buildRustPackage rec { pname = "vrc-get"; - version = "1.8.1"; + version = "1.8.2"; src = fetchCrate { inherit pname version; - hash = "sha256-j8B7g/w1Qtiuj099RlRLmrYTFiE7d2vVg/nTbaa8pRU="; + hash = "sha256-4ZiN9sl4VImb3ufF6L9k5t45tmV1RUSvm3NL52waj0o="; }; nativeBuildInputs = [ installShellFiles pkg-config ]; - buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ]; - cargoHash = "sha256-WFGY5osZIEYeHQchvuE3ddeqh2wzfZNV+SGqW08zYDI="; + cargoHash = "sha256-uPx9sujuvBp6wJzzqVlS8Rq1S9Cb2su9/gp4pnNJ9zQ="; # Execute the resulting binary to generate shell completions, using emulation if necessary when cross-compiling. # If no emulator is available, then give up on generating shell completions diff --git a/pkgs/tools/misc/vsc-leetcode-cli/default.nix b/pkgs/tools/misc/vsc-leetcode-cli/default.nix deleted file mode 100644 index 6cc544a4361e..000000000000 --- a/pkgs/tools/misc/vsc-leetcode-cli/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ buildNpmPackage -, fetchFromGitHub -, lib -}: - -buildNpmPackage { - pname = "vsc-leetcode-cli"; - version = "unstable-2021-04-11"; - - src = fetchFromGitHub { - owner = "leetcode-tools"; - repo = "leetcode-cli"; - rev = "c5f6b8987185ae9f181e138f999825516240f44c"; - hash = "sha256-N8hQqIzCUYTT5RAd0eqNynSNkGiN4omFY+8QLBemIbs="; - }; - - npmDepsHash = "sha256-t8eEnyAKeDmbmduUXuxo/WbJTced5dLeJTbtjxrrxY8="; - - dontNpmBuild = true; - - meta = with lib; { - description = "CLI tool for leetcode.com"; - homepage = "https://github.com/leetcode-tools/leetcode-cli"; - license = licenses.mit; - maintainers = with maintainers; [ cpcloud ]; - mainProgram = "leetcode"; - }; -} diff --git a/pkgs/tools/misc/vsh/default.nix b/pkgs/tools/misc/vsh/default.nix deleted file mode 100644 index 9cfd9af7fc68..000000000000 --- a/pkgs/tools/misc/vsh/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib }: - -buildGoModule rec { - pname = "vsh"; - version = "0.13.0"; - - src = fetchFromGitHub { - owner = "fishi0x01"; - repo = "vsh"; - rev = "v${version}"; - sha256 = "083rqca4gx9lmzkc9rl453zqmspbpn0h2vajkrjjcwk96km7064f"; - }; - - # vendor directory is part of repository - vendorHash = null; - - # make sure version gets set at compile time - ldflags = [ "-s" "-w" "-X main.vshVersion=v${version}" ]; - - meta = with lib; { - description = "HashiCorp Vault interactive shell"; - homepage = "https://github.com/fishi0x01/vsh"; - license = licenses.mit; - maintainers = with maintainers; [ fishi0x01 ]; - mainProgram = "vsh"; - }; -} diff --git a/pkgs/tools/misc/vtm/default.nix b/pkgs/tools/misc/vtm/default.nix deleted file mode 100644 index 4a3f75792d4a..000000000000 --- a/pkgs/tools/misc/vtm/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "vtm"; - version = "0.9.99.09"; - - src = fetchFromGitHub { - owner = "netxs-group"; - repo = "vtm"; - rev = "v${finalAttrs.version}"; - hash = "sha256-Ddnj2atJZ4uJqa/UCRfKowJDZbhnQBTgkFZvc4778gc="; - }; - - nativeBuildInputs = [ - cmake - ]; - - meta = { - description = "Terminal multiplexer with window manager and session sharing"; - homepage = "https://vtm.netxs.online/"; - license = lib.licenses.mit; - mainProgram = "vtm"; - maintainers = with lib.maintainers; [ ahuzik ]; - platforms = lib.platforms.all; - }; -}) diff --git a/pkgs/tools/misc/vttest/default.nix b/pkgs/tools/misc/vttest/default.nix deleted file mode 100644 index 1d96418a9580..000000000000 --- a/pkgs/tools/misc/vttest/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, stdenv, fetchurl }: - -stdenv.mkDerivation rec { - pname = "vttest"; - version = "20240708"; - - src = fetchurl { - urls = [ - "https://invisible-mirror.net/archives/vttest/vttest-${version}.tgz" - "ftp://ftp.invisible-island.net/vttest/vttest-${version}.tgz" - ]; - sha256 = "sha256-wZVEnrLSKZyjwKJHiKmqtWn+QcLg6DEotcKbqW5auxs="; - }; - - meta = with lib; { - description = "Tests the compatibility of so-called 'VT100-compatible' terminals"; - homepage = "https://invisible-island.net/vttest/"; - license = licenses.mit; - platforms = platforms.all; - mainProgram = "vttest"; - }; -} - diff --git a/pkgs/tools/misc/wagyu/default.nix b/pkgs/tools/misc/wagyu/default.nix index 0eb71743f064..6200ee77d613 100644 --- a/pkgs/tools/misc/wagyu/default.nix +++ b/pkgs/tools/misc/wagyu/default.nix @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-vseTtok0E0ddg9ALQ1ql3NPPxirfyMPHOSWsM2qu2jU="; - buildInputs = lib.optional stdenv.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; meta = with lib; { description = "Rust library for generating cryptocurrency wallets"; diff --git a/pkgs/tools/misc/wakapi/default.nix b/pkgs/tools/misc/wakapi/default.nix deleted file mode 100644 index 8edcd7bef01f..000000000000 --- a/pkgs/tools/misc/wakapi/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "wakapi"; - version = "2.11.2"; - - src = fetchFromGitHub { - owner = "muety"; - repo = pname; - rev = version; - sha256 = "sha256-lBjYtb64blFUH/iW/SmC4A7nX9asokvsNKu6QVYgmZ8="; - }; - - vendorHash = "sha256-Kt7RzAGZeLFhwvq+V6AK88rivqkoTE1Zep7NMh3BXXQ="; - - # Not a go module required by the project, contains development utilities - excludedPackages = [ "scripts" ]; - - # Fix up reported version - postPatch = ''echo ${version} > version.txt''; - - ldflags = [ - "-s" - "-w" - ]; - - meta = with lib; { - homepage = "https://wakapi.dev/"; - changelog = "https://github.com/muety/wakapi/releases/tag/${version}"; - description = "Minimalist self-hosted WakaTime-compatible backend for coding statistics"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ t4ccer ]; - mainProgram = "wakapi"; - }; -} diff --git a/pkgs/tools/misc/wasm-tools/default.nix b/pkgs/tools/misc/wasm-tools/default.nix deleted file mode 100644 index 36e4337a7abb..000000000000 --- a/pkgs/tools/misc/wasm-tools/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -}: - -rustPlatform.buildRustPackage rec { - pname = "wasm-tools"; - version = "1.216.0"; - - src = fetchFromGitHub { - owner = "bytecodealliance"; - repo = pname; - rev = "v${version}"; - hash = "sha256-HgeiZo/wXLKYwTQv/gcKHNz3p9jfp/8OYSrum3TPI2Q="; - fetchSubmodules = true; - }; - - # Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is solved. - auditable = false; - cargoHash = "sha256-KS/mg3OZHCyb6IKmbED18xPCblYk0euzdqz7fJl0plI="; - cargoBuildFlags = [ "--package" "wasm-tools" ]; - cargoTestFlags = [ "--all" ]; - - meta = with lib; { - description = "Low level tooling for WebAssembly in Rust"; - homepage = "https://github.com/bytecodealliance/wasm-tools"; - license = licenses.asl20; - maintainers = with maintainers; [ ereslibre ]; - mainProgram = "wasm-tools"; - }; -} diff --git a/pkgs/tools/misc/watchexec/default.nix b/pkgs/tools/misc/watchexec/default.nix index cd7381243cc4..a073ef9473fe 100644 --- a/pkgs/tools/misc/watchexec/default.nix +++ b/pkgs/tools/misc/watchexec/default.nix @@ -2,22 +2,22 @@ rustPlatform.buildRustPackage rec { pname = "watchexec"; - version = "2.1.2"; + version = "2.2.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-mH670pBxSQQ4mTtX6O71aRRxRVyz0J7r4227UsUJ5LE="; + hash = "sha256-kbcSm1plh5QS87hGQj9OL1rq2eK6jbGn/kfjPF6kNzo="; }; - cargoHash = "sha256-cBxFaERUDaOxAYfpvBdJa9LxvrG2niJqVovcZDucbUA="; + cargoHash = "sha256-xLUI7B7clpdJQOMDd32ag87yQ99XgbLgPqahPwUHMZQ="; nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isDarwin [ Cocoa AppKit ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa AppKit ]; - NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework AppKit"; + NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AppKit"; checkFlags = [ "--skip=help" "--skip=help_short" ]; diff --git a/pkgs/tools/misc/watchlog/default.nix b/pkgs/tools/misc/watchlog/default.nix deleted file mode 100644 index 3b599c1e12e0..000000000000 --- a/pkgs/tools/misc/watchlog/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - lib, - rustPlatform, - fetchFromGitLab, -}: - -rustPlatform.buildRustPackage rec { - pname = "watchlog"; - version = "1.240.0"; - - src = fetchFromGitLab { - owner = "kevincox"; - repo = "watchlog"; - rev = "v${version}"; - hash = "sha256-8uNBjkxETQXZOfRtxDg+aS8sIbYTD3g9ttBA4m2wavY="; - }; - - cargoHash = "sha256-YFQGqkvUgoJJE2B/SQFksWS42YTF/O2tn3CNL54LRUY="; - - meta = { - description = "Easier monitoring of live logs"; - homepage = "https://gitlab.com/kevincox/watchlog"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ kevincox ]; - - # Dependency only supports Linux + Windows: https://github.com/mentaljam/standard_paths/tree/master/src - platforms = with lib.platforms; linux ++ windows; - mainProgram = "wl"; - }; -} diff --git a/pkgs/tools/misc/wayback-machine-archiver/default.nix b/pkgs/tools/misc/wayback-machine-archiver/default.nix deleted file mode 100644 index 034cc303e6ed..000000000000 --- a/pkgs/tools/misc/wayback-machine-archiver/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, python3, fetchFromGitHub }: - -python3.pkgs.buildPythonApplication rec { - pname = "wayback-machine-archiver"; - version = "1.9.1"; - - src = fetchFromGitHub { - owner = "agude"; - repo = "wayback-machine-archiver"; - rev = "v${version}"; - sha256 = "0dnnqx507gpj8wsx6f2ivfmha969ydayiqsvxh23p9qcixw9257x"; - }; - - nativeBuildInputs = with python3.pkgs; [ pypandoc ]; - propagatedBuildInputs = with python3.pkgs; [ requests ]; - nativeCheckInputs = with python3.pkgs; [ pytestCheckHook requests-mock ]; - - postPatch = '' - substituteInPlace setup.py \ - --replace \"pytest-runner\", "" - ''; - - pythonImportsCheck = [ "wayback_machine_archiver" ]; - - meta = with lib; { - description = "Python script to submit web pages to the Wayback Machine for archiving"; - homepage = "https://github.com/agude/wayback-machine-archiver"; - license = licenses.mit; - maintainers = with maintainers; [ dandellion ]; - mainProgram = "archiver"; - }; -} diff --git a/pkgs/tools/misc/wayback/default.nix b/pkgs/tools/misc/wayback/default.nix deleted file mode 100644 index 7d7068e7a418..000000000000 --- a/pkgs/tools/misc/wayback/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, chromium -}: - -buildGoModule rec { - pname = "wayback"; - version = "0.20.1"; - - src = fetchFromGitHub { - owner = "wabarc"; - repo = "wayback"; - rev = "v${version}"; - hash = "sha256-GnirEgJHgZVzxkFFVDU9795kgvMTitnH+xWd7ooNf7Y="; - }; - - vendorHash = "sha256-vk9c+U8mKwT03dHV9labvCOM2Ip1vk7AeiTleEBuNP4="; - - doCheck = false; - - buildInputs = [ - chromium - ]; - - meta = with lib; { - description = "Archiving tool with an IM-style interface"; - homepage = "https://docs.wabarc.eu.org"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ _2gn ]; - # binary build for darwin is possible, but it requires chromium for runtime dependency, whose build (for nix) is not supported on darwin. - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/waylevel/default.nix b/pkgs/tools/misc/waylevel/default.nix deleted file mode 100644 index f0688ebf47ee..000000000000 --- a/pkgs/tools/misc/waylevel/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib -, fetchFromSourcehut -, rustPlatform -, wayland -}: -rustPlatform.buildRustPackage rec { - pname = "waylevel"; - version = "1.0.0"; - - src = fetchFromSourcehut { - owner = "~shinyzenith"; - repo = pname; - rev = version; - hash = "sha256-T2gqiRcKrKsvwGNnWrxR1Ga/VX4AyllYn1H25aIKt5s="; - }; - - cargoHash = "sha256-gw5m1/btJ5zZP04C7BCnHqEOUBoeu0whK8W7xA+xSQo="; - - postFixup = '' - patchelf --set-rpath ${lib.makeLibraryPath [wayland]} $out/bin/waylevel - ''; - - meta = with lib; { - description = "Tool to print wayland toplevels and other compositor info"; - homepage = "https://git.sr.ht/~shinyzenith/waylevel"; - license = licenses.bsd2; - maintainers = with maintainers; [ dit7ya ]; - platforms = platforms.linux; - mainProgram = "waylevel"; - }; -} diff --git a/pkgs/tools/misc/wayshot/default.nix b/pkgs/tools/misc/wayshot/default.nix deleted file mode 100644 index 0f46dc85a1cf..000000000000 --- a/pkgs/tools/misc/wayshot/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -}: -rustPlatform.buildRustPackage rec { - pname = "wayshot"; - version = "1.3.1"; - - src = fetchFromGitHub { - owner = "waycrate"; - repo = pname; - rev = version; - hash = "sha256-nUpIN4WTePtFZTmKAjv0tgj4VTdZeXjoQX6am9+M3ig="; - }; - - cargoHash = "sha256-1Y9ymodZHtxHzhudjGbkP2ohMaBMOD9K+GpUoNmzHQs="; - - # tests are off as they are broken and pr for integration testing is still WIP - doCheck = false; - - meta = with lib; { - description = "Native, blazing-fast screenshot tool for wlroots based compositors such as sway and river"; - homepage = "https://github.com/waycrate/wayshot"; - license = licenses.bsd2; - maintainers = with maintainers; [ dit7ya id3v1669 ]; - platforms = platforms.linux; - mainProgram = "wayshot"; - }; -} diff --git a/pkgs/tools/misc/webcat/default.nix b/pkgs/tools/misc/webcat/default.nix deleted file mode 100644 index 2fff1266eb9c..000000000000 --- a/pkgs/tools/misc/webcat/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, asciidoctor, installShellFiles }: - -buildGoModule rec { - pname = "webcat"; - version = "0.2.0"; - - src = fetchFromGitHub { - owner = "rumpelsepp"; - repo = "webcat"; - rev = "v${version}"; - hash = "sha256-JyZHH8JgS3uoNVicx1wj0SAzlrXyTrpwIBZuok6buRw="; - }; - - vendorHash = "sha256-duVp/obT+5M4Dl3BAdSgRaP3+LKmS0y51loMMdoGysw="; - - nativeBuildInputs = [ asciidoctor installShellFiles ]; - - postInstall = '' - make -C man man - installManPage man/webcat.1 - ''; - - meta = with lib; { - homepage = "https://rumpelsepp.org/blog/ssh-through-websocket/"; - description = "Lightweight swiss army knife for websockets"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ montag451 ]; - mainProgram = "webcat"; - }; -} diff --git a/pkgs/tools/misc/websocat/default.nix b/pkgs/tools/misc/websocat/default.nix index 786062cfffb9..fd8841b96bd0 100644 --- a/pkgs/tools/misc/websocat/default.nix +++ b/pkgs/tools/misc/websocat/default.nix @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config makeWrapper ]; buildInputs = [ openssl ] - ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; + ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ]; buildFeatures = [ "ssl" ]; diff --git a/pkgs/tools/misc/wemux/default.nix b/pkgs/tools/misc/wemux/default.nix deleted file mode 100644 index 99adf8bb0823..000000000000 --- a/pkgs/tools/misc/wemux/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, tmux, installShellFiles }: - -stdenv.mkDerivation rec { - pname = "wemux"; - version = "unstable-2021-04-16"; - - src = fetchFromGitHub { - owner = "zolrath"; - repo = "wemux"; - rev = "01c6541f8deceff372711241db2a13f21c4b210c"; - sha256 = "1y962nzvs7sf720pl3wa582l6irxc8vavd0gp4ag4243b2gs4qvm"; - }; - - nativeBuildInputs = [ installShellFiles ]; - - installPhase = '' - runHook preInstall - - substituteInPlace wemux \ - --replace tmux ${tmux}/bin/tmux \ - --replace "/usr/local/etc" "/etc" - - substituteInPlace man/wemux.1 --replace "/usr/local/etc" "/etc" - - install -Dm755 wemux -t $out/bin - installManPage man/wemux.1 - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/zolrath/wemux"; - description = "Multi-user tmux made easy"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ bsima ]; - mainProgram = "wemux"; - }; -} diff --git a/pkgs/tools/misc/whatsapp-chat-exporter/default.nix b/pkgs/tools/misc/whatsapp-chat-exporter/default.nix deleted file mode 100644 index 7542acbafa12..000000000000 --- a/pkgs/tools/misc/whatsapp-chat-exporter/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -}: - -python3Packages.buildPythonApplication rec { - pname = "whatsapp-chat-exporter"; - version = "0.10.0"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "KnugiHK"; - repo = "Whatsapp-Chat-Exporter"; - rev = "refs/tags/${version}"; - hash = "sha256-W66qEQa7jlgd8v6dsIVAz6gmWsYr3SMqyhF2KIwC6hI="; - }; - - propagatedBuildInputs = with python3Packages; [ - bleach - jinja2 - pycryptodome - javaobj-py3 - ]; - - meta = with lib; { - homepage = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter"; - description = "WhatsApp database parser"; - changelog = "https://github.com/KnugiHK/Whatsapp-Chat-Exporter/releases/tag/${version}"; - longDescription = '' - A customizable Android and iPhone WhatsApp database parser that will give - you the history of your WhatsApp conversations inHTML and JSON. Android - Backup Crypt12, Crypt14 and Crypt15 supported. - ''; - license = licenses.mit; - mainProgram = "wtsexporter"; - maintainers = with maintainers; [ bbenno ]; - }; -} diff --git a/pkgs/tools/misc/wimboot/default.nix b/pkgs/tools/misc/wimboot/default.nix deleted file mode 100644 index 4212e96586be..000000000000 --- a/pkgs/tools/misc/wimboot/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, libbfd, zlib, libiberty }: - -stdenv.mkDerivation rec { - pname = "wimboot"; - version = "2.8.0"; - - src = fetchFromGitHub { - owner = "ipxe"; - repo = "wimboot"; - rev = "v${version}"; - sha256 = "sha256-JqdOgcwOXIJDl8O7k/pHdd4MNC/rJ0fWTowtEVpJyx8="; - }; - - sourceRoot = "${src.name}/src"; - - buildInputs = [ libbfd zlib libiberty ]; - makeFlags = [ "wimboot.x86_64.efi" ]; - - env.NIX_CFLAGS_COMPILE = toString [ - # Needed with GCC 12 - "-Wno-error=array-bounds" - ]; - - installPhase = '' - mkdir -p $out/share/wimboot/ - cp wimboot.x86_64.efi $out/share/wimboot - ''; - - meta = with lib; { - homepage = "https://ipxe.org/wimboot"; - description = "Windows Imaging Format bootloader"; - license = licenses.gpl2Plus; - maintainers = teams.helsinki-systems.members; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/tools/misc/wlc/default.nix b/pkgs/tools/misc/wlc/default.nix deleted file mode 100644 index 29eda8696d12..000000000000 --- a/pkgs/tools/misc/wlc/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, python3 -, fetchPypi -}: - -with python3.pkgs; - -buildPythonPackage rec { - pname = "wlc"; - version = "1.15"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-0T8cMq5Mrv/Ygo6BfYho3sjFuu8dYZyUMtJc5gabuG4="; - }; - - propagatedBuildInputs = [ - argcomplete - python-dateutil - requests - pyxdg - responses - twine - ]; - - nativeCheckInputs = [ - pytestCheckHook - ]; - - meta = with lib; { - description = "Weblate commandline client using Weblate's REST API"; - homepage = "https://github.com/WeblateOrg/wlc"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ paperdigits ]; - mainProgram = "wlc"; - }; -} diff --git a/pkgs/tools/misc/woeusb-ng/default.nix b/pkgs/tools/misc/woeusb-ng/default.nix deleted file mode 100644 index 0858422be3a0..000000000000 --- a/pkgs/tools/misc/woeusb-ng/default.nix +++ /dev/null @@ -1,56 +0,0 @@ -{ lib -, python3Packages -, fetchFromGitHub -, wrapGAppsHook3 -, p7zip -, parted -, grub2 -}: - -with python3Packages; - -buildPythonApplication rec { - pname = "woeusb-ng"; - version = "0.2.12"; - - src = fetchFromGitHub { - owner = "WoeUSB"; - repo = "WoeUSB-ng"; - rev = "v${version}"; - hash = "sha256-2opSiXbbk0zDRt6WqMh97iAt6/KhwNDopOas+OZn6TU="; - }; - - postPatch = '' - substituteInPlace setup.py WoeUSB/*.py miscellaneous/* \ - --replace "/usr/local/" "$out/" \ - --replace "/usr/" "$out/" - ''; - - nativeBuildInputs = [ - wrapGAppsHook3 - ]; - - propagatedBuildInputs = [ - p7zip - parted - grub2 - termcolor - wxpython - six - ]; - - preConfigure = '' - mkdir -p $out/bin $out/share/applications $out/share/polkit-1/actions - ''; - - # Unable to access the X Display, is $DISPLAY set properly? - doCheck = false; - - meta = with lib; { - description = "Tool to create a Windows USB stick installer from a real Windows DVD or image"; - homepage = "https://github.com/WoeUSB/WoeUSB-ng"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ stunkymonkey ]; - platforms = platforms.linux; - }; -} diff --git a/pkgs/tools/misc/woeusb/default.nix b/pkgs/tools/misc/woeusb/default.nix deleted file mode 100644 index 9add255896f7..000000000000 --- a/pkgs/tools/misc/woeusb/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, installShellFiles, makeWrapper -, coreutils, dosfstools, findutils, gawk, gnugrep, grub2_light, ncurses, ntfs3g, parted, p7zip, util-linux, wimlib, wget }: - -stdenv.mkDerivation rec { - version = "5.2.4"; - pname = "woeusb"; - - src = fetchFromGitHub { - owner = "WoeUSB"; - repo = "WoeUSB"; - rev = "v${version}"; - sha256 = "sha256-HB1E7rP/U58dyL3j6YnhF5AOGAcHqmA/ZZ5JNBDibco="; - }; - - nativeBuildInputs = [ installShellFiles makeWrapper ]; - - postPatch = '' - # Emulate version smudge filter (see .gitattributes, .gitconfig). - for file in sbin/woeusb share/man/man1/woeusb.1; do - substituteInPlace "$file" \ - --replace '@@WOEUSB_VERSION@@' '${version}' - done - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin - mv sbin/woeusb $out/bin - installManPage share/man/man1/woeusb.1 - - wrapProgram "$out/bin/woeusb" \ - --set PATH '${lib.makeBinPath [ coreutils dosfstools findutils gawk gnugrep grub2_light ncurses ntfs3g parted p7zip util-linux wget wimlib ]}' - - runHook postInstall - ''; - - doInstallCheck = true; - - postInstallCheck = '' - # woeusb --version checks for missing runtime dependencies. - out_version="$("$out/bin/woeusb" --version)" - [ "$out_version" = '${version}' ] - ''; - - meta = with lib; { - description = "Create bootable USB disks from Windows ISO images"; - homepage = "https://github.com/WoeUSB/WoeUSB"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ bjornfor ]; - platforms = platforms.linux; - mainProgram = "woeusb"; - }; -} diff --git a/pkgs/tools/misc/woof/default.nix b/pkgs/tools/misc/woof/default.nix deleted file mode 100644 index b73ad5615dd0..000000000000 --- a/pkgs/tools/misc/woof/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python3 }: - -stdenv.mkDerivation { - pname = "woof"; - version = "2022-01-13"; - - src = fetchFromGitHub { - owner = "simon-budig"; - repo = "woof"; - rev = "f51e9db264118d4cbcd839348c4a6223fda49813"; - sha256 = "sha256-tk55q2Ew2mZkQtkxjWCuNgt9t+UbjH4llIJ42IruqGY="; - }; - - propagatedBuildInputs = [ python3 ]; - - installPhase = '' - runHook preInstall - install -Dm555 -t $out/bin woof - runHook postInstall - ''; - - meta = with lib; { - homepage = "http://www.home.unix-ag.org/simon/woof.html"; - description = "Web Offer One File - Command-line utility to easily exchange files over a local network"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.unix; - maintainers = with maintainers; [ matthiasbeyer ]; - mainProgram = "woof"; - }; -} diff --git a/pkgs/tools/misc/wootility/default.nix b/pkgs/tools/misc/wootility/default.nix deleted file mode 100644 index e23f161f9024..000000000000 --- a/pkgs/tools/misc/wootility/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ appimageTools -, fetchurl -, lib -, makeWrapper -}: - -let - pname = "wootility"; - version = "4.6.21"; - src = fetchurl { - url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-lekker-linux-latest/wootility-lekker-${version}.AppImage"; - sha256 = "sha256-ockTQLZWbYvsLzv+D0exD5W/yMaIdse4/JQshbkVzAU="; - }; -in - -appimageTools.wrapType2 { - inherit pname version src; - - extraInstallCommands = - let contents = appimageTools.extract { inherit pname version src; }; - in '' - source "${makeWrapper}/nix-support/setup-hook" - wrapProgram $out/bin/wootility \ - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" - - install -Dm444 ${contents}/wootility-lekker.desktop -t $out/share/applications - install -Dm444 ${contents}/wootility-lekker.png -t $out/share/pixmaps - substituteInPlace $out/share/applications/wootility-lekker.desktop \ - --replace-fail 'Exec=AppRun' 'Exec=wootility' \ - --replace-warn 'Name=wootility-lekker' 'Name=Wootility' - ''; - - profile = '' - export LC_ALL=C.UTF-8 - ''; - - extraPkgs = pkgs: with pkgs; ([ - xorg.libxkbfile - ]); - - meta = { - homepage = "https://wooting.io/wootility"; - description = "Customization and management software for Wooting keyboards"; - platforms = lib.platforms.linux; - license = lib.licenses.unfree; - maintainers = with lib.maintainers; [ davidtwco sodiboo ]; - mainProgram = "wootility"; - }; -} diff --git a/pkgs/tools/misc/writedisk/default.nix b/pkgs/tools/misc/writedisk/default.nix deleted file mode 100644 index 6cc8e03fd5e8..000000000000 --- a/pkgs/tools/misc/writedisk/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -, pkg-config -}: - -rustPlatform.buildRustPackage rec { - pname = "writedisk"; - version = "1.3.0"; - - src = fetchCrate { - inherit version; - pname = "writedisk"; - hash = "sha256-MZFnNb8rJMu/nlH8rfnD//bhqPSkhyXucbTrwsRM9OY="; - }; - - cargoHash = "sha256-DGroBBozAViibbIYbtqH2SxIGLqdtyJ9XKyz7O1L05g="; - - nativeBuildInputs = [ pkg-config ]; - - meta = with lib; { - description = "Small utility for writing a disk image to a USB drive"; - homepage = "https://github.com/nicholasbishop/writedisk"; - platforms = platforms.linux; - license = licenses.asl20; - maintainers = with maintainers; [ devhell ]; - }; -} diff --git a/pkgs/tools/misc/wsl-open/default.nix b/pkgs/tools/misc/wsl-open/default.nix deleted file mode 100644 index e4698ccbabd0..000000000000 --- a/pkgs/tools/misc/wsl-open/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, installShellFiles }: - -stdenv.mkDerivation rec { - pname = "wsl-open"; - version = "2.2.1"; - - src = fetchFromGitHub { - owner = "4U6U57"; - repo = "wsl-open"; - rev = "v${version}"; - sha256 = "sha256-amqkDXdgIqGjRZMkltwco0UAI++G0RY/MxLXwtlxogE="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - installPhase = '' - install -m0755 -D wsl-open.sh $out/bin/wsl-open - installManPage wsl-open.1 - ''; - - meta = with lib; { - description = "Open files with xdg-open from Windows Subsystem for Linux (WSL) in Windows applications"; - homepage = "https://gitlab.com/4U6U57/wsl-open"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ SuperSandro2000 ]; - mainProgram = "wsl-open"; - }; -} diff --git a/pkgs/tools/misc/wv/default.nix b/pkgs/tools/misc/wv/default.nix deleted file mode 100644 index f05465ac1475..000000000000 --- a/pkgs/tools/misc/wv/default.nix +++ /dev/null @@ -1,46 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, zlib, imagemagick, libpng, glib, pkg-config, libgsf -, libxml2, bzip2 -, autoreconfHook -, buildPackages -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "wv"; - version = "1.2.9"; - - src = fetchFromGitHub { - owner = "AbiWord"; - repo = "wv"; - rev = "wv-${builtins.replaceStrings ["."] ["-"] finalAttrs.version}"; - hash = "sha256-xcC+/M1EzFqQFeF5Dw9qd8VIy7r8JdKMp2X/GHkFiPA="; - }; - - nativeBuildInputs = [ pkg-config autoreconfHook ]; - buildInputs = [ zlib imagemagick libpng glib libgsf libxml2 bzip2 ]; - - configureFlags = [ - "PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config" - ]; - - env.NIX_CFLAGS_COMPILE = - # Suppress incompatible function pointer and int conversion errors when building with newer versions of clang 16. - lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion"; - - hardeningDisable = [ "format" ]; - - enableParallelBuilding = true; - - # autoreconfHook fails hard if these two files do not exist. - # The extra move is to work around case-insensitive filesystems. - postPatch = '' - touch AUTHORS - mv CHANGELOG ChangeLog~ && mv ChangeLog~ ChangeLog - ''; - - meta = { - homepage = "https://github.com/AbiWord/wv"; - description = "Converter from Microsoft Word formats to human-editable ones"; - platforms = lib.platforms.unix; - license = lib.licenses.gpl2Plus; - }; -}) diff --git a/pkgs/tools/misc/wv2/default.nix b/pkgs/tools/misc/wv2/default.nix deleted file mode 100644 index 3a7bd5d395a6..000000000000 --- a/pkgs/tools/misc/wv2/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchurl, pkg-config, cmake, libgsf, glib, libxml2 }: - -stdenv.mkDerivation rec { - pname = "wv2"; - version = "0.4.2"; - src = fetchurl { - url = "mirror://sourceforge/wvware/wv2-${version}.tar.bz2"; - sha256 = "1p1qxr8z5bsiq8pvlina3c8c1vjcb5d96bs3zz4jj3nb20wnsawz"; - }; - - patches = [ ./fix-include.patch ]; - - # Newer versions of clang default to C++17, which removes some deprecated APIs such as bind1st. - # Setting the language version to C++14 makes them available again. - cmakeFlags = lib.optionals stdenv.cc.isClang [ (lib.cmakeFeature "CMAKE_CXX_STANDARD" "14") ]; - - # Linking gobject explicitly fixes missing symbols (such as missing `_g_object_unref`) on Darwin. - preConfigure = lib.optionalString stdenv.isDarwin '' - export NIX_LDFLAGS+=" $(pkg-config gobject-2.0 --libs)" - ''; - - nativeBuildInputs = [ cmake pkg-config ]; - buildInputs = [ libgsf glib libxml2 ]; - - env.NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2"; - - meta = { - description = "Excellent MS Word filter lib, used in most Office suites"; - mainProgram = "wv2-config"; - license = lib.licenses.lgpl2; - homepage = "https://wvware.sourceforge.net"; - }; -} diff --git a/pkgs/tools/misc/wv2/fix-include.patch b/pkgs/tools/misc/wv2/fix-include.patch deleted file mode 100644 index df34d24af942..000000000000 --- a/pkgs/tools/misc/wv2/fix-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -From: http://sourceforge.net/tracker/?func=detail&aid=3544851&group_id=10501&atid=110501 ---- a/src/olestream.h -+++ b/src/olestream.h -@@ -23,7 +23,7 @@ - #include "global.h" // U8,... typedefs - #include <stack> - --#include <glib/giochannel.h> // GSeekType -+#include <glib.h> // GSeekType - - namespace wvWare { - diff --git a/pkgs/tools/misc/wwcd/default.nix b/pkgs/tools/misc/wwcd/default.nix deleted file mode 100644 index 0e83ada195b0..000000000000 --- a/pkgs/tools/misc/wwcd/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ stdenv -, lib -, fetchFromSourcehut -, autoreconfHook -, pkg-config -, check -}: - -stdenv.mkDerivation rec { - pname = "wwcd"; - version = "unstable-2022-02-05"; - - src = fetchFromSourcehut { - owner = "~bitfehler"; - repo = pname; - rev = "cdf70bb18dc60c66c074d4810cb37b9e697811e5"; - sha256 = "sha256-laf1DEtdEs7q+rtp5Y5rb+7AGsKUv5T413CFWJiURWw="; - }; - - nativeBuildInputs = [ - autoreconfHook pkg-config check - ]; - - autoreconfFlags = [ "-if" ]; - - meta = with lib; { - description = "What would cron do? Read crontab entries from stdin and print time of next execution(s)"; - homepage = "https://git.sr.ht/~bitfehler/wwcd"; - license = licenses.mit; - maintainers = with maintainers; [ laalsaas ]; - mainProgram = "wwcd"; - }; -} diff --git a/pkgs/tools/misc/x11idle/default.nix b/pkgs/tools/misc/x11idle/default.nix deleted file mode 100644 index e349b54eecae..000000000000 --- a/pkgs/tools/misc/x11idle/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchurl, libXScrnSaver, libX11 }: - -stdenv.mkDerivation rec { - version = "9.2.4"; - pname = "x11idle-org"; - - src = fetchurl { - url = "https://code.orgmode.org/bzg/org-mode/raw/release_${version}/contrib/scripts/x11idle.c"; - sha256 = "0fc5g57xd6bmghyl214gcff0ni3idv33i3gkr339kgn1mdjljv5g"; - }; - - buildInputs = [ libXScrnSaver libX11 ]; - - dontUnpack = true; - - installPhase = '' - mkdir -p $out/bin - gcc -lXss -lX11 $src -o $out/bin/x11idle - ''; - - meta = with lib; { - description = '' - Compute consecutive idle time for current X11 session with millisecond resolution - ''; - longDescription = '' - Idle time passes when the user does not act, i.e. when the user doesn't move the mouse or use the keyboard. - ''; - homepage = "https://orgmode.org/"; - license = licenses.gpl3; - platforms = platforms.linux; - maintainers = [ maintainers.swflint ]; - mainProgram = "x11idle"; - }; -} diff --git a/pkgs/tools/misc/xburst-tools/default.nix b/pkgs/tools/misc/xburst-tools/default.nix index 093e7152bbcf..a94f9681a05c 100644 --- a/pkgs/tools/misc/xburst-tools/default.nix +++ b/pkgs/tools/misc/xburst-tools/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation { lib.optional (gccCross != null) gccCross; meta = { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; description = "Qi tools to access the Ben Nanonote USB_BOOT mode"; license = lib.licenses.gpl3; homepage = "http://www.linux-mtd.infradead.org/"; diff --git a/pkgs/tools/misc/xcd/default.nix b/pkgs/tools/misc/xcd/default.nix deleted file mode 100644 index 1c2e65f86bf9..000000000000 --- a/pkgs/tools/misc/xcd/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchurl, ncurses }: - -stdenv.mkDerivation rec { - pname = "xcd"; - version = "1.2"; - - src = fetchurl { - url = "https://www.muppetlabs.com/~breadbox/pub/software/xcd-${version}.tar.gz"; - sha256 = "1cgwspy08q05rhxbp7m1yrrix252i9jzfcfbzmhdvlgf5bfpl25g"; - }; - - buildInputs = [ ncurses ]; - - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; - - installPhase = '' - runHook preInstall - install -D $pname $out/bin/$pname - runHook postInstall - ''; - - meta = with lib; { - description = "Colorized hexdump tool"; - homepage = "https://www.muppetlabs.com/~breadbox/software/xcd.html"; - maintainers = [ maintainers.xfnw ]; - license = licenses.mit; - platforms = platforms.unix; - mainProgram = "xcd"; - }; -} diff --git a/pkgs/tools/misc/xclip/default.nix b/pkgs/tools/misc/xclip/default.nix deleted file mode 100644 index e56382879d59..000000000000 --- a/pkgs/tools/misc/xclip/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, libXmu }: - -stdenv.mkDerivation rec { - pname = "xclip"; - version = "0.13"; - - src = fetchFromGitHub { - owner = "astrand"; - repo = "xclip"; - rev = version; - sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - buildInputs = [ libXmu ]; - - meta = { - description = "Tool to access the X clipboard from a console application"; - homepage = "https://github.com/astrand/xclip"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.all; - mainProgram = "xclip"; - }; -} diff --git a/pkgs/tools/misc/xcp/default.nix b/pkgs/tools/misc/xcp/default.nix deleted file mode 100644 index c95be8d922b9..000000000000 --- a/pkgs/tools/misc/xcp/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ rustPlatform, fetchFromGitHub, lib }: - -rustPlatform.buildRustPackage rec { - pname = "xcp"; - version = "0.21.3"; - - src = fetchFromGitHub { - owner = "tarka"; - repo = pname; - rev = "v${version}"; - hash = "sha256-psxA4YgrO1zg1hVL93opxxQ4VgjdmLP7KI2nkhEYmaE="; - }; - - # no such file or directory errors - doCheck = false; - - cargoHash = "sha256-o29DesCKOtl4aQysFOVZUm2BghkFbxBOQi02KrUJRGM="; - - meta = with lib; { - description = "Extended cp(1)"; - homepage = "https://github.com/tarka/xcp"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ lom ]; - mainProgram = "xcp"; - }; -} diff --git a/pkgs/tools/misc/xdaliclock/default.nix b/pkgs/tools/misc/xdaliclock/default.nix deleted file mode 100644 index 9a5f348f1524..000000000000 --- a/pkgs/tools/misc/xdaliclock/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ lib, stdenv, fetchurl -, gtk3 -, wrapGAppsHook3 -, pkg-config }: - -stdenv.mkDerivation rec { - pname = "xdaliclock"; - version = "2.48"; - - src = fetchurl { - url = "https://www.jwz.org/xdaliclock/xdaliclock-${version}.tar.gz"; - hash = "sha256-BZiqjTSSAgvT/56OJDcKh4pDP9uqVhR5cCx89H+5FLQ="; - }; - - # Note: don't change this to set sourceRoot, or updateAutotoolsGnuConfigScriptsHook - # on aarch64 doesn't find the files to patch and the aarch64 build fails! - preConfigure = "cd X11"; - - nativeBuildInputs = [ - pkg-config - wrapGAppsHook3 - ]; - buildInputs = [ - gtk3 - ]; - - preInstall = '' - mkdir -vp $out/bin $out/share/man/man1 $out/share/gsettings-schemas/$name/glib-2.0/schemas $out/share/pixmaps $out/share/applications - - # https://www.jwz.org/blog/2022/08/dali-clock-2-45-released/#comment-236762 - gappsWrapperArgs+=(--set MESA_GL_VERSION_OVERRIDE 3.1) - ''; - - installFlags = [ - "GTK_ICONDIR=${placeholder "out"}/share/pixmaps/" - "GTK_APPDIR=${placeholder "out"}/share/applications/" - ]; - - meta = with lib; { - description = "Clock application that morphs digits when they are changed"; - maintainers = with maintainers; [ raskin ]; - platforms = with platforms; linux ++ freebsd; - license = licenses.free; #TODO BSD on Gentoo, looks like MIT - downloadPage = "http://www.jwz.org/xdaliclock/"; - mainProgram = "xdaliclock"; - }; -} diff --git a/pkgs/tools/misc/xdg-ninja/default.nix b/pkgs/tools/misc/xdg-ninja/default.nix deleted file mode 100644 index e30b7602d1c8..000000000000 --- a/pkgs/tools/misc/xdg-ninja/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, jq, glow }: - -stdenvNoCC.mkDerivation rec { - pname = "xdg-ninja"; - version = "0.2.0.2"; - - src = fetchFromGitHub { - owner = "b3nj5m1n"; - repo = "xdg-ninja"; - rev = "v${version}"; - sha256 = "sha256-ASJIFQ/BpZMQGRtw8kPhtMCbXC1eb/X8TWQz+CAnaSM="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - installPhase = '' - runHook preInstall - install -Dm755 xdg-ninja.sh "$out/share/xdg-ninja/xdg-ninja.sh" - install -Dm644 programs/* -t "$out/share/xdg-ninja/programs" - - mkdir -p "$out/bin" - ln -s "$out/share/xdg-ninja/xdg-ninja.sh" "$out/bin/xdg-ninja" - - wrapProgram "$out/bin/xdg-ninja" \ - --prefix PATH : "${lib.makeBinPath [ glow jq ]}" - runHook postInstall - ''; - - meta = with lib; { - description = "Shell script which checks your $HOME for unwanted files and directories"; - homepage = "https://github.com/b3nj5m1n/xdg-ninja"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ arcuru ]; - mainProgram = "xdg-ninja"; - }; -} diff --git a/pkgs/tools/misc/xdiskusage/default.nix b/pkgs/tools/misc/xdiskusage/default.nix deleted file mode 100644 index 9db3563ca247..000000000000 --- a/pkgs/tools/misc/xdiskusage/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ lib, stdenv, fetchurl, fltk }: - -stdenv.mkDerivation (finalAttrs: { - pname = "xdiskusage"; - version = "1.60"; - - src = fetchurl { - url = "https://xdiskusage.sourceforge.net/xdiskusage-${finalAttrs.version}.tgz"; - hash = "sha256-e1NtxvG9xtm+x8KblDXCPZ0yv/ig6+4muZZrJz3J9n4="; - }; - - nativeBuildInputs = [ fltk ]; - - meta = { - description = "Program to show you what is using up all your disk space"; - homepage = "https://xdiskusage.sourceforge.net/"; - license = with lib.licenses; [ gpl2Plus ]; - maintainers = with lib.maintainers; [ fuzzdk ]; - platforms = with lib.platforms; linux; - mainProgram = "xdiskusage"; - }; -}) diff --git a/pkgs/tools/misc/xdo/default.nix b/pkgs/tools/misc/xdo/default.nix deleted file mode 100644 index 268dfcd66e04..000000000000 --- a/pkgs/tools/misc/xdo/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm }: - -stdenv.mkDerivation rec { - pname = "xdo"; - version = "0.5.7"; - - src = fetchFromGitHub { - owner = "baskerville"; - repo = "xdo"; - rev = version; - sha256 = "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9"; - }; - - makeFlags = [ "PREFIX=$(out)" ]; - - buildInputs = [ libxcb xcbutilwm xcbutil ]; - - meta = with lib; { - description = "Small X utility to perform elementary actions on windows"; - homepage = "https://github.com/baskerville/xdo"; - maintainers = with maintainers; [ meisternu ]; - license = licenses.bsd2; - platforms = platforms.linux; - mainProgram = "xdo"; - }; -} diff --git a/pkgs/tools/misc/xdummy/default.nix b/pkgs/tools/misc/xdummy/default.nix deleted file mode 100644 index 227829346cd0..000000000000 --- a/pkgs/tools/misc/xdummy/default.nix +++ /dev/null @@ -1,85 +0,0 @@ -{ writeText, writeScriptBin, xorg, xkeyboard_config, runtimeShell -, unfreeFonts ? false, lib}: - -let - xorgConfig = writeText "dummy-xorg.conf" '' - Section "ServerLayout" - Identifier "dummy_layout" - Screen 0 "dummy_screen" - InputDevice "dummy_keyboard" "CoreKeyboard" - InputDevice "dummy_mouse" "CorePointer" - EndSection - - Section "ServerFlags" - Option "DontVTSwitch" "true" - Option "AllowMouseOpenFail" "true" - Option "PciForceNone" "true" - Option "AutoEnableDevices" "false" - Option "AutoAddDevices" "false" - EndSection - - Section "Files" - ModulePath "${xorg.xorgserver.out}/lib/xorg/modules" - ModulePath "${xorg.xf86videodummy}/lib/xorg/modules" - XkbDir "${xkeyboard_config}/share/X11/xkb" - FontPath "${xorg.fontadobe75dpi}/lib/X11/fonts/75dpi" - FontPath "${xorg.fontadobe100dpi}/lib/X11/fonts/100dpi" - FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc" - FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc" - ${lib.optionalString unfreeFonts '' - FontPath "${xorg.fontbhlucidatypewriter75dpi}/lib/X11/fonts/75dpi" - FontPath "${xorg.fontbhlucidatypewriter100dpi}/lib/X11/fonts/100dpi" - FontPath "${xorg.fontbh100dpi}/lib/X11/fonts/100dpi" - ''} - EndSection - - Section "Module" - Load "dbe" - Load "extmod" - Load "freetype" - Load "glx" - EndSection - - Section "InputDevice" - Identifier "dummy_mouse" - Driver "void" - EndSection - - Section "InputDevice" - Identifier "dummy_keyboard" - Driver "void" - EndSection - - Section "Monitor" - Identifier "dummy_monitor" - HorizSync 30.0 - 130.0 - VertRefresh 50.0 - 250.0 - Option "DPMS" - EndSection - - Section "Device" - Identifier "dummy_device" - Driver "dummy" - VideoRam 192000 - EndSection - - Section "Screen" - Identifier "dummy_screen" - Device "dummy_device" - Monitor "dummy_monitor" - DefaultDepth 24 - SubSection "Display" - Depth 24 - Modes "1280x1024" - EndSubSection - EndSection - ''; - -in writeScriptBin "xdummy" '' - #!${runtimeShell} - exec ${xorg.xorgserver.out}/bin/Xorg \ - -noreset \ - -logfile /dev/null \ - "$@" \ - -config "${xorgConfig}" -'' diff --git a/pkgs/tools/misc/xdxf2slob/default.nix b/pkgs/tools/misc/xdxf2slob/default.nix deleted file mode 100644 index e23d68f8fccb..000000000000 --- a/pkgs/tools/misc/xdxf2slob/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages }: - -python3Packages.buildPythonApplication { - pname = "xdxf2slob"; - version = "unstable-2015-06-30"; - - src = fetchFromGitHub { - owner = "itkach"; - repo = "xdxf2slob"; - rev = "6831b93c3db8c73200900fa4ddcb17350a677e1b"; - sha256 = "0m3dnc3816ja3kmik1wabb706dkqdf5sxvabwgf2rcrq891xcddd"; - }; - - propagatedBuildInputs = [ python3Packages.pyicu python3Packages.slob ]; - - meta = with lib; { - description = "Tool to convert XDXF dictionary files to slob format"; - homepage = "https://github.com/itkach/xdxf2slob/"; - license = licenses.gpl3; - platforms = platforms.all; - mainProgram = "xdxf2slob"; - }; -} diff --git a/pkgs/tools/misc/xfstests/default.nix b/pkgs/tools/misc/xfstests/default.nix deleted file mode 100644 index aed576f7d34a..000000000000 --- a/pkgs/tools/misc/xfstests/default.nix +++ /dev/null @@ -1,111 +0,0 @@ -{ stdenv, acl, attr, autoconf, automake, bash, bc, coreutils, e2fsprogs -, fetchzip, fio, gawk, keyutils, killall, lib, libaio, libcap, libtool -, libuuid, libxfs, lvm2, openssl, perl, procps, quota -, time, util-linux, which, writeScript, xfsprogs, runtimeShell }: - -stdenv.mkDerivation rec { - pname = "xfstests"; - version = "2023.05.14"; - - src = fetchzip { - url = "https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/snapshot/xfstests-dev-v${version}.tar.gz"; - hash = "sha256-yyjY9Q3eUH+q+o15zFUjOcNz1HpXPCwdcxWXoycOx98="; - }; - - nativeBuildInputs = [ - autoconf automake libtool - ]; - buildInputs = [ - acl attr gawk libaio libuuid libxfs openssl perl - ]; - - hardeningDisable = [ "format" ]; - enableParallelBuilding = true; - - patchPhase = '' - substituteInPlace Makefile \ - --replace "cp include/install-sh ." "cp -f include/install-sh ." - - # Patch the destination directory - sed -i include/builddefs.in -e "s|^PKG_LIB_DIR\s*=.*|PKG_LIB_DIR=$out/lib/xfstests|" - - # Don't canonicalize path to mkfs (in util-linux) - otherwise e.g. mkfs.ext4 isn't found - sed -i common/config -e 's|^export MKFS_PROG=.*|export MKFS_PROG=mkfs|' - - # Move the Linux-specific test output files to the correct place, or else it will - # try to move them at runtime. Also nuke all the irix crap. - for f in tests/*/*.out.linux; do - mv $f $(echo $f | sed -e 's/\.linux$//') - done - rm -f tests/*/*.out.irix - - # Fix up lots of impure paths - for f in common/* tools/* tests/*/*; do - sed -i $f -e 's|/bin/bash|${bash}/bin/bash|' - sed -i $f -e 's|/bin/true|true|' - sed -i $f -e 's|/usr/sbin/filefrag|${e2fsprogs}/bin/filefrag|' - sed -i $f -e 's|hostname -s|hostname|' # `hostname -s` seems problematic on NixOS - sed -i $f -e 's|$(_yp_active)|1|' # NixOS won't ever have Yellow Pages enabled - done - - for f in src/*.c src/*.sh; do - sed -e 's|/bin/rm|${coreutils}/bin/rm|' -i $f - sed -e 's|/usr/bin/time|${time}/bin/time|' -i $f - done - - patchShebangs . - ''; - - preConfigure = '' - # The configure scripts really don't like looking in PATH at all... - export AWK=$(type -P awk) - export ECHO=$(type -P echo) - export LIBTOOL=$(type -P libtool) - export MAKE=$(type -P make) - export SED=$(type -P sed) - export SORT=$(type -P sort) - - make configure - ''; - - postInstall = '' - patchShebangs $out/lib/xfstests - - mkdir -p $out/bin - substitute $wrapperScript $out/bin/xfstests-check --subst-var out - chmod a+x $out/bin/xfstests-check - ''; - - # The upstream package is pretty hostile to packaging; it looks up - # various paths relative to current working directory, and also - # wants to write temporary files there. So create a temporary - # to run from and symlink the runtime files to it. - wrapperScript = writeScript "xfstests-check" '' - #!${runtimeShell} - set -e - export RESULT_BASE="$(pwd)/results" - - dir=$(mktemp --tmpdir -d xfstests.XXXXXX) - trap "rm -rf $dir" EXIT - - chmod a+rx "$dir" - cd "$dir" - for f in $(cd @out@/lib/xfstests; echo *); do - ln -s @out@/lib/xfstests/$f $f - done - - export PATH=${lib.makeBinPath [acl attr bc e2fsprogs fio gawk keyutils - libcap lvm2 perl procps killall quota - util-linux which xfsprogs]}:$PATH - exec ./check "$@" - ''; - - meta = with lib; { - description = "Torture test suite for filesystems"; - homepage = "https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/"; - license = licenses.gpl2Only; - maintainers = [ maintainers.dezgeg ]; - platforms = platforms.linux; - mainProgram = "xfstests-check"; - }; -} diff --git a/pkgs/tools/misc/xiccd/default.nix b/pkgs/tools/misc/xiccd/default.nix deleted file mode 100644 index 4ffb5b689e3b..000000000000 --- a/pkgs/tools/misc/xiccd/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libX11, libXrandr, glib, colord }: - -stdenv.mkDerivation rec { - pname = "xiccd"; - version = "0.3.0"; - - src = fetchFromGitHub { - owner = "agalakhov"; - repo = "xiccd"; - rev = "v${version}"; - sha256 = "159fyz5535lcabi5bzmxgmjdgxlqcjaiqgzr00mi3ax0i5fdldwn"; - }; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ libX11 libXrandr glib colord ]; - - meta = with lib; { - description = "X color profile daemon"; - homepage = "https://github.com/agalakhov/xiccd"; - license = licenses.gpl3; - maintainers = with maintainers; [ abbradar ]; - platforms = platforms.linux; - mainProgram = "xiccd"; - }; -} diff --git a/pkgs/tools/misc/xjobs/default.nix b/pkgs/tools/misc/xjobs/default.nix deleted file mode 100644 index d2c5a44df521..000000000000 --- a/pkgs/tools/misc/xjobs/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ lib, stdenv, fetchurl -, flex, installShellFiles, ncurses, which -}: - -stdenv.mkDerivation rec { - pname = "xjobs"; - version = "20200726"; - - src = fetchurl { - url = "mirror://sourceforge//xjobs/files/xjobs-${version}.tgz"; - sha256 = "0ay6gn43pnm7r1jamwgpycl67bjg5n87ncl27jb01w2x6x70z0i3"; - }; - - nativeBuildInputs = [ - flex - installShellFiles - which - ]; - buildInputs = [ - ncurses - ]; - - checkPhase = '' - runHook preCheck - ./xjobs -V - runHook postCheck - ''; - - installPhase = '' - runHook preInstall - mkdir -p $out/{bin,etc} - install -m755 xjobs $out/bin/xjobs - install -m644 xjobs.rc $out/etc/xjobs.rc - installManPage xjobs.1 - runHook postInstall - ''; - - meta = with lib; { - description = "Program which reads job descriptions line by line and executes them in parallel"; - homepage = "https://www.maier-komor.de/xjobs.html"; - license = licenses.gpl2Plus; - platforms = platforms.all; - maintainers = [ maintainers.siriobalmelli ]; - longDescription = '' - xjobs reads job descriptions line by line and executes them in parallel. - - It limits the number of parallel executing jobs and starts new jobs when jobs finish. - - Therefore, it combines the arguments from every input line with the utility - and arguments given on the command line. - If no utility is given as an argument to xjobs, - then the first argument on every job line will be used as utility. - To execute utility xjobs searches the directories given in the PATH environment variable - and uses the first file found in these directories. - - xjobs is most useful on multi-processor/core machines when one needs to execute - several time consuming command several that could possibly be run in parallel. - With xjobs this can be achieved easily, and it is possible to limit the load - of the machine to a useful value. - - It works similar to xargs, but starts several processes simultaneously - and gives only one line of arguments to each utility call. - ''; - mainProgram = "xjobs"; - }; -} diff --git a/pkgs/tools/misc/xmlbeans/default.nix b/pkgs/tools/misc/xmlbeans/default.nix deleted file mode 100644 index 040205753c05..000000000000 --- a/pkgs/tools/misc/xmlbeans/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, stdenv, fetchzip, jre_headless }: - -stdenv.mkDerivation rec { - pname = "xmlbeans"; - version = "5.1.1-20220819"; - - src = fetchzip { - # old releases are deleted from the cdn - url = "https://web.archive.org/web/20230313151507/https://dlcdn.apache.org/poi/xmlbeans/release/bin/xmlbeans-bin-${version}.zip"; - sha256 = "sha256-TDnWo1uJWL6k6Z8/uaF2LBNzRVQMHYopYze/2Fb/0aI="; - }; - - postPatch = '' - rm bin/*.cmd - substituteInPlace bin/dumpxsb \ - --replace 'echo `dirname $0`' "" - - substituteInPlace bin/_setlib \ - --replace 'echo XMLBEANS_LIB=$XMLBEANS_LIB' "" - - for file in bin/*; do - substituteInPlace $file \ - --replace "java " "${jre_headless}/bin/java " - done - ''; - - installPhase = '' - mkdir -p $out - chmod +x bin/* - cp -r bin/ lib/ $out/ - ''; - - meta = with lib; { - description = "Java library for accessing XML by binding it to Java types"; - homepage = "https://xmlbeans.apache.org/"; - downloadPage = "https://dlcdn.apache.org/poi/xmlbeans/release/bin/"; - license = licenses.asl20; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/xq/default.nix b/pkgs/tools/misc/xq/default.nix deleted file mode 100644 index 1de537e071a5..000000000000 --- a/pkgs/tools/misc/xq/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib -, rustPlatform -, fetchCrate -}: - -rustPlatform.buildRustPackage rec { - pname = "xq"; - version = "0.4.1"; - - src = fetchCrate { - inherit pname version; - hash = "sha256-Qe+crretlKJRoNPO2+aHxCmMO9MecqGjOuvdhr4a0NU="; - }; - - cargoHash = "sha256-R2ng5l2l/5vWnTJ3kt3cURNWL4Lo55yGbSE+9hjQu20="; - - meta = with lib; { - description = "Pure rust implementation of jq"; - homepage = "https://github.com/MiSawa/xq"; - license = licenses.mit; - maintainers = with maintainers; [ matthewcroughan ]; - mainProgram = "xq"; - }; -} diff --git a/pkgs/tools/misc/xsel/default.nix b/pkgs/tools/misc/xsel/default.nix deleted file mode 100644 index f32d0a81a61e..000000000000 --- a/pkgs/tools/misc/xsel/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - pkg-config, - autoreconfHook, - libX11, - libXt -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "xsel"; - version = "1.2.1"; - - src = fetchFromGitHub { - owner = "kfish"; - repo = "xsel"; - rev = finalAttrs.version; - hash = "sha256-F2w/Ad8IWxJNH90/0a9+1M8bLfn1M3m4TH3PNpQmEFI="; - }; - - nativeBuildInputs = [pkg-config autoreconfHook]; - buildInputs = [libX11 libXt]; - - meta = with lib; { - description = "Command-line program for getting and setting the contents of the X selection"; - homepage = "http://www.kfish.org/software/xsel"; - changelog = "https://github.com/kfish/xsel/releases/tag/${finalAttrs.version}"; - license = licenses.mit; - maintainers = with maintainers; [cafkafk]; - platforms = lib.platforms.unix; - mainProgram = "xsel"; - }; -}) diff --git a/pkgs/tools/misc/xstow/default.nix b/pkgs/tools/misc/xstow/default.nix deleted file mode 100644 index 96e569fe26b0..000000000000 --- a/pkgs/tools/misc/xstow/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, ncurses -, autoreconfHook -}: - -stdenv.mkDerivation rec { - pname = "xstow"; - version = "1.1.1"; - - src = fetchFromGitHub { - owner = "majorkingleo"; - repo = "xstow"; - rev = version; - fetchSubmodules = true; - hash = "sha256-c89+thw5N3Cgl1Ww+W7c3YsyhNJMLlreedvdWJFY3WY="; - }; - - nativeBuildInputs = [ autoreconfHook ]; - - # Upstream seems to try to support building both static and dynamic version - # of executable on dynamic systems, but fails with link error when attempting - # to cross-build "xstow-static" to the system where "xstow" proper is static. - postPatch = lib.optionalString stdenv.hostPlatform.isStatic '' - substituteInPlace src/Makefile.am --replace xstow-static "" - substituteInPlace src/Makefile.am --replace xstow-stow "" - ''; - - buildInputs = [ - ncurses - ]; - - meta = with lib; { - description = "Replacement of GNU Stow written in C++"; - homepage = "https://github.com/majorkingleo/xstow"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ nzbr ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/xtitle/default.nix b/pkgs/tools/misc/xtitle/default.nix deleted file mode 100644 index 94e650144956..000000000000 --- a/pkgs/tools/misc/xtitle/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }: - -stdenv.mkDerivation rec { - pname = "xtitle"; - version = "0.4.4"; - - src = fetchFromGitHub { - owner = "baskerville"; - repo = "xtitle"; - rev = version; - hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg="; - }; - - postPatch = '' - sed -i "s|/usr/local|$out|" Makefile - ''; - - buildInputs = [ libxcb git xcbutil xcbutilwm ]; - - meta = with lib; { - description = "Outputs X window titles"; - homepage = "https://github.com/baskerville/xtitle"; - maintainers = with maintainers; [ meisternu ]; - license = "Custom"; - platforms = platforms.linux; - mainProgram = "xtitle"; - }; -} diff --git a/pkgs/tools/misc/xxv/default.nix b/pkgs/tools/misc/xxv/default.nix deleted file mode 100644 index 3973f8d096ac..000000000000 --- a/pkgs/tools/misc/xxv/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform -, ncurses ? null -, darwin ? null }: - -let useNcurses = !stdenv.hostPlatform.isWindows; in - -assert useNcurses -> ncurses != null; - -rustPlatform.buildRustPackage rec { - pname = "xxv"; - version = "0.1.2"; - - src = fetchFromGitHub { - owner = "chrisvest"; - repo = pname; - rev = version; - sha256 = "0ppfsgdigza2jppbkg4qanjhlkpnq7p115c4471vc6vpikpfrlk3"; - }; - - cargoHash = "sha256-S8IKBXREJ+0z4Qz9i3RH52btg1Mpk6GjKIJf4ivdt14="; - - buildInputs = lib.optionals useNcurses [ ncurses ] - ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security ]) - ; - - # I'm picking pancurses for Windows simply because that's the example given in Cursive's - # documentation for picking an alternative backend. We could just as easily pick crossterm. - buildNoDefaultFeatures = !useNcurses; - buildFeatures = lib.optional (!useNcurses) "pancurses-backend"; - - meta = with lib; { - description = "Visual hex viewer for the terminal"; - longDescription = '' - XXV is a terminal hex viewer with a text user interface, written in 100% safe Rust. - ''; - homepage = "https://chrisvest.github.io/xxv/"; - license = with licenses; [ gpl3 ]; - maintainers = [ ]; - mainProgram = "xxv"; - }; -} diff --git a/pkgs/tools/misc/yad/default.nix b/pkgs/tools/misc/yad/default.nix deleted file mode 100644 index 1a7d07ed5104..000000000000 --- a/pkgs/tools/misc/yad/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, intltool, autoreconfHook, wrapGAppsHook3 -, gtk3, hicolor-icon-theme, netpbm }: - -stdenv.mkDerivation rec { - pname = "yad"; - version = "14.1"; - - src = fetchFromGitHub { - owner = "v1cont"; - repo = "yad"; - rev = "v${version}"; - sha256 = "sha256-Y7bp20fkNdSgBcSV1kPEpWEP7ASwZcScVRaPauwI72M="; - }; - - configureFlags = [ - "--enable-icon-browser" - "--with-gtk=gtk3" - "--with-rgb=${placeholder "out"}/share/yad/rgb.txt" - ]; - - buildInputs = [ gtk3 hicolor-icon-theme ]; - - nativeBuildInputs = [ autoreconfHook pkg-config intltool wrapGAppsHook3 ]; - - postPatch = '' - sed -i src/file.c -e '21i#include <glib/gprintf.h>' - sed -i src/form.c -e '21i#include <stdlib.h>' - - # there is no point to bring in the whole netpbm package just for this file - install -Dm644 ${netpbm.out}/share/netpbm/misc/rgb.txt $out/share/yad/rgb.txt - ''; - - postAutoreconf = '' - intltoolize - ''; - - meta = with lib; { - homepage = "https://sourceforge.net/projects/yad-dialog/"; - description = "GUI dialog tool for shell scripts"; - longDescription = '' - Yad (yet another dialog) is a GUI dialog tool for shell scripts. It is a - fork of Zenity with many improvements, such as custom buttons, additional - dialogs, pop-up menu in notification icon and more. - ''; - - license = licenses.gpl3; - mainProgram = "yad"; - maintainers = with maintainers; [ smironov ]; - platforms = with platforms; linux; - }; -} diff --git a/pkgs/tools/misc/yai/default.nix b/pkgs/tools/misc/yai/default.nix deleted file mode 100644 index 958b88bc2297..000000000000 --- a/pkgs/tools/misc/yai/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: -buildGoModule rec { - pname = "yai"; - version = "0.6.0"; - - src = fetchFromGitHub { - owner = "ekkinox"; - repo = pname; - rev = version; - sha256 = "sha256-MoblXLfptlIYJbXQTpbc8GBo2a3Zgxdvwra8IUEGiZs=="; - }; - - vendorHash = "sha256-+NhYK8FXd5B3GsGUPJOMM7Tt3GS1ZJ7LeApz38Xkwx8="; - - ldflags = [ - "-w -s" - "-X main.buildVersion=${version}" - ]; - - preCheck = '' - # analyzer_test.go needs a user - export USER=test - ''; - - meta = with lib; { - homepage = "https://github.com/ekkinox/yai"; - description = "Your AI powered terminal assistant"; - longDescription = '' - Yai (your AI) is an assistant for your terminal, using OpenAI ChatGPT to build and run commands for you. - You just need to describe them in your everyday language, it will take care or the rest. - ''; - license = licenses.mit; - maintainers = with maintainers; [ georgesalkhouri ]; - mainProgram = "yai"; - }; -} diff --git a/pkgs/tools/misc/yajsv/default.nix b/pkgs/tools/misc/yajsv/default.nix deleted file mode 100644 index d6293c74399d..000000000000 --- a/pkgs/tools/misc/yajsv/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ buildGoModule, fetchFromGitHub, lib }: - -let - version = "1.4.1"; -in -buildGoModule { - pname = "yajsv"; - version = version; - - src = fetchFromGitHub { - owner = "neilpa"; - repo = "yajsv"; - rev = "v${version}"; - hash = "sha256-dp7PBN8yR+gPPUWA+ug11dUN7slU6CJAojuxt5eNTxA="; - }; - - vendorHash = "sha256-f45climGKl7HxD+1vz2TGqW/d0dqJ0RfvgJoRRM6lUk="; - - ldflags = [ "-s" "-w" ]; - - doInstallCheck = true; - - installCheckPhase = '' - $out/bin/yajsv -v > /dev/null - ''; - - meta = { - description = "Yet Another JSON Schema Validator"; - homepage = "https://github.com/neilpa/yajsv"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ rycee ]; - mainProgram = "yajsv"; - }; -} diff --git a/pkgs/tools/misc/yank/default.nix b/pkgs/tools/misc/yank/default.nix deleted file mode 100644 index 50d883759130..000000000000 --- a/pkgs/tools/misc/yank/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, xsel }: - -stdenv.mkDerivation rec { - pname = "yank"; - version = "1.3.0"; - - src = fetchFromGitHub { - owner = "mptre"; - repo = "yank"; - rev = "v${version}"; - sha256 = "sha256-sZiZki2Zl0Tfmls5KrLGxT94Bdf9TA9EwoaLoFOX9B4="; - }; - - installFlags = [ "PREFIX=$(out)" ]; - makeFlags = [ "YANKCMD=${xsel}/bin/xsel" ]; - - meta = with lib; { - homepage = "https://github.com/mptre/yank"; - description = "Yank terminal output to clipboard"; - longDescription = '' - Read input from stdin and display a selection interface that allows a - field to be selected and copied to the clipboard. Fields are determined - by splitting the input on a delimiter sequence, optionally specified - using the -d option. New line, carriage return and tab characters are - always treated as delimiters. - ''; - downloadPage = "https://github.com/mptre/yank/releases"; - license = licenses.mit; - maintainers = [ maintainers.dochang ]; - platforms = platforms.unix; - mainProgram = "yank"; - }; - -} diff --git a/pkgs/tools/misc/yle-dl/default.nix b/pkgs/tools/misc/yle-dl/default.nix deleted file mode 100644 index 514bb441fd97..000000000000 --- a/pkgs/tools/misc/yle-dl/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, fetchFromGitHub, rtmpdump, php, wget, python3Packages, ffmpeg -, testers, yle-dl -}: - -python3Packages.buildPythonApplication rec { - pname = "yle-dl"; - version = "20240706"; - - src = fetchFromGitHub { - owner = "aajanki"; - repo = "yle-dl"; - rev = version; - hash = "sha256-X5fkcJgTVGASoVvvshGWUFNzB1V4KMSKgwoxzP62mxc="; - }; - - propagatedBuildInputs = with python3Packages; [ - attrs configargparse ffmpeg future lxml requests - ]; - pythonPath = [ rtmpdump php wget ]; - - doCheck = false; # tests require network access - nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; - - passthru.tests.version = testers.testVersion { - package = yle-dl; - command = "yle-dl -h"; - }; - - meta = with lib; { - description = "Downloads videos from Yle (Finnish Broadcasting Company) servers"; - homepage = "https://aajanki.github.io/yle-dl/"; - changelog = "https://github.com/aajanki/yle-dl/blob/${version}/ChangeLog"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ dezgeg ]; - platforms = platforms.unix; - mainProgram = "yle-dl"; - }; -} diff --git a/pkgs/tools/misc/you-get/default.nix b/pkgs/tools/misc/you-get/default.nix deleted file mode 100644 index 6f11442c496c..000000000000 --- a/pkgs/tools/misc/you-get/default.nix +++ /dev/null @@ -1,53 +0,0 @@ -{ lib -, python3 -, fetchPypi -, substituteAll -, ffmpeg -, installShellFiles -}: - -python3.pkgs.buildPythonApplication rec { - pname = "you-get"; - version = "0.4.1700"; - format = "setuptools"; - - # Tests aren't packaged, but they all hit the real network so - # probably aren't suitable for a build environment anyway. - doCheck = false; - - src = fetchPypi { - inherit pname version; - hash = "sha256-XNIUkgEqRGrBtSxvfkSUSqxltZ6ZdkWoTc9kz4BD6Zw="; - }; - - patches = [ - (substituteAll { - src = ./ffmpeg-path.patch; - ffmpeg = "${lib.getBin ffmpeg}/bin/ffmpeg"; - ffprobe = "${lib.getBin ffmpeg}/bin/ffmpeg"; - version = lib.getVersion ffmpeg; - }) - ]; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion --cmd you-get \ - --zsh contrib/completion/_you-get \ - --fish contrib/completion/you-get.fish \ - --bash contrib/completion/you-get-completion.bash - ''; - - pythonImportsCheck = [ - "you_get" - ]; - - meta = with lib; { - description = "Tiny command line utility to download media contents from the web"; - homepage = "https://you-get.org"; - changelog = "https://github.com/soimort/you-get/raw/v${version}/CHANGELOG.rst"; - license = licenses.mit; - maintainers = with maintainers; [ ryneeverett ]; - mainProgram = "you-get"; - }; -} diff --git a/pkgs/tools/misc/you-get/ffmpeg-path.patch b/pkgs/tools/misc/you-get/ffmpeg-path.patch deleted file mode 100644 index abbd0be9d3e1..000000000000 --- a/pkgs/tools/misc/you-get/ffmpeg-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/you_get/processor/ffmpeg.py b/src/you_get/processor/ffmpeg.py -index 50e2c9f..46e7f61 100755 ---- a/src/you_get/processor/ffmpeg.py -+++ b/src/you_get/processor/ffmpeg.py -@@ -31,7 +31,7 @@ def get_usable_ffmpeg(cmd): - except: - return None - --FFMPEG, FFPROBE, FFMPEG_VERSION = get_usable_ffmpeg('ffmpeg') or get_usable_ffmpeg('avconv') or (None, None, None) -+FFMPEG, FFPROBE, FFMPEG_VERSION = ('@ffmpeg@', '@ffprobe@', '@version@') - if logging.getLogger().isEnabledFor(logging.DEBUG): - LOGLEVEL = ['-loglevel', 'info'] - STDIN = None diff --git a/pkgs/tools/misc/ytarchive/default.nix b/pkgs/tools/misc/ytarchive/default.nix deleted file mode 100644 index 9f16680759a2..000000000000 --- a/pkgs/tools/misc/ytarchive/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg-headless }: - -buildGoModule rec { - pname = "ytarchive"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "Kethsar"; - repo = "ytarchive"; - rev = "v${version}"; - hash = "sha256-Y1frd7iJJuNFvLL/C1Y+RrqYC/1LF7P3J9rkPAThp9c="; - }; - - vendorHash = "sha256-hVAiWJKdDQB+6UlARFdjVATCMiGrEK2US62KAxCquvU="; - - nativeBuildInputs = [ makeBinaryWrapper ]; - - ldflags = [ "-s" "-w" "-X main.Commit=-${src.rev}" ]; - - postInstall = '' - wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]} - ''; - - meta = with lib; { - homepage = "https://github.com/Kethsar/ytarchive"; - description = "Garbage Youtube livestream downloader"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "ytarchive"; - }; -} diff --git a/pkgs/tools/misc/ytcast/default.nix b/pkgs/tools/misc/ytcast/default.nix deleted file mode 100644 index 746641457695..000000000000 --- a/pkgs/tools/misc/ytcast/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, }: - -buildGoModule rec { - pname = "ytcast"; - version = "1.4.0"; - - src = fetchFromGitHub { - owner = "MarcoLucidi01"; - repo = "ytcast"; - rev = "v${version}"; - sha256 = "sha256-iy9+MgXwP4ALz4NHJyn2ghC5boR53H3ioB2+7tcJunE="; - }; - - vendorHash = null; - ldflags = [ "-X main.progVersion=${version}" ]; - - meta = with lib; { - description = "Tool to cast YouTube videos from the command-line"; - homepage = "https://github.com/MarcoLucidi01/ytcast"; - license = licenses.mit; - maintainers = with maintainers; [ waelwindows ]; - mainProgram = "ytcast"; - }; -} diff --git a/pkgs/tools/misc/ytfzf/default.nix b/pkgs/tools/misc/ytfzf/default.nix deleted file mode 100644 index c3887972a4ca..000000000000 --- a/pkgs/tools/misc/ytfzf/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, makeWrapper -, coreutils -, curl -, dmenu -, fzf -, gnused -, jq -, mpv -, ueberzugpp -, yt-dlp -}: - -stdenv.mkDerivation rec { - pname = "ytfzf"; - version = "2.6.2"; - - src = fetchFromGitHub { - owner = "pystardust"; - repo = "ytfzf"; - rev = "v${version}"; - hash = "sha256-rwCVOdu9UfTArISt8ITQtLU4Gj2EZd07bcFKvxXQ7Bc="; - }; - - nativeBuildInputs = [ makeWrapper ]; - - dontBuild = true; - - installFlags = [ - "PREFIX=" - "DESTDIR=${placeholder "out"}" - "doc" - "addons" - ]; - - postInstall = '' - wrapProgram "$out/bin/ytfzf" \ - --prefix PATH : ${lib.makeBinPath [ - coreutils curl dmenu fzf gnused jq mpv ueberzugpp yt-dlp - ]} \ - --set YTFZF_SYSTEM_ADDON_DIR "$out/share/ytfzf/addons" - ''; - - meta = with lib; { - description = "Posix script to find and watch youtube videos from the terminal"; - homepage = "https://github.com/pystardust/ytfzf"; - license = licenses.gpl3Only; - platforms = platforms.all; - maintainers = with maintainers; [ dotlambda ]; - mainProgram = "ytfzf"; - }; -} diff --git a/pkgs/tools/misc/ytmdl/default.nix b/pkgs/tools/misc/ytmdl/default.nix deleted file mode 100644 index 3acaac1b3519..000000000000 --- a/pkgs/tools/misc/ytmdl/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ lib -, python3Packages -, fetchPypi -, yt-dlp -, ffmpeg -}: - -python3Packages.buildPythonApplication rec { - pname = "ytmdl"; - version = "2023.11.26"; - - src = fetchPypi { - inherit pname; - version = builtins.replaceStrings [ ".0" ] [ "." ] version; - hash = "sha256-Im3rQAs/TYookv6FeGpU6tJxUGBMb6/UW1ZMDg9FW4s="; - }; - - postPatch = '' - substituteInPlace setup.py \ - --replace "bs4" "beautifulsoup4" \ - --replace "/etc/bash_completion.d" "share/bash-completion/completions" \ - --replace "/usr/share/zsh/functions/Completion/Unix" "share/zsh/site-functions" - sed -i '/python_requires=/d' setup.py - ''; - - propagatedBuildInputs = with python3Packages; [ - ffmpeg-python - musicbrainzngs - rich - simber - pydes - youtube-search-python - unidecode - pyxdg - downloader-cli - beautifulsoup4 - itunespy - mutagen - pysocks - yt-dlp - ytmusicapi - spotipy - ]; - - makeWrapperArgs = [ - "--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ]) - ]; - - # This application has no tests - doCheck = false; - - meta = with lib; { - homepage = "https://github.com/deepjyoti30/ytmdl"; - description = "YouTube Music Downloader"; - license = licenses.mit; - maintainers = with maintainers; [ j0hax ]; - mainProgram = "ytmdl"; - }; -} diff --git a/pkgs/tools/misc/yubikey-manager/default.nix b/pkgs/tools/misc/yubikey-manager/default.nix deleted file mode 100644 index 6243a2e4668c..000000000000 --- a/pkgs/tools/misc/yubikey-manager/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, python3Packages -, installShellFiles -, procps -}: - -python3Packages.buildPythonPackage rec { - pname = "yubikey-manager"; - version = "5.5.1"; - pyproject = true; - - src = fetchFromGitHub { - owner = "Yubico"; - repo = "yubikey-manager"; - rev = version; - hash = "sha256-m/B5G83XZROoCNq/ZT0U0MUth2IC99e3LWc8FcOq1ig="; - }; - - postPatch = '' - substituteInPlace "ykman/pcsc/__init__.py" \ - --replace 'pkill' '${if stdenv.isLinux then procps else "/usr"}/bin/pkill' - ''; - - nativeBuildInputs = with python3Packages; [ - poetry-core - installShellFiles - ]; - - propagatedBuildInputs = with python3Packages; [ - cryptography - pyscard - fido2 - click - keyring - ]; - - pythonRelaxDeps = [ - "keyring" - ]; - - postInstall = '' - installManPage man/ykman.1 - - installShellCompletion --cmd ykman \ - --bash <(_YKMAN_COMPLETE=bash_source "$out/bin/ykman") \ - --zsh <(_YKMAN_COMPLETE=zsh_source "$out/bin/ykman") \ - --fish <(_YKMAN_COMPLETE=fish_source "$out/bin/ykman") \ - ''; - - nativeCheckInputs = with python3Packages; [ - pytestCheckHook - makefun - ]; - - meta = { - homepage = "https://developers.yubico.com/yubikey-manager"; - changelog = "https://github.com/Yubico/yubikey-manager/releases/tag/${version}"; - description = "Command line tool for configuring any YubiKey over all USB transports"; - - license = lib.licenses.bsd2; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ benley lassulus pinpox nickcao ]; - mainProgram = "ykman"; - }; -} diff --git a/pkgs/tools/misc/yubikey-personalization-gui/default.nix b/pkgs/tools/misc/yubikey-personalization-gui/default.nix index 347221ceedf8..6493c7244c3b 100644 --- a/pkgs/tools/misc/yubikey-personalization-gui/default.nix +++ b/pkgs/tools/misc/yubikey-personalization-gui/default.nix @@ -34,7 +34,7 @@ mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; homepage = "https://developers.yubico.com/yubikey-personalization-gui"; description = "QT based cross-platform utility designed to facilitate reconfiguration of the Yubikey"; license = licenses.bsd2; diff --git a/pkgs/tools/misc/yubikey-personalization/default.nix b/pkgs/tools/misc/yubikey-personalization/default.nix deleted file mode 100644 index 13a1cc361197..000000000000 --- a/pkgs/tools/misc/yubikey-personalization/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libusb1, libyubikey, json_c }: - -stdenv.mkDerivation rec { - pname = "yubikey-personalization"; - version = "1.20.0"; - - src = fetchurl { - url = "https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${version}.tar.gz"; - sha256 = "14wvlwqnwj0gllkpvfqiy8ns938bwvjsz8x1hmymmx32m074vj0f"; - }; - - patches = [ - # remove after updating to next release - (fetchpatch { - name = "json-c-0.14-support.patch"; - url = "https://github.com/Yubico/yubikey-personalization/commit/0aa2e2cae2e1777863993a10c809bb50f4cde7f8.patch"; - sha256 = "1wnigf3hbq59i15kgxpq3pwrl1drpbj134x81mmv9xm1r44cjva8"; - }) - - # Pull upstream fix for -fno-common toolchain support: - # https://github.com/Yubico/yubikey-personalization/issues/155 - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/Yubico/yubikey-personalization/commit/09ea16d9e2030e4da6ad00c1e5147e962aa7ff84.patch"; - sha256 = "0n3ka8n7f3ndbxv3k0bi77d850kr2ypglkw81gqycpqyaciidqwa"; - }) - ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libusb1 libyubikey json_c ]; - - configureFlags = [ - "--with-backend=libusb-1.0" - ]; - - doCheck = true; - - postInstall = '' - # Don't use 70-yubikey.rules because it depends on ConsoleKit - install -D -t $out/lib/udev/rules.d 69-yubikey.rules - ''; - - meta = with lib; { - homepage = "https://developers.yubico.com/yubikey-personalization"; - description = "Library and command line tool to personalize YubiKeys"; - license = licenses.bsd2; - platforms = platforms.unix; - }; -} diff --git a/pkgs/tools/misc/z-lua/default.nix b/pkgs/tools/misc/z-lua/default.nix deleted file mode 100644 index 7ff660e8247c..000000000000 --- a/pkgs/tools/misc/z-lua/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, lua52Packages, makeWrapper }: - -stdenv.mkDerivation rec { - pname = "z-lua"; - version = "1.8.18"; - - src = fetchFromGitHub { - owner = "skywind3000"; - repo = "z.lua"; - rev = version; - sha256 = "sha256-QSwZhdBXO+x4vcwRnZjdYdIdWW0Nfu0oImftUgm4wyo="; - }; - - dontBuild = true; - - nativeBuildInputs = [ makeWrapper ]; - - buildInputs = [ lua52Packages.lua ]; - - installPhase = '' - runHook preInstall - - install -Dm755 z.lua $out/bin/z.lua - wrapProgram $out/bin/z.lua --set LUA_CPATH "${lua52Packages.luafilesystem}/lib/lua/5.2/lfs.so" --set _ZL_USE_LFS 1; - # Create symlink for backwards compatibility. See: https://github.com/NixOS/nixpkgs/pull/96081 - ln -s $out/bin/z.lua $out/bin/z - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/skywind3000/z.lua"; - description = "New cd command that helps you navigate faster by learning your habits"; - license = licenses.mit; - maintainers = [ ]; - mainProgram = "z.lua"; - }; -} diff --git a/pkgs/tools/misc/zabbix-cli/default.nix b/pkgs/tools/misc/zabbix-cli/default.nix deleted file mode 100644 index 49f8d504d701..000000000000 --- a/pkgs/tools/misc/zabbix-cli/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "zabbix-cli"; - version = "2.3.2"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "usit-gd"; - repo = "zabbix-cli"; - rev = "refs/tags/${version}"; - sha256 = "sha256-B5t/vxCmPdRR9YKOc2htI57Kmk1ZrpwPUln4JoUrK6g="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - packaging - requests - ]; - - nativeCheckInputs = with python3.pkgs; [ - pytestCheckHook - ]; - - disabledTests = [ - # TypeError: option values must be strings - "test_descriptor_del" - "test_initialize" - ]; - - meta = with lib; { - description = "Command-line interface for Zabbix"; - homepage = "https://github.com/unioslo/zabbix-cli"; - license = licenses.gpl3Plus; - maintainers = [ ]; - }; -} diff --git a/pkgs/tools/misc/zabbixctl/default.nix b/pkgs/tools/misc/zabbixctl/default.nix deleted file mode 100644 index ce45196fdba7..000000000000 --- a/pkgs/tools/misc/zabbixctl/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - pname = "zabbixctl"; - version = "unstable-2021-05-25"; - - src = fetchFromGitHub { - owner = "kovetskiy"; - repo = pname; - rev = "872d73b12901b143898bffe3711b93a34ca75abe"; - sha256 = "sha256-fWT3cgIHjHcKwFDjWIf3BUUUaVZ7hyc2ibkpU+AsW0I="; - }; - - vendorHash = "sha256-BphQcPPmeNU7RDtaHJQxIoW8xxD86xWgqLBsLR08Tag="; - - ldflags = [ "-s" "-w" ]; - - meta = with lib; { - description = "Most effective way for operating in Zabbix Server"; - homepage = "https://github.com/kovetskiy/zabbixctl"; - license = licenses.mit; - maintainers = with maintainers; [ mmahut ]; - mainProgram = "zabbixctl"; - }; -} diff --git a/pkgs/tools/misc/zalgo/default.nix b/pkgs/tools/misc/zalgo/default.nix deleted file mode 100644 index 0ca9f3366ce4..000000000000 --- a/pkgs/tools/misc/zalgo/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "zalgo"; - version = "unstable-2020-08-26"; - - src = fetchFromGitHub { - owner = "lunasorcery"; - repo = "zalgo"; - rev = "6aa1f66cfe183f8164a666730dfeaf39133cf01a"; - sha256 = "00q56yvfcj2f89wllrckvizihivqmd6l77nihb52ffqd99rdd24w"; - }; - - installPhase = '' - install -Dm755 zalgo -t $out/bin - ''; - - meta = with lib; { - description = "Read stdin and corrupt it with combining diacritics"; - homepage = "https://github.com/lunasorcery/zalgo"; - license = licenses.unfree; - platforms = platforms.unix; - maintainers = with maintainers; [ djanatyn ]; - mainProgram = "zalgo"; - }; -} diff --git a/pkgs/tools/misc/zellij/default.nix b/pkgs/tools/misc/zellij/default.nix deleted file mode 100644 index 105d35349eb9..000000000000 --- a/pkgs/tools/misc/zellij/default.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, stdenv -, installShellFiles -, perl -, pkg-config -, libiconv -, openssl -, DiskArbitration -, Foundation -, mandown -, zellij -, testers -}: - -rustPlatform.buildRustPackage rec { - pname = "zellij"; - version = "0.40.1"; - - src = fetchFromGitHub { - owner = "zellij-org"; - repo = "zellij"; - rev = "v${version}"; - hash = "sha256-n8cwsCeKWzTw/psvLL3chBr8EcwGoeKB8JeiLSLna1k="; - }; - - cargoHash = "sha256-TyIQaovmpiu7USURA//+IQWNT95rrVk0x9TRspXYUNk="; - - nativeBuildInputs = [ - mandown - installShellFiles - perl - pkg-config - ]; - - buildInputs = [ - openssl - ] ++ lib.optionals stdenv.isDarwin [ - libiconv - DiskArbitration - Foundation - ]; - - preCheck = '' - HOME=$TMPDIR - ''; - - postInstall = '' - mandown docs/MANPAGE.md > zellij.1 - installManPage zellij.1 - - '' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd $pname \ - --bash <($out/bin/zellij setup --generate-completion bash) \ - --fish <($out/bin/zellij setup --generate-completion fish) \ - --zsh <($out/bin/zellij setup --generate-completion zsh) - ''; - - passthru.tests.version = testers.testVersion { package = zellij; }; - - meta = with lib; { - description = "Terminal workspace with batteries included"; - homepage = "https://zellij.dev/"; - changelog = "https://github.com/zellij-org/zellij/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ therealansh _0x4A6F abbe pyrox0 ]; - mainProgram = "zellij"; - }; -} diff --git a/pkgs/tools/misc/zf/default.nix b/pkgs/tools/misc/zf/default.nix deleted file mode 100644 index c04fa13e2ca8..000000000000 --- a/pkgs/tools/misc/zf/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -, testers -, zig_0_13 -, callPackage -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "zf"; - version = "0.9.2"; - - src = fetchFromGitHub { - owner = "natecraddock"; - repo = "zf"; - rev = "refs/tags/${finalAttrs.version}"; - hash = "sha256-8KfzsDG9sZ/jMOusz2ydt3oytp891vKOpCUlPAwS8TE="; - }; - - nativeBuildInputs = [ - installShellFiles - zig_0_13.hook - ]; - - postPatch = '' - cp -a ${callPackage ./deps.nix { }}/. $ZIG_GLOBAL_CACHE_DIR/p - ''; - - postInstall = '' - installManPage doc/zf.1 - installShellCompletion \ - --bash complete/zf \ - --fish complete/zf.fish \ - --zsh complete/_zf - ''; - - passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; - - meta = { - homepage = "https://github.com/natecraddock/zf"; - description = "Commandline fuzzy finder that prioritizes matches on filenames"; - changelog = "https://github.com/natecraddock/zf/releases/tag/${finalAttrs.version}"; - license = lib.licenses.mit; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ dit7ya figsoda mmlb ]; - mainProgram = "zf"; - }; -}) diff --git a/pkgs/tools/misc/zf/deps.nix b/pkgs/tools/misc/zf/deps.nix deleted file mode 100644 index c814bd6c9645..000000000000 --- a/pkgs/tools/misc/zf/deps.nix +++ /dev/null @@ -1,13 +0,0 @@ -# generated by zon2nix (https://github.com/nix-community/zon2nix) - -{ linkFarm, fetchzip }: - -linkFarm "zig-packages" [ - { - name = "12207831bce7d4abce57b5a98e8f3635811cfefd160bca022eb91fe905d36a02cf25"; - path = fetchzip { - url = "https://codeberg.org/dude_the_builder/ziglyph/archive/b89d43d1e3fb01b6074bc1f7fc980324b04d26a5.tar.gz"; - hash = "sha256-e/zYB9w6vvHUBJzjlocSjpJu3qao7sXjBsfUO9oDXyg="; - }; - } -] diff --git a/pkgs/tools/misc/zitadel-tools/default.nix b/pkgs/tools/misc/zitadel-tools/default.nix deleted file mode 100644 index 1837280f9757..000000000000 --- a/pkgs/tools/misc/zitadel-tools/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, installShellFiles -}: - -buildGoModule rec { - pname = "zitadel-tools"; - version = "0.5.0"; - - src = fetchFromGitHub { - owner = "zitadel"; - repo = "zitadel-tools"; - rev = "v${version}"; - hash = "sha256-wtCBRsP0b7qPOQfYgvmgDT0t2zZHocokO5J8yLZcsgQ="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - vendorHash = "sha256-ql5Qw5Va/wLBKsb9bCmPciuVrgORU8nndRkhjoJBIgs="; - - ldflags = [ - "-s" "-w" - "-X main.version=${version}" - ]; - - postInstall = '' - local INSTALL="$out/bin/zitadel-tools" - installShellCompletion --cmd zitadel-tools \ - --bash <($out/bin/zitadel-tools completion bash) \ - --fish <($out/bin/zitadel-tools completion fish) \ - --zsh <($out/bin/zitadel-tools completion zsh) - ''; - - meta = with lib; { - description = "Helper tools for zitadel"; - homepage = "https://github.com/zitadel/zitadel-tools"; - license = licenses.asl20; - maintainers = [ ]; - mainProgram = "zitadel-tools"; - }; -} diff --git a/pkgs/tools/misc/zotero-translation-server/default.nix b/pkgs/tools/misc/zotero-translation-server/default.nix deleted file mode 100644 index 923d9d4de8fb..000000000000 --- a/pkgs/tools/misc/zotero-translation-server/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, buildNpmPackage, fetchFromGitHub, nodejs }: - -buildNpmPackage rec { - pname = "zotero-translation-server"; - version = "unstable-2023-07-13"; - - src = fetchFromGitHub { - owner = "zotero"; - repo = "translation-server"; - rev = "cf96d57f4e2af66fee7df9bad00681b3f4ac7d77"; - hash = "sha256-GJn7UAl0raVGzplvFzo4A0RUjNbyGt/YI2mt1UZIJv0="; - fetchSubmodules = true; - }; - - npmDepsHash = "sha256-JHoBxUybs1GGRxEVG5GgX2mOCplTgR5dcPjnR42SEbY="; - - makeCacheWritable = true; - - dontNpmBuild = true; - - postInstall = '' - mkdir -p $out/bin/ $out/share/zotero-translation-server/ - makeWrapper ${nodejs}/bin/node $out/bin/translation-server \ - --add-flags "$out/lib/node_modules/translation-server/src/server.js" - ln -s $out/lib/node_modules/translation-server/config $out/share/zotero-translation-server/config - ln -s $out/lib/node_modules/translation-server/modules $out/share/zotero-translation-server/modules - ''; - - meta = with lib; { - description = "Node.js-based server to run Zotero translators"; - homepage = "https://github.com/zotero/translation-server"; - license = licenses.agpl3Only; - maintainers = [ ]; - mainProgram = "translation-server"; - }; -} diff --git a/pkgs/tools/misc/zoxide/default.nix b/pkgs/tools/misc/zoxide/default.nix deleted file mode 100644 index 5b2d00f7538e..000000000000 --- a/pkgs/tools/misc/zoxide/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, withFzf ? true -, fzf -, installShellFiles -, libiconv -}: - -rustPlatform.buildRustPackage rec { - pname = "zoxide"; - version = "0.9.6"; - - src = fetchFromGitHub { - owner = "ajeetdsouza"; - repo = "zoxide"; - rev = "refs/tags/v${version}"; - hash = "sha256-3XC5K4OlituoFMPN9yJkYi+tkH6M0KK5jVAGdr/GLd0="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; - - postPatch = lib.optionalString withFzf '' - substituteInPlace src/util.rs \ - --replace '"fzf"' '"${fzf}/bin/fzf"' - ''; - - cargoHash = "sha256-ZRsnoLysNzDIi9hDOqwAzbxcyFQgn2Wv3gRNAjV5HfE="; - - postInstall = '' - installManPage man/man*/* - installShellCompletion --cmd zoxide \ - --bash contrib/completions/zoxide.bash \ - --fish contrib/completions/zoxide.fish \ - --zsh contrib/completions/_zoxide - ''; - - meta = with lib; { - description = "Fast cd command that learns your habits"; - homepage = "https://github.com/ajeetdsouza/zoxide"; - changelog = "https://github.com/ajeetdsouza/zoxide/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ ysndr cole-h SuperSandro2000 ]; - mainProgram = "zoxide"; - }; -} diff --git a/pkgs/tools/misc/zsh-autoenv/default.nix b/pkgs/tools/misc/zsh-autoenv/default.nix deleted file mode 100644 index d16410c31538..000000000000 --- a/pkgs/tools/misc/zsh-autoenv/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, runtimeShell }: - -stdenv.mkDerivation { - pname = "zsh-autoenv"; - version = "unstable-2017-12-16"; - - src = fetchFromGitHub { - owner = "Tarrasch"; - repo = "zsh-autoenv"; - rev = "2c8cfbcea8e7286649840d7ec98d7e9d5e1d45a0"; - sha256 = "004svkfzhc3ab6q2qvwzgj36wvicg5bs8d2gcibx6adq042di7zj"; - }; - - dontBuild = true; - - installPhase = '' - mkdir -p $out/{bin,share} - cp -R $src $out/share/zsh-autoenv - - cat <<SCRIPT > $out/bin/zsh-autoenv-share - #!${runtimeShell} - # Run this script to find the zsh-autoenv shared folder where all the shell - # integration scripts are living. - echo $out/share/zsh-autoenv - SCRIPT - chmod +x $out/bin/zsh-autoenv-share - ''; - - meta = with lib; { - description = "Automatically sources whitelisted .autoenv.zsh files"; - longDescription = '' - zsh-autoenv automatically sources (known/whitelisted) - .autoenv.zsh files, typically used in project root directories. - It handles "enter" and "leave" events, nesting, and stashing of - variables (overwriting and restoring). - ''; - homepage = "https://github.com/Tarrasch/zsh-autoenv"; - mainProgram = "zsh-autoenv-share"; - platforms = lib.platforms.all; - }; -} diff --git a/pkgs/tools/misc/zsh-history-to-fish/default.nix b/pkgs/tools/misc/zsh-history-to-fish/default.nix deleted file mode 100644 index 4e8da001f835..000000000000 --- a/pkgs/tools/misc/zsh-history-to-fish/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib -, fetchPypi -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "zsh-history-to-fish"; - version = "0.3.0"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-expPuffZttyXNRreplPC5Ee/jfWAyOnmjTIMXONtrnw="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - click - ]; - - # upstream has no tests - doCheck = false; - - pythonImportsCheck = [ - "zsh_history_to_fish" - ]; - - meta = with lib; { - description = "Bring your ZSH history to Fish shell"; - homepage = "https://github.com/rsalmei/zsh-history-to-fish"; - license = licenses.mit; - maintainers = with maintainers; [ alanpearce ]; - mainProgram = "zsh-history-to-fish"; - }; -} diff --git a/pkgs/tools/misc/zsh-navigation-tools/default.nix b/pkgs/tools/misc/zsh-navigation-tools/default.nix deleted file mode 100644 index f719fe3b6922..000000000000 --- a/pkgs/tools/misc/zsh-navigation-tools/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ lib, stdenv, fetchFromGitHub }: - -stdenv.mkDerivation rec { - pname = "zsh-navigation-tools"; - version = "2.2.7"; - - src = fetchFromGitHub { - owner = "psprint"; - repo = "zsh-navigation-tools"; - rev = "v${version}"; - sha256 = "0c4kb19aprb868xnlyq8h1nd2d32r0zkrqblsrzvg7m9gx8vqps8"; - }; - - dontBuild = true; - - installPhase = '' - mkdir -p $out/share/zsh/site-functions/ - cp zsh-navigation-tools.plugin.zsh $out/share/zsh/site-functions/ - cp n-* $out/share/zsh/site-functions/ - cp znt-* $out/share/zsh/site-functions/ - mkdir -p $out/share/zsh/site-functions/.config/znt - cp .config/znt/n-* $out/share/zsh/site-functions/.config/znt - ''; - - meta = with lib; { - description = "Curses-based tools for ZSH"; - homepage = "https://github.com/psprint/zsh-navigation-tools"; - license = licenses.gpl3; - maintainers = with maintainers; [ pSub ]; - platforms = with platforms; unix; - }; -} diff --git a/pkgs/tools/misc/zthrottle/default.nix b/pkgs/tools/misc/zthrottle/default.nix deleted file mode 100644 index aa1d3c1c4fbf..000000000000 --- a/pkgs/tools/misc/zthrottle/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, zsh }: - -stdenv.mkDerivation rec { - pname = "zthrottle"; - version = "unstable-2017-7-24"; - - src = fetchFromGitHub { - owner = "anko"; - repo = pname; - rev = "f62066661e49375baeb891fa8e43ad4527cbd0a0"; - sha256 = "1ipvwmcsigzmxlg7j22cxpvdcgqckkmfpsnvzy18nbybd5ars9l5"; - }; - - buildInputs = [ zsh ]; - - installPhase = '' - install -D zthrottle $out/bin/zthrottle - ''; - - meta = with lib; { - description = "Program that throttles a pipeline, only letting a line through at most every $1 seconds"; - homepage = "https://github.com/anko/zthrottle"; - license = licenses.unlicense; - maintainers = [ ]; - platforms = platforms.unix; - mainProgram = "zthrottle"; - }; -} |