Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, zope_testrunner 5, unittestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "zope-i18nmessageid"; 10 version = "6.0.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "zope.i18nmessageid"; 15 inherit version; 16 hash = "sha256-LVvOb7MfHOoO+iZEZJvIZ9KXIwPx272f/vzlsuueAXY="; 17 }; 18 19 nativeCheckInputs = [ 20 unittestCheckHook 21 zope_testrunner 22 ]; 23 24 unittestFlagsArray = [ 25 "src/zope/i18nmessageid" 26 ]; 27 28 pythonImportsCheck = [ 29 "zope.i18nmessageid" 30 ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/zopefoundation/zope.i18nmessageid"; 34 description = "Message Identifiers for internationalization"; 35 changelog = "https://github.com/zopefoundation/zope.i18nmessageid/blob/${version}/CHANGES.rst"; 36 license = licenses.zpl20; 37 maintainers = with maintainers; [ goibhniu ]; 38 }; 39}