{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/77747133","id":77747133,"diff_hunk":"@@ -0,0 +1,38 @@\n+{ stdenv, fetchurl, cmake, gnome3, pcre, freetype, glew, gtk3, libjpeg, libpng,\n+  SDL, SDL_mixer, libupnp, xorg, pkgconfig, gtest, tinyxml, gmock, readline,\n+  libxkbcommon, epoxy, at_spi2_core, dbus, libxml2,\n+  enableSoundtrack ? false # Enable the \"Open Clonk Soundtrack - Explorers Journey\" by David Oerther\n+}:\n+\n+let\n+  soundtrack_src = fetchurl {\n+    url = \"http://www.openclonk.org/download/Music.ocg\";\n+    sha256 = \"1ckj0dlpp5zsnkbb5qxxfxpkiq76jj2fgj91fyf3ll7n0gbwcgw5\";\n+  };\n+in stdenv.mkDerivation rec {\n+  version = \"7.0\";\n+  name = \"openclonk-${version}\";\n+\n+  src = fetchurl {\n+    url = \"http://www.openclonk.org/builds/release/7.0/openclonk-${version}-src.tar.bz2\";\n+    sha256 = \"0ch71dqaaalg744pc1gvg6sj2yp2kgvy2m4yh6l7ljkpf8fj66mw\";\n+  };\n+\n+  postInstall = [\"mv -v $out/games/openclonk $out/bin/ ;\"] ++\n+    stdenv.lib.optional enableSoundtrack \"cp -v ${soundtrack_src} $out/share/games/openclonk/Music.ocg\";\n+\n+  enableParallelBuilding = true;\n+\n+  buildInputs = [\n+    cmake gnome3.gtksourceview pcre freetype glew gtk3 libjpeg libpng SDL\n+    SDL_mixer libupnp tinyxml xorg.libpthreadstubs libxkbcommon xorg.libXdmcp\n+    pkgconfig gtest gmock readline epoxy at_spi2_core dbus libxml2\n+  ];\n+\n+  meta = with stdenv.lib; {\n+    description = \"Free multiplayer action game in which you control clonks, small but witty and nimble humanoid beings\";\n+    homepage = \"http://openclonk.org\";\n+    license = [ licenses.free ] ++ optional enableSoundtrack licenses.unfree;","path":"pkgs/games/openclonk/default.nix","position":35,"original_position":35,"commit_id":"e4066600d3692de9a18c9cf0e0d61af397246798","original_commit_id":"e4066600d3692de9a18c9cf0e0d61af397246798","user":{"login":"joachifm","id":41977,"avatar_url":"https://avatars.githubusercontent.com/u/41977?v=3","gravatar_id":"","url":"https://api.github.com/users/joachifm","html_url":"https://github.com/joachifm","followers_url":"https://api.github.com/users/joachifm/followers","following_url":"https://api.github.com/users/joachifm/following{/other_user}","gists_url":"https://api.github.com/users/joachifm/gists{/gist_id}","starred_url":"https://api.github.com/users/joachifm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachifm/subscriptions","organizations_url":"https://api.github.com/users/joachifm/orgs","repos_url":"https://api.github.com/users/joachifm/repos","events_url":"https://api.github.com/users/joachifm/events{/privacy}","received_events_url":"https://api.github.com/users/joachifm/received_events","type":"User","site_admin":false},"body":"The software appears to be licensed under the ISC license.","created_at":"2016-09-07T01:20:16Z","updated_at":"2016-09-07T01:20:16Z","html_url":"https://github.com/NixOS/nixpkgs/pull/17931#discussion_r77747133","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/77747133"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/17931#discussion_r77747133"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931","id":82300606,"html_url":"https://github.com/NixOS/nixpkgs/pull/17931","diff_url":"https://github.com/NixOS/nixpkgs/pull/17931.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/17931.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17931","number":17931,"state":"open","locked":false,"title":"Openclonk","user":{"login":"rardiol","id":11351304,"avatar_url":"https://avatars.githubusercontent.com/u/11351304?v=3","gravatar_id":"","url":"https://api.github.com/users/rardiol","html_url":"https://github.com/rardiol","followers_url":"https://api.github.com/users/rardiol/followers","following_url":"https://api.github.com/users/rardiol/following{/other_user}","gists_url":"https://api.github.com/users/rardiol/gists{/gist_id}","starred_url":"https://api.github.com/users/rardiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rardiol/subscriptions","organizations_url":"https://api.github.com/users/rardiol/orgs","repos_url":"https://api.github.com/users/rardiol/repos","events_url":"https://api.github.com/users/rardiol/events{/privacy}","received_events_url":"https://api.github.com/users/rardiol/received_events","type":"User","site_admin":false},"body":"###### Motivation for this change\r\n\r\n\r\n###### Things done\r\n\r\n- [x] Tested using sandboxing\r\n  ([nix.useChroot](http://nixos.org/nixos/manual/options.html#opt-nix.useChroot) on NixOS,\r\n    or option `build-use-chroot` 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- [x] Tested execution of all binary files (usually in `./result/bin/`)\r\n- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).\r\n\r\n---\r\n\r\n\r\nI believe the following counts as unfree?\r\n\r\n> by David Oerther <A9> Copyright 2015\r\n> All rights reserved, note that the soundtrack does not use the creative common or similar licenses.\r\n> \r\n> The game Open Clonk ( http://www.openclonk.org/ ) may use and distribute the soundtrack, as long as credit is given. This explicitly includes packaged distributions of the\r\n> game. In-game videos of Open Clonk and game modifications and extensions based on the Open Clonk file-types (.ocd, .ocs and .ocf) don't require credits.\r\n> \r\n> For all other usage please contact: david.oerther@directbox.com\r\n","created_at":"2016-08-23T04:07:38Z","updated_at":"2016-09-07T01:20:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de242d39d5f49b2a926f830fd230dbf666245be1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/17931/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/e4066600d3692de9a18c9cf0e0d61af397246798","head":{"label":"rardiol:openclonk","ref":"openclonk","sha":"e4066600d3692de9a18c9cf0e0d61af397246798","user":{"login":"rardiol","id":11351304,"avatar_url":"https://avatars.githubusercontent.com/u/11351304?v=3","gravatar_id":"","url":"https://api.github.com/users/rardiol","html_url":"https://github.com/rardiol","followers_url":"https://api.github.com/users/rardiol/followers","following_url":"https://api.github.com/users/rardiol/following{/other_user}","gists_url":"https://api.github.com/users/rardiol/gists{/gist_id}","starred_url":"https://api.github.com/users/rardiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rardiol/subscriptions","organizations_url":"https://api.github.com/users/rardiol/orgs","repos_url":"https://api.github.com/users/rardiol/repos","events_url":"https://api.github.com/users/rardiol/events{/privacy}","received_events_url":"https://api.github.com/users/rardiol/received_events","type":"User","site_admin":false},"repo":{"id":55875877,"name":"nixpkgs","full_name":"rardiol/nixpkgs","owner":{"login":"rardiol","id":11351304,"avatar_url":"https://avatars.githubusercontent.com/u/11351304?v=3","gravatar_id":"","url":"https://api.github.com/users/rardiol","html_url":"https://github.com/rardiol","followers_url":"https://api.github.com/users/rardiol/followers","following_url":"https://api.github.com/users/rardiol/following{/other_user}","gists_url":"https://api.github.com/users/rardiol/gists{/gist_id}","starred_url":"https://api.github.com/users/rardiol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rardiol/subscriptions","organizations_url":"https://api.github.com/users/rardiol/orgs","repos_url":"https://api.github.com/users/rardiol/repos","events_url":"https://api.github.com/users/rardiol/events{/privacy}","received_events_url":"https://api.github.com/users/rardiol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rardiol/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/rardiol/nixpkgs","forks_url":"https://api.github.com/repos/rardiol/nixpkgs/forks","keys_url":"https://api.github.com/repos/rardiol/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rardiol/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rardiol/nixpkgs/teams","hooks_url":"https://api.github.com/repos/rardiol/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/rardiol/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/rardiol/nixpkgs/events","assignees_url":"https://api.github.com/repos/rardiol/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/rardiol/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/rardiol/nixpkgs/tags","blobs_url":"https://api.github.com/repos/rardiol/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rardiol/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rardiol/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/rardiol/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rardiol/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/rardiol/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/rardiol/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/rardiol/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/rardiol/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/rardiol/nixpkgs/subscription","commits_url":"https://api.github.com/repos/rardiol/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/rardiol/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/rardiol/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/rardiol/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/rardiol/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/rardiol/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rardiol/nixpkgs/merges","archive_url":"https://api.github.com/repos/rardiol/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rardiol/nixpkgs/downloads","issues_url":"https://api.github.com/repos/rardiol/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/rardiol/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/rardiol/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/rardiol/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rardiol/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/rardiol/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/rardiol/nixpkgs/deployments","created_at":"2016-04-10T01:53:41Z","updated_at":"2016-04-10T01:54:02Z","pushed_at":"2016-08-25T12:21:00Z","git_url":"git://github.com/rardiol/nixpkgs.git","ssh_url":"git@github.com:rardiol/nixpkgs.git","clone_url":"https://github.com/rardiol/nixpkgs.git","svn_url":"https://github.com/rardiol/nixpkgs","homepage":null,"size":334311,"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":"01c197df689a9794885a80d965311696377e0efb","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-09-07T00:27:18Z","pushed_at":"2016-09-07T01:15:18Z","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":583663,"stargazers_count":1275,"watchers_count":1275,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1597,"mirror_url":null,"open_issues_count":1524,"forks":1597,"open_issues":1524,"watchers":1275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/17931"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/17931"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/17931/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/17931/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/e4066600d3692de9a18c9cf0e0d61af397246798"}}}}
{"actor":{"display_login":"joachifm"}}