liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

default.nix (646B)


      1 { stdenv
      2 , buildPackages
      3 , cmake
      4 , fetchFromGitHub
      5 , ...} :
      6 # let switchDotH = buildPackages.fetchurl {
      7 #   url = "https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob_plain;f=target/linux/generic/files/include/uapi/linux/switch.h;hb=99a188828713d6ff9c541590b08d4e63ef52f6d7";
      8 #   sha256 = "15kmhhcpd84y4f45rf8zai98c61jyvkc37p90pcxirna01x33wi8";
      9 #   name="switch.h";
     10 # };
     11 stdenv.mkDerivation {
     12   src = fetchFromGitHub {
     13     owner = "openwrt";
     14     repo = "odhcp6c";
     15     rev = "bcd283632ac13391aac3ebdd074d1fd832d76fa3";
     16     hash = "sha256-jqxr+N1PffWYmF0F6hJKxRLMN5Ht5WpehK1K2HjL+do=";
     17   };
     18   name = "odhcp6c";
     19   nativeBuildInputs = [ cmake ];
     20 }