Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dritter/nix-hasher


https://github.com/dritter/nix-hasher

Last synced: 12 days ago
JSON representation

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
```