2022-12-03 01:59:06 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libtool
|
|
|
|
}:
|
2015-06-09 10:07:11 +01:00
|
|
|
|
2023-12-20 14:19:29 +00:00
|
|
|
stdenv.mkDerivation {
|
2021-06-20 11:34:30 +01:00
|
|
|
pname = "aacgain";
|
2023-12-20 14:19:29 +00:00
|
|
|
version = "2.0.0-unstable-2022-07-12";
|
2016-02-08 15:43:12 +00:00
|
|
|
|
2022-12-03 01:59:06 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgilman";
|
2023-12-20 14:19:29 +00:00
|
|
|
repo = "aacgain";
|
|
|
|
rev = "9f9ae95a20197d1072994dbd89672bba2904bdb5";
|
|
|
|
hash = "sha256-WqL9rKY4lQD7wQSZizoM3sHNzLIG0E9xZtjw8y7fgmE=";
|
2023-12-20 14:17:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|