Skip to content

Commit

Permalink
packetry: init at 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossless committed Oct 19, 2024
1 parent 2997153 commit b7e51a8
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/by-name/pa/packetry/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ fetchFromGitHub
, lib
, stdenv
, rustPlatform
, gtk4
, pkg-config
, pango
, wrapGAppsHook4
, darwin
}:

rustPlatform.buildRustPackage rec {
pname = "packetry";
version = "0.2.2";

src = fetchFromGitHub {
owner = "greatscottgadgets";
repo = "packetry";
rev = "v${version}";
hash = "sha256-FlimHJS3hwB2Tkulb8uToKFe165uv/gFxJ4uezVNka4=";
};

cargoHash = "sha256-n1hPoSUEFUGpEUOiuirSbeAnU+qiENDg4XyN5Jkjo/Y=";

nativeBuildInputs = [
pkg-config
wrapGAppsHook4
];

buildInputs = [
gtk4
pango
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AppKit
];

doCheck = false;

meta = with lib; {
description = "USB 2.0 protocol analysis application for use with Cynthion.";
homepage = "https://github.com/greatscottgadgets/packetry";
license = licenses.bsd3;
maintainers = with maintainers; [ carlossless ];
};
}

0 comments on commit b7e51a8

Please sign in to comment.