mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
28 lines
659 B
Nix
28 lines
659 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=";
|
|
};
|
|
|
|
cargoHash = "sha256-gsrwC7X1pnr9ZQDqq0SnNxYHFdRI9VRuIQtA1s7Yz7A=";
|
|
|
|
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 ];
|
|
};
|
|
}
|