Merge pull request #143033 from ratsclub/mdzk

This commit is contained in:
Sandro 2021-10-26 21:58:47 +02:00 committed by GitHub
commit f5d6e30656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "mdzk";
version = "0.4.2";
src = fetchFromGitHub {
owner = "mdzk-rs";
repo = "mdzk";
rev = version;
sha256 = "sha256-yz8lLFAP2/16fixknqGziyrUJKs3Qo1+whV82kUPuAE=";
};
cargoSha256 = "sha256-TGNzi8fMU7RhX2SJyxpYfJLgGYxpO/XkmDXzMdlX/2o=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with lib; {
description = "Plain text Zettelkasten based on mdBook";
homepage = "https://github.com/mdzk-rs/mdzk/";
changelog = "https://github.com/mdzk-rs/mdzk/blob/main/CHANGELOG.md";
license = licenses.mpl20;
maintainers = with maintainers; [ bryanasdev000 ratsclub ];
};
}

View file

@ -26376,6 +26376,10 @@ with pkgs;
mda_lv2 = callPackage ../applications/audio/mda-lv2 { };
mdzk = callPackage ../applications/misc/mdzk {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
mediaelch = libsForQt5.callPackage ../applications/misc/mediaelch { };
mediainfo = callPackage ../applications/misc/mediainfo { };