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
biome: 1.9.2 -> 1.9.3
[NixPkgs.git]
/
pkgs
/
applications
/
gis
/
grass
/
tests.nix
blob
1a38d07de7891c05af1611e3a0c1e1ca57cb86df
1
{ runCommand, grass }:
2
3
let
4
inherit (grass) pname version;
5
6
in
7
runCommand "${pname}-tests" { meta.timeout = 60; }
8
''
9
HOME=$(mktemp -d)
10
11
${grass}/bin/grass --tmp-location EPSG:3857 --exec g.version \
12
| grep 'GRASS ${version}'
13
14
${grass}/bin/grass --tmp-location EPSG:3857 --exec g.mapset -l \
15
| grep 'PERMANENT'
16
17
touch $out
18
''