Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
365 B · 14 lines
Nix
123456789101112131415{ runCommand, geos }:
let inherit (geos) pname;inrunCommand "${pname}-tests" { meta.timeout = 60; } '' ${geos}/bin/geosop \ --explode \ --format wkt \ polygonize \ -a "MULTILINESTRING ((200 100, 100 100, 200 200), (200 200, 200 100), (200 200, 300 100, 200 100))" \ | grep 'POLYGON ((200 100, 100 100, 200 200, 200 100))' touch $out''