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

31 lines
970 B
Nix
Raw Normal View History

2016-03-07 11:01:29 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2
, libsndfile, ladspaH, liblrdf, liblo, libsigcxx
2015-10-10 22:59:15 +02:00
}:
stdenv.mkDerivation rec {
name = "non-${version}";
2018-02-15 10:47:32 +01:00
version = "2018-02-15";
2015-10-10 22:59:15 +02:00
src = fetchFromGitHub {
owner = "original-male";
repo = "non";
2018-02-15 10:47:32 +01:00
rev = "5ae43bb27c42387052a73e5ffc5d33efb9d946a9";
sha256 = "1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx";
2015-10-10 22:59:15 +02:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python2 cairo libjpeg ntk libjack2 libsndfile
2015-10-10 22:59:15 +02:00
ladspaH liblrdf liblo libsigcxx
2016-03-07 11:01:29 +01:00
];
configurePhase = "python waf configure --prefix=$out";
buildPhase = "python waf build";
installPhase = "python waf install";
2015-10-10 22:59:15 +02:00
meta = {
description = "Lightweight and lightning fast modular Digital Audio Workstation";
homepage = http://non.tuxfamily.org;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.nico202 ];
};
}