Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 re, 6 xmlplaylist, 7}: 8 9buildDunePackage rec { 10 pname = "lastfm"; 11 version = "0.3.4"; 12 13 minimalOCamlVersion = "4.08"; 14 15 src = fetchFromGitHub { 16 owner = "savonet"; 17 repo = "ocaml-lastfm"; 18 rev = "v${version}"; 19 sha256 = "sha256-1te9B2+sUmkT/i2K5ueswWAWpvJf9rXob0zR4CMOJlg="; 20 }; 21 22 propagatedBuildInputs = [ 23 re 24 xmlplaylist 25 ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/savonet/ocaml-lastfm"; 29 description = "OCaml API to lastfm radio and audioscrobbler"; 30 license = licenses.lgpl21Only; 31 maintainers = with maintainers; [ dandellion ]; 32 }; 33}