python311Packages.unidata-blocks: set python 3.10
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytestCheckHook,
|
||||
nix-update-script,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
langcodes,
|
||||
}:
|
||||
@@ -13,8 +12,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "unidata-blocks";
|
||||
version = "0.0.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "unidata_blocks";
|
||||
@@ -22,17 +22,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-wwiOjfIAx6AZtK98uuPQ0jwblq+CdnMQp+JkQWh+RgM=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
dependencies = [
|
||||
langcodes
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ langcodes ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "unidata_blocks" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
@@ -40,6 +39,9 @@ buildPythonPackage rec {
|
||||
description = "Library that helps query unicode blocks by Blocks.txt";
|
||||
platforms = lib.platforms.all;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ h7x4 ];
|
||||
maintainers = with lib.maintainers; [
|
||||
TakWolf
|
||||
h7x4
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user