Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 32 lines 682 B view raw
1{ lib 2, buildDunePackage 3, fetchFromGitHub 4, pkg-config 5, dune-configurator 6, xmlplaylist 7, ocaml_pcre 8, ocamlnet 9}: 10 11buildDunePackage rec { 12 pname = "lastfm"; 13 version = "0.3.3"; 14 15 useDune2 = true; 16 17 src = fetchFromGitHub { 18 owner = "savonet"; 19 repo = "ocaml-lastfm"; 20 rev = "v${version}"; 21 sha256 = "1sz400ny9h7fs20k7600q475q164x49ba30ls3q9y35rhm3g2y2b"; 22 }; 23 24 propagatedBuildInputs = [ xmlplaylist ocaml_pcre ocamlnet ]; 25 26 meta = with lib; { 27 homepage = "https://github.com/savonet/ocaml-lastfm"; 28 description = "OCaml API to lastfm radio and audioscrobbler"; 29 license = licenses.lgpl21Only; 30 maintainers = with maintainers; [ dandellion ]; 31 }; 32}