From 7dad6a62f0575365eb5f147ae6460bff34aedf99 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 2 Sep 2026 13:41:37 -0400 Subject: [PATCH 1/2] add: cliamp build target --- overlays/cliamp.nix | 24 ++++++++++++++++++++++++ overlays/default.nix | 1 + pkgs/default.nix | 1 + 3 files changed, 26 insertions(+) create mode 100644 overlays/cliamp.nix diff --git a/overlays/cliamp.nix b/overlays/cliamp.nix new file mode 100644 index 0000000..a080b14 --- /dev/null +++ b/overlays/cliamp.nix @@ -0,0 +1,24 @@ +final: prev: { + cliampLatest = prev.cliamp.overrideAttrs (oldAttrs: rec { + version = "2.0.1"; + + src = prev.fetchFromGitHub { + owner = "bjarneo"; + repo = "cliamp"; + tag = "v${version}"; + sha256 = "sha256-r7MrrcVt+/f+iPozn9jaczJmpPv431wAoW8LvHKBtB8="; + }; + + vendorHash = "sha256-rtwUWbft5XGEbuBCn0OMCn4TS5Ul+UXJNIqNOzXfU+M="; + + buildInputs = with prev; [ + libogg + libvorbis + flac + mpg123 + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + alsa-lib + ]; + }); +} diff --git a/overlays/default.nix b/overlays/default.nix index 6a5410c..c033d13 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -2,4 +2,5 @@ final: prev: prev.lib.composeManyExtensions [ (import ./atuin.nix) (import ./container.nix) + (import ./cliamp.nix) ] final prev diff --git a/pkgs/default.nix b/pkgs/default.nix index 49ab505..1fa9697 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -7,6 +7,7 @@ # any overlays we define here atuinLatest = pkgs.atuinLatest; containerLatest = pkgs.containerLatest; + cliampLatest = pkgs.cliampLatest; # any packages that are added to pkgs and are inputs, we inherit them here inherit hildibrand; From c16695f5f49e5fa7531590737b50ed8546f285f7 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 2 Sep 2026 13:42:59 -0400 Subject: [PATCH 2/2] mod: ci stuff --- .gitea/workflows/publish-attic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/publish-attic.yaml b/.gitea/workflows/publish-attic.yaml index 5a7ee6a..87cbb50 100644 --- a/.gitea/workflows/publish-attic.yaml +++ b/.gitea/workflows/publish-attic.yaml @@ -69,6 +69,7 @@ jobs: NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \ ".#packages.${system}.atuinLatest" \ + ".#packages.${system}.cliampLatest" \ ".#packages.${system}.musicpresence" \ ".#packages.${system}.vintage-story" \ ".#packages.${system}.swaytreesave" \