nixpkgs/pkgs/tools/text/jotdown/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
661 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "jotdown";
2024-03-20 23:23:11 +00:00
version = "0.4.0";
src = fetchFromGitHub {
owner = "hellux";
repo = "jotdown";
rev = version;
2024-03-20 23:23:11 +00:00
hash = "sha256-Q1BjmcA5otOkeEe8KQiqKGKHSeGntj+ktcNMrdbGHZI=";
};
2024-03-20 23:23:11 +00:00
cargoHash = "sha256-bkMJ7ApM+GsshwIFuYsH19CnU6ebq0GfwQvVp9QD46A=";
meta = with lib; {
description = "A 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 ];
};
}