Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dritter/nix-hasher
https://github.com/dritter/nix-hasher
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dritter/nix-hasher
- Owner: dritter
- License: mit
- Created: 2022-10-11T23:07:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T16:21:54.000Z (over 2 years ago)
- Last Synced: 2025-01-11T06:43:11.538Z (14 days ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nix-hasher
![](https://github.com/dritter/nix-hasher/actions/workflows/php.yml/badge.svg)
This is a small library to get Nix SRI hashes and provide a port ([go](https://gist.github.com/colemickens/27ad622adfaf8c980f3b5066b21604ba)/[rust](https://github.com/kolloch/nix-base32/blob/master/src/lib.rs) ) of Nix custom base32 algorithm. See [Nix Wiki on Hashes](https://nixos.wiki/wiki/Nix_Hash) for more information.
## Installation
Can be easily done with composer:
```shell
composer require dritter/nix-hasher
```