biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / go-jet / default.nix
blob34b8c5ef1d3cf240e126ffe3a766ab090374e2c1
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-jet";
5   version = "2.11.1";
7   src = fetchFromGitHub {
8     owner = pname;
9     repo = "jet";
10     rev = "v${version}";
11     sha256 = "sha256-1ntvvbSIqeANZhz/FKXP9cD8UVs9luMHa8pgvc6RsqE=";
12   };
14   vendorHash = "sha256-7jcUSzz/EI30PUK41u4FUUAzzl/PUKvE46A/nYwx134=";
16   subPackages = [ "cmd/jet" ];
18   tags = [
19     "mysql"
20     "golang"
21     "postgres"
22     "sql"
23     "database"
24     "code-generator"
25     "sqlite"
26     "postgresql"
27     "mariadb"
28     "sql-query"
29     "codegenerator"
30     "typesafe"
31     "sql-builder"
32     "datamapper"
33     "code-completion"
34     "sql-queries"
35     "cockroachdb"
36     "sql-query-builder"
37     "sqlbuilder"
38     "typesafety"
39   ];
41   postPatch = ''
42     # removing the tests which depend on external data
43     rm -rf tests/{sqlite,postgres,mysql}
44   '';
46   meta = with lib; {
47     homepage = "https://github.com/go-jet/jet";
48     description = "Type safe SQL builder with code generation and automatic query result data mapping";
49     maintainers = with maintainers; [ mrityunjaygr8 ];
50     license = licenses.asl20;
51     mainProgram = "jet";
52   };