2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-04-29 15:06:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kibi";
|
2021-02-14 22:38:03 +00:00
|
|
|
version = "0.2.2";
|
2020-04-29 15:06:52 +00:00
|
|
|
|
2021-05-07 11:00:49 +00:00
|
|
|
cargoSha256 = "sha256-ebUCkcUACganeq5U0XU4VIGClKDZGhUw6K3WBgTUUUw=";
|
2020-04-29 15:06:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ilai-deutel";
|
|
|
|
repo = "kibi";
|
|
|
|
rev = "v${version}";
|
2021-02-14 22:38:03 +00:00
|
|
|
sha256 = "sha256-ox1qKWxJlUIFzEqeyzG2kqZix3AHnOKFrlpf6O5QM+k=";
|
2020-04-29 15:06:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-29 15:06:52 +00:00
|
|
|
description = "A text editor in ≤1024 lines of code, written in Rust";
|
|
|
|
homepage = "https://github.com/ilai-deutel/kibi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ robertodr ];
|
|
|
|
};
|
|
|
|
}
|