{"id":14968101,"url":"https://github.com/xpack-dev-tools/patchelf-xpack","last_synced_at":"2025-10-26T00:30:58.643Z","repository":{"id":62074639,"uuid":"556620677","full_name":"xpack-dev-tools/patchelf-xpack","owner":"xpack-dev-tools","description":"A binary distribution of NixOS patchelf","archived":false,"fork":false,"pushed_at":"2025-02-07T13:44:45.000Z","size":1511,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"xpack","last_synced_at":"2025-02-07T14:39:17.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://xpack-dev-tools.github.io/patchelf-xpack/","language":"MDX","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/xpack-dev-tools.png","metadata":{"files":{"readme":"README-LONG.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"ilegeul","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-10-24T07:38:25.000Z","updated_at":"2025-01-13T16:04:09.000Z","dependencies_parsed_at":"2023-11-12T21:28:05.614Z","dependency_job_id":"3ebd95a8-9593-4d65-994f-b1963e286803","html_url":"https://github.com/xpack-dev-tools/patchelf-xpack","commit_stats":{"total_commits":190,"total_committers":1,"mean_commits":190.0,"dds":0.0,"last_synced_commit":"7ab6516ed3d82590f7aa15007ecaae49ee35e79e"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpack-dev-tools%2Fpatchelf-xpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpack-dev-tools%2Fpatchelf-xpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpack-dev-tools%2Fpatchelf-xpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpack-dev-tools%2Fpatchelf-xpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpack-dev-tools","download_url":"https://codeload.github.com/xpack-dev-tools/patchelf-xpack/tar.gz/refs/heads/xpack","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238229940,"owners_count":19437723,"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":[],"created_at":"2024-09-24T13:39:17.754Z","updated_at":"2025-10-26T00:30:58.124Z","avatar_url":"https://github.com/xpack-dev-tools.png","language":"MDX","funding_links":["https://ko-fi.com/ilegeul"],"categories":[],"sub_categories":[],"readme":"\n[![GitHub package.json version](https://img.shields.io/github/package-json/v/xpack-dev-tools/patchelf-xpack)](https://github.com/xpack-dev-tools/patchelf-xpack/blob/xpack/package.json)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/xpack-dev-tools/patchelf-xpack)](https://github.com/xpack-dev-tools/patchelf-xpack/releases/)\n[![npm (scoped)](https://img.shields.io/npm/v/@xpack-dev-tools/patchelf.svg?color=blue)](https://www.npmjs.com/package/@xpack-dev-tools/patchelf/)\n[![license](https://img.shields.io/github/license/xpack-dev-tools/patchelf-xpack)](https://github.com/xpack-dev-tools/patchelf-xpack/blob/xpack/LICENSE)\n\n# The xPack NixOS patchelf\n\nA standalone cross-platform (macOS/Linux) **NixOS patchelf**\nbinary distribution, intended for reproducible builds.\n\nThe main target is GNU/Linux, to adjust `DT_RPATH.\n\nIn addition to the the binary archives and the package meta data,\nthis project also includes the build scripts.\n\n## Overview\n\nThis open source project is hosted on GitHub as\n[`xpack-dev-tools/patchelf-xpack`](https://github.com/xpack-dev-tools/patchelf-xpack)\nand provides the platform specific binaries for the\n[xPack NixOS patchelf](https://xpack.github.io/patchelf/).\n\nThis distribution follows the official\n[NixOS patchelf](https://github.com/NixOS/patchelf/releases/) releases.\n\nThe binaries can be installed automatically as **binary xPacks** or manually as\n**portable archives**.\n\n## Release schedule\n\nThis distribution generally follows the upstream releases.\n\n## User info\n\nThis section is intended as a shortcut for those who plan\nto use the NixOS patchelf binaries. For full details please read the\n[xPack NixOS patchelf](https://xpack.github.io/patchelf/) pages.\n\n### Easy install\n\nThe easiest way to install NixOS patchelf is using the **binary xPack**, available as\n[`@xpack-dev-tools/patchelf`](https://www.npmjs.com/package/@xpack-dev-tools/patchelf)\nfrom the [`npmjs.com`](https://www.npmjs.com) registry.\n\n#### Prerequisites\n\nA recent [xpm](https://xpack.github.io/xpm/),\nwhich is a portable [Node.js](https://nodejs.org/) command line application\nthat complements [npm](https://docs.npmjs.com)\nwith several extra features specific to\n**C/C++ projects**.\n\nIt is recommended to install/update to the latest version with:\n\n```sh\nnpm install --location=global xpm@latest\n```\n\nFor details please follow the instructions in the\n[xPack install](https://xpack.github.io/install/) page.\n\n#### Install\n\nWith the `xpm` tool available, installing\nthe latest version of the package and adding it as\na development dependency for a project is quite easy:\n\n```sh\ncd my-project\nxpm init # Add a package.json if not already present\n\nxpm install @xpack-dev-tools/patchelf@latest --verbose\n\nls -l xpacks/.bin\n```\n\nThis command will:\n\n- install the latest available version,\ninto the central xPacks store, if not already there\n- add symbolic links to the central store into\nthe local `xpacks/.bin` folder.\n\nThe central xPacks store is a platform dependent\nlocation in the home folder;\ncheck the output of the `xpm` command for the actual\nfolder used on your platform.\nThis location is configurable via the environment variable\n`XPACKS_STORE_FOLDER`; for more details please check the\n[xpm folders](https://xpack.github.io/xpm/folders/) page.\n\nIt is also possible to install NixOS patchelf globally, in the user home folder:\n\n```sh\nxpm install --global @xpack-dev-tools/patchelf@latest --verbose\n```\n\nAfter install, the package should create a structure like this (macOS files;\nonly the first two depth levels are shown):\n\n```console\n$ tree -L 2 /Users/ilg/Library/xPacks/\\@xpack-dev-tools/patchelf/0.18.0-1.1/.content/\n/Users/ilg/Library/xPacks/\\@xpack-dev-tools/patchelf/0.18.0-1.1/.content/\n├── README.md\n├── bin\n│   └── patchelf\n├── distro-info\n│   ├── CHANGELOG.md\n│   ├── licenses\n│   ├── patches\n│   └── scripts\n└── share\n    ├── doc\n    └── zsh\n\n9 directories, 3 files\n```\n\nNo other files are installed in any system folders or other locations.\n\n#### Uninstall\n\nThe binaries are distributed as portable archives; thus they do not need\nto run a setup and do not require an uninstall; simply removing the\nfolder is enough.\n\nTo remove the links created by xpm in the current project:\n\n```sh\ncd my-project\n\nxpm uninstall @xpack-dev-tools/patchelf\n```\n\nTo completely remove the package from the central xPack store:\n\n```sh\nxpm uninstall --global @xpack-dev-tools/patchelf\n```\n\n### Manual install\n\nFor all platforms, the **xPack NixOS patchelf**\nbinaries are released as portable\narchives that can be installed in any location.\n\nThe archives can be downloaded from the\nGitHub [Releases](https://github.com/xpack-dev-tools/patchelf-xpack/releases/)\npage.\n\nFor more details please read the\n[Install](https://xpack.github.io/patchelf/install/) page.\n\n### Versioning\n\nThe version strings used by the NixOS patchelf project are three number strings\nlike `0.18.0`;\nto this string the xPack distribution adds a four number,\nbut since semver allows only three numbers, all additional ones can\nbe added only as pre-release strings, separated by a dash,\nlike `0.18.0-1`. When published as a npm package, the version gets\na fifth number, like `0.18.0-1.1`.\n\nSince adherence of third party packages to semver is not guaranteed,\nit is recommended to use semver expressions like `^0.18.0` and `~0.18.0`\nwith caution, and prefer exact matches, like `0.18.0-1.1`.\n\n## Maintainer info\n\nFor maintainer info, please see the\n[README-MAINTAINER](https://github.com/xpack-dev-tools/patchelf-xpack/blob/xpack/README-MAINTAINER.md).\n\n## Support\n\nThe quick advice for getting support is to use the GitHub\n[Discussions](https://github.com/xpack-dev-tools/patchelf-xpack/discussions/).\n\nFor more details please read the\n[Support](https://xpack.github.io/patchelf/support/) page.\n\n## License\n\nUnless otherwise stated, the content is released under the terms of the\n[MIT License](https://opensource.org/licenses/mit/),\nwith all rights reserved to\n[Liviu Ionescu](https://github.com/ilg-ul).\n\nThe binary distributions include several open-source components; the\ncorresponding licenses are available in the installed\n`distro-info/licenses` folder.\n\n## Download analytics\n\n- GitHub [`xpack-dev-tools/patchelf-xpack`](https://github.com/xpack-dev-tools/patchelf-xpack/) repo\n  - latest xPack release\n[![Github All Releases](https://img.shields.io/github/downloads/xpack-dev-tools/patchelf-xpack/latest/total.svg)](https://github.com/xpack-dev-tools/patchelf-xpack/releases/)\n  - all xPack releases [![Github All Releases](https://img.shields.io/github/downloads/xpack-dev-tools/patchelf-xpack/total.svg)](https://github.com/xpack-dev-tools/patchelf-xpack/releases/)\n  - [individual file counters](https://somsubhra.github.io/github-release-stats/?username=xpack-dev-tools\u0026repository=patchelf-xpack) (grouped per release)\n- npmjs.com [`@xpack-dev-tools/patchelf`](https://www.npmjs.com/package/@xpack-dev-tools/patchelf/) xPack\n  - latest release, per month\n[![npm (scoped)](https://img.shields.io/npm/v/@xpack-dev-tools/patchelf.svg)](https://www.npmjs.com/package/@xpack-dev-tools/patchelf/)\n[![npm](https://img.shields.io/npm/dm/@xpack-dev-tools/patchelf.svg)](https://www.npmjs.com/package/@xpack-dev-tools/patchelf/)\n  - all releases [![npm](https://img.shields.io/npm/dt/@xpack-dev-tools/patchelf.svg)](https://www.npmjs.com/package/@xpack-dev-tools/patchelf/)\n\nCredit to [Shields IO](https://shields.io) for the badges and to\n[Somsubhra/github-release-stats](https://github.com/Somsubhra/github-release-stats)\nfor the individual file counters.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpack-dev-tools%2Fpatchelf-xpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpack-dev-tools%2Fpatchelf-xpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpack-dev-tools%2Fpatchelf-xpack/lists"}