Unverified Commit 4f8768ad authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

sointu: init at 0.4.1-unstable-2025-08-13 (#433507)

parents d37335ed b976804e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15631,6 +15631,12 @@
    githubId = 1729331;
    name = "Dominique Martinet";
  };
  martinimoe = {
    email = "moe@martini.moe";
    github = "martinimoe";
    githubId = 7438779;
    name = "Martini Moe";
  };
  martinjlowm = {
    email = "martin@martinjlowm.dk";
    github = "martinjlowm";
+59 −0
Original line number Diff line number Diff line
{
  buildGo123Module,
  fetchFromGitHub,
  lib,
  pkg-config,
  nix-update-script,
  alsa-lib,
  libGL,
  libxkbcommon,
  vulkan-headers,
  wayland,
  xorg,
}:

buildGo123Module {
  pname = "sointu";
  version = "0.4.1-unstable-2025-08-13";

  src = fetchFromGitHub {
    owner = "vsariola";
    repo = "sointu";
    rev = "74fea4138fd788eddeb726440c872937de56fd1c";
    hash = "sha256-kHK35Bt/+ucPCsFE3p72J3jSHzhOK9QKtJPG+3grBvs=";
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    alsa-lib
    libGL
    libxkbcommon
    vulkan-headers
    wayland
    xorg.libX11
    xorg.libXcursor
    xorg.libXfixes
  ];

  proxyVendor = true;
  vendorHash = "sha256-gLDLKqu6k7/nwv6xHUE6MIYrbQFfVFAuUiMbLptcE5k=";

  subPackages = [
    "cmd/sointu-track"
    "cmd/sointu-compile"
    "cmd/sointu-play"
  ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Fork of 4klang that can target 386, amd64 and WebAssembly";
    mainProgram = "sointu-track";
    homepage = "https://github.com/vsariola/sointu";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ martinimoe ];
  };
}