nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 unittestCheckHook,
7 zope-interface,
8}:
9
10buildPythonPackage rec {
11 pname = "zope-i18nmessageid";
12 version = "8.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "zopefoundation";
17 repo = "zope.i18nmessageid";
18 tag = version;
19 hash = "sha256-JDCbk7zh+9Ic5T3Pt1apQDN1Q59cLUdk5KCAIu5mlC4=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 zope-interface
26 ];
27
28 nativeCheckInputs = [
29 unittestCheckHook
30 ];
31
32 unittestFlagsArray = [ "src/zope/i18nmessageid" ];
33
34 pythonImportsCheck = [ "zope.i18nmessageid" ];
35
36 pythonNamespaces = [ "zope" ];
37
38 meta = {
39 homepage = "https://github.com/zopefoundation/zope.i18nmessageid";
40 description = "Message Identifiers for internationalization";
41 changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${src.tag}/CHANGES.rst";
42 license = lib.licenses.zpl21;
43 maintainers = [ ];
44 };
45}