mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
edd57d380d
- 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.
21 lines
460 B
Nix
21 lines
460 B
Nix
{ crossenv, libudev }:
|
|
|
|
let
|
|
version = "1.0.22";
|
|
|
|
name = "libusbp-${version}";
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
url = "https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.tar.bz2";
|
|
sha256 = "0mw1a5ss4alg37m6bd4k44v35xwrcwp5qm4s686q1nsgkbavkbkm";
|
|
};
|
|
|
|
lib = crossenv.make_derivation {
|
|
inherit version name src;
|
|
builder = ./builder.sh;
|
|
libudev = if crossenv.os == "linux" then libudev else null;
|
|
};
|
|
|
|
in
|
|
lib
|