1 { lib, stdenv, fetchFromGitLab, fetchpatch, bluez }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitLab {
11 rev = "upstream/${version}";
12 hash = "sha256-dF9QmBckyHAZ+JbLr0jTmp0eMu947unJqjrTMsJAfIE=";
18 url = "https://gitlab.com/kalilinux/packages/redfang/-/merge_requests/1.diff";
19 sha256 = "sha256-oxIrUAucxsBL4+u9zNNe2XXoAd088AEAHcRB/AN7B1M=";
23 installFlags = [ "DESTDIR=$(out)" ];
25 env.NIX_CFLAGS_COMPILE = "-Wno-format-security";
27 buildInputs = [ bluez ];
30 description = "Small proof-of-concept application to find non discoverable bluetooth devices";
31 homepage = "https://gitlab.com/kalilinux/packages/redfang";
32 license = licenses.gpl2Only;
33 maintainers = with maintainers; [ moni ];