blob: b4982427c90067e0ac5043e2206b142cbc8fbada (
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
25
26
27
28
29
|
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gorm-gentool";
version = "0.0.1";
src = fetchFromGitHub {
owner = "go-gorm";
repo = "gen";
rev = "tools/gentool/v${version}";
hash = "sha256-JOecNYEIL8vbc7znkKbaSrTkGyAva3ZzKzxducDtTx0=";
};
modRoot = "tools/gentool";
proxyVendor = true;
vendorHash = "sha256-8xUJcsZuZ1KpFDM1AMTRggl7A7C/YaXYDzRKNFKE+ww=";
meta = with lib; {
homepage = "https://github.com/go-gorm/gen";
description = "Gen: Friendly & Safer GORM powered by Code Generation";
license = licenses.mit;
mainProgram = "gentool";
maintainers = with maintainers; [tembleking];
};
}
|