summary refs log tree commit diff
path: root/pkgs/development/libraries/utf8proc/default.nix
blob: 63de08b46dd72007197b16eb06f843a9c091e95d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "utf8proc-${version}";
  version = "v1.2";

  src = fetchFromGitHub {
    owner = "JuliaLang";
    repo = "utf8proc";
    rev = "${version}";
    sha256 = "1ryjlcnpfm7fpkq6444ybi576hbnh2l0w7kjhbqady5lxwjyg3pf";
  };

  installPhase = ''
    make install prefix=$out
  '';

  meta = with stdenv.lib; {
    description = "A clean C library for processing UTF-8 Unicode data";
    homepage = http://julialang.org/utf8proc;
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = [ maintainers.ftrvxmtrx ];
  };
}