Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c0dd1e540035
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b09fbccbafa3
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 22, 2019

  1. libinjection: init at 3.10.0

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Oct 22, 2019
    Copy the full SHA
    b09fbcc View commit details
Showing with 39 additions and 0 deletions.
  1. +37 −0 pkgs/development/libraries/libinjection/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
37 changes: 37 additions & 0 deletions pkgs/development/libraries/libinjection/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };