about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/opentypespec/default.nix
blob: c4bf0cde2c97268446dade1c4626e9136c1869c5 (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
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "opentypespec";
  version = "1.9.1";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-fOEHmtlCkFhn1jyIA+CsHIfud7x3PPb7UWQsnrVyDqY=";
  };

  doCheck = true;
  nativeCheckInputs = [
    unittestCheckHook
  ];
  unittestFlagsArray = [ "-s" "test" "-v" ];

  meta = with lib; {
    description = "Python library for OpenType specification metadata";
    homepage = "https://github.com/simoncozens/opentypespec-py";
    license = licenses.asl20;
    maintainers = with maintainers; [ danc86 ];
  };
}