trelby: init at 2.4.15

This commit is contained in:
Abhinav Kuruvila Joseph 2025-06-13 17:12:34 +05:30
parent 6d7a5d9632
commit cea7fa4896

View File

@ -0,0 +1,52 @@
{
lib,
python3Packages,
fetchFromGitHub,
wrapGAppsHook3,
gtk3,
glib,
gsettings-desktop-schemas,
}:
python3Packages.buildPythonApplication rec {
pname = "trelby";
version = "2.4.15";
pyproject = true;
src = fetchFromGitHub {
owner = "trelby";
repo = "trelby";
tag = version;
hash = "sha256-CTasd+YlRHjYUVepZf2RDOuw1p0OdQfJENZamSmXXFw=";
};
build-system = [
python3Packages.setuptools
];
nativeBuildInputs = [
wrapGAppsHook3
];
buildInputs = [
glib
gsettings-desktop-schemas
gtk3
];
dependencies = with python3Packages; [
lxml
reportlab
wxpython
];
meta = {
description = "Free, multiplatform, feature-rich screenwriting program";
homepage = "www.trelby.org";
downloadPage = "https://github.com/trelby/trelby";
mainProgram = "trelby";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ isotoxal ];
};
}