Unverified Commit 6fcf6f4c authored by hensoko's avatar hensoko
Browse files

python3Packages.smllib: init at 1.7

parent bd2d9b75
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,

  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "smllib";
  version = "1.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "spacemanspiff2007";
    repo = "smllib";
    tag = finalAttrs.version;
    hash = "sha256-jf9AFjt9xDg4DFYzdoL7rQdo/WdkM4km8fDdzVfbN5E=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  pythonImportsCheck = [
    "smllib"
  ];

  meta = {
    description = "Library to parse SML byte streams";
    homepage = "https://github.com/spacemanspiff2007/SmlLib";
    changelog = "https://github.com/spacemanspiff2007/SmlLib/releases/tag/${finalAttrs.version}";
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ hensoko ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -17599,6 +17599,8 @@ self: super: with self; {
  smhi-pkg = callPackage ../development/python-modules/smhi-pkg { };
  smllib = callPackage ../development/python-modules/smllib { };
  smmap = callPackage ../development/python-modules/smmap { };
  smoke-zephyr = callPackage ../development/python-modules/smoke-zephyr { };