{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/60972256","id":60972256,"diff_hunk":"@@ -4196,6 +4196,28 @@ in modules // {\n       description = \"pytest plugin with mechanisms for caching across test runs\";\n     };\n   };\n+  \n+  pytestdjango = buildPythonPackage rec {\n+    name = \"pytest-django-${version}\";\n+    version = \"2.9.1\";\n+\n+    src = pkgs.fetchurl {\n+      url = \"https://pypi.python.org/packages/source/p/pytest-django/${name}.tar.gz\";\n+      sha256 = \"1mmc7zsz3dlhs6sx4sppkj1vgshabi362r1a8b8wpj1qfximpqcb\";\n+    };\n+    \n+    # doing this to allow depending packages to find\n+    # pytest's binaries\n+    pytest = self.pytest;","path":"pkgs/top-level/python-packages.nix","position":16,"original_position":16,"commit_id":"6643d18dacc88907aa026eb0bdb9eafaffe9d247","original_commit_id":"6643d18dacc88907aa026eb0bdb9eafaffe9d247","user":{"login":"risicle","id":807447,"avatar_url":"https://avatars.githubusercontent.com/u/807447?v=3","gravatar_id":"","url":"https://api.github.com/users/risicle","html_url":"https://github.com/risicle","followers_url":"https://api.github.com/users/risicle/followers","following_url":"https://api.github.com/users/risicle/following{/other_user}","gists_url":"https://api.github.com/users/risicle/gists{/gist_id}","starred_url":"https://api.github.com/users/risicle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risicle/subscriptions","organizations_url":"https://api.github.com/users/risicle/orgs","repos_url":"https://api.github.com/users/risicle/repos","events_url":"https://api.github.com/users/risicle/events{/privacy}","received_events_url":"https://api.github.com/users/risicle/received_events","type":"User","site_admin":false},"body":"This particular case is to allow a depending package to directly reference the `py.test` binary so it can create a wrapper - it just seemed slightly neater for the depending package to only require pytestdjango as an argument rather than pytest _and_ pytestdjango, while having the bonus of ensuring there isn't any version mixup.","created_at":"2016-04-25T19:22:46Z","updated_at":"2016-04-25T19:22:46Z","html_url":"https://github.com/NixOS/nixpkgs/pull/14684#discussion_r60972256","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/60972256"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/14684#discussion_r60972256"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684","id":66458442,"html_url":"https://github.com/NixOS/nixpkgs/pull/14684","diff_url":"https://github.com/NixOS/nixpkgs/pull/14684.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/14684.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14684","number":14684,"state":"open","locked":false,"title":"pytestdjango: init at 2.9.1","user":{"login":"edugomez","id":5618508,"avatar_url":"https://avatars.githubusercontent.com/u/5618508?v=3","gravatar_id":"","url":"https://api.github.com/users/edugomez","html_url":"https://github.com/edugomez","followers_url":"https://api.github.com/users/edugomez/followers","following_url":"https://api.github.com/users/edugomez/following{/other_user}","gists_url":"https://api.github.com/users/edugomez/gists{/gist_id}","starred_url":"https://api.github.com/users/edugomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edugomez/subscriptions","organizations_url":"https://api.github.com/users/edugomez/orgs","repos_url":"https://api.github.com/users/edugomez/repos","events_url":"https://api.github.com/users/edugomez/events{/privacy}","received_events_url":"https://api.github.com/users/edugomez/received_events","type":"User","site_admin":false},"body":"###### Things done\r\n\r\n- [x] Tested using sandboxing (`nix-build --option build-use-chroot true` or [nix.useChroot](http://nixos.org/nixos/manual/options.html#opt-nix.useChroot) on NixOS)\r\n- Built on platform(s)\r\n   - [ ] NixOS\r\n   - [ ] OS X\r\n   - [x] 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\n\r\n","created_at":"2016-04-14T10:05:28Z","updated_at":"2016-04-25T19:22:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4f6989684f68115f049ac211bf0242fffe7eea5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/14684/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/6643d18dacc88907aa026eb0bdb9eafaffe9d247","head":{"label":"edugomez:pytest_django","ref":"pytest_django","sha":"6643d18dacc88907aa026eb0bdb9eafaffe9d247","user":{"login":"edugomez","id":5618508,"avatar_url":"https://avatars.githubusercontent.com/u/5618508?v=3","gravatar_id":"","url":"https://api.github.com/users/edugomez","html_url":"https://github.com/edugomez","followers_url":"https://api.github.com/users/edugomez/followers","following_url":"https://api.github.com/users/edugomez/following{/other_user}","gists_url":"https://api.github.com/users/edugomez/gists{/gist_id}","starred_url":"https://api.github.com/users/edugomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edugomez/subscriptions","organizations_url":"https://api.github.com/users/edugomez/orgs","repos_url":"https://api.github.com/users/edugomez/repos","events_url":"https://api.github.com/users/edugomez/events{/privacy}","received_events_url":"https://api.github.com/users/edugomez/received_events","type":"User","site_admin":false},"repo":{"id":55616433,"name":"nixpkgs","full_name":"edugomez/nixpkgs","owner":{"login":"edugomez","id":5618508,"avatar_url":"https://avatars.githubusercontent.com/u/5618508?v=3","gravatar_id":"","url":"https://api.github.com/users/edugomez","html_url":"https://github.com/edugomez","followers_url":"https://api.github.com/users/edugomez/followers","following_url":"https://api.github.com/users/edugomez/following{/other_user}","gists_url":"https://api.github.com/users/edugomez/gists{/gist_id}","starred_url":"https://api.github.com/users/edugomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edugomez/subscriptions","organizations_url":"https://api.github.com/users/edugomez/orgs","repos_url":"https://api.github.com/users/edugomez/repos","events_url":"https://api.github.com/users/edugomez/events{/privacy}","received_events_url":"https://api.github.com/users/edugomez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edugomez/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/edugomez/nixpkgs","forks_url":"https://api.github.com/repos/edugomez/nixpkgs/forks","keys_url":"https://api.github.com/repos/edugomez/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edugomez/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edugomez/nixpkgs/teams","hooks_url":"https://api.github.com/repos/edugomez/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/edugomez/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/edugomez/nixpkgs/events","assignees_url":"https://api.github.com/repos/edugomez/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/edugomez/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/edugomez/nixpkgs/tags","blobs_url":"https://api.github.com/repos/edugomez/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edugomez/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edugomez/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/edugomez/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edugomez/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/edugomez/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/edugomez/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/edugomez/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/edugomez/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/edugomez/nixpkgs/subscription","commits_url":"https://api.github.com/repos/edugomez/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/edugomez/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/edugomez/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/edugomez/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/edugomez/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/edugomez/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edugomez/nixpkgs/merges","archive_url":"https://api.github.com/repos/edugomez/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edugomez/nixpkgs/downloads","issues_url":"https://api.github.com/repos/edugomez/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/edugomez/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/edugomez/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/edugomez/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edugomez/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/edugomez/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/edugomez/nixpkgs/deployments","created_at":"2016-04-06T15:11:39Z","updated_at":"2016-04-06T15:12:01Z","pushed_at":"2016-04-15T10:30:24Z","git_url":"git://github.com/edugomez/nixpkgs.git","ssh_url":"git@github.com:edugomez/nixpkgs.git","clone_url":"https://github.com/edugomez/nixpkgs.git","svn_url":"https://github.com/edugomez/nixpkgs","homepage":null,"size":344789,"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":"12e919bb34d120872a1eb508b752bad638957b20","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-04-24T18:55:41Z","pushed_at":"2016-04-25T18:39:08Z","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":517089,"stargazers_count":1051,"watchers_count":1051,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1365,"mirror_url":null,"open_issues_count":1293,"forks":1365,"open_issues":1293,"watchers":1051,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/14684"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/14684"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/14684/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/14684/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/6643d18dacc88907aa026eb0bdb9eafaffe9d247"}}}}