Skip to content

Commit

Permalink
packetry: init at 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossless committed Aug 3, 2024
1 parent 1daf761 commit 64911dd
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/by-name/pa/packetry/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
libusb1,
glib,
gdk-pixbuf,
cairo,
pango,
gtk4,
graphene,
}:

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

src = fetchFromGitHub {
owner = "greatscottgadgets";
repo = pname;
rev = "v${version}";
hash = "sha256-GmEv7wkYpSM3ds5AHGa+1IiuAdI2O793d+VtSU9vqag=";
};

cargoHash = "sha256-SxJIpK6Vzgl7QEGnnUOn4ejroPHWKieLRLMpLscEhs4=";

nativeBuildInputs = [ pkg-config ];

buildInputs = [
libusb1
glib
gdk-pixbuf
cairo
pango
gtk4
graphene
];

doCheck = false;

meta = with lib; {
description = "A fast, intuitive 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 64911dd

Please sign in to comment.