nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatch-vcs, 6 hatchling, 7 pytestCheckHook, 8 pyyaml, 9 hypothesis, 10}: 11 12buildPythonPackage rec { 13 pname = "yamlloader"; 14 version = "1.6.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "Phynix"; 19 repo = "yamlloader"; 20 tag = version; 21 hash = "sha256-BByyKCCRZZYloxKKZVhSyH82I4hZNxCRqUddinRzYpE="; 22 }; 23 24 build-system = [ 25 hatch-vcs 26 hatchling 27 ]; 28 29 dependencies = [ pyyaml ]; 30 31 nativeCheckInputs = [ 32 hypothesis 33 pytestCheckHook 34 ]; 35 36 disabledTestPaths = [ 37 # TypeError: cannot pickle '_thread.RLock' object 38 # https://github.com/Phynix/yamlloader/issues/64 39 "tests/test_ordereddict.py" 40 ]; 41 42 pythonImportsCheck = [ 43 "yaml" 44 "yamlloader" 45 ]; 46 47 meta = { 48 description = "Case-insensitive list for Python"; 49 homepage = "https://github.com/Phynix/yamlloader"; 50 changelog = "https://github.com/Phynix/yamlloader/releases/tag/${version}"; 51 license = lib.licenses.mit; 52 maintainers = with lib.maintainers; [ sarahec ]; 53 }; 54}