packages/xwin: init

This commit is contained in:
Artemis Tosini 2024-08-18 00:52:35 +00:00
parent 19088d1a19
commit e33ec24143
Signed by: artemist
GPG key ID: EE5227935FE3FF18
2 changed files with 35 additions and 0 deletions

View file

@ -73,6 +73,7 @@
jlink = final.callPackage ./packages/jlink { };
packetry = final.callPackage ./packages/packetry { };
stlink-tool = final.callPackage ./packages/stlink-tool { };
xwin = final.callPackage ./packages/xwin { };
zephyrPackages = final.callPackage ./packages/zephyr { };
inherit (final.python3.pkgs) axicli vpype;

34
packages/xwin/default.nix Normal file
View file

@ -0,0 +1,34 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "xwin";
version = "0.6.3";
src = fetchFromGitHub {
owner = "Jake-Shadle";
repo = "xwin";
rev = version;
hash = "sha256-/7JgXBoS8WHzmEtGjHEUNvPzryQFt790PPUBKJc7IIY=";
};
cargoHash = "sha256-cYXaRsiXXFpxoGnD2ea0NIfpf8G13bwwwwq4+v72kXc=";
# Requires connecting to internet
doCheck = false;
meta = with lib; {
description = "A utility for downloading and packaging the Microsoft CRT & Windows SDK headers and libraries needed for compiling and linking programs targeting Windows. ";
mainProgram = "xwin";
homepage = "https://github.com/Jake-Shadle/xwin";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [ artemist ];
platforms = platforms.unix;
};
}