summary refs log tree commit diff
path: root/pkgs/applications/audio/ltc-tools/default.nix
blob: c8c87959727c1f7ecc88cb29130fd5e6b34bd92e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{lib, stdenv, fetchFromGitHub, pkg-config, libltc, libsndfile, jack2}:

stdenv.mkDerivation rec {
  pname = "ltc-tools";
  version = "0.7.0";

  src = fetchFromGitHub {
    owner = "x42";
    repo = "ltc-tools";
    rev = "v${version}";
    sha256 = "0vp25b970r1hv5ndzs4di63rgwnl31jfaj3jz5dka276kx34q4al";
  };

  buildInputs = [ pkg-config libltc libsndfile jack2 ];

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    homepage = "https://github.com/x42/ltc-tools";
    description = "Tools to deal with linear-timecode (LTC)";
    license = licenses.gpl2;
    platforms = platforms.unix;
    maintainers = with maintainers; [ tg-x ];
  };
}