ki: refactor and modernize
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user