about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/zope-i18nmessageid/default.nix
blob: fa8f4c1a30ee665ebabebb390f17979e950bf795 (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
30
31
32
33
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchPypi
, zope_testrunner
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "zope-i18nmessageid";
  version = "6.0.1";
  format = "setuptools";

  src = fetchPypi {
    pname = "zope.i18nmessageid";
    inherit version;
    hash = "sha256-LVvOb7MfHOoO+iZEZJvIZ9KXIwPx272f/vzlsuueAXY=";
  };

  nativeCheckInputs = [
    unittestCheckHook
    zope_testrunner
  ];

  unittestFlagsArray = [
    "src/zope/i18nmessageid"
  ];

  pythonImportsCheck = [
    "zope.i18nmessageid"
  ];

  meta = with lib; {
    homepage = "https://github.com/zopefoundation/zope.i18nmessageid";
    description = "Message Identifiers for internationalization";
    changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${version}/CHANGES.rst";
    license = licenses.zpl20;
    maintainers = with maintainers; [ goibhniu ];
  };
}