2021-05-28 09:39:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libpcap, coreutils }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "crackle";
|
|
|
|
version = "unstable-2020-12-13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mikeryan";
|
|
|
|
repo = "crackle";
|
|
|
|
rev = "d83b4b6f4145ca53c46c36bbd7ccad751af76b75";
|
|
|
|
sha256 = "sha256-Dy4s/hr9ySrogltyk2GVsuAvwNF5+b6CDjaD+2FaPHA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libpcap ];
|
|
|
|
|
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" "INSTALL=${coreutils}/bin/install" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Crack and decrypt BLE encryption";
|
|
|
|
homepage = "https://github.com/mikeryan/crackle";
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ moni ];
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|