1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/development/libraries/audio/ntk/default.nix
Jörg Thalheim 2a4affd5e0 Merge pull request #30120 from nico202/master
ntk: 2017-04-22 -> 1.3.1000
2017-10-07 13:20:19 +01:00

36 lines
863 B
Nix

{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2 }:
stdenv.mkDerivation rec {
name = "ntk-${version}";
version = "1.3.1000";
src = fetchFromGitHub {
owner = "original-male";
repo = "ntk";
rev = "v${version}";
sha256 = "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
cairo libjpeg libXft 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 = with stdenv.lib.maintainers; [ magnetophon nico202 ];
platforms = stdenv.lib.platforms.linux;
};
}