Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, rustPlatform
3, fetchFromGitHub
4, stdenv
5, darwin
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "funzzy";
10 version = "0.6.1";
11
12 src = fetchFromGitHub {
13 owner = "cristianoliveira";
14 repo = "funzzy";
15 rev = "v${version}";
16 hash = "sha256-Vfx/AJTeMM5GwIhDTqoteVIdr7tx4tea7SKAczauUjo=";
17 };
18
19 cargoHash = "sha256-uOhlx38URy7+LqYhUi/hRtfr84visq0wqCU3qm42IKo=";
20
21 buildInputs = lib.optionals stdenv.isDarwin [
22 darwin.apple_sdk.frameworks.CoreServices
23 ];
24
25 meta = with lib; {
26 description = "A 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 };
32}