depot/third_party/nixpkgs/pkgs/development/tools/misc/complgen/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
697 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "complgen";
version = "0.1.7";
src = fetchFromGitHub {
owner = "adaszko";
repo = "complgen";
rev = "v${version}";
hash = "sha256-B7ydYz9nui3B/IC3obVTiJZvzTD/lCQyf+tREwFJERg=";
};
cargoHash = "sha256-CXvaGrE4sQlc7K6FVQqGU8EKPfHr8EIV5YFq+VMoBWg=";
meta = with lib; {
description = "Generate {bash,fish,zsh} completions from a single EBNF-like grammar";
homepage = "https://github.com/adaszko/complgen";
changelog = "https://github.com/adaszko/complgen/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
};
}