Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 68 lines 1.0 kB view raw
1{ 2 lib, 3 mkKdeDerivation, 4 pkg-config, 5 qtwebengine, 6 shared-mime-info, 7 libdvdread, 8 flac, 9 libmad, 10 libsndfile, 11 lame, 12 libvorbis, 13 libsamplerate, 14 cdrdao, 15 cdrtools, 16 cdparanoia, 17 dvdplusrwtools, 18 libburn, 19 libdvdcss, 20 normalize, 21 sox, 22 vcdimager, 23}: 24mkKdeDerivation { 25 pname = "k3b"; 26 27 extraNativeBuildInputs = [ 28 pkg-config 29 shared-mime-info 30 ]; 31 32 # FIXME: Musicbrainz 2.x???, musepack 33 extraBuildInputs = [ 34 qtwebengine 35 libdvdread 36 flac 37 libmad 38 libsndfile 39 lame 40 libvorbis 41 libsamplerate 42 ]; 43 44 qtWrapperArgs = [ 45 "--prefix PATH : ${ 46 lib.makeBinPath [ 47 cdrdao 48 cdrtools 49 dvdplusrwtools 50 libburn 51 normalize 52 sox 53 vcdimager 54 flac 55 ] 56 }" 57 58 # FIXME: this should really be done with patchelf --add-rpath, but it breaks the binary somehow 59 "--prefix LD_LIBRARY_PATH : ${ 60 lib.makeLibraryPath [ 61 cdparanoia 62 libdvdcss 63 ] 64 }" 65 ]; 66 67 meta.mainProgram = "k3b"; 68}