nixpkgs/pkgs/development/libraries/audio/ntk/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
741 B
Nix

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