forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / fu / funzzy / package.nix
blobc1f4b642a86faa39bfa7b2f93e4e1d8e84eb3c83
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "funzzy";
10   version = "1.2.0";
12   src = fetchFromGitHub {
13     owner = "cristianoliveira";
14     repo = "funzzy";
15     rev = "v${version}";
16     hash = "sha256-YjA/XxVB8gGxyLovxTTatSC/ESBCkgz7Not0qfEPxtw=";
17   };
19   cargoHash = "sha256-eq5d6oHWKip9K+9yszLXW+JHtzYzrThXfqoZGMhnSHk=";
21   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
22     darwin.apple_sdk.frameworks.CoreServices
23   ];
25   meta = with lib; {
26     description = "Lightweight watcher";
27     homepage = "https://github.com/cristianoliveira/funzzy";
28     changelog = "https://github.com/cristianoliveira/funzzy/releases/tag/${src.rev}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ figsoda ];
31   };