Skip to content

Commit

Permalink
Use versioned revisions in packages.dhall
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Aug 14, 2024
1 parent 73f0782 commit cde5eac
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 81 deletions.
4 changes: 3 additions & 1 deletion examples/SignData.purs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Cardano.AsCbor (encodeCbor)
import Cardano.MessageSigning (DataSignature)
import Cardano.Types (CborBytes, PublicKey, RawBytes)
import Cardano.Types.PublicKey as PublicKey
import Cardano.Wallet.Cip30.SignData (COSEKey, COSESign1)
import Contract.Address (Address)
import Contract.Config
( ContractParams
Expand Down Expand Up @@ -190,3 +189,6 @@ foreign import verifySignature

foreign import fromBytesCoseSign1 :: CborBytes -> Effect COSESign1
foreign import fromBytesCoseKey :: CborBytes -> Effect COSEKey

foreign import data COSEKey :: Type
foreign import data COSESign1 :: Type
21 changes: 8 additions & 13 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ let additions =
, "untagged-union"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip30"
, version = "8f1b34b48825fcec5e9c67f33e255770b1e0bc45"
, version = "v1.0.0"
}
, cip30-typesafe =
{ dependencies =
Expand All @@ -136,7 +136,7 @@ let additions =
, "variant"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip30-typesafe"
, version = "d72e51fbc0255eb3246c9132d295de7f65e16a99"
, version = "v1.0.0"
}
, cip95 =
{ dependencies =
Expand All @@ -149,7 +149,7 @@ let additions =
, "prelude"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip95"
, version = "3b2761237d54e85fc313f5a9439444ebf1b827a8"
, version = "v1.0.0"
}
, cip95-typesafe =
{ dependencies =
Expand All @@ -170,7 +170,7 @@ let additions =
, "variant"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip95-typesafe"
, version = "84cf1a18abc274222b31d7fcb829195ae2e673c4"
, version = "v1.0.0"
}
, bytearrays =
{ dependencies =
Expand Down Expand Up @@ -254,14 +254,9 @@ let additions =
}
, cip30-mock =
{ dependencies =
[ "aff-promise"
, "console"
, "effect"
, "functions"
, "prelude"
]
[ "aff-promise", "console", "effect", "functions", "prelude" ]
, repo = "https://github.com/mlabs-haskell/purescript-cip30-mock"
, version = "d00ba14769dceda1270658c63f14822db01f376d"
, version = "v1.1.0"
}
, cardano-collateral-select =
{ dependencies =
Expand Down Expand Up @@ -302,7 +297,7 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-key-wallet"
, version = "3fe93e45ac1444a429abfe6e135addf568500c23"
, version = "v2.0.0"
}
, uplc-apply-args =
{ dependencies =
Expand Down Expand Up @@ -377,7 +372,7 @@ let additions =
, "unsafe-coerce"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-types"
, version = "56877b43ea392ef6486e37d52e1c37d8c2b8c42d"
, version = "v2.0.1"
}
, cardano-message-signing =
{ dependencies =
Expand Down
34 changes: 17 additions & 17 deletions spago-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 28 additions & 33 deletions templates/ctl-scaffold/packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ let additions =
, "untagged-union"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip30"
, version = "8f1b34b48825fcec5e9c67f33e255770b1e0bc45"
, version = "v1.0.0"
}
, cip30-typesafe =
{ dependencies =
Expand All @@ -136,7 +136,7 @@ let additions =
, "variant"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip30-typesafe"
, version = "d72e51fbc0255eb3246c9132d295de7f65e16a99"
, version = "v1.0.0"
}
, cip95 =
{ dependencies =
Expand All @@ -149,7 +149,7 @@ let additions =
, "prelude"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip95"
, version = "3b2761237d54e85fc313f5a9439444ebf1b827a8"
, version = "v1.0.0"
}
, cip95-typesafe =
{ dependencies =
Expand All @@ -170,7 +170,7 @@ let additions =
, "variant"
]
, repo = "https://github.com/mlabs-haskell/purescript-cip95-typesafe"
, version = "84cf1a18abc274222b31d7fcb829195ae2e673c4"
, version = "v1.0.0"
}
, bytearrays =
{ dependencies =
Expand Down Expand Up @@ -254,14 +254,9 @@ let additions =
}
, cip30-mock =
{ dependencies =
[ "aff-promise"
, "console"
, "effect"
, "functions"
, "prelude"
]
[ "aff-promise", "console", "effect", "functions", "prelude" ]
, repo = "https://github.com/mlabs-haskell/purescript-cip30-mock"
, version = "d00ba14769dceda1270658c63f14822db01f376d"
, version = "v1.1.0"
}
, cardano-collateral-select =
{ dependencies =
Expand Down Expand Up @@ -302,7 +297,7 @@ let additions =
]
, repo =
"https://github.com/mlabs-haskell/purescript-cardano-key-wallet"
, version = "3fe93e45ac1444a429abfe6e135addf568500c23"
, version = "v2.0.0"
}
, uplc-apply-args =
{ dependencies =
Expand Down Expand Up @@ -377,7 +372,7 @@ let additions =
, "unsafe-coerce"
]
, repo = "https://github.com/mlabs-haskell/purescript-cardano-types"
, version = "56877b43ea392ef6486e37d52e1c37d8c2b8c42d"
, version = "v2.0.1"
}
, cardano-message-signing =
{ dependencies =
Expand Down Expand Up @@ -405,25 +400,6 @@ let additions =
, repo = "https://github.com/mlabs-haskell/purescript-cardano-hd-wallet"
, version = "cc1073ddf8bce72407ef6671e3decb59f422e304"
}
, mote-testplan =
{ dependencies =
[ "aff"
, "console"
, "datetime"
, "effect"
, "foldable-traversable"
, "maybe"
, "mote"
, "newtype"
, "numbers"
, "ordered-collections"
, "prelude"
, "spec"
, "transformers"
]
, repo = "https://github.com/mlabs-haskell/purescript-mote-testplan"
, version = "v1.0.0"
}
, cardano-transaction-builder =
{ dependencies =
[ "aeson"
Expand Down Expand Up @@ -479,9 +455,28 @@ let additions =
"https://github.com/mlabs-haskell/purescript-cardano-transaction-builder"
, version = "a9c033b9a2bb78b134ae5309209f73e47f3d5791"
}
, mote-testplan =
{ dependencies =
[ "aff"
, "console"
, "datetime"
, "effect"
, "foldable-traversable"
, "maybe"
, "mote"
, "newtype"
, "numbers"
, "ordered-collections"
, "prelude"
, "spec"
, "transformers"
]
, repo = "https://github.com/mlabs-haskell/purescript-mote-testplan"
, version = "v1.0.0"
}
, cardano-transaction-lib =
{ dependencies =
[ "aeson"
[ "aeson"
, "aff"
, "aff-promise"
, "aff-retry"
Expand Down
34 changes: 17 additions & 17 deletions templates/ctl-scaffold/spago-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cde5eac

Please sign in to comment.