depot/third_party/nixpkgs/pkgs/applications/editors/tijolo/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

42 lines
966 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, crystal
, vte
, libgit2
, editorconfig-core-c
, gtksourceview4
, wrapGAppsHook
, desktopToDarwinBundle
}:
crystal.buildCrystalPackage rec {
pname = "tijolo";
version = "0.7.4";
src = fetchFromGitHub {
owner = "hugopl";
repo = "tijolo";
rev = "v${version}";
hash = "sha256-3TfXvRVP3lu43qF3RWCHnZ3czTaSl5EzrhuTlpnMfKo=";
};
nativeBuildInputs = [ wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ];
buildInputs = [ vte libgit2 gtksourceview4 editorconfig-core-c ];
buildTargets = [ "all" ];
doCheck = false;
shardsFile = ./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 ];
};
}