Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 14 lines 365 B view raw
1{ runCommand, geos }: 2 3let 4 inherit (geos) pname; 5in 6runCommand "${pname}-tests" { meta.timeout = 60; } '' 7 ${geos}/bin/geosop \ 8 --explode \ 9 --format wkt \ 10 polygonize \ 11 -a "MULTILINESTRING ((200 100, 100 100, 200 200), (200 200, 200 100), (200 200, 300 100, 200 100))" \ 12 | grep 'POLYGON ((200 100, 100 100, 200 200, 200 100))' 13 touch $out 14''