1{ lib, rustPlatform, fetchFromGitHub }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "fre";
5 version = "0.3.1";
6
7 src = fetchFromGitHub {
8 owner = "camdencheek";
9 repo = "fre";
10 rev = version;
11 hash = "sha256-nG2+LsmmzAsan3ZjFXGPMz/6hTdj9jiDfgeAwNpu7Eg=";
12 };
13
14 cargoHash = "sha256-y0sWe7q5MKebwKObXRgRs348hmjZaklnhYdfUnHoYX0=";
15
16 meta = with lib; {
17 description = "A CLI tool for tracking your most-used directories and files";
18 homepage = "https://github.com/camdencheek/fre";
19 changelog = "https://github.com/camdencheek/fre/blob/${version}/CHANGELOG.md";
20 license = with licenses; [ mit ];
21 maintainers = with maintainers; [ gaykitty ];
22 };
23}