Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 29 lines 686 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "dbmate"; 8 version = "2.15.0"; 9 10 src = fetchFromGitHub { 11 owner = "amacneil"; 12 repo = "dbmate"; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-crn2FSJm7CSBg5TOcB5bJOsWqBrlwDoik7OS3HiCIGw="; 15 }; 16 17 vendorHash = "sha256-eFGQ59fdS+QQounT/byA0w9W+MK2Lhp+mlXAWWAtk6U="; 18 19 doCheck = false; 20 21 meta = with lib; { 22 description = "Database migration tool"; 23 mainProgram = "dbmate"; 24 homepage = "https://github.com/amacneil/dbmate"; 25 changelog = "https://github.com/amacneil/dbmate/releases/tag/v${version}"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ manveru ]; 28 }; 29}