{"id":16318547,"url":"https://github.com/vic/heroku-buildpack-nim","last_synced_at":"2025-03-22T21:31:44.220Z","repository":{"id":25648468,"uuid":"29083883","full_name":"vic/heroku-buildpack-nim","owner":"vic","description":"Deploy nim applications to heroku.","archived":false,"fork":false,"pushed_at":"2022-07-11T08:40:20.000Z","size":10,"stargazers_count":21,"open_issues_count":2,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T03:10:32.055Z","etag":null,"topics":["heroku-buildpack","nim"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-11T06:47:51.000Z","updated_at":"2024-05-29T18:39:47.000Z","dependencies_parsed_at":"2022-07-12T09:22:43.083Z","dependency_job_id":null,"html_url":"https://github.com/vic/heroku-buildpack-nim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fheroku-buildpack-nim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fheroku-buildpack-nim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fheroku-buildpack-nim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fheroku-buildpack-nim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic","download_url":"https://codeload.github.com/vic/heroku-buildpack-nim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245022600,"owners_count":20548565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["heroku-buildpack","nim"],"created_at":"2024-10-10T22:23:53.710Z","updated_at":"2025-03-22T21:31:43.826Z","avatar_url":"https://github.com/vic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Heroku Buildpack for Nim\n========================\n\nThis is a [Heroku-compatible buildpack](http://devcenter.heroku.com/articles/buildpacks) for [Nim](http://nim-lang.org) apps. It uses [Nimble](https://github.com/nim-lang/nimble) for dependency management.\n\nCurrently supports Nim version 1.0 and upwards.\n\nExample\n-------\n\n```shell\n$ tree\n.\n├── Procfile\n├── app.nimble\n└── src\n    └── app.nim\n\n$ heroku create --buildpack https://github.com/vic/heroku-buildpack-nim.git\nCreating your-app-1234\n...\n\n$ git push heroku master\n...\n```\n\nMinimum `.nimble` file:\n\n```ini\n# Package\n\nversion       = \"0.1.0\"\nauthor        = \"John Doe\"\ndescription   = \"my next great API\"\nlicense       = \"MIT\"\nsrcDir        = \"src\"\nbin           = @[\"app\"]\n\n# Dependencies\n\nrequires \"nim \u003e= 1.0.2\", \"jester \u003e= 0.4.3\"\n```\n\nUsage\n-----\n\nThe buildpack expects you to include a `.nimble` file in order to download dependencies and build your app.\n\nBe sure to set the [bin](https://github.com/nim-lang/nimble#binary-packages) value on your nimble file to the executable name for your app.\n\nAnd create a `Procfile` with a process to run for your executable. Should be the same binary that you defined in the `bin` setting of your `.nimble` file:\n\n```yaml\nweb: ./app\n```\n\nCreate an app using this buildpack\n\n```shell\nheroku create --buildpack https://github.com/vic/heroku-buildpack-nim.git\n```\n\nNim version\n-----------\n\nSince Nim's master branch is deprecated, you have to define the branch of the Nim version that should be installed by this buildpack.\n\nThis buildpack was tested with Nim version 1.0:\n\n```shell\nheroku config:set NIM_BRANCH=version-1-0\n```\n\nYou can use the most recent development version this way:\n```shell\nheroku config:set NIM_BRANCH=devel\n```\n\n\nExample\n-------\n\nAn [example nimble app](https://github.com/vic/nim-heroku-example) lives [here](http://nim-heroku-example.herokuapp.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fheroku-buildpack-nim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic%2Fheroku-buildpack-nim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fheroku-buildpack-nim/lists"}