2023-06-05 20:02:44 +02:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jotdown";
|
2023-09-07 03:00:55 +02:00
|
|
|
version = "0.3.2";
|
2023-06-05 20:02:44 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hellux";
|
|
|
|
repo = "jotdown";
|
|
|
|
rev = version;
|
2023-09-07 03:00:55 +02:00
|
|
|
hash = "sha256-XouI3PHKPtX+3GkhMvdRfwJkCoofMgCY/NXB0tnLyUc=";
|
2023-06-05 20:02:44 +02:00
|
|
|
};
|
|
|
|
|
2023-09-07 03:00:55 +02:00
|
|
|
cargoHash = "sha256-PvKXVP90GOAgz4Sc37B4hli7rbNHVZbksVAo+uy2yEU=";
|
2023-06-05 20:02:44 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A minimal Djot CLI";
|
|
|
|
homepage = "https://github.com/hellux/jotdown";
|
|
|
|
changelog = "https://github.com/hellux/jotdown/blob/${src.rev}/CHANGELOG.md";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
};
|
|
|
|
}
|