From 130b0dcbf2b09ccdf387b50262f1efbbbf1819e3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 13 Oct 2020 14:41:09 +0200 Subject: [PATCH] Add cabal files --- .gitignore | 5 --- cryptoids-class/cryptoids-class.cabal | 39 ++++++++++++++++++++ cryptoids-types/cryptoids-types.cabal | 42 ++++++++++++++++++++++ cryptoids/cryptoids.cabal | 48 +++++++++++++++++++++++++ filepath-crypto/filepath-crypto.cabal | 51 +++++++++++++++++++++++++++ uuid-crypto/uuid-crypto.cabal | 45 +++++++++++++++++++++++ 6 files changed, 225 insertions(+), 5 deletions(-) create mode 100644 cryptoids-class/cryptoids-class.cabal create mode 100644 cryptoids-types/cryptoids-types.cabal create mode 100644 cryptoids/cryptoids.cabal create mode 100644 filepath-crypto/filepath-crypto.cabal create mode 100644 uuid-crypto/uuid-crypto.cabal diff --git a/.gitignore b/.gitignore index 9f367a2..5594309 100644 --- a/.gitignore +++ b/.gitignore @@ -5,13 +5,8 @@ **/.cabal-sandbox **/cabal.sandbox.config -cryptoids/cryptoids.cabal cryptoids/cryptoids.nix -cryptoids-types/cryptoids-types.cabal cryptoids-types/cryptoids-types.nix -cryptoids-class/cryptoids-class.cabal cryptoids-class/cryptoids-class.nix -filepath-crypto/filepath-crypto.cabal filepath-crypto/filepath-crypto.nix -uuid-crypto/uuid-crypto.cabal uuid-crypto/uuid-crypto.nix diff --git a/cryptoids-class/cryptoids-class.cabal b/cryptoids-class/cryptoids-class.cabal new file mode 100644 index 0000000..fa43569 --- /dev/null +++ b/cryptoids-class/cryptoids-class.cabal @@ -0,0 +1,39 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: dd9f9a0b050372518a87252f0a06cdf31bc4d937f491d2e05e3d74bfef2b9129 + +name: cryptoids-class +version: 0.0.0 +synopsis: Typeclass-based interface to cryptoids +category: Web +author: Gregor Kleen +maintainer: Gregor Kleen +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + changes.md + +source-repository head + type: git + location: https://git.rheperire.org/cryptoids/cryptoids-class + +library + exposed-modules: + Data.CryptoID.Class + Data.CryptoID.Class.ImplicitNamespace + other-modules: + Paths_cryptoids_class + hs-source-dirs: + src + default-extensions: DataKinds KindSignatures MultiParamTypeClasses TypeFamilies FlexibleContexts ConstraintKinds PatternSynonyms TypeFamilyDependencies + ghc-options: -Wall -fno-warn-name-shadowing + build-depends: + base >=4.9 && <5 + , cryptoids-types >=0.0.0 && <1.1 + , exceptions >=0.8.3 && <0.11 + default-language: Haskell2010 diff --git a/cryptoids-types/cryptoids-types.cabal b/cryptoids-types/cryptoids-types.cabal new file mode 100644 index 0000000..9ff6974 --- /dev/null +++ b/cryptoids-types/cryptoids-types.cabal @@ -0,0 +1,42 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 6a350506959cbc3b9a183f3cc46044d4b469d5ead2516549318893200ed52c1f + +name: cryptoids-types +version: 1.0.0 +synopsis: Shared types for encrypting internal object identifiers before exposure +category: Web +author: Gregor Kleen +maintainer: Gregor Kleen +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + changes.md + +source-repository head + type: git + location: https://git.rheperire.org/cryptoids/cryptoids-types + +library + exposed-modules: + Data.CryptoID + other-modules: + Paths_cryptoids_types + hs-source-dirs: + src + default-extensions: KindSignatures DataKinds GeneralizedNewtypeDeriving DeriveGeneric DeriveDataTypeable + ghc-options: -Wall -fno-warn-name-shadowing + build-depends: + aeson >=1.2.4.0 && <1.5 + , base >=4.9 && <5 + , binary >=0.8.3 && <0.11 + , deepseq >=1.4.3.0 && <1.5 + , hashable >=1.2.6.1 && <1.4 + , http-api-data >=0.3.7 && <0.5 + , path-pieces >=0.2.1 && <0.3 + default-language: Haskell2010 diff --git a/cryptoids/cryptoids.cabal b/cryptoids/cryptoids.cabal new file mode 100644 index 0000000..5b31951 --- /dev/null +++ b/cryptoids/cryptoids.cabal @@ -0,0 +1,48 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: fe6fa2663ccd1e8201fcf5fc8f1c76ab6a14a25ddea79a68540cdf5f9b40e080 + +name: cryptoids +version: 0.5.1.0 +synopsis: Reversable and secure encoding of object ids as a bytestring +category: cryptography +author: Gregor Kleen +maintainer: Gregor Kleen +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + changes.md + +source-repository head + type: git + location: https://git.rheperire.org/cryptoids/cryptoids + +library + exposed-modules: + Data.CryptoID.Poly + Data.CryptoID.Poly.ImplicitNamespace + Data.CryptoID.ByteString + Data.CryptoID.ByteString.ImplicitNamespace + other-modules: + Paths_cryptoids + hs-source-dirs: + src + default-extensions: RankNTypes DataKinds GeneralizedNewtypeDeriving ViewPatterns RecordWildCards FlexibleContexts FlexibleInstances MultiParamTypeClasses TypeFamilies ConstraintKinds + ghc-options: -Wall -fno-warn-name-shadowing + build-depends: + base >=4.9 && <5 + , binary >=0.8.3 && <0.11 + , bytestring >=0.10.8 && <0.11 + , cryptoids-class >=0.0 && <0.1 + , cryptoids-types >=0.0 && <1.1 + , cryptonite >=0.23 && <0.27 + , directory >=1.3.0 && <1.4 + , exceptions >=0.8.3 && <0.11 + , filepath >=1.4.1 && <1.5 + , memory >=0.14.6 && <0.16 + default-language: Haskell2010 diff --git a/filepath-crypto/filepath-crypto.cabal b/filepath-crypto/filepath-crypto.cabal new file mode 100644 index 0000000..92aeceb --- /dev/null +++ b/filepath-crypto/filepath-crypto.cabal @@ -0,0 +1,51 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 2e91d9536d44bca5e2a2633264a1def3fa433a473b33f87f19b9ddffd8bea9f2 + +name: filepath-crypto +version: 0.1.0.0 +synopsis: Reversable and secure encoding of object ids as filepaths +category: cryptography +author: Gregor Kleen +maintainer: Gregor Kleen +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + changes.md + +source-repository head + type: git + location: https://git.rheperire.org/cryptoids/filepath-crypto + +library + exposed-modules: + System.FilePath.Cryptographic + System.FilePath.Cryptographic.ImplicitNamespace + Data.Binary.SerializationLength + Data.Binary.SerializationLength.TH + other-modules: + Data.Binary.SerializationLength.Class + Paths_filepath_crypto + hs-source-dirs: + src + default-extensions: KindSignatures ViewPatterns FlexibleContexts GeneralizedNewtypeDeriving PatternGuards RecordWildCards DataKinds DeriveDataTypeable DeriveGeneric FlexibleInstances MultiParamTypeClasses TypeFamilies ConstraintKinds + other-extensions: ScopedTypeVariables + ghc-options: -Wall -fno-warn-name-shadowing + build-depends: + base >=4.9 && <5 + , base32 <0.3.0.0 + , binary >=0.8.3 && <0.11 + , bytestring >=0.10.8 && <0.11 + , case-insensitive >=1.2.0 && <1.3 + , cryptoids >=0.5 && <0.6 + , cryptoids-class >=0.0.0 && <0.1 + , cryptoids-types >=0.0.0 && <1.1 + , exceptions >=0.8.3 && <0.11 + , filepath >=1.4.1 && <1.5 + , template-haskell >=2.11.1 && <2.16 + default-language: Haskell2010 diff --git a/uuid-crypto/uuid-crypto.cabal b/uuid-crypto/uuid-crypto.cabal new file mode 100644 index 0000000..48aaaba --- /dev/null +++ b/uuid-crypto/uuid-crypto.cabal @@ -0,0 +1,45 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 436d8bb40fa1a295d05fc5cc2352580727cbe146ebde3b4d2d256b5e15160ee6 + +name: uuid-crypto +version: 1.4.0.0 +synopsis: Reversable and secure encoding of object ids as uuids +category: cryptography +author: Gregor Kleen +maintainer: Gregor Kleen +license: BSD3 +license-file: LICENSE +build-type: Simple +extra-source-files: + changes.md + +source-repository head + type: git + location: https://git.rheperire.org/cryptoids/uuid-crypto + +library + exposed-modules: + Data.UUID.Cryptographic + Data.UUID.Cryptographic.ImplicitNamespace + other-modules: + Paths_uuid_crypto + hs-source-dirs: + src + default-extensions: KindSignatures ViewPatterns FlexibleContexts GeneralizedNewtypeDeriving PatternGuards RecordWildCards DataKinds DeriveDataTypeable DeriveGeneric FlexibleInstances MultiParamTypeClasses TypeFamilies ConstraintKinds + other-extensions: ScopedTypeVariables + ghc-options: -Wall -fno-warn-name-shadowing + build-depends: + base >=4.9 && <5 + , binary >=0.8.3 && <0.11 + , bytestring >=0.10.8 && <0.11 + , cryptoids >=0.5 && <0.6 + , cryptoids-class >=0.0.0 && <0.1 + , cryptoids-types >=0.0.0 && <1.1 + , exceptions >=0.8.3 && <0.11 + , uuid >=1.3.13 && <1.4 + default-language: Haskell2010