Unverified Commit e23c230d authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

trelby: init at 2.4.15 (#411523)

parents 5f6b24a3 cea7fa48
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -10876,6 +10876,12 @@
    githubId = 13622947;
    keys = [ { fingerprint = "1412 816B A9FA F62F D051 1975 D3E1 B013 B463 1293"; } ];
  };
  isotoxal = {
    name = "Abhinav Kuruvila Joseph";
    email = "abhinavkuruvila@proton.me";
    github = "IsotoxalDev";
    githubId = 62714538;
  };
  istoph = {
    email = "chr@istoph.de";
    name = "Christoph Hüffelmann";
+52 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}