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