mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
9bb3fccb5b
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.
53 lines
1.6 KiB
Nix
53 lines
1.6 KiB
Nix
{ lib, stdenv, fetchurl, makeWrapper, gtk2, libcddb, intltool, pkg-config, cdparanoia
|
|
, mp3Support ? false, lame
|
|
, oggSupport ? true, vorbis-tools
|
|
, flacSupport ? true, flac
|
|
, opusSupport ? false, opusTools
|
|
, wavpackSupport ? false, wavpack
|
|
#, musepackSupport ? false, TODO: mpcenc
|
|
, monkeysAudioSupport ? false, monkeysAudio
|
|
#, aacSupport ? false, TODO: neroAacEnc
|
|
}:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.9.7";
|
|
pname = "asunder";
|
|
src = fetchurl {
|
|
url = "http://littlesvr.ca/asunder/releases/${pname}-${version}.tar.bz2";
|
|
sha256 = "1x3l308ss0iqhz90qyjb94gyd8b4piyrm2nzjmg5kf049k9prjf1";
|
|
};
|
|
|
|
nativeBuildInputs = [ intltool makeWrapper pkg-config ];
|
|
buildInputs = [ gtk2 libcddb ];
|
|
|
|
runtimeDeps =
|
|
optional mp3Support lame ++
|
|
optional oggSupport vorbis-tools ++
|
|
optional flacSupport flac ++
|
|
optional opusSupport opusTools ++
|
|
optional wavpackSupport wavpack ++
|
|
optional monkeysAudioSupport monkeysAudio ++
|
|
[ cdparanoia ];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$out/bin/asunder" \
|
|
--prefix PATH : "${makeBinPath runtimeDeps}"
|
|
'';
|
|
|
|
meta = {
|
|
description = "A graphical Audio CD ripper and encoder for Linux";
|
|
homepage = "http://littlesvr.ca/asunder/index.php";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ mudri ];
|
|
platforms = platforms.linux;
|
|
|
|
longDescription = ''
|
|
Asunder is a graphical Audio CD ripper and encoder for Linux. You can use
|
|
it to save tracks from an Audio CD as any of WAV, MP3, OGG, FLAC, Opus,
|
|
WavPack, Musepack, AAC, and Monkey's Audio files.
|
|
'';
|
|
};
|
|
}
|