Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libogg, 6 libvorbis, 7 libdvdread, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "ogmtools"; 12 version = "1.5"; 13 14 src = fetchurl { 15 url = "https://www.bunkus.org/videotools/ogmtools/ogmtools-${version}.tar.bz2"; 16 sha256 = "1spx81p5wf59ksl3r3gvf78d77sh7gj8a6lw773iv67bphfivmn8"; 17 }; 18 19 buildInputs = [ 20 libogg 21 libvorbis 22 libdvdread 23 ]; 24 25 env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ]; 26 27 meta = { 28 description = "Tools for modifying and inspecting OGG media streams"; 29 longDescription = '' 30 These tools allow information about (ogminfo) or extraction from 31 (ogmdemux) or creation of (ogmmerge) OGG media streams. Includes dvdxchap 32 tool for extracting chapter information from DVD. 33 ''; 34 homepage = "https://www.bunkus.org/videotools/ogmtools/"; 35 license = lib.licenses.gpl2; 36 platforms = lib.platforms.linux; 37 }; 38}