{"id":167586,"name":"c2hs","ecosystem":"hackage","description":"C-\u003eHaskell assists in the development of Haskell bindings to C\nlibraries. It extracts interface information from C header\nfiles and generates Haskell code with foreign imports and\nmarshaling. Unlike writing foreign imports by hand (or using\nhsc2hs), this ensures that C functions are imported with the\ncorrect Haskell types.","homepage":"https://github.com/haskell/c2hs","licenses":"GPL-2.0-only","normalized_licenses":["GPL-2.0-only"],"repository_url":"https://github.com/haskell/c2hs","keywords_array":["development","gpl","program","Propose Tags"],"namespace":null,"versions_count":31,"first_release_published_at":"2007-08-31T10:56:58.000Z","latest_release_published_at":"2021-06-13T15:47:59.000Z","latest_release_number":"0.28.8","last_synced_at":"2026-10-06T12:06:20.966Z","created_at":"2022-04-05T18:23:32.238Z","updated_at":"2026-10-06T12:06:20.967Z","registry_url":"https://hackage.haskell.org/package/c2hs","install_command":"cabal install c2hs","documentation_url":null,"metadata":{},"repo_metadata":{"id":9707068,"uuid":"11659230","full_name":"haskell/c2hs","owner":"haskell","description":"c2hs is a pre-processor for Haskell FFI bindings to C libraries","archived":false,"fork":false,"pushed_at":"2024-03-13T22:20:15.000Z","size":4732,"stargazers_count":211,"open_issues_count":80,"forks_count":52,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-08-22T18:48:40.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hackage.haskell.org/package/c2hs","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haskell.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2013-07-25T11:49:51.000Z","updated_at":"2026-08-20T20:52:20.000Z","dependencies_parsed_at":"2024-03-17T04:38:44.305Z","dependency_job_id":"d8932134-7341-49a8-b649-f1c5ebbc80b0","html_url":"https://github.com/haskell/c2hs","commit_stats":{"total_commits":812,"total_committers":59,"mean_commits":13.76271186440678,"dds":0.6564039408866995,"last_synced_commit":"6f699f611b8123219ec521f04e1902d4f0f12711"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/haskell/c2hs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36832592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"ssl_error","status_checked_at":"2026-08-22T15:14:58.237Z","response_time":51,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"},"owner_record":{"login":"haskell","name":"Haskell","uuid":"450574","kind":"organization","description":"","email":null,"website":"http://www.haskell.org/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/450574?v=4","repositories_count":108,"last_synced_at":"2026-10-02T10:54:28.015Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/haskell","funding_links":[],"total_stars":24443,"followers":939,"following":0,"created_at":"2022-11-02T16:31:04.944Z","updated_at":"2026-10-02T10:54:28.161Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell/repositories"},"tags":[{"name":"0.28.1","sha":"e0660566ed90325107a6dfa94fdad757557c7a8f","kind":"commit","published_at":"2016-04-01T15:39:43.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.28.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.28.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.28.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.28.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.28.1/manifests"},{"name":"0.27.1","sha":"097150f72cad848436aeac9a373ce25db8cfc681","kind":"commit","published_at":"2015-11-29T18:22:07.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.27.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.27.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.27.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.27.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.27.1/manifests"},{"name":"0.26.2","sha":"8d88cf06c8ffd1f212af3b58a6eeafba97a13d86","kind":"commit","published_at":"2015-10-26T19:53:33.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.26.2","html_url":"https://github.com/haskell/c2hs/releases/tag/0.26.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.26.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.26.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.26.2/manifests"},{"name":"0.26.1","sha":"e64914472784c3a6ab22e1485641f75c64655fe4","kind":"commit","published_at":"2015-08-16T13:35:05.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.26.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.26.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.26.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.26.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.26.1/manifests"},{"name":"0.25.2","sha":"9efea8bec3b127dc41eaba25a3681219901690f6","kind":"commit","published_at":"2015-03-31T13:17:44.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.25.2","html_url":"https://github.com/haskell/c2hs/releases/tag/0.25.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.25.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.25.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.25.2/manifests"},{"name":"0.25.1","sha":"c6f5bc89e7be884dcbfb0c9122e99cecf79219dc","kind":"commit","published_at":"2015-03-28T21:12:55.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.25.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.25.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.25.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.25.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.25.1/manifests"},{"name":"0.24.1","sha":"247debfd549facfb92ac7c9dd7f0c1b0986c7d45","kind":"commit","published_at":"2015-03-13T22:19:15.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.24.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.24.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.24.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.24.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.24.1/manifests"},{"name":"0.23.1","sha":"b4675fda532893b90d1b6d1b7aa78ca698e7eed6","kind":"commit","published_at":"2015-02-22T17:59:25.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.23.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.23.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.23.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.23.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.23.1/manifests"},{"name":"0.22.1","sha":"7ea1ac2c673bb68118ae4d70f574f7bcac428818","kind":"commit","published_at":"2015-01-25T10:05:37.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.22.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.22.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.22.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.22.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.22.1/manifests"},{"name":"0.21.1","sha":"08d80788770f489381a6c60b2fe31397fe1ac2bd","kind":"commit","published_at":"2015-01-02T17:05:02.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.21.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.21.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.21.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.21.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.21.1/manifests"},{"name":"0.20.1","sha":"a20b4cd5e29140f8d3dc89aedc27d00c3e77d6dc","kind":"commit","published_at":"2014-12-04T09:08:47.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.20.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.20.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.20.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.20.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.20.1/manifests"},{"name":"0.19.1","sha":"fc8bed0e5f8ca1527d02bbfc7ebcce7bc69403df","kind":"commit","published_at":"2014-11-14T13:03:09.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.19.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.19.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.19.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.19.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.19.1/manifests"},{"name":"0.18.2","sha":"c950bb3f3259be3f66d55ce32e5a613c96f8d718","kind":"tag","published_at":"2014-09-12T15:13:29.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.18.2","html_url":"https://github.com/haskell/c2hs/releases/tag/0.18.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.18.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.18.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.18.2/manifests"},{"name":"0.18.1","sha":"73091a2ea2daefbaca258dcdf7812db2e367615e","kind":"tag","published_at":"2014-08-31T17:53:56.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.18.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.18.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.18.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.18.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.18.1/manifests"},{"name":"0.17.2","sha":"94d3be6e420835197d41e60ce7462944057a4dbe","kind":"tag","published_at":"2014-04-19T11:18:48.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.17.2","html_url":"https://github.com/haskell/c2hs/releases/tag/0.17.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.17.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.17.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.17.2/manifests"},{"name":"0.17.1","sha":"eecd32545d3bb7acb4765c5677030e1e28e11456","kind":"tag","published_at":"2014-04-11T10:34:25.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.17.1","html_url":"https://github.com/haskell/c2hs/releases/tag/0.17.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.17.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.17.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.17.1/manifests"},{"name":"0.16.6","sha":"ffc4c0de1073f1311627934368401559a708f7bb","kind":"tag","published_at":"2014-03-12T21:08:50.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.16.6","html_url":"https://github.com/haskell/c2hs/releases/tag/0.16.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.16.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.16.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.16.6/manifests"},{"name":"0.16.5","sha":"e72901d93edc9fa5ac4cace720a6f762c4ae4ed7","kind":"tag","published_at":"2013-08-11T16:57:27.000Z","download_url":"https://codeload.github.com/haskell/c2hs/tar.gz/0.16.5","html_url":"https://github.com/haskell/c2hs/releases/tag/0.16.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/haskell/c2hs@0.16.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.16.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/tags/0.16.5/manifests"}]},"repo_metadata_updated_at":"2026-10-06T04:38:21.523Z","dependent_packages_count":0,"downloads":65678,"downloads_period":"total","dependent_repos_count":155,"rankings":{"downloads":2.1248940378638035,"dependent_repos_count":3.2495055100310823,"dependent_packages_count":19.27098050296694,"stargazers_count":6.018649335970613,"forks_count":5.566544221531506,"docker_downloads_count":null,"average":7.2461147216727895},"purl":"pkg:hackage/c2hs","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/c2hs","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/c2hs","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/c2hs/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":{"last_synced_at":"2026-10-05T11:35:02.079Z","issues_count":238,"pull_requests_count":64,"avg_time_to_close_issue":9557918.234567901,"avg_time_to_close_pull_request":3918602.305084746,"issues_closed_count":162,"pull_requests_closed_count":59,"pull_request_authors_count":41,"issue_authors_count":106,"avg_comments_per_issue":2.8361344537815127,"avg_comments_per_pull_request":1.953125,"merged_pull_requests_count":55,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Fc2hs/issues","maintainers":[{"login":"ian-ross","count":65,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ian-ross"},{"login":"RyanGlScott","count":10,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/RyanGlScott"},{"login":"kolmodin","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kolmodin"},{"login":"andreasabel","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andreasabel"},{"login":"Kleidukos","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Kleidukos"},{"login":"idontgetoutmuch","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/idontgetoutmuch"},{"login":"maoe","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maoe"},{"login":"nh2","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nh2"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/c2hs/codemeta","maintainers":[{"uuid":"DuncanCoutts","login":"DuncanCoutts","name":null,"email":null,"url":null,"packages_count":44,"html_url":"https://hackage.haskell.org/user/DuncanCoutts","role":null,"created_at":"2022-11-14T16:58:12.311Z","updated_at":"2022-11-14T16:58:12.311Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/DuncanCoutts/packages"},{"uuid":"deech","login":"deech","name":null,"email":null,"url":null,"packages_count":14,"html_url":"https://hackage.haskell.org/user/deech","role":null,"created_at":"2022-11-14T16:58:12.409Z","updated_at":"2022-11-14T16:58:12.409Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/deech/packages"},{"uuid":"IanRoss","login":"IanRoss","name":null,"email":null,"url":null,"packages_count":4,"html_url":"https://hackage.haskell.org/user/IanRoss","role":null,"created_at":"2022-11-14T16:58:12.367Z","updated_at":"2022-11-14T16:58:12.367Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/IanRoss/packages"}]}