2021-12-08 23:10:49 +00:00
|
|
|
{ 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 {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "non";
|
2021-12-08 23:10:49 +00:00
|
|
|
version = "unstable-2021-01-28";
|
2015-10-10 20:59:15 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-12-08 23:10:49 +00:00
|
|
|
owner = "linuxaudio";
|
2015-10-10 20:59:15 +00:00
|
|
|
repo = "non";
|
2021-12-08 23:10:49 +00:00
|
|
|
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 ];
|
2021-12-08 23:10:49 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|