diff options
author | sunder <evenquantity@gmail.com> | 2023-07-19 19:12:49 +0300 |
---|---|---|
committer | sunder <evenquantity@gmail.com> | 2023-07-19 19:12:49 +0300 |
commit | 7c5cf1a2d0684f9c0835339aa9d7dceb2caf49b8 (patch) | |
tree | eb3e41cca7329cfbf6d07709cc2f15c5659de9cc /pkgs/applications/editors/tijolo | |
parent | 8613c713110a1e4ecc3265c0557a0db5e08d9b27 (diff) |
tijolo: init at 0.7.3
Diffstat (limited to 'pkgs/applications/editors/tijolo')
-rw-r--r-- | pkgs/applications/editors/tijolo/default.nix | 42 | ||||
-rw-r--r-- | pkgs/applications/editors/tijolo/tijolo-shards.nix | 27 |
2 files changed, 69 insertions, 0 deletions
diff --git a/pkgs/applications/editors/tijolo/default.nix b/pkgs/applications/editors/tijolo/default.nix new file mode 100644 index 0000000000000..fbed493f2f8cb --- /dev/null +++ b/pkgs/applications/editors/tijolo/default.nix @@ -0,0 +1,42 @@ +{ stdenv +, lib +, fetchFromGitHub +, crystal +, vte +, libgit2 +, editorconfig-core-c +, gtksourceview4 +, wrapGAppsHook +, desktopToDarwinBundle +}: +crystal.buildCrystalPackage rec { + pname = "tijolo"; + version = "0.7.3"; + + src = fetchFromGitHub { + owner = "hugopl"; + repo = "tijolo"; + rev = "v${version}"; + hash = "sha256-15not/B+O+wIZ/fvLFy26/dyvq0E+bZUeoSZ6HxMMKg="; + }; + + nativeBuildInputs = [ wrapGAppsHook ] + ++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ]; + buildInputs = [ vte libgit2 gtksourceview4 editorconfig-core-c ]; + + buildTargets = [ "all" ]; + doCheck = false; + + shardsFile = ./tijolo-shards.nix; + + installTargets = [ "install" "install-fonts"]; + doInstallCheck = false; + + meta = with lib; { + description = "Lightweight, keyboard-oriented IDE for the masses"; + homepage = "https://github.com/hugopl/tijolo"; + license = licenses.mit; + mainProgram = "tijolo"; + maintainers = with maintainers; [ sund3RRR ]; + }; +} diff --git a/pkgs/applications/editors/tijolo/tijolo-shards.nix b/pkgs/applications/editors/tijolo/tijolo-shards.nix new file mode 100644 index 0000000000000..480251e777552 --- /dev/null +++ b/pkgs/applications/editors/tijolo/tijolo-shards.nix @@ -0,0 +1,27 @@ +{ + compiled_license = { + url = "https://github.com/elorest/compiled_license.git"; + rev = "v1.2.2"; + sha256 = "1f412r6m31cc093lcw31m2rp5s3y7vh6q3wc3xh9b8vccvmj21p7"; + }; + fzy = { + url = "https://github.com/hugopl/fzy.git"; + rev = "v0.5.5"; + sha256 = "1zk95m43ymx9ilwr6iw9l44nkmp4sas28ib0dkr07hkhgrkw68sv"; + }; + gobject = { + url = "https://github.com/jhass/crystal-gobject.git"; + rev = "v0.10.0"; + sha256 = "02cc3486ifbffdbvgl75ylwn47gpfb2j0srz92jx5yz1d596x746"; + }; + toml = { + url = "https://github.com/crystal-community/toml.cr.git"; + rev = "v0.7.0"; + sha256 = "0vznx2irvx6m8w6chdf9ms72n2w0cf2m5cwh0cjmp1jz9y3xwv7z"; + }; + version_from_shard = { + url = "https://github.com/hugopl/version_from_shard.git"; + rev = "v1.2.5"; + sha256 = "0xizj0q4rd541rwjbx04cjifc2gfx4l5v6q2y7gmd0ndjmkgb8ik"; + }; +} |