nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / fu / funzzy / package.nix
blob26b56805aa6641f9516ab5f881ca1afac50a87c2
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   stdenv,
6   darwin,
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "funzzy";
11   version = "1.5.0";
13   src = fetchFromGitHub {
14     owner = "cristianoliveira";
15     repo = "funzzy";
16     rev = "v${version}";
17     hash = "sha256-3EHZvgHlM3ldX6SEyqGf6MZIrDFOLXbKTZnJNczT570=";
18   };
20   cargoHash = "sha256-DJGpNuRb0bFdXBV/p3enyTvZgJIQOaNy3kijxuLFl1g=";
22   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
23     darwin.apple_sdk.frameworks.CoreServices
24   ];
26   meta = with lib; {
27     description = "Lightweight watcher";
28     homepage = "https://github.com/cristianoliveira/funzzy";
29     changelog = "https://github.com/cristianoliveira/funzzy/releases/tag/${src.rev}";
30     license = licenses.mit;
31     maintainers = with maintainers; [ figsoda ];
32   };