mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
13 lines
259 B
Nix
13 lines
259 B
Nix
import ./make-test-python.nix ({ ... }:
|
|
{
|
|
name = "extra-python-packages";
|
|
|
|
extraPythonPackages = p: [ p.numpy ];
|
|
|
|
nodes = { };
|
|
|
|
testScript = ''
|
|
import numpy as np
|
|
assert str(np.zeros(4) == "array([0., 0., 0., 0.])")
|
|
'';
|
|
})
|