3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/mp3splt/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

27 lines
741 B
Nix

{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
buildInputs = [ libmp3splt ];
outputs = [ "out" "man" ];
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;
};
}