nixpkgs/pkgs/development/libraries/audio/ntk/default.nix
2015-05-06 13:14:14 +02:00

33 lines
865 B
Nix

{ stdenv, fetchgit, cairo, libjpeg, libXft, pkgconfig, python2 }:
stdenv.mkDerivation rec {
name = "ntk-${version}";
version = "2014-10-18";
src = fetchgit {
url = "git://git.tuxfamily.org/gitroot/non/fltk.git";
rev = "5719b0044d9f267de5391fab006370cc7f4e70bd";
sha256 = "7ecedb049e00cc9a1bb0e0e2f02e5a734c873653b68551e6573474c04abe1821";
};
buildInputs = [
cairo libjpeg libXft pkgconfig python2
];
buildPhase = ''
python waf configure --prefix=$out
python waf
'';
installPhase = ''
python waf install
'';
meta = {
description = "Fork of FLTK 1.3.0 with additional functionality.";
version = "${version}";
homepage = "http://non.tuxfamily.org/";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}