From d236e2cfb4bd874e831e730942f2ed767334d425 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 20 Sep 2021 14:22:20 -0400 Subject: [PATCH] fundoc: init at 0.4.1 --- pkgs/development/tools/fundoc/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/tools/fundoc/default.nix diff --git a/pkgs/development/tools/fundoc/default.nix b/pkgs/development/tools/fundoc/default.nix new file mode 100644 index 000000000000..47484b78759c --- /dev/null +++ b/pkgs/development/tools/fundoc/default.nix @@ -0,0 +1,22 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "fundoc"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "csssr"; + repo = pname; + rev = "v${version}"; + sha256 = "0nd03c2lz07ghaab67kgl5pw8z8mv6kwx3xzr4pqr7v5b983py6v"; + }; + + cargoSha256 = "sha256-6riBlCyqNN2nzgwfVfbRy1avT9b0PdetOrbmbaltsjE="; + + meta = with lib; { + description = "Language agnostic documentation generator"; + homepage = "https://github.com/csssr/fundoc"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b2374b9c13c4..cebd1f1da10c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14009,6 +14009,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) IOKit; }; + fundoc = callPackage ../development/tools/fundoc { }; + funnelweb = callPackage ../development/tools/literate-programming/funnelweb { }; gede = libsForQt5.callPackage ../development/tools/misc/gede { };