mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
Merge pull request #226669 from Niols/slug
ocamlPackages.slug: init at 1.0.1
This commit is contained in:
commit
f6528b3933
2 changed files with 36 additions and 0 deletions
34
pkgs/development/ocaml-modules/slug/default.nix
Normal file
34
pkgs/development/ocaml-modules/slug/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, re, uunf, uuseg
|
||||
, alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "slug";
|
||||
version = "1.0.1";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thangngoc89";
|
||||
repo = "ocaml-slug";
|
||||
rev = version;
|
||||
sha256 = "sha256-pIk/0asSyibXbwmBSBuLwl2SS9aw6dNDDvwO+1VJGf8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
re
|
||||
uunf
|
||||
uuseg
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
description = "Url safe slug generator for OCaml";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.niols ];
|
||||
homepage = "https://github.com/thangngoc89/ocaml-slug";
|
||||
};
|
||||
}
|
|
@ -1502,6 +1502,8 @@ let
|
|||
|
||||
simple-diff = callPackage ../development/ocaml-modules/simple-diff { };
|
||||
|
||||
slug = callPackage ../development/ocaml-modules/slug { };
|
||||
|
||||
sodium = callPackage ../development/ocaml-modules/sodium { };
|
||||
|
||||
sosa = callPackage ../development/ocaml-modules/sosa { };
|
||||
|
|
Loading…
Reference in a new issue