aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/unicodedata2/default.nix
blob: 09b75e0c777691cccdf3251708b6ecdbc3458a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:

buildPythonPackage rec {
  pname = "unicodedata2";
  version = "13.0.0-2";

  src = fetchFromGitHub {
    owner  = "mikekap";
    repo   = pname;
    rev    = version;
    sha256 = "0p9brbiwyg98q52y0gfyps52xv57fwqfpq0mn18p1xc1imip3h2b";
  };

  checkInputs = [ pytest ];
  checkPhase = "pytest tests";

  meta = with lib; {
    description = "Backport and updates for the unicodedata module";
    homepage = "http://github.com/mikekap/unicodedata2";
    license = licenses.asl20;
    maintainers = [ maintainers.sternenseemann ];
  };
}