Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "dbmate";
5 version = "1.12.1";
6
7 src = fetchFromGitHub {
8 owner = "amacneil";
9 repo = "dbmate";
10 rev = "v${version}";
11 sha256 = "sha256-XNxy8CnhO3rQi3VHr7nikFNXvY2eM30jR0ngNc0FV3E=";
12 };
13
14 vendorSha256 = "sha256-Qe3fwyEf/NiGmUSha/zZHRBR1okw2vE97u7tybqiWNI=";
15
16 doCheck = false;
17
18 meta = with lib; {
19 description = "Database migration tool";
20 homepage = "https://github.com/amacneil/dbmate";
21 license = licenses.mit;
22 maintainers = [ maintainers.manveru ];
23 platforms = platforms.unix;
24 };
25}