1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy3k,
6}:
7
8buildPythonPackage rec {
9 version = "1.25";
10 format = "setuptools";
11 pname = "numericalunits";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
16 };
17
18 disabled = !isPy3k;
19
20 meta = with lib; {
21 homepage = "http://pypi.python.org/pypi/numericalunits";
22 description = "A package that lets you define quantities with unit";
23 license = licenses.mit;
24 maintainers = [ ];
25 };
26}