11 src = fetchFromGitHub {
15 hash = "sha256-X2m7BBAF91wcWlzYYhAw9PuBzMQHtRsCrgh08VaITGg=";
18 vendorHash = "sha256-ItuwB3Dk89fazRZL0l5EPMJ8VGC3p2jwECYVquV7xsc=";
20 # This is the released subpackage from upstream repo
21 subPackages = [ "examples/base" ];
25 # Upstream build instructions
29 "-X github.com/pocketbase/pocketbase.Version=${version}"
33 mv $out/bin/base $out/bin/pocketbase
36 passthru.updateScript = nix-update-script { };
39 description = "Open Source realtime backend in 1 file";
40 homepage = "https://github.com/pocketbase/pocketbase";
41 license = licenses.mit;
42 maintainers = with maintainers; [ dit7ya thilobillerbeck ];
43 mainProgram = "pocketbase";