Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 31 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage { 8 pname = "polygon3"; 9 version = "3.0.9"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "jraedler"; 14 repo = "Polygon3"; 15 rev = "7b2091f77741fa1d94251979bc4a4f2676b4d2d1"; 16 hash = "sha256-jXtjEzjWwMoVgrHWsK8brSN6TQRxIPRjUaRiLBXYLcI="; 17 }; 18 19 # malloc error on running the tests 20 # python3.10(30620,0x115b74600) malloc: *** error for object 0x10d6db580: pointer being freed was not allocated 21 # > python3.10(30620,0x115b74600) malloc: *** set a breakpoint in malloc_error_break to debug 22 # > /nix/store/vbi8rnz0k3jyh4h4g16bbkchdd8mnxw7-setuptools-check-hook/nix-support/setup-hook: line 4: 30620 Abort trap: 6 /nix/store/5cxanhipcbfxnrqgw2qsr3zqr4z711bj-python3-3.10.12/bin/python3.10 nix_run_setup test 23 doCheck = false; 24 25 meta = { 26 description = "Polygon is a python package that handles polygonal shapes in 2D"; 27 homepage = "https://github.com/jraedler/Polygon3"; 28 license = lib.licenses.asl20; 29 maintainers = with lib.maintainers; [ happysalada ]; 30 }; 31}