-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jordan Mackie
committed
Nov 30, 2020
1 parent
d26ffa0
commit c1315e5
Showing
3 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,20 @@ | ||
# `kesha` | ||
|
||
[![CI](https://github.com/jmackie/kesha/workflows/CI/badge.svg)](https://github.com/jmackie/kesha/actions?query=workflow%3ACI) | ||
[![Hackage](https://img.shields.io/hackage/v/kesha-0.1.0)](https://hackage.haskell.org/package/kesha-0.1.0/candidate) | ||
[![Hackage](https://img.shields.io/hackage/v/kesha)](https://hackage.haskell.org/package/kesha) | ||
|
||
A Haskell library for computing the cryptographic hash of any path. | ||
|
||
The implementation is an almost verbatim implementation of `nix-hash`, which is the | ||
standard tool used by the [Nix](https://nixos.org/nix/) package manager. | ||
|
||
```haskell | ||
module Main where | ||
|
||
import qualified Kesha | ||
|
||
main :: IO () | ||
main = do | ||
result <- Kesha.hash "some-path" | ||
print result | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters