2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, libsndfile }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
pname = "twolame";
|
|
|
|
version = "2017-09-27";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "njh";
|
|
|
|
repo = "twolame";
|
|
|
|
rev = "977c8ac55d8ca6d5f35d1d413a119dac2b3b0333";
|
|
|
|
sha256 = "1rq3yc8ygzdqid9zk6pixmm4w9sk2vrlx217lhn5bjaglv7iyf7x";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libsndfile ];
|
|
|
|
|
|
|
|
doCheck = false; # fails with "../build-scripts/test-driver: line 107: -Mstrict: command not found"
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib;{
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "MP2 encoder";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "twolame";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
|
|
|
|
tooLAME by Mike Cheng, which in turn is based upon the ISO dist10
|
|
|
|
code and portions of LAME.
|
|
|
|
'';
|
2020-10-07 09:15:18 +00:00
|
|
|
homepage = "https://www.twolame.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with licenses; [ lgpl2Plus ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|