2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-10 23:13:07 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-12-09 09:20:00 +00:00
|
|
|
, isPy3k
|
2018-10-10 23:13:07 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-11-29 14:04:35 +00:00
|
|
|
version = "1.25";
|
2018-10-10 23:13:07 +01:00
|
|
|
pname = "numericalunits";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:35 +00:00
|
|
|
sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
|
2018-10-10 23:13:07 +01:00
|
|
|
};
|
|
|
|
|
2019-12-09 09:20:00 +00:00
|
|
|
disabled = !isPy3k;
|
2018-10-10 23:13:07 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pypi.python.org/pypi/numericalunits";
|
2018-10-10 23:13:07 +01:00
|
|
|
description = "A package that lets you define quantities with unit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|