{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/93427151","pull_request_review_id":13953517,"id":93427151,"diff_hunk":"@@ -0,0 +1,41 @@\n+{ stdenv, fetchFromGitHub }:\n+\n+stdenv.mkDerivation rec {\n+  pname = \"ssrc\";\n+  name = \"${pname}-${version}\";\n+  version = \"1.33\";\n+\n+  src = fetchFromGitHub {\n+    owner = \"shibatch\";\n+    repo = \"SSRC\";\n+    rev = \"4adf75116dfc0ef709fef74a0e2f3360bd15007f\";\n+    sha256 = \"0hgma66v7sszkpz5jkyscj0q6lmjfqdwf1hw57535c012pa2vdrh\";\n+  };\n+\n+  installPhase = ''\n+    mkdir -p $out/bin\n+    cp ssrc ssrc_hp $out/bin\n+    '';\n+\n+  meta = {","path":"pkgs/applications/audio/ssrc/default.nix","position":20,"original_position":20,"commit_id":"d354dabe6cc6f379776c2230b1e30b96ca79a985","original_commit_id":"d354dabe6cc6f379776c2230b1e30b96ca79a985","user":{"login":"Mic92","id":96200,"avatar_url":"https://avatars.githubusercontent.com/u/96200?v=3","gravatar_id":"","url":"https://api.github.com/users/Mic92","html_url":"https://github.com/Mic92","followers_url":"https://api.github.com/users/Mic92/followers","following_url":"https://api.github.com/users/Mic92/following{/other_user}","gists_url":"https://api.github.com/users/Mic92/gists{/gist_id}","starred_url":"https://api.github.com/users/Mic92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mic92/subscriptions","organizations_url":"https://api.github.com/users/Mic92/orgs","repos_url":"https://api.github.com/users/Mic92/repos","events_url":"https://api.github.com/users/Mic92/events{/privacy}","received_events_url":"https://api.github.com/users/Mic92/received_events","type":"User","site_admin":false},"body":"Please use:\r\n\r\n```\r\nmeta = with stdenv.lib; {\r\n```\r\n\r\nand then drop `stdenv.lib` prefixes before the attributes below","created_at":"2016-12-21T12:11:52Z","updated_at":"2016-12-21T12:13:15Z","html_url":"https://github.com/NixOS/nixpkgs/pull/21318#discussion_r93427151","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/93427151"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/21318#discussion_r93427151"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318","id":98828242,"html_url":"https://github.com/NixOS/nixpkgs/pull/21318","diff_url":"https://github.com/NixOS/nixpkgs/pull/21318.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/21318.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21318","number":21318,"state":"open","locked":false,"title":"ssrc: init at 1.33","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\nIt is a useful program not currently available in Nixpkgs. It converts the sampling rate of a PCM wav file. 44.1kHz sampling rate is used for a CD, and 48kHz is used for a DVD. Converting between these frequencies is hard, because the ratio beteen these two frequencies is 147:160, which are not small numbers. Accordingly, it uses a very long FIR filter in order not to degrade the sound quality during conversion. It utilizes FFTs to apply the FIR filter in order to reduce the amount of computation. \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   - [ ] macOS\r\n   - [ ] Linux\r\n- [x] 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","created_at":"2016-12-20T21:24:14Z","updated_at":"2016-12-21T12:13:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fbe6429a03610bbc21ed00deeb9730533f770b15","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/21318/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/d354dabe6cc6f379776c2230b1e30b96ca79a985","head":{"label":"leenaars:ssrc","ref":"ssrc","sha":"d354dabe6cc6f379776c2230b1e30b96ca79a985","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-12-20T21:26:12Z","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":383252,"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":"06cfff71dd104d06470375619ebc364a6fc61caa","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-12-21T08:58:16Z","pushed_at":"2016-12-21T11:11:45Z","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":396036,"stargazers_count":1431,"watchers_count":1431,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1763,"mirror_url":null,"open_issues_count":1683,"forks":1763,"open_issues":1683,"watchers":1431,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/21318"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/21318"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/21318/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/21318/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/d354dabe6cc6f379776c2230b1e30b96ca79a985"}}}}
{"actor":{"display_login":"Mic92"}}