nixpkgs/pkgs/applications/audio/mp3splt/default.nix

27 lines
741 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, libmp3splt }:
2014-07-07 19:38:14 +01:00
stdenv.mkDerivation rec {
pname = "mp3splt";
version = "2.6.2";
2014-07-07 19:38:14 +01:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
2014-07-07 19:38:14 +01:00
};
configureFlags = [ "--enable-oggsplt-symlink" "--enable-flacsplt-symlink" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libmp3splt ];
outputs = [ "out" "man" ];
2014-07-07 19:38:14 +01:00
meta = with 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;
2014-07-07 19:38:14 +01:00
};
}