Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, asdf-standard 3, buildPythonPackage 4, fetchPypi 5, importlib-resources 6, pythonOlder 7, setuptools-scm 8}: 9 10buildPythonPackage rec { 11 pname = "asdf-transform-schemas"; 12 version = "0.3.0"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 pname = "asdf_transform_schemas"; 19 inherit version; 20 hash = "sha256-DPL/eyLMtAj+WN3ZskQaWbpz/jI+QW1ZueCkcop9LdY="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools-scm 25 ]; 26 27 propagatedBuildInputs = [ 28 asdf-standard 29 ] ++ lib.optionals (pythonOlder "3.9") [ 30 importlib-resources 31 ]; 32 33 # Circular dependency on asdf 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "asdf_transform_schemas" 38 ]; 39 40 meta = with lib; { 41 description = "ASDF schemas for validating transform tags"; 42 homepage = "https://github.com/asdf-format/asdf-transform-schemas"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}