depot/third_party/nixpkgs/pkgs/development/python-modules/pyicumessageformat/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

33 lines
847 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyicumessageformat";
version = "1.0.0";
pyproject = true;
build-system = [ setuptools ];
src = fetchPypi {
inherit pname version;
hash = "sha256-s+l8DtEMKxA/DzpwGqZSlwDqCrZuDzsj3I5K7hgfyEA=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyicumessageformat" ];
meta = with lib; {
description = "Unopinionated Python3 parser for ICU MessageFormat";
homepage = "https://github.com/SirStendec/pyicumessageformat/";
# Based on master, as upstream doesn't tag their releases on GitHub anymore
changelog = "https://github.com/SirStendec/pyicumessageformat/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}