bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
26 lines
525 B
Nix
26 lines
525 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy3k,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.25";
|
|
format = "setuptools";
|
|
pname = "numericalunits";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
meta = with lib; {
|
|
homepage = "http://pypi.python.org/pypi/numericalunits";
|
|
description = "Package that lets you define quantities with unit";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|