{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/38632759","id":38632759,"diff_hunk":"@@ -0,0 +1,29 @@\n+{ stdenv, fetchFromGitHub, kernel }:\n+\n+stdenv.mkDerivation {\n+  name = \"rtl8812au-${kernel.version}\";\n+  version = \"4.2.2-1\";\n+  \n+  src = fetchFromGitHub {\n+    owner = \"csssuf\";\n+    repo = \"rtl8812au\";\n+    rev = \"874906aec694c800bfc29b146737b88dae767832\";\n+    sha256 = \"14ifhplawipfd6971mxw76dv3ygwc0n8sbz2l3f0vvkin6x88bsj\";\n+  };\n+  \n+  patchPhase = ''\n+    substituteInPlace ./Makefile --replace /lib/modules/ \"${kernel.dev}/lib/modules/\"\n+    substituteInPlace ./Makefile --replace '$(shell uname -r)' \"${kernel.modDirVersion}\"\n+    substituteInPlace ./Makefile --replace /sbin/depmod #\n+    substituteInPlace ./Makefile --replace '$(MODDESTDIR)' \"$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/\"\n+  '';\n+  \n+  preInstall = ''\n+    mkdir -p \"$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/\"\n+  '';\n+   \n+  meta = {\n+    description = \"Driver for Realtek 802.11ac, rtl8812au, provides the 8812au mod.\";\n+    homepage = \"https://github.com/csssuf/rtl8812au\";","path":"pkgs/os-specific/linux/rtl8812au/default.nix","position":27,"original_position":27,"commit_id":"a29557c4b18b11135915e5eb96eff8fd598a6015","original_commit_id":"a29557c4b18b11135915e5eb96eff8fd598a6015","user":{"login":"garbas","id":20208,"avatar_url":"https://avatars.githubusercontent.com/u/20208?v=3","gravatar_id":"","url":"https://api.github.com/users/garbas","html_url":"https://github.com/garbas","followers_url":"https://api.github.com/users/garbas/followers","following_url":"https://api.github.com/users/garbas/following{/other_user}","gists_url":"https://api.github.com/users/garbas/gists{/gist_id}","starred_url":"https://api.github.com/users/garbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbas/subscriptions","organizations_url":"https://api.github.com/users/garbas/orgs","repos_url":"https://api.github.com/users/garbas/repos","events_url":"https://api.github.com/users/garbas/events{/privacy}","received_events_url":"https://api.github.com/users/garbas/received_events","type":"User","site_admin":false},"body":"platform, maintainers and licence meta options would be nice to have here as well","created_at":"2015-09-03T10:44:26Z","updated_at":"2015-09-03T10:44:26Z","html_url":"https://github.com/NixOS/nixpkgs/pull/9632#discussion_r38632759","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/38632759"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/9632#discussion_r38632759"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632","id":44088744,"html_url":"https://github.com/NixOS/nixpkgs/pull/9632","diff_url":"https://github.com/NixOS/nixpkgs/pull/9632.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/9632.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9632","number":9632,"state":"open","locked":false,"title":"rtl8812au: init at 4.2.2","user":{"login":"yochai","id":1322201,"avatar_url":"https://avatars.githubusercontent.com/u/1322201?v=3","gravatar_id":"","url":"https://api.github.com/users/yochai","html_url":"https://github.com/yochai","followers_url":"https://api.github.com/users/yochai/followers","following_url":"https://api.github.com/users/yochai/following{/other_user}","gists_url":"https://api.github.com/users/yochai/gists{/gist_id}","starred_url":"https://api.github.com/users/yochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yochai/subscriptions","organizations_url":"https://api.github.com/users/yochai/orgs","repos_url":"https://api.github.com/users/yochai/repos","events_url":"https://api.github.com/users/yochai/events{/privacy}","received_events_url":"https://api.github.com/users/yochai/received_events","type":"User","site_admin":false},"body":"Adds the 8812au driver.","created_at":"2015-09-03T10:03:46Z","updated_at":"2015-09-03T10:44:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"203a4757d92e74dfe0b78c84be8a5e8acee60cb6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/9632/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/a29557c4b18b11135915e5eb96eff8fd598a6015","head":{"label":"yochai:master","ref":"master","sha":"a29557c4b18b11135915e5eb96eff8fd598a6015","user":{"login":"yochai","id":1322201,"avatar_url":"https://avatars.githubusercontent.com/u/1322201?v=3","gravatar_id":"","url":"https://api.github.com/users/yochai","html_url":"https://github.com/yochai","followers_url":"https://api.github.com/users/yochai/followers","following_url":"https://api.github.com/users/yochai/following{/other_user}","gists_url":"https://api.github.com/users/yochai/gists{/gist_id}","starred_url":"https://api.github.com/users/yochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yochai/subscriptions","organizations_url":"https://api.github.com/users/yochai/orgs","repos_url":"https://api.github.com/users/yochai/repos","events_url":"https://api.github.com/users/yochai/events{/privacy}","received_events_url":"https://api.github.com/users/yochai/received_events","type":"User","site_admin":false},"repo":{"id":39471133,"name":"nixpkgs","full_name":"yochai/nixpkgs","owner":{"login":"yochai","id":1322201,"avatar_url":"https://avatars.githubusercontent.com/u/1322201?v=3","gravatar_id":"","url":"https://api.github.com/users/yochai","html_url":"https://github.com/yochai","followers_url":"https://api.github.com/users/yochai/followers","following_url":"https://api.github.com/users/yochai/following{/other_user}","gists_url":"https://api.github.com/users/yochai/gists{/gist_id}","starred_url":"https://api.github.com/users/yochai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yochai/subscriptions","organizations_url":"https://api.github.com/users/yochai/orgs","repos_url":"https://api.github.com/users/yochai/repos","events_url":"https://api.github.com/users/yochai/events{/privacy}","received_events_url":"https://api.github.com/users/yochai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yochai/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/yochai/nixpkgs","forks_url":"https://api.github.com/repos/yochai/nixpkgs/forks","keys_url":"https://api.github.com/repos/yochai/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yochai/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yochai/nixpkgs/teams","hooks_url":"https://api.github.com/repos/yochai/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/yochai/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/yochai/nixpkgs/events","assignees_url":"https://api.github.com/repos/yochai/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/yochai/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/yochai/nixpkgs/tags","blobs_url":"https://api.github.com/repos/yochai/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yochai/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yochai/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yochai/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yochai/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/yochai/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/yochai/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/yochai/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/yochai/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/yochai/nixpkgs/subscription","commits_url":"https://api.github.com/repos/yochai/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yochai/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yochai/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yochai/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yochai/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/yochai/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yochai/nixpkgs/merges","archive_url":"https://api.github.com/repos/yochai/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yochai/nixpkgs/downloads","issues_url":"https://api.github.com/repos/yochai/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/yochai/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/yochai/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/yochai/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yochai/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/yochai/nixpkgs/releases{/id}","created_at":"2015-07-21T21:36:46Z","updated_at":"2015-07-21T21:37:03Z","pushed_at":"2015-09-03T09:52:46Z","git_url":"git://github.com/yochai/nixpkgs.git","ssh_url":"git@github.com:yochai/nixpkgs.git","clone_url":"https://github.com/yochai/nixpkgs.git","svn_url":"https://github.com/yochai/nixpkgs","homepage":null,"size":201315,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NixOS:master","ref":"master","sha":"126d8dba964b3c058399ffe38ba0b99e6194c98d","user":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"repo":{"id":4542716,"name":"nixpkgs","full_name":"NixOS/nixpkgs","owner":{"login":"NixOS","id":487568,"avatar_url":"https://avatars.githubusercontent.com/u/487568?v=3","gravatar_id":"","url":"https://api.github.com/users/NixOS","html_url":"https://github.com/NixOS","followers_url":"https://api.github.com/users/NixOS/followers","following_url":"https://api.github.com/users/NixOS/following{/other_user}","gists_url":"https://api.github.com/users/NixOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NixOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixOS/subscriptions","organizations_url":"https://api.github.com/users/NixOS/orgs","repos_url":"https://api.github.com/users/NixOS/repos","events_url":"https://api.github.com/users/NixOS/events{/privacy}","received_events_url":"https://api.github.com/users/NixOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NixOS/nixpkgs","description":"Nix Packages collection","fork":false,"url":"https://api.github.com/repos/NixOS/nixpkgs","forks_url":"https://api.github.com/repos/NixOS/nixpkgs/forks","keys_url":"https://api.github.com/repos/NixOS/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NixOS/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NixOS/nixpkgs/teams","hooks_url":"https://api.github.com/repos/NixOS/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/NixOS/nixpkgs/events","assignees_url":"https://api.github.com/repos/NixOS/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/NixOS/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/NixOS/nixpkgs/tags","blobs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NixOS/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NixOS/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NixOS/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/NixOS/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/NixOS/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/NixOS/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/NixOS/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/NixOS/nixpkgs/subscription","commits_url":"https://api.github.com/repos/NixOS/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NixOS/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NixOS/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/NixOS/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NixOS/nixpkgs/merges","archive_url":"https://api.github.com/repos/NixOS/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NixOS/nixpkgs/downloads","issues_url":"https://api.github.com/repos/NixOS/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/NixOS/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/NixOS/nixpkgs/releases{/id}","created_at":"2012-06-04T02:49:46Z","updated_at":"2015-09-01T15:17:55Z","pushed_at":"2015-09-03T10:21:41Z","git_url":"git://github.com/NixOS/nixpkgs.git","ssh_url":"git@github.com:NixOS/nixpkgs.git","clone_url":"https://github.com/NixOS/nixpkgs.git","svn_url":"https://github.com/NixOS/nixpkgs","homepage":null,"size":451080,"stargazers_count":772,"watchers_count":772,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":956,"mirror_url":null,"open_issues_count":896,"forks":956,"open_issues":896,"watchers":772,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/9632"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/9632"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/9632/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/9632/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/a29557c4b18b11135915e5eb96eff8fd598a6015"}}}}