Unverified Commit 8ad5e813 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #220522 from figsoda/autopair

parents e636a55c b18978c3
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
{ lib, stdenv, buildFishPlugin, fetchFromGitHub }:

buildFishPlugin rec {
  pname = "autopair.fish";
  version = "1.0.4";

  src = fetchFromGitHub {
    owner = "jorgebucaran";
    repo = pname;
    rev = version;
    sha256 = "sha256-s1o188TlwpUQEN3X5MxUlD/2CFCpEkWu83U9O+wg3VU=";
  };

  meta = with lib; {
    description = "Auto-complete matching pairs in the Fish command line.";
    homepage = "https://github.com/jorgebucaran/autopair.fish";
    license = licenses.mit;
    maintainers = with maintainers; [ thehedgeh0g ];
  };
}
+3 −3
Original line number Diff line number Diff line
@@ -2,19 +2,19 @@

buildFishPlugin rec {
  pname = "autopair";
  version = "1.0.3";
  version = "1.0.4";

  src = fetchFromGitHub {
    owner = "jorgebucaran";
    repo = "autopair.fish";
    rev = version;
    sha256 = "sha256-l6WJ2kjDO/TnU9FSigjxk5xFp90xl68gDfggkE/wrlM=";
    sha256 = "sha256-s1o188TlwpUQEN3X5MxUlD/2CFCpEkWu83U9O+wg3VU=";
  };

  meta = with lib; {
    description = "Auto-complete matching pairs in the Fish command line";
    homepage = "https://github.com/jorgebucaran/autopair.fish";
    license = licenses.mit;
    maintainers = with maintainers; [ kidonng ];
    maintainers = with maintainers; [ figsoda kidonng thehedgeh0g ];
  };
}
+3 −3
Original line number Diff line number Diff line
{ lib, newScope }:
{ lib, newScope, config }:

lib.makeScope newScope (self: with self; {
  autopair = callPackage ./autopair.nix { };

  autopair-fish = callPackage ./autopair-fish.nix { };

  buildFishPlugin = callPackage ./build-fish-plugin.nix { };

  colored-man-pages = callPackage ./colored-man-pages.nix { };
@@ -41,4 +39,6 @@ lib.makeScope newScope (self: with self; {
  sponge = callPackage ./sponge.nix { };

  tide = callPackage ./tide.nix { };
} // lib.optionalAttrs config.allowAliases {
  autopair-fish = self.autopair; # Added 2023-03-10
})