Files
nixpkgs/pkgs/by-name/xo/xoscope/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

46 lines
774 B
Nix

{
lib,
stdenv,
fetchurl,
gtk3,
gtkdatabox,
fftw,
gnum4,
comedilib,
alsa-lib,
pkg-config,
}:
stdenv.mkDerivation rec {
pname = "xoscope";
version = "2.3";
src = fetchurl {
url = "mirror://sourceforge/xoscope/${pname}-${version}.tar.gz";
sha256 = "0a5ycfc1qdmibvagc82r2mhv2i99m6pndy5i6ixas3j2297g6pgq";
};
patches = [ ./fix-gcc14.patch ];
nativeBuildInputs = [
pkg-config
gnum4
];
buildInputs = [
gtk3
gtkdatabox
fftw
comedilib
alsa-lib
];
meta = {
description = "Oscilloscope through the sound card";
mainProgram = "xoscope";
homepage = "https://xoscope.sourceforge.net";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = with lib.platforms; linux;
};
}