packages/packetry: init
This commit is contained in:
parent
beb7e02f11
commit
6656b07f2c
|
@ -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 { };
|
||||||
|
|
||||||
|
|
30
packages/packetry/default.nix
Normal file
30
packages/packetry/default.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue