nixpkgs/pkgs/applications/audio/non/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, python3, cairo, libjpeg, ntk, libjack2
2023-09-03 00:24:44 +00:00
, libsndfile, ladspaH, liblo, libsigcxx, lrdf, wafHook
2015-10-10 20:59:15 +00:00
}:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "non";
version = "unstable-2021-01-28";
2015-10-10 20:59:15 +00:00
src = fetchFromGitHub {
owner = "linuxaudio";
2015-10-10 20:59:15 +00:00
repo = "non";
rev = "cdad26211b301d2fad55a26812169ab905b85bbb";
sha256 = "sha256-iMJNMDytNXpEkUhL0RILSd25ixkm8HL/edtOZta0Pf4=";
2015-10-10 20:59:15 +00:00
};
2023-09-03 00:24:44 +00:00
nativeBuildInputs = [ pkg-config wafHook ];
buildInputs = [ python3 cairo libjpeg ntk libjack2 libsndfile
ladspaH liblo libsigcxx lrdf
2016-03-07 10:01:29 +00:00
];
2015-10-10 20:59:15 +00:00
2024-07-15 19:55:10 +00:00
# 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
'';
2023-12-10 22:48:57 +00:00
env.CXXFLAGS = "-std=c++14";
2015-10-10 20:59:15 +00:00
meta = {
description = "Lightweight and lightning fast modular Digital Audio Workstation";
homepage = "http://non.tuxfamily.org";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl21;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nico202 ];
2015-10-10 20:59:15 +00:00
};
}