Thu 1 Aug 19:41:50 CEST 2024
This commit is contained in:
parent
a1af9b3e6c
commit
639a3674d3
27
default.nix
27
default.nix
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
buildGoModule,
|
||||
lib,
|
||||
}:
|
||||
buildGoModule {
|
||||
pname = "fzgo";
|
||||
version = "0.1.0";
|
||||
|
||||
src = builtins.path {
|
||||
name = "fzgo-source";
|
||||
path = ./src;
|
||||
};
|
||||
vendorHash = "sha256-0YG2kf1500UpSdDK+ONGTKGZFrIivi/O1g2uIkgd4DA=";
|
||||
|
||||
nativeBuildInputs = [ ];
|
||||
|
||||
buildInputs = [ ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An alternative to FZF written in Go, specifically optimized for file path selection.";
|
||||
homepage = "https://git.thomasave.be/thomasave/fzgo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [thomasave];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "fzgo";
|
||||
};
|
||||
}
|
21
flake.nix
21
flake.nix
|
@ -13,10 +13,27 @@
|
|||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
perSystem = {
|
||||
pkgs,
|
||||
system,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
fzgo = pkgs.callPackage ./. {};
|
||||
fzgo = pkgs.buildGoModule {
|
||||
pname = "fzgo";
|
||||
version = "0.1.0";
|
||||
|
||||
src = builtins.path {
|
||||
name = "fzgo-source";
|
||||
path = ./src;
|
||||
};
|
||||
vendorHash = "sha256-0YG2kf1500UpSdDK+ONGTKGZFrIivi/O1g2uIkgd4DA=";
|
||||
meta = with lib; {
|
||||
description = "An alternative to FZF written in Go, specifically optimized for file path selection.";
|
||||
homepage = "https://git.thomasave.be/thomasave/fzgo";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [thomasave];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "fzgo";
|
||||
};
|
||||
};
|
||||
in {
|
||||
formatter = pkgs.alejandra;
|
||||
packages = {
|
||||
|
|
Loading…
Reference in New Issue