nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildDunePackage, fetchFromGitLab
2, sedlex, uunf, uutf
3}:
4
5buildDunePackage rec {
6 pname = "iri";
7 version = "0.6.0";
8 duneVersion = "3";
9
10 src = fetchFromGitLab {
11 domain = "framagit.org";
12 owner = "zoggy";
13 repo = "ocaml-iri";
14 rev = version;
15 sha256 = "sha256:0zk8nnwcyljkc1a556byncv6cn1vqhk4267z1lm15flh1k7chyax";
16 };
17
18 propagatedBuildInputs = [ sedlex uunf uutf ];
19
20 meta = {
21 description = "IRI (RFC3987) native OCaml implementation";
22 license = lib.licenses.lgpl3;
23 maintainers = [ lib.maintainers.vbgl ];
24 inherit (src.meta) homepage;
25 };
26}