Skip to content
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

Init: {atomic-server, atomic-cli} at 0.34.5 #62

Merged
merged 2 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
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 {};
kikit = callPackage ./pkgs/kikit {};
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; [];
};
}
26 changes: 26 additions & 0 deletions pkgs/atomic-server/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-server";
version = "0.34.5";

src = fetchCrate {
inherit pname version;
hash = "sha256-X7G/EYhs7CBRZ+7oVKyQRk5WDyFKnQmi8aLbi/KIwgI=";
};

cargoHash = "sha256-mox1MdWgCgzytjqAPu1xHKWP8D5oRnXvMyqRbZXM9Pc=";

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

meta = with lib; {
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; [];
};
}