diff options
author | Emily Trau <emily@downunderctf.com> | 2023-07-08 22:46:18 +1000 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-14 21:48:23 -0300 |
commit | 23872d03fadc27d824088455cda3366452644df2 (patch) | |
tree | 9ba7cb7c8773f2241f6945b5d8fce247488dd212 | |
parent | d983d6c863edfee6c4523fae1af1beeaad86a9b2 (diff) | |
download | nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar.gz nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar.bz2 nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar.lz nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar.xz nixpkgs-23872d03fadc27d824088455cda3366452644df2.tar.zst nixpkgs-23872d03fadc27d824088455cda3366452644df2.zip |
bluetility: init at 1.5.1
-rw-r--r-- | pkgs/by-name/bl/bluetility/package.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/bl/bluetility/package.nix b/pkgs/by-name/bl/bluetility/package.nix new file mode 100644 index 00000000000..1188ffd2b40 --- /dev/null +++ b/pkgs/by-name/bl/bluetility/package.nix @@ -0,0 +1,37 @@ +{ lib +, stdenvNoCC +, fetchurl +, unzip +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "bluetility"; + version = "1.5.1"; + + src = fetchurl { + url = "https://github.com/jnross/Bluetility/releases/download/${finalAttrs.version}/Bluetility.app.zip"; + hash = "sha256-Batnv06nXXxvUz+DlrH1MpeL4f5kNSPDH6Iqd/UiFbw="; + }; + + dontUnpack = true; + + nativeBuildInputs = [ unzip ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/Applications + unzip -d $out/Applications $src + + runHook postInstall + ''; + + meta = with lib; { + description = "Bluetooth Low Energy browse"; + homepage = "https://github.com/jnross/Bluetility"; + license = licenses.mit; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + maintainers = with maintainers; [ emilytrau Enzime ]; + platforms = platforms.darwin; + }; +}) |