mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ocamlPackages.lastfm: init at 0.3.3
This commit is contained in:
parent
6a14836a53
commit
0a44fe4dae
32
pkgs/development/ocaml-modules/lastfm/default.nix
Normal file
32
pkgs/development/ocaml-modules/lastfm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user