depot/third_party/nixpkgs/pkgs/development/python-modules/numericalunits/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
517 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
version = "1.25";
pname = "numericalunits";
src = fetchPypi {
inherit pname version;
sha256 = "c32a482adae818a1a8d6c799bf9fb153326461d490c0de9deab9c694a6537eec";
};
disabled = !isPy3k;
meta = with lib; {
homepage = "http://pypi.python.org/pypi/numericalunits";
description = "A package that lets you define quantities with unit";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}