packages/packetry: init

This commit is contained in:
Artemis Tosini 2024-07-10 04:01:10 +00:00
parent beb7e02f11
commit 6656b07f2c
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 31 additions and 0 deletions

View file

@ -62,6 +62,7 @@
hactoolnet = final.callPackage ./packages/hactoolnet { }; hactoolnet = final.callPackage ./packages/hactoolnet { };
ipsw = final.callPackage ./packages/ipsw { }; ipsw = final.callPackage ./packages/ipsw { };
jlink = final.callPackage ./packages/jlink { }; jlink = final.callPackage ./packages/jlink { };
packetry = final.callPackage ./packages/packetry { };
stlink-tool = final.callPackage ./packages/stlink-tool { }; stlink-tool = final.callPackage ./packages/stlink-tool { };
zephyrPackages = final.callPackage ./packages/zephyr { }; zephyrPackages = final.callPackage ./packages/zephyr { };

View file

@ -0,0 +1,30 @@
{
rustPlatform,
fetchFromGitHub,
pkg-config,
gtk4,
pango,
}:
rustPlatform.buildRustPackage rec {
pname = "packetry";
version = "unstable-2024-07-08";
src = fetchFromGitHub {
owner = "greatscottgadgets";
repo = pname;
rev = "dffa1bd671ed22cd0b1cdd07c10d1916bea60ba5";
hash = "sha256-UOn3GevMDRC88MgK7YeIl9AOo6wqRSekA5pLufH3u1k=";
};
cargoHash = "sha256-sh3m0AJpR/4w+gqxz84HF5FvvwOHP0G+/GM+X7ep94o=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk4
pango
];
# Failures from fontconfig in tests
doCheck = false;
}