Thu 1 Aug 19:41:50 CEST 2024

This commit is contained in:
Thomas Avé 2024-08-01 19:41:50 +02:00
parent a1af9b3e6c
commit 639a3674d3
2 changed files with 19 additions and 29 deletions

View File

@ -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";
};
}

View File

@ -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 = {