{"action":"created","comment":{"url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/comments/166256090","pull_request_review_id":94300016,"id":166256090,"diff_hunk":"@@ -49,6 +49,12 @@ in\n \n                             in  allPythonRecDep;\n \n+  # function to fetch source tarball from BBP devpi server, given package name / version / sha256\n+  fetchBBPDevpi = { pname, version, sha256 }:\n+    let\n+      url = \"https://bbpteam.epfl.ch/repository/devpi/bbprelman/release/+f/${builtins.substring 0 3 sha256}/${builtins.substring 3 13 sha256}/${pname}-${version}.tar.gz\";","path":"patches/additionalPythonPackages/default.nix","position":7,"original_position":7,"commit_id":"bab06afab9b951378dfb50b84646a68bf5c1e9af","original_commit_id":"bab06afab9b951378dfb50b84646a68bf5c1e9af","user":{"login":"arsenius7","id":18440108,"avatar_url":"https://avatars1.githubusercontent.com/u/18440108?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenius7","html_url":"https://github.com/arsenius7","followers_url":"https://api.github.com/users/arsenius7/followers","following_url":"https://api.github.com/users/arsenius7/following{/other_user}","gists_url":"https://api.github.com/users/arsenius7/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenius7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenius7/subscriptions","organizations_url":"https://api.github.com/users/arsenius7/orgs","repos_url":"https://api.github.com/users/arsenius7/repos","events_url":"https://api.github.com/users/arsenius7/events{/privacy}","received_events_url":"https://api.github.com/users/arsenius7/received_events","type":"User","site_admin":false},"body":"unfortunately, sha256 makes a part of the only direct URL to source tarball that I have found","created_at":"2018-02-06T10:51:54Z","updated_at":"2018-02-06T10:51:54Z","html_url":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634#discussion_r166256090","pull_request_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/comments/166256090"},"html":{"href":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634#discussion_r166256090"},"pull_request":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634"}}},"pull_request":{"url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634","id":167379510,"html_url":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634","diff_url":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634.diff","patch_url":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634.patch","issue_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/634","number":634,"state":"open","locked":false,"title":"Introduced 'fetchBBPDevpi' function","user":{"login":"arsenius7","id":18440108,"avatar_url":"https://avatars1.githubusercontent.com/u/18440108?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenius7","html_url":"https://github.com/arsenius7","followers_url":"https://api.github.com/users/arsenius7/followers","following_url":"https://api.github.com/users/arsenius7/following{/other_user}","gists_url":"https://api.github.com/users/arsenius7/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenius7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenius7/subscriptions","organizations_url":"https://api.github.com/users/arsenius7/orgs","repos_url":"https://api.github.com/users/arsenius7/repos","events_url":"https://api.github.com/users/arsenius7/events{/privacy}","received_events_url":"https://api.github.com/users/arsenius7/received_events","type":"User","site_admin":false},"body":" * using it for 'brainbuilder', 'voxcell' packages","created_at":"2018-02-06T10:50:51Z","updated_at":"2018-02-06T10:51:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96fd29b7e3ff96415894e3c21f28997e210cf558","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634/commits","review_comments_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634/comments","review_comment_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/634/comments","statuses_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/statuses/bab06afab9b951378dfb50b84646a68bf5c1e9af","head":{"label":"arsenius7:arsenius7/fetch-devpi","ref":"arsenius7/fetch-devpi","sha":"bab06afab9b951378dfb50b84646a68bf5c1e9af","user":{"login":"arsenius7","id":18440108,"avatar_url":"https://avatars1.githubusercontent.com/u/18440108?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenius7","html_url":"https://github.com/arsenius7","followers_url":"https://api.github.com/users/arsenius7/followers","following_url":"https://api.github.com/users/arsenius7/following{/other_user}","gists_url":"https://api.github.com/users/arsenius7/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenius7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenius7/subscriptions","organizations_url":"https://api.github.com/users/arsenius7/orgs","repos_url":"https://api.github.com/users/arsenius7/repos","events_url":"https://api.github.com/users/arsenius7/events{/privacy}","received_events_url":"https://api.github.com/users/arsenius7/received_events","type":"User","site_admin":false},"repo":{"id":84055286,"name":"bbp-nixpkgs","full_name":"arsenius7/bbp-nixpkgs","owner":{"login":"arsenius7","id":18440108,"avatar_url":"https://avatars1.githubusercontent.com/u/18440108?v=4","gravatar_id":"","url":"https://api.github.com/users/arsenius7","html_url":"https://github.com/arsenius7","followers_url":"https://api.github.com/users/arsenius7/followers","following_url":"https://api.github.com/users/arsenius7/following{/other_user}","gists_url":"https://api.github.com/users/arsenius7/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenius7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenius7/subscriptions","organizations_url":"https://api.github.com/users/arsenius7/orgs","repos_url":"https://api.github.com/users/arsenius7/repos","events_url":"https://api.github.com/users/arsenius7/events{/privacy}","received_events_url":"https://api.github.com/users/arsenius7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arsenius7/bbp-nixpkgs","description":"Package configurations for the nix package manager","fork":true,"url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs","forks_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/forks","keys_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/teams","hooks_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/events","assignees_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/tags","blobs_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/languages","stargazers_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/subscription","commits_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/merges","archive_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/downloads","issues_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/arsenius7/bbp-nixpkgs/deployments","created_at":"2017-03-06T09:36:48Z","updated_at":"2017-03-06T09:36:50Z","pushed_at":"2018-02-06T10:50:26Z","git_url":"git://github.com/arsenius7/bbp-nixpkgs.git","ssh_url":"git@github.com:arsenius7/bbp-nixpkgs.git","clone_url":"https://github.com/arsenius7/bbp-nixpkgs.git","svn_url":"https://github.com/arsenius7/bbp-nixpkgs","homepage":null,"size":1637,"stargazers_count":0,"watchers_count":0,"language":"Nix","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BlueBrain:master","ref":"master","sha":"d699f625e70c7e9a0fffeec4bb13b34f02671c45","user":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars1.githubusercontent.com/u/1479142?v=4","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"repo":{"id":39013704,"name":"bbp-nixpkgs","full_name":"BlueBrain/bbp-nixpkgs","owner":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars1.githubusercontent.com/u/1479142?v=4","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlueBrain/bbp-nixpkgs","description":"Blue Brain Project nixpkgs configuration - Build a brain with Nix","fork":false,"url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs","forks_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/forks","keys_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/teams","hooks_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/events","assignees_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/tags","blobs_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/languages","stargazers_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/subscription","commits_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/merges","archive_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/downloads","issues_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/deployments","created_at":"2015-07-13T13:29:43Z","updated_at":"2017-11-07T10:23:52Z","pushed_at":"2018-02-06T10:50:51Z","git_url":"git://github.com/BlueBrain/bbp-nixpkgs.git","ssh_url":"git@github.com:BlueBrain/bbp-nixpkgs.git","clone_url":"https://github.com/BlueBrain/bbp-nixpkgs.git","svn_url":"https://github.com/BlueBrain/bbp-nixpkgs","homepage":"","size":162836,"stargazers_count":5,"watchers_count":5,"language":"Nix","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":10,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634"},"html":{"href":"https://github.com/BlueBrain/bbp-nixpkgs/pull/634"},"issue":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/634"},"comments":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/issues/634/comments"},"review_comments":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634/comments"},"review_comment":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/pulls/634/commits"},"statuses":{"href":"https://api.github.com/repos/BlueBrain/bbp-nixpkgs/statuses/bab06afab9b951378dfb50b84646a68bf5c1e9af"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"arsenius7"}}