nixpkgs-suyu/pkgs/applications/misc/jot/default.nix
2023-04-25 14:25:30 +00:00

26 lines
593 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "jot";
version = "0.1.2";
src = fetchFromGitHub {
owner = "araekiel";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Z8szd6ArwbGiHw7SeAah0LrrzUbcQYygX7IcPUYNxvM=";
};
cargoHash = "sha256-x61lOwMOOLD3RTdy3Ji+c7zcA1PCn09u75MyrPX/NbE=";
meta = with lib; {
description = "Rapid note management for the terminal";
homepage = "https://github.com/araekiel/jot";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
mainProgram = "jt";
};
}