diff --git a/pkgs/tools/misc/fre/default.nix b/pkgs/tools/misc/fre/default.nix new file mode 100644 index 000000000000..92393eb4fc27 --- /dev/null +++ b/pkgs/tools/misc/fre/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "fre"; + version = "0.3.1"; + + src = fetchFromGitHub { + owner = "camdencheek"; + repo = "fre"; + rev = version; + hash = "sha256-nG2+LsmmzAsan3ZjFXGPMz/6hTdj9jiDfgeAwNpu7Eg="; + }; + + cargoHash = "sha256-y0sWe7q5MKebwKObXRgRs348hmjZaklnhYdfUnHoYX0="; + + meta = with lib; { + description = "A 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 611dcca9bb92..47cf39a18ba4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4726,6 +4726,8 @@ with pkgs; frawk = callPackage ../tools/text/frawk { }; + fre = callPackage ../tools/misc/fre { }; + frei = callPackage ../tools/misc/frei { }; fselect = callPackage ../tools/misc/fselect { };