nixpkgs/pkgs/desktops/enlightenment/terminology/default.nix
2021-11-13 09:32:52 -03:00

41 lines
884 B
Nix

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, python3, efl, pcre, mesa }:
stdenv.mkDerivation rec {
pname = "terminology";
version = "1.11.0";
src = fetchurl {
url = "https://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
sha256 = "0bbav27p1xni7kidgf3vn42bwsfrzds301k3f7c8dg7v5yyq9n2g";
};
nativeBuildInputs = [
meson
ninja
pkg-config
python3
];
buildInputs = [
efl
pcre
mesa
];
mesonFlags = [
"-D edje-cc=${efl}/bin/edje_cc"
];
postPatch = ''
patchShebangs data/colorschemes/*.py
'';
meta = with lib; {
description = "Powerful terminal emulator based on EFL";
homepage = "https://www.enlightenment.org/about-terminology";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ matejc tstrobel ftrvxmtrx romildo ];
};
}