depot/third_party/nixpkgs/pkgs/development/python-modules/unidata-blocks/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

47 lines
908 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
pytestCheckHook,
nix-update-script,
hatchling,
langcodes,
}:
buildPythonPackage rec {
pname = "unidata-blocks";
version = "0.0.10";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
pname = "unidata_blocks";
inherit version;
hash = "sha256-wwiOjfIAx6AZtK98uuPQ0jwblq+CdnMQp+JkQWh+RgM=";
};
build-system = [ hatchling ];
dependencies = [
langcodes
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "unidata_blocks" ];
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; [
TakWolf
h7x4
];
};
}