{ lib, buildGoModule, fetchFromGitHub, postgresql, }: buildGoModule (finalAttrs: { pname = "pg-schema-diff"; version = "1.0.5"; src = fetchFromGitHub { owner = "stripe"; repo = "pg-schema-diff"; tag = "v${finalAttrs.version}"; hash = "sha256-MNuJS9zhTbF6FY1i5fF5VhX8pa+hVaQfdAaj3CKmG50="; }; nativeCheckInputs = [ postgresql ]; vendorHash = "sha256-9tronDAe3/5bBtiMW04YGSgxww/F7xlq84sjYFTfxnk="; meta = { description = "Go library for diffing Postgres schemas and generating SQL migrations"; homepage = "https://github.com/stripe/pg-schema-diff"; license = lib.licenses.mit; maintainers = [ lib.maintainers.bitbloxhub ]; mainProgram = "pg-schema-diff"; }; })