nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 cmake,
7 libebur128,
8 taglib,
9 ffmpeg,
10 inih,
11 fmt,
12 zlib,
13}:
14
15stdenv.mkDerivation rec {
16 pname = "rsgain";
17 version = "3.6";
18
19 src = fetchFromGitHub {
20 owner = "complexlogic";
21 repo = "rsgain";
22 rev = "v${version}";
23 hash = "sha256-dqvaPLVpNnbN2W0TOphS7QU6MDh5pxFJoUDGvkat164=";
24 };
25
26 nativeBuildInputs = [
27 pkg-config
28 cmake
29 ];
30 buildInputs = [
31 libebur128
32 taglib
33 ffmpeg
34 inih
35 fmt
36 zlib
37 ];
38
39 meta = {
40 description = "Simple, but powerful ReplayGain 2.0 tagging utility";
41 mainProgram = "rsgain";
42 homepage = "https://github.com/complexlogic/rsgain";
43 changelog = "https://github.com/complexlogic/rsgain/blob/v${version}/CHANGELOG";
44 license = lib.licenses.bsd2;
45 platforms = lib.platforms.all;
46 maintainers = [ lib.maintainers.felipeqq2 ];
47 };
48}