sqldef: init at 0.12.7
This commit is contained in:
parent
cda5894d7e
commit
fcfa6f73f8
25
pkgs/development/tools/sqldef/default.nix
Normal file
25
pkgs/development/tools/sqldef/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sqldef";
|
||||
version = "0.12.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "k0kubun";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HyM2HTdQgH+2vFe+1q02zmaD/A1M5h6Z56Wff9qxaHM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-T1Kdtpm90fy93mYWQz13k552wWGB96BOeN8NtTuuj0c=";
|
||||
|
||||
# The test requires a running database
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Idempotent SQL schema management tool";
|
||||
license = with licenses; [ mit /* for everythnig except parser */ asl20 /* for parser */ ];
|
||||
homepage = "https://github.com/k0kubun/sqldef";
|
||||
maintainers = with maintainers; [ kgtkr ];
|
||||
};
|
||||
}
|
|
@ -6462,6 +6462,8 @@ with pkgs;
|
|||
util-linux = util-linuxMinimal;
|
||||
};
|
||||
|
||||
sqldef = callPackage ../development/tools/sqldef { };
|
||||
|
||||
sqlint = callPackage ../development/tools/sqlint { };
|
||||
|
||||
squawk = callPackage ../development/tools/squawk { };
|
||||
|
|
Loading…
Reference in a new issue