nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 769 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 uv-dynamic-versioning, 7 pytestCheckHook, 8 sortedcontainers, 9}: 10 11buildPythonPackage rec { 12 version = "3.2.1"; 13 pname = "intervaltree"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-8/fouut911ufem0zzz7BACWYSo5m4wFtU35SEwxzz+I="; 19 }; 20 21 build-system = [ 22 hatchling 23 uv-dynamic-versioning 24 ]; 25 26 dependencies = [ sortedcontainers ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 preCheck = '' 31 rm -rf build 32 ''; 33 34 meta = { 35 description = "Editable interval tree data structure for Python 2 and 3"; 36 homepage = "https://github.com/chaimleib/intervaltree"; 37 license = [ lib.licenses.asl20 ]; 38 maintainers = [ lib.maintainers.bennofs ]; 39 }; 40}