mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
12 lines
228 B
Nix
12 lines
228 B
Nix
|
{ runCommand, proj }:
|
||
|
|
||
|
let
|
||
|
inherit (proj) pname;
|
||
|
in
|
||
|
runCommand "${pname}-tests" { meta.timeout = 60; }
|
||
|
''
|
||
|
${proj}/bin/projinfo EPSG:4326 \
|
||
|
| grep '+proj=longlat +datum=WGS84 +no_defs +type=crs'
|
||
|
touch $out
|
||
|
''
|