nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "fre";
9 version = "0.4.1";
10
11 src = fetchFromGitHub {
12 owner = "camdencheek";
13 repo = "fre";
14 rev = "v${version}";
15 hash = "sha256-cYqEPohqUmewvBUoGJQfa4ATxw2uny5+nUKtNzrxK38=";
16 };
17
18 cargoHash = "sha256-07qKG4ju2UOkTcgWAl2U0uqQZyiosK1UH/M2BvwMAaU=";
19
20 meta = {
21 description = "CLI tool for tracking your most-used directories and files";
22 homepage = "https://github.com/camdencheek/fre";
23 changelog = "https://github.com/camdencheek/fre/blob/${version}/CHANGELOG.md";
24 license = with lib.licenses; [ mit ];
25 maintainers = with lib.maintainers; [ gaykitty ];
26 mainProgram = "fre";
27 };
28}