Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, glib, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "libmms"; 5 version = "0.6.4"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libmms/libmms-${version}.tar.gz"; 9 sha256 = "0kvhxr5hkabj9v7ah2rzkbirndfqdijd9hp8v52c1z6bxddf019w"; 10 }; 11 12 buildInputs = [ glib ]; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 meta = with lib; { 17 description = "Library for downloading (streaming) media files using the mmst and mmsh protocols"; 18 homepage = "http://libmms.sourceforge.net"; 19 platforms = platforms.all; 20 license = licenses.lgpl21; 21 }; 22}