Merge pull request #193059 from figsoda/doctave

doctave: init at 0.4.2
This commit is contained in:
figsoda 2022-09-27 16:04:37 -04:00 committed by GitHub
commit 32f3576ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -295,7 +295,7 @@ dependencies = [
[[package]]
name = "doctave"
-version = "0.4.0"
+version = "0.4.2"
dependencies = [
"alphanumeric-sort",
"ascii",

View File

@ -0,0 +1,30 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "doctave";
version = "0.4.2";
src = fetchFromGitHub {
owner = "doctave";
repo = pname;
rev = version;
sha256 = "1780pqvnlbxxhm7rynnysqr0vihdkwmc6rmgp43bmj1k18ar4qgj";
};
# Cargo.lock is outdated
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "sha256-keLcNttdM9JUnn3qi/bWkcObIHl3MRACDHKPSZuScOc=";
buildInputs = lib.optionals stdenv.isDarwin [
CoreServices
];
meta = with lib; {
description = "A batteries-included developer documentation site generator";
homepage = "https://github.com/doctave/doctave";
changelog = "https://github.com/doctave/doctave/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -5770,6 +5770,10 @@ with pkgs;
dockbarx = callPackage ../applications/misc/dockbarx { };
doctave = callPackage ../applications/misc/doctave {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
dog = callPackage ../tools/system/dog { };
dogdns = callPackage ../tools/networking/dogdns {