about summary refs log tree commit diff
path: root/pkgs/development/tools/fundoc
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2021-09-20 14:22:20 -0400
committerfigsoda <figsoda@pm.me>2021-09-20 14:22:20 -0400
commitd236e2cfb4bd874e831e730942f2ed767334d425 (patch)
tree4f780c32183179354b1433ad535d8133edbac0f2 /pkgs/development/tools/fundoc
parent32c21782a65a1140ab49450d19cb6fa884a35f94 (diff)
fundoc: init at 0.4.1
Diffstat (limited to 'pkgs/development/tools/fundoc')
-rw-r--r--pkgs/development/tools/fundoc/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/fundoc/default.nix b/pkgs/development/tools/fundoc/default.nix
new file mode 100644
index 0000000000000..47484b78759c6
--- /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 ];
+  };
+}