mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
mdbook-cmdrun: init at 2023-01-10
This commit is contained in:
parent
dfdaa0ce26
commit
dad96d3c91
26
pkgs/tools/text/mdbook-cmdrun/default.nix
Normal file
26
pkgs/tools/text/mdbook-cmdrun/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-cmdrun";
|
||||
version = "unstable-2023-01-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FauconFan";
|
||||
repo = pname;
|
||||
rev = "3f6d243cd9de5659f166a5642eb46b2a6d8384e7";
|
||||
hash = "sha256-JuKMAb3vwGTju9U1vaS9I39gObTz0JQQV4uol9SmsfM=";
|
||||
};
|
||||
|
||||
# Tests are outdated currently, application works fine
|
||||
# See for more info: https://github.com/FauconFan/mdbook-cmdrun/issues/2
|
||||
doCheck = false;
|
||||
|
||||
cargoHash = "sha256-h3xCnx6byToZx83uWNLz05F3VIDR0D1NVtSOKPuYeG4=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "mdbook preprocessor to run arbitrary commands";
|
||||
homepage = "https://github.com/FauconFan/mdbook-cmdrun";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pinpox ];
|
||||
};
|
||||
}
|
@ -8874,6 +8874,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
mdbook-cmdrun = callPackage ../tools/text/mdbook-cmdrun { };
|
||||
|
||||
mdbook-graphviz = callPackage ../tools/text/mdbook-graphviz {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user