8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
26 lines
600 B
Nix
26 lines
600 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sqlcheck";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jarulraj";
|
|
repo = "sqlcheck";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-rGqCtEO2K+OT44nYU93mF1bJ07id+ixPkRSC8DcO6rY=";
|
|
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 ];
|
|
};
|
|
}
|