{"id":23185777,"url":"https://github.com/selectel/hen","last_synced_at":"2025-08-18T16:32:05.286Z","repository":{"id":7577518,"uuid":"8932431","full_name":"selectel/hen","owner":"selectel","description":"Haskell bindings to Xen hypervisor interface","archived":false,"fork":false,"pushed_at":"2015-07-31T20:51:53.000Z","size":371,"stargazers_count":17,"open_issues_count":1,"forks_count":0,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-07-09T10:44:31.477Z","etag":null,"topics":["community","haskell","xen"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/selectel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2013-03-21T15:54:11.000Z","updated_at":"2021-11-28T16:56:31.000Z","dependencies_parsed_at":"2022-09-15T19:13:01.884Z","dependency_job_id":null,"html_url":"https://github.com/selectel/hen","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/selectel/hen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fhen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fhen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fhen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fhen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selectel","download_url":"https://codeload.github.com/selectel/hen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selectel%2Fhen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270684277,"owners_count":24627774,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"}},"keywords":["community","haskell","xen"],"created_at":"2024-12-18T10:12:44.003Z","updated_at":"2025-08-18T16:32:04.929Z","avatar_url":"https://github.com/selectel.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"hen [![Build Status][travis-img]][travis]\n===\n\n[travis]: http://travis-ci.org/selectel/hen\n[travis-img]: https://secure.travis-ci.org/selectel/hen.png\n\n`hen` is a Haskell bindings to Xen hypervisor interface. Key feature of\n`hen` is that you can use a single library to interact with both Xen3 and\nXen4 hypervisor versions.\n\nThe API is split into three levels:\n\n```\n|-----------------+-------------------------------------------------------------|\n| Level           | Description                                                 |\n|-----------------+-------------------------------------------------------------|\n| System.Xen.Low  | Provides bindings to raw xenctrl calls.                     |\n| System.Xen.Mid  | Defines useful helper functions for acessing System.Xen.Low |\n|                 | and allows you to use your favourite impure Monad.          |\n| System.Xen.High | Implements the Xen monad, which guarantees safety during    |\n|                 | lowlevel operations.                                        |\n|-----------------+-------------------------------------------------------------|\n```\n\nExample\n-------\n\n```haskell\nmodule Main (main) where\n\nimport System.Xen (runXenT, domainGetInfo)\n\nmain :: IO ()\nmain = print =\u003c\u003c runXenT domainGetInfo\n```\n\nInstallation\n------------\n\n`hen` requires `xenctrl` headers, Google and unpack any of the two packages bellow:\n\n```\n+-----------+-----------------------------------------+\n|XCP version|                   Package               |\n|-----------+-----------------------------------------+\n|1.1        |xen-devel-3.4.2-1.1.0.704.20055.i686.rpm |\n|1.5        |xen-devel-4.1.3-1.6.10.498.23551.i686.rpm|\n+-----------+-----------------------------------------+\n```\n\nAfter you've unpacked the headers, point `cabal-dev` to them and you're done:\n\n```bash\nλ cabal-dev configure --extra-include-dirs=/path/to/headers\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fhen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselectel%2Fhen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselectel%2Fhen/lists"}