1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/tools/networking/crackle/default.nix
2021-05-24 00:30:49 +08:00

25 lines
671 B
Nix

{ 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";
maintainers = with maintainers; [ fortuneteller2k ];
license = licenses.bsd2;
};
}