blob: bc778984493cf95cc56ea5564ac6629c5a88b150 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, python
}:
buildPythonPackage rec {
pname = "quantities";
version = "0.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "582f3c7aeba897846761e966615e01202a5e5d06add304492931b05085d19883";
};
propagatedBuildInputs = [ numpy ];
checkPhase = ''
${python.interpreter} setup.py test -V 1
'';
meta = {
description = "Quantities is designed to handle arithmetic and";
homepage = http://python-quantities.readthedocs.io/;
license = lib.licenses.bsd2;
};
}
|