2021-01-19 07:50:56 +01:00
|
|
|
{lib, stdenv, fetchFromGitHub, pkg-config, libltc, libsndfile, jack2}:
|
2018-11-12 06:51:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ltc-tools";
|
2019-04-07 15:59:15 +02:00
|
|
|
version = "0.7.0";
|
2018-11-12 06:51:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "x42";
|
|
|
|
repo = "ltc-tools";
|
|
|
|
rev = "v${version}";
|
2019-04-07 15:59:15 +02:00
|
|
|
sha256 = "0vp25b970r1hv5ndzs4di63rgwnl31jfaj3jz5dka276kx34q4al";
|
2018-11-12 06:51:28 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
buildInputs = [ pkg-config libltc libsndfile jack2 ];
|
2018-11-12 06:51:28 +01:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-11-12 06:51:28 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|