mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 17:54:53 +01:00
14 lines
209 B
Nix
14 lines
209 B
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.])")
|
|
'';
|
|
}
|