depot/pkgs/development/compilers/august/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
731 B
Nix

{ 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 = "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";
};
}