Unverified Commit c497bbd6 authored by uncenter's avatar uncenter
Browse files

jnv: format with nixfmt-rfc-style

parent 59fe871e
Loading
Loading
Loading
Loading
+17 −7
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  stdenv,
  darwin,
}:
rustPlatform.buildRustPackage rec {
  pname = "jnv";
@@ -17,13 +18,22 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-xF0sxoSo7z7lxrF3wFAmU7edREoWKBFBnZ6Xq22c8q0=";

  buildInputs = lib.optional stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreGraphics AppKit ]);
  buildInputs = lib.optional stdenv.isDarwin (
    with darwin.apple_sdk.frameworks;
    [
      CoreGraphics
      AppKit
    ]
  );

  meta = with lib; {
    description = "Interactive JSON filter using jq";
    mainProgram = "jnv";
    homepage = "https://github.com/ynqa/jnv";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ nealfennimore nshalman ];
    maintainers = with maintainers; [
      nealfennimore
      nshalman
    ];
  };
}