ki: refactor and modernize

This commit is contained in:
eljamm
2025-08-15 01:25:47 +02:00
committed by Matthieu Coudron
parent a11489a0b7
commit 20719b6a8b
+7 -10
View File
@@ -2,7 +2,6 @@
lib,
fetchFromGitHub,
python3Packages,
cmake,
anki,
}:
@@ -27,14 +26,15 @@ python3Packages.buildPythonApplication {
./update-to-newer-anki-versions.patch
];
nativeBuildInputs = [ cmake ];
build-system = with python3Packages; [
setuptools
];
propagatedBuildInputs = [
dependencies = [
anki
]
++ (with python3Packages; [
beartype
click
colorama
git-filter-repo
gitpython
@@ -60,13 +60,10 @@ python3Packages.buildPythonApplication {
dontCheckRuntimeDeps = true;
# CMake needs to be run by pyproject rather than by its hook
dontConfigure = true;
meta = with lib; {
meta = {
description = "Version control for Anki collections";
homepage = "https://github.com/langfield/ki";
license = licenses.agpl3Only;
maintainers = with maintainers; [ eljamm ];
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ eljamm ];
};
}