{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3","id":76251744,"html_url":"https://github.com/arpa2/nixpkgs/pull/3","diff_url":"https://github.com/arpa2/nixpkgs/pull/3.diff","patch_url":"https://github.com/arpa2/nixpkgs/pull/3.patch","issue_url":"https://api.github.com/repos/arpa2/nixpkgs/issues/3","number":3,"state":"open","locked":false,"title":"gnupg: make optional dependencies optional","user":{"login":"leenaars","id":4158274,"avatar_url":"https://avatars.githubusercontent.com/u/4158274?v=3","gravatar_id":"","url":"https://api.github.com/users/leenaars","html_url":"https://github.com/leenaars","followers_url":"https://api.github.com/users/leenaars/followers","following_url":"https://api.github.com/users/leenaars/following{/other_user}","gists_url":"https://api.github.com/users/leenaars/gists{/gist_id}","starred_url":"https://api.github.com/users/leenaars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenaars/subscriptions","organizations_url":"https://api.github.com/users/leenaars/orgs","repos_url":"https://api.github.com/users/leenaars/repos","events_url":"https://api.github.com/users/leenaars/events{/privacy}","received_events_url":"https://api.github.com/users/leenaars/received_events","type":"User","site_admin":false},"body":"###### Motivation for this change\r\n\r\ngnupg currently pulls in all optional dependencies (which is significant), even if for instance someone only needs a small tool. This patch makes the dependencies configurable, and makes optional dependencies really optional. \r\n\r\nI've left the defaults as is. Let me know if this is how this should be done, or if there is another best practise to follow.\r\n\r\n###### 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- [x] 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\n\r\n","created_at":"2016-07-05T10:34:28Z","updated_at":"2016-07-05T10:34:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3/commits","review_comments_url":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3/comments","review_comment_url":"https://api.github.com/repos/arpa2/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arpa2/nixpkgs/issues/3/comments","statuses_url":"https://api.github.com/repos/arpa2/nixpkgs/statuses/1cbe661749f6d066106cfc3a46fd93ab4d5980d7","head":{"label":"leenaars:gnupg","ref":"gnupg","sha":"1cbe661749f6d066106cfc3a46fd93ab4d5980d7","user":{"login":"leenaars","id":4158274,"avatar_url":"https://avatars.githubusercontent.com/u/4158274?v=3","gravatar_id":"","url":"https://api.github.com/users/leenaars","html_url":"https://github.com/leenaars","followers_url":"https://api.github.com/users/leenaars/followers","following_url":"https://api.github.com/users/leenaars/following{/other_user}","gists_url":"https://api.github.com/users/leenaars/gists{/gist_id}","starred_url":"https://api.github.com/users/leenaars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenaars/subscriptions","organizations_url":"https://api.github.com/users/leenaars/orgs","repos_url":"https://api.github.com/users/leenaars/repos","events_url":"https://api.github.com/users/leenaars/events{/privacy}","received_events_url":"https://api.github.com/users/leenaars/received_events","type":"User","site_admin":false},"repo":{"id":45281546,"name":"nixpkgs","full_name":"leenaars/nixpkgs","owner":{"login":"leenaars","id":4158274,"avatar_url":"https://avatars.githubusercontent.com/u/4158274?v=3","gravatar_id":"","url":"https://api.github.com/users/leenaars","html_url":"https://github.com/leenaars","followers_url":"https://api.github.com/users/leenaars/followers","following_url":"https://api.github.com/users/leenaars/following{/other_user}","gists_url":"https://api.github.com/users/leenaars/gists{/gist_id}","starred_url":"https://api.github.com/users/leenaars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leenaars/subscriptions","organizations_url":"https://api.github.com/users/leenaars/orgs","repos_url":"https://api.github.com/users/leenaars/repos","events_url":"https://api.github.com/users/leenaars/events{/privacy}","received_events_url":"https://api.github.com/users/leenaars/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leenaars/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/leenaars/nixpkgs","forks_url":"https://api.github.com/repos/leenaars/nixpkgs/forks","keys_url":"https://api.github.com/repos/leenaars/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leenaars/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leenaars/nixpkgs/teams","hooks_url":"https://api.github.com/repos/leenaars/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/leenaars/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/leenaars/nixpkgs/events","assignees_url":"https://api.github.com/repos/leenaars/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/leenaars/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/leenaars/nixpkgs/tags","blobs_url":"https://api.github.com/repos/leenaars/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leenaars/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leenaars/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/leenaars/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leenaars/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/leenaars/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/leenaars/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/leenaars/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/leenaars/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/leenaars/nixpkgs/subscription","commits_url":"https://api.github.com/repos/leenaars/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/leenaars/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/leenaars/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/leenaars/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/leenaars/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/leenaars/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leenaars/nixpkgs/merges","archive_url":"https://api.github.com/repos/leenaars/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leenaars/nixpkgs/downloads","issues_url":"https://api.github.com/repos/leenaars/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/leenaars/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/leenaars/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/leenaars/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leenaars/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/leenaars/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/leenaars/nixpkgs/deployments","created_at":"2015-10-30T23:29:58Z","updated_at":"2016-01-13T19:28:51Z","pushed_at":"2016-07-05T10:27:32Z","git_url":"git://github.com/leenaars/nixpkgs.git","ssh_url":"git@github.com:leenaars/nixpkgs.git","clone_url":"https://github.com/leenaars/nixpkgs.git","svn_url":"https://github.com/leenaars/nixpkgs","homepage":null,"size":369495,"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":"arpa2:master","ref":"master","sha":"d145777000aac94727efa6ecefa94a0a5210cb90","user":{"login":"arpa2","id":5729780,"avatar_url":"https://avatars.githubusercontent.com/u/5729780?v=3","gravatar_id":"","url":"https://api.github.com/users/arpa2","html_url":"https://github.com/arpa2","followers_url":"https://api.github.com/users/arpa2/followers","following_url":"https://api.github.com/users/arpa2/following{/other_user}","gists_url":"https://api.github.com/users/arpa2/gists{/gist_id}","starred_url":"https://api.github.com/users/arpa2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpa2/subscriptions","organizations_url":"https://api.github.com/users/arpa2/orgs","repos_url":"https://api.github.com/users/arpa2/repos","events_url":"https://api.github.com/users/arpa2/events{/privacy}","received_events_url":"https://api.github.com/users/arpa2/received_events","type":"Organization","site_admin":false},"repo":{"id":58544315,"name":"nixpkgs","full_name":"arpa2/nixpkgs","owner":{"login":"arpa2","id":5729780,"avatar_url":"https://avatars.githubusercontent.com/u/5729780?v=3","gravatar_id":"","url":"https://api.github.com/users/arpa2","html_url":"https://github.com/arpa2","followers_url":"https://api.github.com/users/arpa2/followers","following_url":"https://api.github.com/users/arpa2/following{/other_user}","gists_url":"https://api.github.com/users/arpa2/gists{/gist_id}","starred_url":"https://api.github.com/users/arpa2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arpa2/subscriptions","organizations_url":"https://api.github.com/users/arpa2/orgs","repos_url":"https://api.github.com/users/arpa2/repos","events_url":"https://api.github.com/users/arpa2/events{/privacy}","received_events_url":"https://api.github.com/users/arpa2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arpa2/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/arpa2/nixpkgs","forks_url":"https://api.github.com/repos/arpa2/nixpkgs/forks","keys_url":"https://api.github.com/repos/arpa2/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arpa2/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arpa2/nixpkgs/teams","hooks_url":"https://api.github.com/repos/arpa2/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/arpa2/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/arpa2/nixpkgs/events","assignees_url":"https://api.github.com/repos/arpa2/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/arpa2/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/arpa2/nixpkgs/tags","blobs_url":"https://api.github.com/repos/arpa2/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arpa2/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arpa2/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/arpa2/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arpa2/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/arpa2/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/arpa2/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/arpa2/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/arpa2/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/arpa2/nixpkgs/subscription","commits_url":"https://api.github.com/repos/arpa2/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/arpa2/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/arpa2/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/arpa2/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/arpa2/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/arpa2/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arpa2/nixpkgs/merges","archive_url":"https://api.github.com/repos/arpa2/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arpa2/nixpkgs/downloads","issues_url":"https://api.github.com/repos/arpa2/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/arpa2/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/arpa2/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/arpa2/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arpa2/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/arpa2/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/arpa2/nixpkgs/deployments","created_at":"2016-05-11T12:48:55Z","updated_at":"2016-05-18T22:45:22Z","pushed_at":"2016-07-05T10:22:07Z","git_url":"git://github.com/arpa2/nixpkgs.git","ssh_url":"git@github.com:arpa2/nixpkgs.git","clone_url":"https://github.com/arpa2/nixpkgs.git","svn_url":"https://github.com/arpa2/nixpkgs","homepage":null,"size":368515,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3"},"html":{"href":"https://github.com/arpa2/nixpkgs/pull/3"},"issue":{"href":"https://api.github.com/repos/arpa2/nixpkgs/issues/3"},"comments":{"href":"https://api.github.com/repos/arpa2/nixpkgs/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/arpa2/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arpa2/nixpkgs/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/arpa2/nixpkgs/statuses/1cbe661749f6d066106cfc3a46fd93ab4d5980d7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"leenaars"}}