mdbook-emojicodes: init at 0.1.3
This commit is contained in:
parent
3a102154fd
commit
21556bbb2a
31
pkgs/tools/text/mdbook-emojicodes/default.nix
Normal file
31
pkgs/tools/text/mdbook-emojicodes/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-emojicodes";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blyxyas";
|
||||
repo = "mdbook-emojicodes";
|
||||
rev = "${version}.1";
|
||||
hash = "sha256-SWT01R/+FuzkkOUd/2wpRo0HIaPEtzDelTSh7ewo9gQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-z9UKBBCr8R1I9k48JsEBnVokQDfaj9lt+qfIUvJ/5lE=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MDBook preprocessor for converting emojicodes (e.g. `: cat :`) into emojis 🐱";
|
||||
homepage = "https://github.com/blyxyas/mdbook-emojicodes";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
};
|
||||
}
|
@ -9026,6 +9026,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
mdbook-emojicodes = callPackage ../tools/text/mdbook-emojicodes { };
|
||||
|
||||
mdbook-epub = callPackage ../tools/text/mdbook-epub {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user