nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 59 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pythonAtLeast, 7 construct, 8 typing-extensions, 9 arrow, 10 cloudpickle, 11 cryptography, 12 numpy, 13 pytestCheckHook, 14 ruamel-yaml, 15}: 16 17buildPythonPackage rec { 18 pname = "construct-typing"; 19 version = "0.7.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "timrid"; 24 repo = "construct-typing"; 25 tag = "v${version}"; 26 hash = "sha256-iiMnt/f1ppciL6AVq3q0wOtoARcNYJycQA5Ev+dIow8="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 pythonRelaxDeps = [ "construct" ]; 32 33 dependencies = [ 34 construct 35 typing-extensions 36 ]; 37 38 pythonImportsCheck = [ 39 "construct-stubs" 40 "construct_typed" 41 ]; 42 43 nativeCheckInputs = [ 44 arrow 45 cloudpickle 46 cryptography 47 numpy 48 pytestCheckHook 49 ruamel-yaml 50 ]; 51 52 meta = { 53 changelog = "https://github.com/timrid/construct-typing/releases/tag/v${version}"; 54 description = "Extension for the python package 'construct' that adds typing features"; 55 homepage = "https://github.com/timrid/construct-typing"; 56 license = lib.licenses.mit; 57 maintainers = with lib.maintainers; [ dotlambda ]; 58 }; 59}