3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.lastfm: init at 0.3.3

This commit is contained in:
Daniel Olsen 2021-10-30 03:46:43 +02:00 committed by Vincent Laporte
parent 6a14836a53
commit 0a44fe4dae
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, pkg-config
, dune-configurator
, xmlplaylist
, ocaml_pcre
, ocamlnet
}:
buildDunePackage rec {
pname = "lastfm";
version = "0.3.3";
useDune2 = true;
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-lastfm";
rev = "v${version}";
sha256 = "1sz400ny9h7fs20k7600q475q164x49ba30ls3q9y35rhm3g2y2b";
};
propagatedBuildInputs = [ xmlplaylist ocaml_pcre ocamlnet ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-lastfm";
description = "OCaml API to lastfm radio and audioscrobbler";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -649,6 +649,8 @@ let
lambda-term = callPackage ../development/ocaml-modules/lambda-term { };
lastfm = callPackage ../development/ocaml-modules/lastfm { };
lens = callPackage ../development/ocaml-modules/lens { };
letsencrypt = callPackage ../development/ocaml-modules/letsencrypt { };