about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libmp3splt/default.nix
blob: 0e813375b9a251e517fbd695625bb8d3151b5f1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, stdenv, fetchurl, libtool, libmad, libid3tag }:

stdenv.mkDerivation rec {
  pname = "libmp3splt";
  version = "0.9.2";

  src = fetchurl {
    url = "mirror://sourceforge/mp3splt/${pname}-${version}.tar.gz";
    sha256 = "1p1mn2hsmj5cp40fnc8g1yfvk72p8pjxi866gjdkgjsqrr7xdvih";
  };

  outputs = [ "out" "dev" ];
  nativeBuildInputs = [ libtool ];
  buildInputs = [ libmad libid3tag ];

  configureFlags = [ "--disable-pcre" ];

  meta = with lib; {
    homepage    = "https://sourceforge.net/projects/mp3splt/";
    description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
    maintainers = with maintainers; [ bosu ];
    platforms   = platforms.unix;
    license = licenses.gpl2;
  };
}