Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 26 lines 603 B view raw
1{ stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "sqlcheck"; 5 version = "1.2"; 6 7 src = fetchFromGitHub { 8 owner = "jarulraj"; 9 repo = "sqlcheck"; 10 rev = "v${version}"; 11 sha256 = "0v8idyhwhbphxzmh03lih3wd9gdq317zn7wsf01infih7b6l0k69"; 12 fetchSubmodules = true; 13 }; 14 15 nativeBuildInputs = [ cmake ]; 16 17 doCheck = true; 18 19 meta = with stdenv.lib; { 20 inherit (src.meta) homepage; 21 description = "Automatically identify anti-patterns in SQL queries"; 22 license = licenses.asl20; 23 platforms = platforms.all; 24 maintainers = [ maintainers.marsam ]; 25 }; 26}