11 src = fetchFromGitHub {
15 hash = "sha256-he4lvlIqbIozbtMizZEjfnBbXXd6+LfZqKD95UE8sPI=";
18 vendorHash = "sha256-zMHEArUS4/r7nkZfDK8BwGMLrpkBihxhkBoO/p6auTk=";
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";