repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git]
/
pkgs
/
development
/
libraries
/
geos
/
tests.nix
blob
ad9ab883db2d225ccfd40c4379c7f709d629be87
1
{ runCommand, geos }:
2
3
let
4
inherit (geos) pname;
5
in
6
runCommand "${pname}-tests" { meta.timeout = 60; }
7
''
8
${geos}/bin/geosop \
9
--explode \
10
--format wkt \
11
polygonize \
12
-a "MULTILINESTRING ((200 100, 100 100, 200 200), (200 200, 200 100), (200 200, 300 100, 200 100))" \
13
| grep 'POLYGON ((200 100, 100 100, 200 200, 200 100))'
14
touch $out
15
''