niv-0.2.2: Easy dependency management for Nix projects

Safe HaskellNone
LanguageHaskell2010

Niv.Sources

Synopsis

Documentation

newtype Sources Source #

Instances
ToJSON Sources Source # 
Instance details

Defined in Niv.Sources

FromJSON Sources Source # 
Instance details

Defined in Niv.Sources

attrsToSpec :: Attrs -> PackageSpec Source #

Simply discards the Freedom

pathNixSourcesJson :: FilePath Source #

nix/sources.json

sourcesVersionToText :: SourcesNixVersion -> Text Source #

A user friendly version

md5ToSourcesVersion :: Text -> Maybe SourcesNixVersion Source #

Find a version based on the md5 of the nix/sources.nix

sourcesVersionToMD5 :: SourcesNixVersion -> Text Source #

The MD5 sum of a particular version

sourcesNixMD5 :: IO Text Source #

The MD5 sum of .nixsources.nix

initNixSourcesNixContent :: ByteString Source #

Glue code between nix and sources.json