kesha: Haskell implementation of nix-hash

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Compute the cryptographic hash of a path, à la Nix.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0, 0.1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.10.1 && <4.14), binary (>=0.8.6 && <0.9), bytestring (>=0.10.8 && <0.11), containers (>=0.6.0 && <0.7), cryptohash-md5 (>=0.11.100 && <0.12), cryptohash-sha1 (>=0.11.100 && <0.12), cryptohash-sha256 (>=0.11.101 && <0.12), directory (>=1.3.1 && <1.4), filepath (>=1.4.2 && <1.5), text (>=1.2.3 && <1.3) [details]
License MIT
Copyright (c) 2020 Jordan Mackie
Author Jordan Mackie
Maintainer contact@jmackie.dev
Category System
Home page https://github.com/jmackie/kesha
Bug tracker https://github.com/jmackie/kesha/issues
Source repo head: git clone git://github.com/jmackie/kesha.git
Uploaded by jmackie at 2020-11-30T09:09:43Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for kesha-0.1.0.0

[back to package description]

kesha

CI Hackage

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 package manager.

module Main where

import qualified Kesha

main :: IO ()
main = do
  result <- Kesha.hash "some-path"
  print result