forked from laserpants/hashids-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhashids.cabal
59 lines (55 loc) · 1.75 KB
/
hashids.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 3f77232e7252f10e3369e975dfb97c9464b2a7982430f2a4fafff7561e889c0c
name: hashids
version: 1.0.2.6
synopsis: Hashids generates short, unique, non-sequential ids from numbers.
description: This is a Haskell port of the Hashids library. It is typically used to encode numbers to a format suitable to appear in visible places like urls. It converts numbers like 347 into strings like yr8, or a list of numbers like [27, 986] into 3kTMd. You can also decode those ids back. This is useful in bundling several parameters into one.
category: Web
homepage: http://hashids.org/
bug-reports: https://github.com/laserpants/hashids-haskell/issues
author: Johannes Hildén <[email protected]>
maintainer: Johannes Hildén <[email protected]>
license: MIT
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
test/testdata/testdata1.txt
source-repository head
type: git
location: https://github.com/laserpants/hashids-haskell
library
exposed-modules:
Web.Hashids
other-modules:
Paths_hashids
hs-source-dirs:
src
ghc-options: -Wall -Werror -Wcompat
build-depends:
base
, bytestring
, containers
, split
default-language: Haskell2010
test-suite hashids-test
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules:
Test.Web.Hashids.Gen
Test.Web.Hashids.Property
Paths_hashids
hs-source-dirs:
test
ghc-options: -Wall -Werror -Wcompat -threaded
build-depends:
base
, bytestring
, containers
, hashids
, hedgehog
, split
default-language: Haskell2010