about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/mp3splt/default.nix
blob: f067c5af6df3f4638b76d0b7ac03bcedd14c9fa4 (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
26
{ stdenv, fetchurl, pkgconfig, libmp3splt }:

stdenv.mkDerivation rec {
  pname = "mp3splt";
  version = "2.6.2";


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

  configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libmp3splt ];

  outputs = [ "out" "man" ];

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