78efc47b99
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
24 lines
527 B
Nix
24 lines
527 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.25";
|
|
pname = "numericalunits";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://pypi.python.org/pypi/numericalunits";
|
|
description = "A package that lets you define quantities with unit";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|