depot/third_party/nixpkgs/pkgs/development/python-modules/python-baseconv/default.nix

24 lines
599 B
Nix

{
buildPythonPackage,
fetchPypi,
lib,
}:
buildPythonPackage rec {
pname = "python-baseconv";
version = "1.2.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0539f8bd0464013b05ad62e0a1673f0ac9086c76b43ebf9f833053527cd9931b";
};
pythonImportsCheck = [ "baseconv" ];
meta = with lib; {
description = "Python module to convert numbers from base 10 integers to base X strings and back again";
homepage = "https://github.com/semente/python-baseconv";
license = licenses.psfl;
maintainers = with maintainers; [ rakesh4g ];
};
}