From 18e38018cf4cc8f9689c453f5013426e60bf744a Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sat, 6 Sep 2025 16:04:36 -0700 Subject: add a nix package for the now-forked pollyana the contents of the patch against upstream kaylee are now applied to the pollyanna source; the patch is retained in case it's ever useful to build upstream Force-Push: yes Change-Id: I18df6c5b48ee1e767cff259bd323682c8dd693ff --- flake.nix | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index d81cb77..3bda2c1 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,32 @@ nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); in { packages = forAllSystems (system: let pkgs = nixpkgsFor.${system}; in rec { + default = pollyana; + + pollyana = pkgs.python3Packages.buildPythonPackage rec { + pname = "KayleeVC"; + version = "0.1.1"; + + src = ./src; + + nativeBuildInputs = with pkgs; [ + gobject-introspection + wrapGAppsHook4 + ]; + + propagatedBuildInputs = (with pkgs; [ + gtk3 + pocketsphinx.lib + ]) ++ (with pkgs.gst_all_1; [ + gstreamer + gst-plugins-base + gst-plugins-good + ]) ++ (with pkgs.python3Packages; [ + requests + pygobject3 + ]); + }; + kaylee = pkgs.python3Packages.buildPythonPackage rec { pname = "KayleeVC"; version = "0.1.1"; @@ -26,7 +52,7 @@ }; patches = [ - ./data-location.patch + ./packages/kaylee-data-location.patch ]; nativeBuildInputs = with pkgs; [ -- cgit 1.4.1