mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
43 lines
966 B
Nix
43 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 ];
|
|
};
|
|
}
|