Diff: https://github.com/timrid/construct-typing/compare/v0.6.2...v0.7.0 Changelog: https://github.com/timrid/construct-typing/releases/tag/v0.7.0
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pythonAtLeast,
|
|
construct,
|
|
typing-extensions,
|
|
arrow,
|
|
cloudpickle,
|
|
cryptography,
|
|
numpy,
|
|
pytestCheckHook,
|
|
ruamel-yaml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "construct-typing";
|
|
version = "0.7.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timrid";
|
|
repo = "construct-typing";
|
|
tag = "v${version}";
|
|
hash = "sha256-iiMnt/f1ppciL6AVq3q0wOtoARcNYJycQA5Ev+dIow8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [ "construct" ];
|
|
|
|
dependencies = [
|
|
construct
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"construct-stubs"
|
|
"construct_typed"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
arrow
|
|
cloudpickle
|
|
cryptography
|
|
numpy
|
|
pytestCheckHook
|
|
ruamel-yaml
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/timrid/construct-typing/releases/tag/v${version}";
|
|
description = "Extension for the python package 'construct' that adds typing features";
|
|
homepage = "https://github.com/timrid/construct-typing";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|