-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
atomic-{browser,cli,server}: 0.37.0 -> 0.39.0
- Loading branch information
1 parent
30c4303
commit 188cc07
Showing
3 changed files
with
34 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,32 +1,13 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchCrate, | ||
stdenv, | ||
}: let | ||
inherit | ||
(lib) | ||
licenses | ||
maintainers | ||
; | ||
in | ||
rustPlatform.buildRustPackage rec { | ||
pname = "atomic-cli"; | ||
version = "0.37.0"; | ||
|
||
src = fetchCrate { | ||
inherit pname version; | ||
hash = "sha256-yKYqxja2XFrQmLZYiWJAJDfGDdnr4eNdAwZNKn4FseU="; | ||
}; | ||
|
||
cargoHash = "sha256-a/mkZ9LFItlc3fBNCSZntbZfBJnhiFWUDIjLfBO6H74="; | ||
|
||
doCheck = false; # TODO(jl): broken upstream | ||
|
||
meta = { | ||
description = "CLI tool to create, store, query, validate and convert Atomic Data"; | ||
homepage = "https://crates.io/crates/atomic-cli"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; []; | ||
}; | ||
} | ||
runCommand, | ||
atomic-server, | ||
}: | ||
runCommand "atomic-cli" { | ||
meta = { | ||
inherit (atomic-server.meta) description homepage license; | ||
mainProgram = "atomic-cli"; | ||
}; | ||
} '' | ||
mkdir -p "$out/bin" | ||
ln -s "${atomic-server}/bin/atomic-cli" "$out/bin/atomic-cli" | ||
'' |
This file contains 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