nixpkgs/pkgs/by-name/sq/sqlboiler/package.nix
2024-11-10 16:32:13 +00:00

43 lines
897 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "sqlboiler";
version = "4.17.0";
src = fetchFromGitHub {
owner = "volatiletech";
repo = "sqlboiler";
rev = "refs/tags/v${version}";
hash = "sha256-6qTbF/b6QkxkutoP80owfxjp7Y1WpbZsF6w1XSRHo3Q=";
};
vendorHash = "sha256-ZGGoTWSbGtsmrEQcZI40z6QF6qh4t3LN17Sox4KHQMA=";
tags = [
"mysql"
"go"
"golang"
"postgres"
"orm"
"database"
"postgresql"
"mssql"
"sqlite3"
"sqlboiler"
];
doCheck = false;
meta = with lib; {
description = "Generate a Go ORM tailored to your database schema";
homepage = "https://github.com/volatiletech/sqlboiler";
changelog = "https://github.com/volatiletech/sqlboiler/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ mrityunjaygr8 ];
mainProgram = "sqlboiler";
};
}