uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
47
pkgs/applications/kde/k3b.nix
Normal file
47
pkgs/applications/kde/k3b.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ mkDerivation, lib
|
||||
, extra-cmake-modules, kdoctools, makeWrapper, shared-mime-info
|
||||
, libkcddb, karchive, kcmutils, kfilemetadata, knewstuff, knotifyconfig, solid, kxmlgui
|
||||
, flac, lame, libmad, libmpcdec, libvorbis
|
||||
, libsamplerate, libsndfile, taglib
|
||||
, cdparanoia, cdrdao, cdrtools, dvdplusrwtools, libburn, libdvdcss, libdvdread, vcdimager
|
||||
, ffmpeg, libmusicbrainz3, normalize, sox, transcode, kinit
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "k3b";
|
||||
meta = with lib; {
|
||||
homepage = "https://apps.kde.org/k3b/";
|
||||
description = "Disk burning application";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
maintainers = with maintainers; [ sander ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||
buildInputs = [
|
||||
# kde
|
||||
libkcddb karchive kcmutils kfilemetadata knewstuff knotifyconfig solid kxmlgui
|
||||
# formats
|
||||
flac lame libmad libmpcdec libvorbis
|
||||
# sound utilities
|
||||
libsamplerate libsndfile taglib
|
||||
# cd/dvd
|
||||
cdparanoia libdvdcss libdvdread
|
||||
# others
|
||||
ffmpeg libmusicbrainz3 shared-mime-info
|
||||
];
|
||||
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
||||
postFixup =
|
||||
let
|
||||
binPath = lib.makeBinPath [
|
||||
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
|
||||
vcdimager flac
|
||||
];
|
||||
libraryPath = lib.makeLibraryPath [
|
||||
cdparanoia
|
||||
];
|
||||
in ''
|
||||
wrapProgram "$out/bin/k3b" \
|
||||
--prefix PATH : "${binPath}" \
|
||||
--prefix LD_LIBRARY_PATH : ${libraryPath}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue