From 6024b7abe8efde40121a2e96b94b7eca7c6180b0 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Thu, 28 Sep 2017 22:30:25 -0300 Subject: [PATCH] twolame: init at 2017-09-27 --- .../development/libraries/twolame/default.nix | 32 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/libraries/twolame/default.nix diff --git a/pkgs/development/libraries/twolame/default.nix b/pkgs/development/libraries/twolame/default.nix new file mode 100644 index 000000000000..54ba8470fc5b --- /dev/null +++ b/pkgs/development/libraries/twolame/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub +, autoreconfHook, pkgconfig +, libsndfile }: + +stdenv.mkDerivation rec { + + name = "twolame-${version}"; + version = "2017-09-27"; + + src = fetchFromGitHub { + owner = "njh"; + repo = "twolame"; + rev = "977c8ac55d8ca6d5f35d1d413a119dac2b3b0333"; + sha256 = "1rq3yc8ygzdqid9zk6pixmm4w9sk2vrlx217lhn5bjaglv7iyf7x"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ libsndfile ]; + + meta = with stdenv.lib;{ + description = "A MP2 encoder"; + 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. + ''; + homepage = http://www.twolame.org/; + license = with licenses; [ lgpl2Plus ]; + platforms = with platforms; [ unix ]; + maintainers = with maintainers; [ AndersonTorres ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 03a4a5fa53eb..11b5aff98827 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10720,6 +10720,8 @@ with pkgs; tremor = callPackage ../development/libraries/tremor { }; + twolame = callPackage ../development/libraries/twolame { }; + udns = callPackage ../development/libraries/udns { }; uid_wrapper = callPackage ../development/libraries/uid_wrapper { };