{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/63291824","id":63291824,"diff_hunk":"@@ -0,0 +1,45 @@\n+{ stdenv,\n+  SDL2,\n+  SDL2_image,\n+  SDL2_ttf,\n+  SDL2_mixer,\n+  autoconf,\n+  automake,\n+  fetchgit,\n+  guile,\n+  libtool,\n+  pkgconfig,\n+  buildEnv\n+  }:\n+stdenv.mkDerivation rec {\n+  name = \"guile-sdl2-${version}\";\n+  version = \"0.1.0\";\n+  buildInputs = [ autoconf\n+                  automake\n+                  SDL2\n+                  SDL2_image\n+                  SDL2_ttf\n+                  SDL2_mixer\n+                  libtool\n+                  guile\n+                  pkgconfig ];\n+  src = fetchgit {\n+    url = \"git://dthompson.us/guile-sdl2.git\";\n+    rev = \"048f80ddb5c6b03b87bba199a99a6f22d911bfff\";\n+    sha256 = \"1wbx157xd8lsv4vs8igqy3qw8yym5r5s7z94an18kwbf89npmf5d\";\n+  };\n+  preConfigurePhases = [ \"bootstrapPhase\" ];\n+  bootstrapPhase = ''\n+    ./bootstrap\n+  '';\n+  configureFlags = [ \"--with-libsdl2-prefix=${SDL2}\"\n+                     \"--with-libsdl2-image-prefix=${SDL2_image}\"\n+                     \"--with-libsdl2-ttf-prefix=${SDL2_ttf}\"\n+                     \"--with-libsdl2-mixer-prefix=${SDL2_mixer}\"];\n+  makeFlags = [\"GUILE_AUTO_COMPILE=0\"];\n+  meta = {\n+    description = \"Bindings to SDL2 for GNU Guile\";\n+    homepage = \"https://git.dthompson.us/guile-sdl2.git\";\n+    license = stdenv.lib.licenses.gpl3;","path":"pkgs/development/guile-modules/guile-sdl2/default.nix","position":43,"original_position":43,"commit_id":"84d923c02f0c5d6f293ad5c8442c7d79652d726d","original_commit_id":"84d923c02f0c5d6f293ad5c8442c7d79652d726d","user":{"login":"zimbatm","id":3248,"avatar_url":"https://avatars.githubusercontent.com/u/3248?v=3","gravatar_id":"","url":"https://api.github.com/users/zimbatm","html_url":"https://github.com/zimbatm","followers_url":"https://api.github.com/users/zimbatm/followers","following_url":"https://api.github.com/users/zimbatm/following{/other_user}","gists_url":"https://api.github.com/users/zimbatm/gists{/gist_id}","starred_url":"https://api.github.com/users/zimbatm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimbatm/subscriptions","organizations_url":"https://api.github.com/users/zimbatm/orgs","repos_url":"https://api.github.com/users/zimbatm/repos","events_url":"https://api.github.com/users/zimbatm/events{/privacy}","received_events_url":"https://api.github.com/users/zimbatm/received_events","type":"User","site_admin":false},"body":"if you want the package to be built by hydra you should also add the `platforms` attribute","created_at":"2016-05-15T13:41:42Z","updated_at":"2016-05-15T13:41:42Z","html_url":"https://github.com/NixOS/nixpkgs/pull/15478#discussion_r63291824","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/63291824"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/15478#discussion_r63291824"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478","id":70119408,"html_url":"https://github.com/NixOS/nixpkgs/pull/15478","diff_url":"https://github.com/NixOS/nixpkgs/pull/15478.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/15478.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15478","number":15478,"state":"open","locked":false,"title":"Add guile-sdl2 package to nixpkgs","user":{"login":"seppeljordan","id":4805746,"avatar_url":"https://avatars.githubusercontent.com/u/4805746?v=3","gravatar_id":"","url":"https://api.github.com/users/seppeljordan","html_url":"https://github.com/seppeljordan","followers_url":"https://api.github.com/users/seppeljordan/followers","following_url":"https://api.github.com/users/seppeljordan/following{/other_user}","gists_url":"https://api.github.com/users/seppeljordan/gists{/gist_id}","starred_url":"https://api.github.com/users/seppeljordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seppeljordan/subscriptions","organizations_url":"https://api.github.com/users/seppeljordan/orgs","repos_url":"https://api.github.com/users/seppeljordan/repos","events_url":"https://api.github.com/users/seppeljordan/events{/privacy}","received_events_url":"https://api.github.com/users/seppeljordan/received_events","type":"User","site_admin":false},"body":"###### Things done\r\n\r\n- [ ] Tested using sandboxing\r\n  ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS,\r\n    or option `build-use-sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file)\r\n    on non-NixOS)\r\n- Built on platform(s)\r\n   - [x] NixOS\r\n   - [ ] OS X\r\n   - [ ] Linux\r\n- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run \"nox-review wip\"`\r\n- [ ] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n\r\nReguarding sandboxing: I cannot find it in the manual link you provided, sorry.\r\n\r\n","created_at":"2016-05-15T12:01:59Z","updated_at":"2016-05-15T13:41:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"060d1dad2900de4a99c55014c15d00f715e45aaa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15478/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/84d923c02f0c5d6f293ad5c8442c7d79652d726d","head":{"label":"seppeljordan:guile-sdl2","ref":"guile-sdl2","sha":"84d923c02f0c5d6f293ad5c8442c7d79652d726d","user":{"login":"seppeljordan","id":4805746,"avatar_url":"https://avatars.githubusercontent.com/u/4805746?v=3","gravatar_id":"","url":"https://api.github.com/users/seppeljordan","html_url":"https://github.com/seppeljordan","followers_url":"https://api.github.com/users/seppeljordan/followers","following_url":"https://api.github.com/users/seppeljordan/following{/other_user}","gists_url":"https://api.github.com/users/seppeljordan/gists{/gist_id}","starred_url":"https://api.github.com/users/seppeljordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seppeljordan/subscriptions","organizations_url":"https://api.github.com/users/seppeljordan/orgs","repos_url":"https://api.github.com/users/seppeljordan/repos","events_url":"https://api.github.com/users/seppeljordan/events{/privacy}","received_events_url":"https://api.github.com/users/seppeljordan/received_events","type":"User","site_admin":false},"repo":{"id":33083161,"name":"nixpkgs","full_name":"seppeljordan/nixpkgs","owner":{"login":"seppeljordan","id":4805746,"avatar_url":"https://avatars.githubusercontent.com/u/4805746?v=3","gravatar_id":"","url":"https://api.github.com/users/seppeljordan","html_url":"https://github.com/seppeljordan","followers_url":"https://api.github.com/users/seppeljordan/followers","following_url":"https://api.github.com/users/seppeljordan/following{/other_user}","gists_url":"https://api.github.com/users/seppeljordan/gists{/gist_id}","starred_url":"https://api.github.com/users/seppeljordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seppeljordan/subscriptions","organizations_url":"https://api.github.com/users/seppeljordan/orgs","repos_url":"https://api.github.com/users/seppeljordan/repos","events_url":"https://api.github.com/users/seppeljordan/events{/privacy}","received_events_url":"https://api.github.com/users/seppeljordan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seppeljordan/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/seppeljordan/nixpkgs","forks_url":"https://api.github.com/repos/seppeljordan/nixpkgs/forks","keys_url":"https://api.github.com/repos/seppeljordan/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seppeljordan/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seppeljordan/nixpkgs/teams","hooks_url":"https://api.github.com/repos/seppeljordan/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/seppeljordan/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/seppeljordan/nixpkgs/events","assignees_url":"https://api.github.com/repos/seppeljordan/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/seppeljordan/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/seppeljordan/nixpkgs/tags","blobs_url":"https://api.github.com/repos/seppeljordan/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seppeljordan/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seppeljordan/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/seppeljordan/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seppeljordan/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/seppeljordan/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/seppeljordan/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/seppeljordan/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/seppeljordan/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/seppeljordan/nixpkgs/subscription","commits_url":"https://api.github.com/repos/seppeljordan/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/seppeljordan/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/seppeljordan/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/seppeljordan/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/seppeljordan/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/seppeljordan/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seppeljordan/nixpkgs/merges","archive_url":"https://api.github.com/repos/seppeljordan/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seppeljordan/nixpkgs/downloads","issues_url":"https://api.github.com/repos/seppeljordan/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/seppeljordan/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/seppeljordan/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/seppeljordan/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seppeljordan/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/seppeljordan/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/seppeljordan/nixpkgs/deployments","created_at":"2015-03-29T18:05:00Z","updated_at":"2015-04-26T14:28:04Z","pushed_at":"2016-05-15T11:56:10Z","git_url":"git://github.com/seppeljordan/nixpkgs.git","ssh_url":"git@github.com:seppeljordan/nixpkgs.git","clone_url":"https://github.com/seppeljordan/nixpkgs.git","svn_url":"https://github.com/seppeljordan/nixpkgs","homepage":null,"size":335539,"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":"57a33701175d1f392932a49bb8b38426981cc957","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}","deployments_url":"https://api.github.com/repos/NixOS/nixpkgs/deployments","created_at":"2012-06-04T02:49:46Z","updated_at":"2016-05-14T00:03:18Z","pushed_at":"2016-05-15T13:41:17Z","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":536572,"stargazers_count":1090,"watchers_count":1090,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1396,"mirror_url":null,"open_issues_count":1352,"forks":1396,"open_issues":1352,"watchers":1090,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/15478"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/15478"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/15478/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15478/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/84d923c02f0c5d6f293ad5c8442c7d79652d726d"}}}}