shrub/nix/nixcrpkgs/pkgs/usbview/default.nix
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

23 lines
495 B
Nix

{ crossenv }:
if crossenv.os != "windows" then "windows only" else
crossenv.make_derivation rec {
name = "usbview-${version}";
version = "2017-05-01";
src = crossenv.nixpkgs.fetchFromGitHub {
owner = "Microsoft";
repo = "Windows-driver-samples";
rev = "4c5c5e0297c7a61e151f92af702cdac650a14489";
sha256 = "1drq26bnad98xqn805qx0b6g4y65lmrdj7v40b3jhhzdsp8993pf";
};
patches = [ ./megapatch.patch ];
my_xmlhelper_c = ./my_xmlhelper.c;
builder = ./builder.sh;
}