Files
nixpkgs/pkgs/applications/audio/non/default.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

63 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
python3,
cairo,
libjpeg,
ntk,
libjack2,
libsndfile,
ladspaH,
liblo,
libsigcxx,
lrdf,
wafHook,
}:
stdenv.mkDerivation {
pname = "non";
version = "unstable-2021-01-28";
src = fetchFromGitHub {
owner = "linuxaudio";
repo = "non";
rev = "cdad26211b301d2fad55a26812169ab905b85bbb";
sha256 = "sha256-iMJNMDytNXpEkUhL0RILSd25ixkm8HL/edtOZta0Pf4=";
};
nativeBuildInputs = [
pkg-config
wafHook
];
buildInputs = [
python3
cairo
libjpeg
ntk
libjack2
libsndfile
ladspaH
liblo
libsigcxx
lrdf
];
# NOTE: non provides its own waf script that is incompatible with new
# python versions. If the script is not present, wafHook will install
# a compatible version from nixpkgs.
prePatch = ''
rm waf
'';
env.CXXFLAGS = "-std=c++14";
meta = {
description = "Lightweight and lightning fast modular Digital Audio Workstation";
homepage = "http://non.tuxfamily.org";
license = lib.licenses.lgpl21;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nico202 ];
};
}