From 60195447f3135c770b3792859be8d36e5413b6c7 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 19 Aug 2023 14:41:25 -0400 Subject: [PATCH] august: init at unstable-2023-08-13 https://github.com/yoav-lavi/august --- pkgs/development/compilers/august/default.nix | 30 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/compilers/august/default.nix diff --git a/pkgs/development/compilers/august/default.nix b/pkgs/development/compilers/august/default.nix new file mode 100644 index 000000000000..4dcb9038f078 --- /dev/null +++ b/pkgs/development/compilers/august/default.nix @@ -0,0 +1,30 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage { + pname = "august"; + version = "unstable-2023-08-13"; + + src = fetchFromGitHub { + owner = "yoav-lavi"; + repo = "august"; + rev = "42b8a1bf5ca079aca1769d92315f70b193a9cd4a"; + hash = "sha256-58DZMoRH9PBbM4sok/XbUcwSXBeqUAmFZpffdMKQ+dE="; + }; + + cargoHash = "sha256-/GvBbsSL0dZ0xTystIpb8sk1nNg5hmP4yceCHlh7EQE="; + + postInstall = '' + mv $out/bin/{august-cli,ag} + ''; + + meta = with lib; { + description = "An Emmet-like language that produces JSON, TOML, or YAML"; + homepage = "https://github.com/yoav-lavi/august"; + license = with licenses; [ asl20 mit ]; + maintainers = with maintainers; [ figsoda ]; + mainProgram = "ag"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f725f82b1fe4..4ab0ecd0da38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15338,6 +15338,8 @@ with pkgs; ats-acc = callPackage ../development/tools/ats-acc { }; + august = callPackage ../development/compilers/august { }; + avra = callPackage ../development/compilers/avra { }; ballerina = callPackage ../development/compilers/ballerina {