nixpkgs/pkgs/by-name/li/libmp3splt/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

26 lines
722 B
Nix

{ 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;
};
}