depot/third_party/nixpkgs/pkgs/development/tools/database/sqlcheck/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
601 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "sqlcheck";
version = "1.2";
src = fetchFromGitHub {
owner = "jarulraj";
repo = "sqlcheck";
rev = "v${version}";
sha256 = "0v8idyhwhbphxzmh03lih3wd9gdq317zn7wsf01infih7b6l0k69";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
doCheck = true;
meta = with lib; {
inherit (src.meta) homepage;
description = "Automatically identify anti-patterns in SQL queries";
license = licenses.asl20;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}