diff options
author | Mrityunjay Saxena <mrityunjaysaxena1996@gmail.com> | 2023-04-15 17:07:39 +0530 |
---|---|---|
committer | Mrityunjay Saxena <mrityunjaysaxena1996@gmail.com> | 2023-04-15 17:18:31 +0530 |
commit | cce7ae91050ceaad9b8e02762920f1f05b457080 (patch) | |
tree | 766ccc47a598cf7f773e86c46e4bd4979b38650e /pkgs/development/tools/sqlboiler/default.nix | |
parent | 99a95083df692858d19df73075fe57407d5dff05 (diff) |
sqlboiler: init at 4.14.2
Diffstat (limited to 'pkgs/development/tools/sqlboiler/default.nix')
-rw-r--r-- | pkgs/development/tools/sqlboiler/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/tools/sqlboiler/default.nix b/pkgs/development/tools/sqlboiler/default.nix new file mode 100644 index 0000000000000..491700ab3764a --- /dev/null +++ b/pkgs/development/tools/sqlboiler/default.nix @@ -0,0 +1,28 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "sqlboiler"; + version = "4.14.2"; + + src = fetchFromGitHub { + owner = "volatiletech"; + repo = "sqlboiler"; + rev = "v${version}"; + sha256 = "sha256-d3SML1cm+daYU5dEuwSXSsKwsJHxGuOEbwCvYfsMcFI="; + }; + + vendorSha256 = "sha256-/z5l+tgQuYBZ0A99A8CoTuqTSfnM52R43ppFrooRgOM="; + + tags = [ "mysql" "go" "golang" "postgres" "orm" "database" "postgresql" "mssql" "sqlite3" "sqlboiler" ]; + + doCheck = false; + + + meta = with lib; { + homepage = "https://github.com/volatiletech/sqlboiler"; + description = "Generate a Go ORM tailored to your database schema."; + maintainers = with maintainers; [ mrityunjaygr8 ]; + license = licenses.bsd3; + mainProgram = "sqlboiler"; + }; +} |