2019-10-03 18:41:06 +02:00
|
|
|
{ stdenv, fetchurl, unzip, mpg123 }:
|
2014-12-20 16:21:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-10-03 18:41:06 +02:00
|
|
|
name = "mp3gain-1.6.2";
|
2014-12-20 16:21:42 +01:00
|
|
|
src = fetchurl {
|
2019-10-03 18:41:06 +02:00
|
|
|
url = "mirror://sourceforge/mp3gain/mp3gain-1_6_2-src.zip";
|
|
|
|
sha256 = "0varr6y7k8zarr56b42r0ad9g3brhn5vv3xjg1c0v19jxwr4gh2w";
|
2014-12-20 16:21:42 +01:00
|
|
|
};
|
|
|
|
|
2019-10-03 18:41:06 +02:00
|
|
|
buildInputs = [ unzip mpg123 ];
|
2014-12-20 16:21:42 +01:00
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
buildFlags = [ "OSTYPE=linux" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2014-12-30 22:30:05 +01:00
|
|
|
install -vD mp3gain "$out/bin/mp3gain"
|
2014-12-20 16:21:42 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lossless mp3 normalizer with statistical analysis";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://mp3gain.sourceforge.net/";
|
2014-12-20 16:21:42 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
|
|
|
};
|
|
|
|
}
|