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
vuls: init at 0.27.0
[NixPkgs.git]
/
nixos
/
tests
/
nixos-test-driver
/
extra-python-packages.nix
blob
1146bedd996f80b7aa3deefb5ea63aff992db5c5
1
import ../make-test-python.nix ({ ... }:
2
{
3
name = "extra-python-packages";
4
5
extraPythonPackages = p: [ p.numpy ];
6
7
nodes = { };
8
9
testScript = ''
10
import numpy as np
11
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
12
'';
13
})