packages/xwin: init
This commit is contained in:
parent
19088d1a19
commit
e33ec24143
|
@ -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
34
packages/xwin/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue