mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:21:57 +03:00
libinjection: init at 3.10.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
c0dd1e5400
commit
b09fbccbaf
37
pkgs/development/libraries/libinjection/default.nix
Normal file
37
pkgs/development/libraries/libinjection/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, python
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinjection";
|
||||
version = "3.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "client9";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0chsgam5dqr9vjfhdcp8cgk7la6nf3lq44zs6z6si98cq743550g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python ];
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs src
|
||||
substituteInPlace src/Makefile \
|
||||
--replace /usr/local $out
|
||||
'';
|
||||
|
||||
configurePhase = "cd src";
|
||||
buildPhase = "make all";
|
||||
|
||||
# no binaries, so out = library, dev = headers
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SQL / SQLI tokenizer parser analyzer";
|
||||
homepage = "https://github.com/client9/libinjection";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
@ -12001,6 +12001,8 @@ in
|
||||
|
||||
libiio = callPackage ../development/libraries/libiio { };
|
||||
|
||||
libinjection = callPackage ../development/libraries/libinjection { };
|
||||
|
||||
liburing = callPackage ../development/libraries/liburing { };
|
||||
|
||||
librseq = callPackage ../development/libraries/librseq { };
|
||||
|
Loading…
Reference in New Issue
Block a user