about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/database/sqlboiler-crdb/default.nix
blob: 559c8f27758106f1d059ef467b8a29921dd1002d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ buildGoModule, fetchFromGitHub, lib }:

buildGoModule rec {
  pname = "sqlboiler-crbd";
  version = "unstable-2022-06-12";

  src = fetchFromGitHub {
    owner = "glerchundi";
    repo = "sqlboiler-crdb";
    rev = "7b35c4d19c05fdc53d1efdcc074f20ee6b56f340";
    hash = "sha256-RlppCRYP7TlM1z1PiXtEVifNVxQHwLuoBXxgYIpUirE=";
  };

  vendorHash = "sha256-N16GH8ZDyeWWBsaaG4RkJwzAbuQ7E8YjZAgVsfeECo4";

  doCheck = false; # requires a running testdb

  meta = with lib; {
    description = "CockroachDB generator for usage with SQLBoiler";
    homepage = "https://github.com/glerchundi/sqlboiler-crdb/";
    maintainers = with maintainers; [ dgollings ];
    platforms = platforms.unix;
  };
}