depot/third_party/nixpkgs/pkgs/by-name/jo/jotdown/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

29 lines
694 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "jotdown";
version = "0.7.0";
src = fetchFromGitHub {
owner = "hellux";
repo = "jotdown";
rev = version;
hash = "sha256-1s0J6TF/iDSqKUF4/sgq2irSPENjinftPFZnMgE8Dn8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-SGmlNpauPk2qSIIdP0hfGUplCV9ZvyHhZss8XXuxfHg=";
meta = with lib; {
description = "Minimal Djot CLI";
mainProgram = "jotdown";
homepage = "https://github.com/hellux/jotdown";
changelog = "https://github.com/hellux/jotdown/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}