blob: d57ba39b803cdea0ba9e88d4e1fd891cd89e8c0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "mdbook-emojicodes";
version = "0.3.0";
src = fetchFromGitHub {
owner = "blyxyas";
repo = "mdbook-emojicodes";
rev = "${version}";
hash = "sha256-dlvfY2AMBvTl0j9YaT+u4CeWQGGihFD8AZaAK4/hUWU=";
};
cargoHash = "sha256-SkvAtV613+ARk79dB2zRKoLjPgdzoEKQa3JrRw9qBkA=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
];
meta = with lib; {
description = "MDBook preprocessor for converting emojicodes (e.g. `: cat :`) into emojis 🐱";
mainProgram = "mdbook-emojicodes";
homepage = "https://github.com/blyxyas/mdbook-emojicodes";
changelog = "https://github.com/blyxyas/mdbook-emojicodes/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ blaggacao matthiasbeyer ];
};
}
|