2022-12-03 01:59:06 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
}:
|
2015-06-09 10:07:11 +01:00
|
|
|
|
2021-06-20 11:34:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aacgain";
|
2022-12-03 01:59:06 +00:00
|
|
|
version = "2.0.0";
|
2016-02-08 15:43:12 +00:00
|
|
|
|
2022-12-03 01:59:06 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgilman";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-12-20 14:17:52 +00:00
|
|
|
hash = "sha256-842+ueBSrTRs/e14d2LUd+uFi2qgJOYv+dswpC0lgIo=";
|
|
|
|
fetchSubmodules = true;
|
2015-06-10 17:12:46 +01:00
|
|
|
};
|
2015-06-09 10:07:11 +01:00
|
|
|
|
2022-12-03 01:59:06 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
];
|
2015-06-09 10:07:11 +01:00
|
|
|
|
2023-02-19 19:23:32 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
|
2015-06-09 10:07:11 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-06-09 10:07:11 +01:00
|
|
|
description = "ReplayGain for AAC files";
|
2022-12-03 01:59:06 +00:00
|
|
|
homepage = "https://github.com/dgilman/aacgain";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2018-02-27 17:36:18 +00:00
|
|
|
maintainers = [ maintainers.robbinch ];
|
2015-06-09 10:07:11 +01:00
|
|
|
};
|
|
|
|
}
|