depot/third_party/nixpkgs/pkgs/development/python-modules/unidata-blocks/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

45 lines
884 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
nix-update-script,
hatch-vcs,
hatchling,
langcodes,
}:
buildPythonPackage rec {
pname = "unidata-blocks";
version = "0.0.10";
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "unidata_blocks";
inherit version;
hash = "sha256-wwiOjfIAx6AZtK98uuPQ0jwblq+CdnMQp+JkQWh+RgM=";
};
format = "pyproject";
nativeBuildInputs = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [ langcodes ];
nativeCheckInputs = [ pytestCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/TakWolf/unidata-blocks";
description = "Library that helps query unicode blocks by Blocks.txt";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ h7x4 ];
};
}