diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/funzzy')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/funzzy/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/funzzy/default.nix b/nixpkgs/pkgs/development/tools/misc/funzzy/default.nix new file mode 100644 index 000000000000..570ff6faebb2 --- /dev/null +++ b/nixpkgs/pkgs/development/tools/misc/funzzy/default.nix @@ -0,0 +1,32 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "funzzy"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "cristianoliveira"; + repo = "funzzy"; + rev = "v${version}"; + hash = "sha256-6rScRkiVot6VORpCu8kMOun8q2QKaNDQ8Qh9LfEUYis="; + }; + + cargoHash = "sha256-KQWesfmFmAo8rC7GoqyufnEGA+tgOLGA950O6lSWWEg="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.CoreServices + ]; + + meta = with lib; { + description = "A lightweight watcher"; + homepage = "https://github.com/cristianoliveira/funzzy"; + changelog = "https://github.com/cristianoliveira/funzzy/releases/tag/${src.rev}"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} |