{"action":"created","comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/65013476","id":65013476,"diff_hunk":"@@ -7,5 +7,6 @@\n     elm-make = callPackage ./elm-make.nix { };\n     elm-reactor = callPackage ./elm-reactor.nix { };\n     elm-repl = callPackage ./elm-repl.nix { };\n+    elm-format = callPackage ./elm-format.nix { };","path":"pkgs/development/compilers/elm/packages/release.nix","position":4,"original_position":4,"commit_id":"0ab137464aaaf59aa874ee54b83134df17251305","original_commit_id":"0ab137464aaaf59aa874ee54b83134df17251305","user":{"login":"abbradar","id":1174810,"avatar_url":"https://avatars.githubusercontent.com/u/1174810?v=3","gravatar_id":"","url":"https://api.github.com/users/abbradar","html_url":"https://github.com/abbradar","followers_url":"https://api.github.com/users/abbradar/followers","following_url":"https://api.github.com/users/abbradar/following{/other_user}","gists_url":"https://api.github.com/users/abbradar/gists{/gist_id}","starred_url":"https://api.github.com/users/abbradar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbradar/subscriptions","organizations_url":"https://api.github.com/users/abbradar/orgs","repos_url":"https://api.github.com/users/abbradar/repos","events_url":"https://api.github.com/users/abbradar/events{/privacy}","received_events_url":"https://api.github.com/users/abbradar/received_events","type":"User","site_admin":false},"body":"Maybe it would be better to leave the comment there and leave the file completely auto-generated? A short notice like:\r\n\r\nThis is not a core Elm package, and it's hosted on GitHub.\r\nTo update, run:\r\n> `cabal2nix --revision refs/tags/foo http://github.com/avh4/elm-format > packages/elm-format.nix`\r\n, where `foo` is a tag for a new version, for example \"0.3.1-alpha\".\r\n\r\nwould suffice. Then one would look at the comment, copy-paste the command into the terminal changing the tag and - done!\r\n\r\nIf you go that way, please also regenerate the package from this command, too, so that there is nothing not-auto-generated left in that file.","created_at":"2016-05-29T23:02:15Z","updated_at":"2016-05-29T23:02:15Z","html_url":"https://github.com/NixOS/nixpkgs/pull/15817#discussion_r65013476","pull_request_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817","_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments/65013476"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/15817#discussion_r65013476"},"pull_request":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817"}}},"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817","id":71839937,"html_url":"https://github.com/NixOS/nixpkgs/pull/15817","diff_url":"https://github.com/NixOS/nixpkgs/pull/15817.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/15817.patch","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15817","number":15817,"state":"open","locked":false,"title":"elm-format: init at 0.3.1","user":{"login":"Adjective-Object","id":1174858,"avatar_url":"https://avatars.githubusercontent.com/u/1174858?v=3","gravatar_id":"","url":"https://api.github.com/users/Adjective-Object","html_url":"https://github.com/Adjective-Object","followers_url":"https://api.github.com/users/Adjective-Object/followers","following_url":"https://api.github.com/users/Adjective-Object/following{/other_user}","gists_url":"https://api.github.com/users/Adjective-Object/gists{/gist_id}","starred_url":"https://api.github.com/users/Adjective-Object/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adjective-Object/subscriptions","organizations_url":"https://api.github.com/users/Adjective-Object/orgs","repos_url":"https://api.github.com/users/Adjective-Object/repos","events_url":"https://api.github.com/users/Adjective-Object/events{/privacy}","received_events_url":"https://api.github.com/users/Adjective-Object/received_events","type":"User","site_admin":false},"body":"###### Motivation for this change\r\nelm-format is a de-facto standard tool in the elm community for automatically formatting elm code\r\naccording to the official style guide. As such it should be included with the elm platform on nixos.\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   - [ ] 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- [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","created_at":"2016-05-29T22:33:48Z","updated_at":"2016-05-29T23:02:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3db7352ab318ddd55a1622a62afcbe5e5ccb1579","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817/commits","review_comments_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817/comments","review_comment_url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/15817/comments","statuses_url":"https://api.github.com/repos/NixOS/nixpkgs/statuses/0ab137464aaaf59aa874ee54b83134df17251305","head":{"label":"Adjective-Object:add/elm-format","ref":"add/elm-format","sha":"0ab137464aaaf59aa874ee54b83134df17251305","user":{"login":"Adjective-Object","id":1174858,"avatar_url":"https://avatars.githubusercontent.com/u/1174858?v=3","gravatar_id":"","url":"https://api.github.com/users/Adjective-Object","html_url":"https://github.com/Adjective-Object","followers_url":"https://api.github.com/users/Adjective-Object/followers","following_url":"https://api.github.com/users/Adjective-Object/following{/other_user}","gists_url":"https://api.github.com/users/Adjective-Object/gists{/gist_id}","starred_url":"https://api.github.com/users/Adjective-Object/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adjective-Object/subscriptions","organizations_url":"https://api.github.com/users/Adjective-Object/orgs","repos_url":"https://api.github.com/users/Adjective-Object/repos","events_url":"https://api.github.com/users/Adjective-Object/events{/privacy}","received_events_url":"https://api.github.com/users/Adjective-Object/received_events","type":"User","site_admin":false},"repo":{"id":59966124,"name":"nixpkgs","full_name":"Adjective-Object/nixpkgs","owner":{"login":"Adjective-Object","id":1174858,"avatar_url":"https://avatars.githubusercontent.com/u/1174858?v=3","gravatar_id":"","url":"https://api.github.com/users/Adjective-Object","html_url":"https://github.com/Adjective-Object","followers_url":"https://api.github.com/users/Adjective-Object/followers","following_url":"https://api.github.com/users/Adjective-Object/following{/other_user}","gists_url":"https://api.github.com/users/Adjective-Object/gists{/gist_id}","starred_url":"https://api.github.com/users/Adjective-Object/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adjective-Object/subscriptions","organizations_url":"https://api.github.com/users/Adjective-Object/orgs","repos_url":"https://api.github.com/users/Adjective-Object/repos","events_url":"https://api.github.com/users/Adjective-Object/events{/privacy}","received_events_url":"https://api.github.com/users/Adjective-Object/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Adjective-Object/nixpkgs","description":"Nix Packages collection","fork":true,"url":"https://api.github.com/repos/Adjective-Object/nixpkgs","forks_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/forks","keys_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/teams","hooks_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/hooks","issue_events_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/issues/events{/number}","events_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/events","assignees_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/assignees{/user}","branches_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/branches{/branch}","tags_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/tags","blobs_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/statuses/{sha}","languages_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/languages","stargazers_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/stargazers","contributors_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/contributors","subscribers_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/subscribers","subscription_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/subscription","commits_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/contents/{+path}","compare_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/merges","archive_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/downloads","issues_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/issues{/number}","pulls_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/pulls{/number}","milestones_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/milestones{/number}","notifications_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/labels{/name}","releases_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/releases{/id}","deployments_url":"https://api.github.com/repos/Adjective-Object/nixpkgs/deployments","created_at":"2016-05-29T22:14:04Z","updated_at":"2016-05-29T22:14:29Z","pushed_at":"2016-05-29T22:54:29Z","git_url":"git://github.com/Adjective-Object/nixpkgs.git","ssh_url":"git@github.com:Adjective-Object/nixpkgs.git","clone_url":"https://github.com/Adjective-Object/nixpkgs.git","svn_url":"https://github.com/Adjective-Object/nixpkgs","homepage":null,"size":353957,"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":"e645389834c01696748af90847f2e71be7b781b8","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-05-29T20:42:26Z","pushed_at":"2016-05-29T22:54:30Z","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":549235,"stargazers_count":1116,"watchers_count":1116,"language":"Nix","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1420,"mirror_url":null,"open_issues_count":1391,"forks":1420,"open_issues":1391,"watchers":1116,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817"},"html":{"href":"https://github.com/NixOS/nixpkgs/pull/15817"},"issue":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/15817"},"comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/issues/15817/comments"},"review_comments":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817/comments"},"review_comment":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NixOS/nixpkgs/pulls/15817/commits"},"statuses":{"href":"https://api.github.com/repos/NixOS/nixpkgs/statuses/0ab137464aaaf59aa874ee54b83134df17251305"}}}}
{"actor":{"display_login":"abbradar"}}