{"id":16592676,"url":"https://github.com/prikhi/hpack-template","last_synced_at":"2025-07-29T15:10:55.635Z","repository":{"id":80049383,"uuid":"240568419","full_name":"prikhi/hpack-template","owner":"prikhi","description":"Stack Templates for Generic/CLI Applications and Libraries using Hpack, Tasty, \u0026 Github Actions.","archived":false,"fork":false,"pushed_at":"2023-05-08T03:27:02.000Z","size":51,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T01:03:03.811Z","etag":null,"topics":["haskell","hedgehog","hpack","hunit","stack","stack-template","tasty","template"],"latest_commit_sha":null,"homepage":"https://raw.githubusercontent.com/prikhi/hpack-template/master/hpack.hsfiles","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prikhi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-14T17:56:56.000Z","updated_at":"2023-05-06T20:54:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab3872df-19c9-4b9f-bc77-f5eca24bf3a1","html_url":"https://github.com/prikhi/hpack-template","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/prikhi%2Fhpack-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhpack-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhpack-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prikhi%2Fhpack-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prikhi","download_url":"https://codeload.github.com/prikhi/hpack-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238803521,"owners_count":19533331,"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":["haskell","hedgehog","hpack","hunit","stack","stack-template","tasty","template"],"created_at":"2024-10-11T23:21:53.619Z","updated_at":"2025-02-14T07:32:03.360Z","avatar_url":"https://github.com/prikhi.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hpack-template\n\nA stack template for an executable, libary, and test-suite using `hpack`'s\n`package.yaml`.\n\nThe test-suite is built using `tasty` and uses `HUnit` for unit tests and\n`hedgehog` for property tests. GitHub Actions are included to build the project\nwith the latest Stackage LTS, Stackage Nightly, \u0026 the last 3 version of GHC.\n\nTo start a new project with this template, run:\n\n```sh\nstack new \u003cproject-name\u003e https://raw.githubusercontent.com/prikhi/hpack-template/master/hpack.hsfiles\n```\n\nThe `hpack-lib.hsfiles` is similar but geared towards libraries instead of\napplications. It does not include an executable section, modifies the compiler\nflags to support GHC versions under 8.0, lower the bounds of the `base`\npackage, includes the `base-compat-batteries` package to reduce the CPP\nmacros necesary for supporting multiple GHC versions, \u0026 uses GitHub Actions to\ntest multiple Stackage LTSes and GHC versions.\n\n```sh\nstack new \u003cproject-name\u003e https://raw.githubusercontent.com/prikhi/hpack-template/master/hpack-lib.hsfiles\n```\n\n\n## Generation\n\nThe `*.hsfiles` are generated with\n[stack-templatizer](https://github.com/prikhi/stack-templatizer) using the\nfiles in the `hpack` \u0026 `hpack-lib` directories.\n\nInstall the templatizer with `stack install --resolver nightly\nstack-templatizer`, then run `stack-templatizer hpack` \u0026 `stack-templatizer\nhpack-lib` to regenerate the template files.\n\n\n## LICENSE\n\nBSD-3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprikhi%2Fhpack-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprikhi%2Fhpack-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprikhi%2Fhpack-template/lists"}