Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 34 lines 649 B view raw
1{ lib, fetchFromGitHub, buildDunePackage 2, re, uunf, uuseg 3, alcotest 4}: 5 6buildDunePackage rec { 7 pname = "slug"; 8 version = "1.0.1"; 9 10 duneVersion = "3"; 11 12 src = fetchFromGitHub { 13 owner = "thangngoc89"; 14 repo = "ocaml-slug"; 15 rev = version; 16 sha256 = "sha256-pIk/0asSyibXbwmBSBuLwl2SS9aw6dNDDvwO+1VJGf8="; 17 }; 18 19 propagatedBuildInputs = [ 20 re 21 uunf 22 uuseg 23 ]; 24 25 doCheck = true; 26 checkInputs = [ alcotest ]; 27 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 }; 34}