3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/audio/ntk/default.nix

36 lines
863 B
Nix
Raw Normal View History

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