mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
Merge pull request #211425 from mrityunjaygr8/go-jet
go-jet: init at 2.9.0
This commit is contained in:
commit
6004752d9f
|
@ -10008,6 +10008,12 @@
|
|||
githubId = 3073833;
|
||||
name = "Massimo Redaelli";
|
||||
};
|
||||
mrityunjaygr8 = {
|
||||
email = "mrityunjaysaxena1996@gmail.com";
|
||||
github = "mrityunjaygr8";
|
||||
name = "Mrityunjay Saxena";
|
||||
githubId = 14573967;
|
||||
};
|
||||
mrkkrp = {
|
||||
email = "markkarpov92@gmail.com";
|
||||
github = "mrkkrp";
|
||||
|
|
53
pkgs/development/tools/go-jet/default.nix
Normal file
53
pkgs/development/tools/go-jet/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-jet";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "jet";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-1kJaBLZIunexjxjOy55Nw0WMEhrSu+ptMbWVOJ1e5iA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-mhH9P3waINZhP+jNg3zKlssIL1ZO5xOBHp19Bzq/pSQ=";
|
||||
|
||||
subPackages = [ "cmd/jet" ];
|
||||
|
||||
tags = [
|
||||
"mysql"
|
||||
"golang"
|
||||
"postgres"
|
||||
"sql"
|
||||
"database"
|
||||
"code-generator"
|
||||
"sqlite"
|
||||
"postgresql"
|
||||
"mariadb"
|
||||
"sql-query"
|
||||
"codegenerator"
|
||||
"typesafe"
|
||||
"sql-builder"
|
||||
"datamapper"
|
||||
"code-completion"
|
||||
"sql-queries"
|
||||
"cockroachdb"
|
||||
"sql-query-builder"
|
||||
"sqlbuilder"
|
||||
"typesafety"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# removing the tests which depend on external data
|
||||
rm -rf tests/{sqlite,postgres,mysql}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/go-jet/jet";
|
||||
description = "Type safe SQL builder with code generation and automatic query result data mapping";
|
||||
maintainers = with maintainers; [ mrityunjaygr8 ];
|
||||
license = licenses.asl20;
|
||||
mainProgram = "jet";
|
||||
};
|
||||
}
|
|
@ -26283,6 +26283,8 @@ with pkgs;
|
|||
|
||||
go-migrate = callPackage ../development/tools/go-migrate { };
|
||||
|
||||
go-jet = callPackage ../development/tools/go-jet { };
|
||||
|
||||
go-mockery = callPackage ../development/tools/go-mockery { };
|
||||
|
||||
gomacro = callPackage ../development/tools/gomacro { };
|
||||
|
|
Loading…
Reference in a new issue