mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
731 B
Nix
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";
|
|
};
|
|
}
|