nixpkgs-suyu/pkgs/development/libraries/audio/ntk/default.nix

36 lines
863 B
Nix
Raw Normal View History

2017-10-05 11:28:35 +02:00
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2 }:
2015-05-06 13:14:14 +02:00
stdenv.mkDerivation rec {
name = "ntk-${version}";
2017-10-05 11:28:35 +02:00
version = "1.3.1000";
src = fetchFromGitHub {
owner = "original-male";
repo = "ntk";
rev = "v${version}";
sha256 = "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0";
2015-05-06 13:14:14 +02:00
};
nativeBuildInputs = [ pkgconfig ];
2015-05-06 13:14:14 +02:00
buildInputs = [
cairo libjpeg libXft python2
2015-05-06 13:14:14 +02:00
];
buildPhase = ''
python waf configure --prefix=$out
python waf
'';
installPhase = ''
python waf install
'';
meta = {
2015-06-29 16:20:58 +02:00
description = "Fork of FLTK 1.3.0 with additional functionality";
2015-05-06 13:14:14 +02:00
version = "${version}";
2015-06-29 16:20:58 +02:00
homepage = http://non.tuxfamily.org/;
2015-05-06 13:14:14 +02:00
license = stdenv.lib.licenses.lgpl21;
2017-10-05 11:28:35 +02:00
maintainers = with stdenv.lib.maintainers; [ magnetophon nico202 ];
2015-05-06 13:14:14 +02:00
platforms = stdenv.lib.platforms.linux;
};
}