-
Notifications
You must be signed in to change notification settings - Fork 4
Add dpm
#16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RiugaBachi
wants to merge
5
commits into
master
Choose a base branch
from
add-dpm
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add dpm
#16
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
b33282d
Bump daml version to 3.4.10
RiugaBachi 3c100a8
Add dpm derivation to default.nix and devshell
RiugaBachi 5d74cd1
Fix shell optional packages
RiugaBachi f4fb0d0
Lint
RiugaBachi 872eda7
Add sha256 for canton-enterprise 3.4.10
RiugaBachi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { lib | ||
| , stdenv | ||
| , system ? builtins.currentSystem | ||
| , version | ||
| , dpmSpec | ||
| }: | ||
| let | ||
| dpmTarballs = | ||
| let | ||
| baseUrl = os: arch: "https://artifactregistry.googleapis.com/download/v1/projects/da-images/locations/europe/repositories/public-generic/files/dpm-sdk:${version}:dpm-${version}-${os}-${arch}.tar.gz:download?alt=media"; | ||
| in | ||
| { | ||
| "x86_64-linux" = { | ||
| url = baseUrl "linux" "amd64"; | ||
| sha256 = dpmSpec.linuxSha256; | ||
| }; | ||
| "aarch64-darwin" = { | ||
| url = baseUrl "darwin" "arm64"; | ||
| sha256 = dpmSpec.macSha256; | ||
| }; | ||
| }; | ||
| dpmTarball = fetchTarball (dpmTarballs.${system} or (builtins.abort "There is currently no DPM tarball defined for ${system}.")); | ||
| in | ||
| stdenv.mkDerivation { | ||
| inherit version; | ||
|
|
||
| name = "dpm"; | ||
| src = dpmTarball; | ||
| buildPhase = "patchShebangs ."; | ||
| installPhase = '' | ||
| mkdir -p $out/bin | ||
| cp ./bin/dpm $out/bin/dpm | ||
| ''; | ||
| nativeBuildInputs = [ ]; | ||
| propagatedBuildInputs = [ ]; | ||
| meta = with lib; { | ||
| description = "Drop-in replacement for the (now deprecated) Daml Assistant."; | ||
| homepage = "https://get.digitalasset.com/install"; | ||
| license = licenses.asl20; | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "vscodeExtension": | ||
| { "sha256": "sha256:c+PQcY05wTc44Dj72bNxd4ExJW7gqTKDtwdWsWf0zGE=" | ||
| }, | ||
| "dpm": | ||
| { "linuxSha256": "sha256:04mdwa1fr22anha7b1b81lzibwasikhjlz274qz03qqjwdcwllra", | ||
| "macSha256": "sha256:05wmspdgb0nlylcqc10rnq985zmxq7mxs7ra785xhk6x052z1ni6" | ||
| }, | ||
| "canton": | ||
| { "type": "open-source", | ||
| "sha256": "sha256:02rm44kv31dhanv2hj56y8hw5r2hwp4n82n0bjj7izi6hbhg2xcs" | ||
| }, | ||
| "cantonEnterprise": | ||
| { "type": "enterprise", | ||
| "sha256": "sha256:0vb0ym6xlk7l62sy6bi4k1zkv68s44s2pk3xi9ym2syy6z8nbydh" | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not totally sure what the license for this is, just going to assume it's similar to daml-sdk.