nixpkgs/pkgs/development/tools/sqlboiler/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
897 B
Nix
Raw Normal View History

2023-12-18 20:29:58 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2023-04-15 11:37:39 +00:00
buildGoModule rec {
pname = "sqlboiler";
version = "4.15.0";
2023-04-15 11:37:39 +00:00
src = fetchFromGitHub {
owner = "volatiletech";
repo = "sqlboiler";
2023-12-18 20:29:58 +00:00
rev = "refs/tags/v${version}";
hash = "sha256-MT1tjVCDaFB9HfjlGGnf6jTiPdKcrDamgp2nTpIarqY=";
2023-04-15 11:37:39 +00:00
};
vendorHash = "sha256-tZ1RQGmeDv4rtdF1WTRQV1K4Xy1AgIatLPPexnHJnkA=";
2023-04-15 11:37:39 +00:00
2023-12-18 20:29:58 +00:00
tags = [
"mysql"
"go"
"golang"
"postgres"
"orm"
"database"
"postgresql"
"mssql"
"sqlite3"
"sqlboiler"
];
2023-04-15 11:37:39 +00:00
doCheck = false;
meta = with lib; {
2023-12-18 20:29:58 +00:00
description = "Generate a Go ORM tailored to your database schema";
2023-04-15 11:37:39 +00:00
homepage = "https://github.com/volatiletech/sqlboiler";
2023-12-18 20:29:58 +00:00
changelog = "https://github.com/volatiletech/sqlboiler/releases/tag/v${version}";
2023-04-15 11:37:39 +00:00
license = licenses.bsd3;
2023-12-18 20:29:58 +00:00
maintainers = with maintainers; [ mrityunjaygr8 ];
2023-04-15 11:37:39 +00:00
mainProgram = "sqlboiler";
};
}