nixpkgs/pkgs/development/ocaml-modules/lastfm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
682 B
Nix
Raw Normal View History

2021-10-30 01:46:43 +00:00
{ 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 ];
};
}