diff options
author | Daniel Olsen <daniel.olsen99@gmail.com> | 2021-10-30 03:46:43 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-04-18 15:54:38 +0200 |
commit | 0a44fe4daed4a63a959ebaee7b7f902eb48a6320 (patch) | |
tree | c9f6d4f51ea3400dc8665a8a9e9826bebb214801 | |
parent | 6a14836a53cb70a9c5ed26cff9d953fedd11c2ed (diff) | |
download | nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar.gz nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar.bz2 nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar.lz nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar.xz nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.tar.zst nixpkgs-0a44fe4daed4a63a959ebaee7b7f902eb48a6320.zip |
ocamlPackages.lastfm: init at 0.3.3
-rw-r--r-- | pkgs/development/ocaml-modules/lastfm/default.nix | 32 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lastfm/default.nix b/pkgs/development/ocaml-modules/lastfm/default.nix new file mode 100644 index 00000000000..41bdac459b3 --- /dev/null +++ b/pkgs/development/ocaml-modules/lastfm/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 54b58fa2b01..9edc5472305 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -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 { }; |