diff --git a/pkgs/by-name/ki/ki/package.nix b/pkgs/by-name/ki/ki/package.nix index 5d6e0842f94a..4dac23993144 100644 --- a/pkgs/by-name/ki/ki/package.nix +++ b/pkgs/by-name/ki/ki/package.nix @@ -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 ]; }; }