From f32c64ed54aa39ef7bf5839c3b0595da022658a6 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Mon, 23 Mar 2026 12:50:36 +0100 Subject: [PATCH] python3Packages.cinemagoer: 2023.5.1 -> 2025.12.31 Diff: https://github.com/cinemagoer/cinemagoer/compare/2023.05.01...aca62692b6f0ca7ed9c70871bafd8b558c6ba6ec --- .../python-modules/cinemagoer/default.nix | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/cinemagoer/default.nix b/pkgs/development/python-modules/cinemagoer/default.nix index 6670c780516f..c396fae1272d 100644 --- a/pkgs/development/python-modules/cinemagoer/default.nix +++ b/pkgs/development/python-modules/cinemagoer/default.nix @@ -1,26 +1,40 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, + setuptools, lxml, sqlalchemy, + python, }: -buildPythonPackage rec { +buildPythonPackage { pname = "cinemagoer"; - version = "2023.5.1"; - format = "setuptools"; + version = "2025.12.31"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-XOHXeuZUZwFhjxHlsVVqGdGO3srRttfZaXPsNJQbGPI="; + src = fetchFromGitHub { + owner = "cinemagoer"; + repo = "cinemagoer"; + rev = "aca62692b6f0ca7ed9c70871bafd8b558c6ba6ec"; # No tag + hash = "sha256-Aelgi+Wz2rxLBkJ3YoHJMfno0QoEKESIpwwrJUzAAF0="; }; - propagatedBuildInputs = [ + pythonRelaxDeps = [ + "lxml" + ]; + + build-system = [ setuptools ]; + + dependencies = [ lxml sqlalchemy ]; + preBuild = '' + ${python.interpreter} rebuildmo.py + ''; + # Tests require networking, and https://github.com/cinemagoer/cinemagoer/issues/240 doCheck = false;