Merge pull request #143033 from ratsclub/mdzk
This commit is contained in:
commit
f5d6e30656
2 changed files with 29 additions and 0 deletions
25
pkgs/applications/misc/mdzk/default.nix
Normal file
25
pkgs/applications/misc/mdzk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue