biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / slug / default.nix
blob2ae81209b54963664cd08fafbc9b033941c1557c
1 { lib, fetchFromGitHub, buildDunePackage
2 , re, uunf, uuseg
3 , alcotest
4 }:
6 buildDunePackage rec {
7   pname = "slug";
8   version = "1.0.1";
10   duneVersion = "3";
12   src = fetchFromGitHub {
13     owner = "thangngoc89";
14     repo = "ocaml-slug";
15     rev = version;
16     sha256 = "sha256-pIk/0asSyibXbwmBSBuLwl2SS9aw6dNDDvwO+1VJGf8=";
17   };
19   propagatedBuildInputs = [
20     re
21     uunf
22     uuseg
23   ];
25   doCheck = true;
26   checkInputs = [ alcotest ];
28   meta = {
29     description = "Url safe slug generator for OCaml";
30     license = lib.licenses.mit;
31     maintainers = [ lib.maintainers.niols ];
32     homepage = "https://github.com/thangngoc89/ocaml-slug";
33   };