Skip to content

Commit

Permalink
init: atomic-cli at 0.34.5
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Odoom <[email protected]>
Co-authored-by: Anish Lakhwara <[email protected]>
Co-authored-by: Dominic Mills <[email protected]>
Co-authored-by: Albert Chae <[email protected]>
Co-authored-by: Jack Leightcap <[email protected]>
Signed-off-by: Jack Leightcap <[email protected]>
  • Loading branch information
6 people committed Sep 27, 2023
1 parent a4d6053 commit 7df5566
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
1 change: 1 addition & 0 deletions all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
self = let
pretalxPlugins = lib.recurseIntoAttrs (callPackage ./pkgs/pretalx/plugins.nix {});
in rec {
atomic-cli = callPackage ./pkgs/atomic-cli {};
atomic-server = callPackage ./pkgs/atomic-server {};
flarum = callPackage ./pkgs/flarum {};
gnunet-messenger-cli = callPackage ./pkgs/gnunet-messenger-cli {};
Expand Down
26 changes: 26 additions & 0 deletions pkgs/atomic-cli/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
lib,
rustPlatform,
fetchCrate,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "atomic-cli";
version = "0.34.5";

src = fetchCrate {
inherit pname version;
hash = "sha256-97JltSMuNETcgm5jfb2tOjwgw87J0u8qs+TIViT0PBo=";
};

cargoHash = "sha256-NehXV26PBOD+V1KZo8I2EQ7Hp32ccT6e51v5qESj+l4=";

doCheck = false; # TODO(jl): broken upstream

meta = with lib; {
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; [];
};
}
12 changes: 6 additions & 6 deletions pkgs/atomic-server/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ lib
, rustPlatform
, fetchCrate
, stdenv
{
lib,
rustPlatform,
fetchCrate,
stdenv,
}:

rustPlatform.buildRustPackage rec {
pname = "atomic-server";
version = "0.34.5";
Expand All @@ -21,6 +21,6 @@ rustPlatform.buildRustPackage rec {
description = "A Rust library to serialize, parse, store, convert, validate, edit, fetch and store Atomic Data. Powers both atomic-cli and atomic-server.";
homepage = "docs.atomicdata.dev";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [];
};
}

0 comments on commit 7df5566

Please sign in to comment.