Cabal revisions of urbit-hob-0.1.1
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-name: urbit-hob-version: 0.1.1-synopsis: Hoon-style atom manipulation and printing functions-homepage: https://github.com/urbit/urbit-hob-bug-reports: https://github.com/urbit/urbit-hob/issues-author: Jared Tobin-maintainer: jared@jtobin.io-copyright: 2019 Jared Tobin-category: Urbit-license: MIT-license-file: LICENSE-build-type: Simple-cabal-version: >= 1.10-description:- Here you can primarily find functions for dealing with the \"patp\" phonetic- base used by Urbit. The \@p encoding is used for naming ships; it uniquely- represents a 32-bit number in a memorable and pronounceable fashion.- .- The \@p encoding is an obfuscated representation of an underlying 32-bit- number, in particular, hence the \"ob\" in the library's name.- .- The @Urbit.Ob@ module exposes two functions, 'patp' and 'fromPatp', for- converting between representations. You can render a 'Patp' value via the- 'render' function.- .- Here's a quick example:- .- > import qualified Urbit.Ob as Ob- >- > let nidsut = Ob.patp 15663360- > Ob.render nidsut -- "~nidsut-tomdun"- > Ob.fromPatp nidsut -- 15663360--source-repository head- type: git- location: https://github.com/urbit/urbit-hob--flag release- Description: Build for release- Default: False- Manual: True--library- default-language: Haskell2010- hs-source-dirs: lib-- if flag(release)- ghc-options: -Wall- else- ghc-options: -Wall -Werror-- exposed-modules:- Urbit.Ob- , Urbit.Ob.Co- , Urbit.Ob.Muk- , Urbit.Ob.Ob- build-depends:- base >= 4.7 && < 6- , bytestring >= 0.10 && < 1- , cereal >= 0.5 && < 1- , murmur3 >= 1.0 && < 2- , text >= 1.2 && < 2- , vector >= 0.12 && < 1--Test-suite ob- type: exitcode-stdio-1.0- hs-source-dirs: test- main-is: Ob.hs- other-modules:- Ob.Tests.Small- Ob.Tests.Med- Ob.Tests.Property- Ob.Tests.Unit- default-language: Haskell2010- ghc-options:- -rtsopts- build-depends:- base- , hspec- , hspec-core- , QuickCheck- , urbit-hob--Test-suite co- type: exitcode-stdio-1.0- hs-source-dirs: test- main-is: Co.hs- default-language: Haskell2010- ghc-options:- -rtsopts- build-depends:- base- , hspec- , hspec-core- , QuickCheck- , urbit-hob-+name: urbit-hob +version: 0.1.1 +x-revision: 1 +synopsis: Hoon-style atom manipulation and printing functions +homepage: https://github.com/urbit/urbit-hob +bug-reports: https://github.com/urbit/urbit-hob/issues +author: Jared Tobin +maintainer: jared@jtobin.io +copyright: 2019 Jared Tobin +category: Urbit +license: MIT +license-file: LICENSE +build-type: Simple +cabal-version: >= 1.10 +description: + Here you can primarily find functions for dealing with the \"patp\" phonetic + base used by Urbit. The \@p encoding is used for naming ships; it uniquely + represents a 32-bit number in a memorable and pronounceable fashion. + . + The \@p encoding is an obfuscated representation of an underlying 32-bit + number, in particular, hence the \"ob\" in the library's name. + . + The @Urbit.Ob@ module exposes two functions, 'patp' and 'fromPatp', for + converting between representations. You can render a 'Patp' value via the + 'render' function. + . + Here's a quick example: + . + >>> import qualified Urbit.Ob as Ob + >>> let nidsut = Ob.patp 15663360 + >>> Ob.render nidsut + "~nidsut-tomdun" + >>> Ob.fromPatp nidsut + 15663360 + +source-repository head + type: git + location: https://github.com/urbit/urbit-hob + +flag release + Description: Build for release + Default: False + Manual: True + +library + default-language: Haskell2010 + hs-source-dirs: lib + + if flag(release) + ghc-options: -Wall + else + ghc-options: -Wall -Werror + + exposed-modules: + Urbit.Ob + , Urbit.Ob.Co + , Urbit.Ob.Muk + , Urbit.Ob.Ob + build-depends: + base >= 4.7 && < 6 + , bytestring >= 0.10 && < 1 + , cereal >= 0.5 && < 1 + , murmur3 >= 1.0 && < 2 + , text >= 1.2 && < 2 + , vector >= 0.12 && < 1 + +Test-suite ob + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Ob.hs + other-modules: + Ob.Tests.Small + Ob.Tests.Med + Ob.Tests.Property + Ob.Tests.Unit + default-language: Haskell2010 + ghc-options: + -rtsopts + build-depends: + base + , hspec + , hspec-core + , QuickCheck + , urbit-hob + +Test-suite co + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Co.hs + default-language: Haskell2010 + ghc-options: + -rtsopts + build-depends: + base + , hspec + , hspec-core + , QuickCheck + , urbit-hob +