mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +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.
36 lines
827 B
Nix
36 lines
827 B
Nix
# TODO: remove giveio.sys and any other sketchy drivers or binaries from the source
|
|
|
|
# Note: There are no patches to help AVRDUDE find its configuration
|
|
# file, so it will expect that file to be at
|
|
# /nix/store/...-avrdude/etc/avrdude.conf
|
|
|
|
{ crossenv }:
|
|
|
|
crossenv.make_derivation rec {
|
|
name = "avrdude-${version}";
|
|
|
|
version = "6.3"; # February 2016
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
url = "http://download.savannah.gnu.org/releases/avrdude/avrdude-${version}.tar.gz";
|
|
sha256 = "15m1w1qad3dj7r8n5ng1qqcaiyx1gyd6hnc3p2apgjllccdp77qg";
|
|
};
|
|
|
|
native_inputs = [
|
|
crossenv.nixpkgs.yacc
|
|
crossenv.nixpkgs.flex
|
|
];
|
|
|
|
cross_inputs = [
|
|
# TODO: libusb
|
|
# TODO: libftdi
|
|
# TODO: libelf
|
|
# TODO: libhid
|
|
];
|
|
|
|
config_dot_sub = ./config.sub;
|
|
extra_conf = ./extra.conf;
|
|
|
|
builder = ./builder.sh;
|
|
}
|