Files
nixpkgs/pkgs/by-name/so/sointu/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 lines
1.2 KiB
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
pkg-config,
nix-update-script,
alsa-lib,
libGL,
libxkbcommon,
vulkan-headers,
wayland,
xorg,
}:
buildGoModule {
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 {
extraArgs = [ "--version=branch" ];
};
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 ];
};
}