Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 36 lines 1.1 kB view raw
1{ lib, stdenv, fetchurl, pkg-config 2, libvorbis, libtheora, speex }: 3 4# need pkg-config so that libshout installs ${out}/lib/pkgconfig/shout.pc 5 6stdenv.mkDerivation rec { 7 pname = "libshout"; 8 version = "2.4.6"; 9 10 src = fetchurl { 11 url = "https://downloads.xiph.org/releases/libshout/${pname}-${version}.tar.gz"; 12 sha256 = "sha256-OcvU8O/f3cl1XYghfkf48tcQj6dn+dWKK6JqFtj3yRA="; 13 }; 14 15 outputs = [ "out" "dev" "doc" ]; 16 17 depsBuildBuild = [ pkg-config ]; 18 nativeBuildInputs = [ pkg-config ]; 19 propagatedBuildInputs = [ libvorbis libtheora speex ]; 20 21 meta = { 22 description = "icecast 'c' language bindings"; 23 24 longDescription = '' 25 Libshout is a library for communicating with and sending data to an icecast 26 server. It handles the socket connection, the timing of the data, and prevents 27 bad data from getting to the icecast server. 28 ''; 29 30 homepage = "https://www.icecast.org"; 31 license = lib.licenses.gpl2; 32 maintainers = with lib.maintainers; [ jcumming ]; 33 mainProgram = "shout"; 34 platforms = with lib.platforms; unix; 35 }; 36}