2021-12-19 01:06:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, python3, cairo, libjpeg, ntk, libjack2
|
2020-04-24 23:36:52 +00:00
|
|
|
, libsndfile, ladspaH, liblo, libsigcxx, lrdf, wafHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "non";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "unstable-2021-01-28";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-12-19 01:06:50 +00:00
|
|
|
owner = "linuxaudio";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "non";
|
2021-12-19 01:06:50 +00:00
|
|
|
rev = "cdad26211b301d2fad55a26812169ab905b85bbb";
|
|
|
|
sha256 = "sha256-iMJNMDytNXpEkUhL0RILSd25ixkm8HL/edtOZta0Pf4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wafHook ];
|
2021-12-19 01:06:50 +00:00
|
|
|
buildInputs = [ python3 cairo libjpeg ntk libjack2 libsndfile
|
|
|
|
ladspaH liblo libsigcxx lrdf
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2024-07-27 06:49:29 +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
|
|
|
|
'';
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
env.CXXFLAGS = "-std=c++14";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Lightweight and lightning fast modular Digital Audio Workstation";
|
|
|
|
homepage = "http://non.tuxfamily.org";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.nico202 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|