2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-04-29 16:06:52 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kibi";
|
2020-10-18 16:54:34 +01:00
|
|
|
version = "0.2.1";
|
2020-04-29 16:06:52 +01:00
|
|
|
|
2020-10-18 16:54:34 +01:00
|
|
|
cargoSha256 = "1cbiidq0w5f9ynb09b6828p7p7y5xhpgz47n2jsl8mp96ydhy5lv";
|
2020-04-29 16:06:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ilai-deutel";
|
|
|
|
repo = "kibi";
|
|
|
|
rev = "v${version}";
|
2020-10-18 16:54:34 +01:00
|
|
|
sha256 = "1x5bvvq33380k2qhs1bwz3f9zl5q1sl7iic47pxfkzv24bpjnypb";
|
2020-04-29 16:06:52 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-29 16:06:52 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|