depot/third_party/nixpkgs/pkgs/tools/text/mdbook-i18n-helpers/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

26 lines
726 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "mdbook-i18n-helpers";
version = "0.2.0";
src = fetchFromGitHub {
owner = "google";
repo = "mdbook-i18n-helpers";
rev = "refs/tags/${version}";
hash = "sha256-j5nbAgbCuz8urvdYPTTtGDnWwY/FxKNnwbeSTcuyIKw=";
};
cargoHash = "sha256-lDHq4KRYIeCddhFGQDWOx9olcOASjOke/h22Qm4wv6Q=";
meta = with lib; {
description = "Helpers for a mdbook i18n workflow based on Gettext";
homepage = "https://github.com/google/mdbook-i18n-helpers";
changelog = "https://github.com/google/mdbook-i18n-helpers/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ teutat3s ];
};
}