Skip to content

Commit 5184ecc

Browse files
committed
fix proto-lens
1 parent f53ea73 commit 5184ecc

File tree

6 files changed

+36
-25
lines changed

6 files changed

+36
-25
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "apps"]
55
path = apps
66
url = [email protected]:functora/apps.git
7+
[submodule "pub/proto-lens/proto-lens/proto-lens-imports/google/protobuf"]
8+
path = pub/proto-lens/proto-lens/proto-lens-imports/google/protobuf
9+
url = https://github.com/protocolbuffers/protobuf

cabal.project

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,19 @@ else
6161
secp256k1-haskell,
6262
ghc,
6363
packages:
64-
pub/proto-lens/proto-lens-protoc/*.cabal
6564
pub/network-bitcoin/*.cabal
65+
pub/proto-lens/discrimination-ieee754/*.cabal
66+
pub/proto-lens/proto-lens/*.cabal
67+
pub/proto-lens/proto-lens-arbitrary/*.cabal
68+
pub/proto-lens/proto-lens-benchmarks/*.cabal
69+
pub/proto-lens/proto-lens-discrimination/*.cabal
70+
pub/proto-lens/proto-lens-optparse/*.cabal
71+
pub/proto-lens/proto-lens-protobuf-types/*.cabal
72+
pub/proto-lens/proto-lens-protoc/*.cabal
73+
pub/proto-lens/proto-lens-runtime/*.cabal
74+
pub/proto-lens/proto-lens-setup/*.cabal
75+
pub/proto-lens/proto-lens-tests/*.cabal
76+
pub/proto-lens/proto-lens-tests-dep/*.cabal
6677
pub/hs-bitcoin-hash/bitcoin-hash/*.cabal
6778
pub/hs-bitcoin-keys/bitcoin-keys/*.cabal
6879
pub/haskell-bitcoin-script/*.cabal

pub/proto-lens/proto-lens/package.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ synopsis: A lens-based implementation of protocol buffers in Haskell.
44
description: >
55
The proto-lens library provides an API for protocol buffers using modern
66
Haskell language and library patterns. Specifically, it provides:
7-
7+
88
* Composable field accessors via lenses
9-
9+
1010
* Simple field name resolution/overloading via type-level literals
11-
11+
1212
* Type-safe reflection and encoding/decoding of messages via GADTs
1313
1414
github: google/proto-lens/proto-lens
@@ -24,8 +24,8 @@ extra-source-files:
2424
# Usually this happens automatically as part of Data.ProtoLens.Setup,
2525
# but because of bootstrapping we don't use that module here.
2626
data-files:
27-
- proto-lens-imports/google/protobuf/descriptor.proto
28-
- proto-lens-imports/google/protobuf/compiler/plugin.proto
27+
- proto-lens-imports/google/protobuf/src/google/protobuf/descriptor.proto
28+
- proto-lens-imports/google/protobuf/src/google/protobuf/compiler/plugin.proto
2929

3030
library:
3131
source-dirs: src
@@ -54,20 +54,20 @@ tests:
5454
main: parser_test.hs
5555
source-dirs: tests
5656
dependencies:
57-
- base
58-
- bytestring
59-
- proto-lens
60-
- QuickCheck
61-
- tasty
62-
- tasty-quickcheck
57+
- base
58+
- bytestring
59+
- proto-lens
60+
- QuickCheck
61+
- tasty
62+
- tasty-quickcheck
6363

6464
growing_test:
6565
main: growing_test.hs
6666
source-dirs: tests
6767
dependencies:
68-
- base
69-
- vector
70-
- proto-lens
71-
- QuickCheck
72-
- tasty
73-
- tasty-quickcheck
68+
- base
69+
- vector
70+
- proto-lens
71+
- QuickCheck
72+
- tasty
73+
- tasty-quickcheck

pub/proto-lens/proto-lens/proto-lens-imports/google

Lines changed: 0 additions & 1 deletion
This file was deleted.
Submodule protobuf added at 8fcde88

pub/proto-lens/proto-lens/proto-lens.cabal

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.37.0.
3+
-- This file has been generated from package.yaml by hpack version 0.38.0.
44
--
55
-- see: https://github.com/sol/hpack
66

77
name: proto-lens
88
version: 0.7.1.6
99
synopsis: A lens-based implementation of protocol buffers in Haskell.
1010
description: The proto-lens library provides an API for protocol buffers using modern Haskell language and library patterns. Specifically, it provides:
11-
.
1211
* Composable field accessors via lenses
13-
.
1412
* Simple field name resolution/overloading via type-level literals
15-
.
1613
* Type-safe reflection and encoding/decoding of messages via GADTs
1714
category: Data
1815
homepage: https://github.com/google/proto-lens#readme
@@ -26,8 +23,8 @@ build-type: Simple
2623
extra-source-files:
2724
Changelog.md
2825
data-files:
29-
proto-lens-imports/google/protobuf/descriptor.proto
30-
proto-lens-imports/google/protobuf/compiler/plugin.proto
26+
proto-lens-imports/google/protobuf/src/google/protobuf/descriptor.proto
27+
proto-lens-imports/google/protobuf/src/google/protobuf/compiler/plugin.proto
3128

3229
source-repository head
3330
type: git

0 commit comments

Comments
 (0)