nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 729 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 postgresql, 6}: 7buildGoModule (finalAttrs: { 8 pname = "pg-schema-diff"; 9 version = "1.0.5"; 10 11 src = fetchFromGitHub { 12 owner = "stripe"; 13 repo = "pg-schema-diff"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-MNuJS9zhTbF6FY1i5fF5VhX8pa+hVaQfdAaj3CKmG50="; 16 }; 17 18 nativeCheckInputs = [ 19 postgresql 20 ]; 21 22 vendorHash = "sha256-9tronDAe3/5bBtiMW04YGSgxww/F7xlq84sjYFTfxnk="; 23 24 meta = { 25 description = "Go library for diffing Postgres schemas and generating SQL migrations"; 26 homepage = "https://github.com/stripe/pg-schema-diff"; 27 license = lib.licenses.mit; 28 maintainers = [ lib.maintainers.bitbloxhub ]; 29 mainProgram = "pg-schema-diff"; 30 }; 31})