push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

13
pkgs/by-name/li/linuxwave/deps.nix generated Normal file
View File

@@ -0,0 +1,13 @@
# generated by zon2nix (https://github.com/nix-community/zon2nix)
{ linkFarm, fetchzip }:
linkFarm "zig-packages" [
{
name = "clap-0.10.0-oBajB434AQBDh-Ei3YtoKIRxZacVPF1iSwp3IX_ZB8f0";
path = fetchzip {
url = "https://github.com/Hejsil/zig-clap/archive/refs/tags/0.10.0.tar.gz";
hash = "sha256-leXnA97ITdvmBhD2YESLBZAKjBg+G4R/+PPPRslz/ec=";
};
}
]

View File

@@ -0,0 +1,47 @@
{
lib,
stdenv,
fetchFromGitHub,
installShellFiles,
zig_0_14,
callPackage,
}:
let
zig = zig_0_14;
in
stdenv.mkDerivation (finalAttrs: {
pname = "linuxwave";
version = "0.3.0";
src = fetchFromGitHub {
owner = "orhun";
repo = "linuxwave";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-OuD5U/T3GuCQrzdhx01NXPSXD7pUAvLnNsznttJogz8=";
};
postPatch = ''
ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p
'';
nativeBuildInputs = [
installShellFiles
zig.hook
];
postInstall = ''
installManPage man/linuxwave.1
'';
meta = {
homepage = "https://github.com/orhun/linuxwave";
description = "Generate music from the entropy of Linux";
changelog = "https://github.com/orhun/linuxwave/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ figsoda ];
inherit (zig.meta) platforms;
mainProgram = "linuxwave";
};
})